[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Index as a part of article - HTML
Hi,You can accomplish a local article index within your book without any stylesheet customization by making it a specialized index,�by adding a "type" attribute on all the indexterms in the article.� See this reference for details:��Otherwise, you would need to create a stylesheet customization to call the template named 'generate-index' with a "scope" parameter that selects your article element.----- Original Message -----From: Milosz LewandowskiTo: Bob StaytonSent: Monday, July 04, 2011 11:35 PMSubject: Re: [docbook-apps] Index as a part of article - HTMLHi,
thanks for your reply. Indeed, I have one main XML file with book node, within it some parts and within parts I use xinclude to indicate articles. Probably that's why it is a problem - because anywhere I place <index />, it is considered as placed in book. I'm quite new to DocBook, so if there is needed more clarification, please ask.
BW, Milosz Lewandowski
2011/7/4 Bob Stayton <bobs@sagehill.net>
Hi,I'm not sure I understand your problem.� When you say:�> Placing <index /> in the article doesn't work.�I just put an empty index element in an article XML file just before the closing tag of article,�and it does generate an index at the end of the article.� But your previous sentence describes what sounds like�a book (since it generates bk01ix01.html).� Can you clarify what you are trying to do and what your results are?���----- Original Message -----From: Milosz LewandowskiSent: Monday, July 04, 2011 7:15 AMSubject: [docbook-apps] Index as a part of article - HTMLHi,
I'm using DocBook with xsltproc to create HTML documentation. I would like to generate index so I'm using indexterms and place <index /> in my xml file. However, this generates separate HTML file (with name like bk01ix01.html) - but I want to have it included in the one of my articles. Placing <index /> in the article doesn't work. Is it possible to make things work as I described?
BW,
Milosz Lewandowski
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]