This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A second <hr> after TOC


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]