This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
A second <hr> after TOC
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: A second <hr> after TOC
- From: Jean-Baptiste Quenot <jb dot quenot at smartcanal dot com>
- Date: Thu, 05 Jul 2001 21:21:52 +0200
Hi,
I get a duplicate <hr> in the HTML output resulting from compiling
a DocBook article, using "Modular DocBook HTML Stylesheet Version
1.70" (DSSSL) with Jade version "1.2.1" SP version "1.3.4", and with
"-V nochunks" in the command line to disable chunking.
---------------------------------INPUT----------------------------------
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<article lang='fr'> <articleinfo> <title>This is an article</title>
</articleinfo>
<section> <title>This is a section</title>
<para>This is a paragraph</para>
</section>
</article>
------------------------------------------------------------------------
---------------------------------OUTPUT---------------------------------
This is an article
_________________________________________________________________
_________________________________________________________________
This is a section
This is a paragraph
------------------------------------------------------------------------
Notice the two consecutive horizontal rules after the article title (the
output is converted to text using "lynx -dump"). I guess the second
<hr> delimits the end of the toc, but %generate-article-toc% is set to
false by default, so it should not generate a new <hr>.
BTW, using "DocBook XSL Stylesheets V1.40" (XSL), the second <hr> is
never printed, whatever generate.component.toc is set to. Even when
there is a toc, no <hr> delimits its end.
Any help will be greatly appreciated. What is normal? What is not?
--
Jean-Baptiste Quenot