bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

makeinfo - plans to generate XHTML 1.0 Transitional?


From: Janis Johnson
Subject: makeinfo - plans to generate XHTML 1.0 Transitional?
Date: Wed, 2 Oct 2002 13:11:55 -0700
User-agent: Mutt/1.2.5i

The GCC web pages, at http://gcc.gnu.org, claim that they conform to
XHTML 1.0 Transitional.  That is true for the ones that are written
directly in html but not for the ones that are written as .texi files
and then generated using makeinfo from Texinfo 4.2.

Are there plans to have makeinfo generate html that conforms to XHTML
1.0 Transitional?  Our choices, until that is done, are to remove the
claim and change the headers for the generated files or to run the
generated files through HTML Tidy to make them conform.  HTML Tidy is
open source but not free software, so it would be very nice if makeinfo
supported this.  I realize, of course, that another possibility is for
me to contribute this support for makeinfo, but I don't expect to have
the time to do that.

I've appended an example of some of the things that would need to
change.

Thanks,

Janis Johnson
Co-maintainer of the GCC web pages
address@hidden


@settitle Examples of XHTML Deficiencies with Texinfo 4.2

There are several ways in which @command{makeinfo} from texinfo 4.2
does not generate HTML that comforms to XHTML 1.0 Transitional.
All of these problems are demonstrated by this file itself:

@itemize
@item
the first paragraph of a section does not begin with @samp{<p>}
@item
the end tag for @samp{<meta>} is omitted, or the tag is not ended with
@samp{/>}
@item
some attribute values in meta tags are not quoted
@item
ending tags are not generated for some tags:
@itemize
@item
@samp{<p>}
@item
@samp{<li>}
@end itemize
@item
an @samp{<hr>} tag should be emitted as @samp{<hr />}
@end itemize

Are there plans for @command{makeinfo} to generate XHTML 1.0 Transitional?
The web pages at @uref{http://gcc.gnu.org} that are written directly in
html now conform, but not the ones that are written as @file{.texi} files.

@html
<hr>
<p>
@end html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]