Index in PDF Output: A, B, C, D...sub-headings for quicker access
Post here questions and problems related to editing and publishing DITA content.
Index in PDF Output: A, B, C, D...sub-headings for quicker access
Post by Anonymous1 »
Hi,
the table of contents in our PDF output contains a link to the index. The link in the TOC is simply called "Index. Now we would like our customers to be able to jump directly to the letter they are looking for.
Would it be possible to have sub-headings with each letter in the TOC?
Like this:
Index
the table of contents in our PDF output contains a link to the index. The link in the TOC is simply called "Index. Now we would like our customers to be able to jump directly to the letter they are looking for.
Would it be possible to have sub-headings with each letter in the TOC?
Like this:
Index
- A
- B
- C
- D
- E
- etc.
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Index in PDF Output: A, B, C, D...sub-headings for quicker access
Hi Ben,
I do not have a good idea about how this could be done. Are you using the XSL-FO based approach to produce the PDF or our CSS-based approach?
Regards,
Radu
I do not have a good idea about how this could be done. Are you using the XSL-FO based approach to produce the PDF or our CSS-based approach?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Index in PDF Output: A, B, C, D...sub-headings for quicker access
Post by Anonymous1 »
Hi Radu,
we are using XSL-FO.
we are using XSL-FO.
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Index in PDF Output: A, B, C, D...sub-headings for quicker access
Hi,
This is probably feasible but you need time to investigate how this could be done, I do not have a quick solution for it.
In the XSLT stylesheet plugins/org.dita.pdf2/xsl/fo/index.xsl there is a template named createIndex which seems to iterate the index groups and create xsl:fo elements for them. You would probably need to do something similar when creating the TOC, iterate the index groups and for each of them create an entr in the TOC. You might also need to add extra IDs for each element created for an index group so that you can link to each of them from the TOC.
Regards,
Radu
This is probably feasible but you need time to investigate how this could be done, I do not have a quick solution for it.
In the XSLT stylesheet plugins/org.dita.pdf2/xsl/fo/index.xsl there is a template named createIndex which seems to iterate the index groups and create xsl:fo elements for them. You would probably need to do something similar when creating the TOC, iterate the index groups and for each of them create an entr in the TOC. You might also need to add extra IDs for each element created for an index group so that you can link to each of them from the TOC.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Index in PDF Output: A, B, C, D...sub-headings for quicker access
Post by Anonymous1 »
Thank you very much for looking into this and pointing me to a possible way of doing this.
We will discuss internaly if this is worth pursuing.
We will discuss internaly if this is worth pursuing.
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service