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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] TOC contains selected section titles. How?


Aaron,

Yes, I have a given structure of the TOC which was established by the writer of the book I am working on. Therefore I need to change the TOC, so to get the same result which follows the authors instructions and the structure I just mentioned.
Unfortunately the originally generated TOC contains all of the sections. I don't need all of them, regardless of the level of the sections.

I will give a respond tomorrow what result I get after I change my customization layer according to the TOCcontrol guide. Thank you!

2012/2/21 Aaron DaMommio <aaron@damommio.com>
Roland,
This can certainly be done. When you say 'only containing selected
section titles', I assume you have established, or plan to establish,
some markup difference between the selected titles and the other ones.
Do you already have something in mind? Maybe you can say more about
what you intend.

This section of "DocBook XSL: The Complete Guide" talks about how to
modify a customization layer to use the 'role' attribute to prevent
certain sections from appearing in the TOC:

http://www.sagehill.net/docbookxsl/TOCcontrol.html#TitlesOutOfToc

--Aaron DaMommio


On Tue, Feb 21, 2012 at 9:46 AM, Roland Burda <burda.roland@gmail.com> wrote:
> Hello!
>
> First, I'm new in Docbook. I have been trying to generate the TOC only
> containing selected section titles. I did some research and haven't found
> anything so far which could help me with this issue. My question is: Is it
> possible to force either Xsltproc or FOP to generate the TOC which only
> contains selected section titles? How can I modify my customization layer in
> order to achieve my goal?
>
> Thank you in advance!
>
> Roland Burda



--
--------------------------------------
Aaron DaMommio: Husband, father, writer, juggler, and expert washer of dishes.
- My blog: http://aarondamommio.blogspot.com
- Need a juggler?  http://amazingaaronjuggler.blogspot.com/
=======================================

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org




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