OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook] can I move the table of contents?


Good morning Lorenzo.

I'm taking this to the right mailing list (see recipient).

You'll be using some sort of docbook stylesheets to transform the docbook
document into your output format (.html, .pdf, .fo, ..). A common
implementation is located at http://docbook.sf.net/release/xsl/current/.

Taking that implementation as reference, if you for example would use the
HTML xsl-stylesheets to generate your output, you would find a file at
"html/index.xsl" with the comment:

  <!-- some implementations use completely empty index tags to indicate -->
  <!-- where an automatically generated index should be inserted. so -->
  <!-- if the index is completely empty, skip it. Unless generate.index -->
  <!-- is non-zero, in which case, this is where the automatically -->
  <!-- generated index should go. -->

Interpreting this would take me to assume that I could place an empty index
tag ("<index />") somewhere in my docbook document and by setting the
parameter "$generate.index" to "1" would then generate it in that place and
only there.

But I haven't tried this. Good luck! :-)
 
Cheers,
Dominik

>-----Original Message-----
>From: Lorenzo Caminiti [mailto:lorcaminiti@gmail.com]
>Sent: Thursday, April 19, 2012 1:29 AM
>To: docbook@lists.oasis-open.org
>Subject: [docbook] can I move the table of contents?
>
>Hello all,
>
>This is my very first post on this ML.
>
>My question: Is there a way I can specify to generate the Table of
>Contents within a specific section instead that at very beginning of
>the document? (For example, some DocBook XSL option...)
>
>I'm using Boost.QuickBook as a front-end to generate DocBook documents
>in HTML. The Table of Contents automatically shows up at the very top
>of the very first HTML document. I'd like to move it to later in the
>document.
>
>Thanks a lot.
>--Lorenzo
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
>For additional commands, e-mail: docbook-help@lists.oasis-open.org




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]