bug-texinfo
[Top][All Lists]
Advanced

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

problem with enumerated list


From: Janis Johnson
Subject: problem with enumerated list
Date: Mon, 14 Oct 2002 12:35:30 -0700
User-agent: Mutt/1.2.5i

makeinfo from Texinfo 4.2 sometimes inserts </p> at the beginning of the
first item in an enumerated list; see the test case below.  Is there a
known workaround for this, or might it be fixed in a release soon?  For
the GCC web pages that are generated from .texi files we're now aiming
at conformance with HTML 4.01, so we'd like to avoid this problem.

Janis Johnson
Co-maintainer of the GCC web pages


@settitle Example of bug with enumerated list

@command{makeinfo} from Texinfo 4.2 sometimes inserts @samp{</p>} at
the beginning of the first item in an enumerated list.  This happens
when there is more than one paragraph in the section just before the
list.  In this example, from install.texi in the GCC sources, the
problem goes away if the following sentence is pulled into this
paragraph.

The installation procedure itself is broken into five steps.

@enumerate
@item
@uref{download.html,,Downloading the source}
@item
@uref{configure.html,,Configuration}
@item
@uref{build.html,,Building}
@item
@uref{test.html,,Testing} (optional)
@item
@uref{finalinstall.html,,Final install}
@end enumerate

I see the same problem for GCC's file fdl.texi, which contains the
GNU Free Documentation License, when it is pulled into install.texi.

This causes the validator at @uref{http://validator.w3.org} to claim
that the generated html is not valid HTML 4.01 Transitional.
More importantly, it might confuse some browsers enough that they
would miss out on displaying some of this information.




reply via email to

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