Deleting Topic list at begining of chapters
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Deleting Topic list at begining of chapters
Hi,
Edit the DITA Map To PDF transformation scenario, in the Parameters tab add a new parameter called args.chapter.layout with the value BASIC.
This should inhibit the mini TOC built by default for a chapter.
Regards,
Radu
Edit the DITA Map To PDF transformation scenario, in the Parameters tab add a new parameter called args.chapter.layout with the value BASIC.
This should inhibit the mini TOC built by default for a chapter.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Deleting Topic list at begining of chapters
Hi Erin,
The parameter was added in more recent DITA OT versions.
Maybe you can open the:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/commons.xsl
stylesheet and look for the xsl:template called:
<xsl:template name="processTopicChapter">
It calls a template:
<xsl:call-template name="createMiniToc"/>
maybe you can comment out the call and see how it goes.
Regards,
Radu
The parameter was added in more recent DITA OT versions.
Maybe you can open the:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/commons.xsl
stylesheet and look for the xsl:template called:
<xsl:template name="processTopicChapter">
It calls a template:
<xsl:call-template name="createMiniToc"/>
maybe you can comment out the call and see how it goes.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Deleting Topic list at begining of chapters
Hi,
In the:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/commons.xsl
there are more than one references to the:
<xsl:call-template name="createMiniToc"/>
For example the <notices> call different templates so you might need to comment all places where the call template appears.
Regards,
Radu
In the:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/commons.xsl
there are more than one references to the:
<xsl:call-template name="createMiniToc"/>
For example the <notices> call different templates so you might need to comment all places where the call template appears.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Mon Aug 08, 2016 5:56 pm
Re: Deleting Topic list at begining of chapters
Is there a way to suppress the MiniTOC for just one chapter? I've added a chapter with a glossary that points to a map of the glossary terms I want, but I don't want a MiniTOC with every glossary term listed. I do like the MiniTOCs though for the rest of the chapters.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Deleting Topic list at begining of chapters
Hi,
You can probably set a special @outputclass attribute value on that particular <chapter> reference and then from an XSLT customization take that into account when deciding weather to output the minitoc or not. But this would need to be tested though.
Regards,
Radu
You can probably set a special @outputclass attribute value on that particular <chapter> reference and then from an XSLT customization take that into account when deciding weather to output the minitoc or not. But this would need to be tested though.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “General XML Questions”
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