xml editor

Products

Features

  EPUB
Supported platforms

Supports Windows 7 & Mac OS X Lion

Ready for XML Editor data server software
W3C Member

Deleting Topic list at begining of chapters

Questions about XML that are not covered by the other forums should go here.

Deleting Topic list at begining of chapters

Postby ehill » Fri Jun 24, 2011 10:08 pm

How do I get rid of the Topics list that appears at the beginning of each chapter?
ehill
 
Posts: 22
Joined: Mon May 24, 2010 5:01 pm

Re: Deleting Topic list at begining of chapters

Postby Radu » Mon Jun 27, 2011 10:23 am

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
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Radu
 
Posts: 1509
Joined: Fri Jul 09, 2004 5:18 pm

Re: Deleting Topic list at begining of chapters

Postby ehill » Mon Jun 27, 2011 3:45 pm

Hi, Radu!

That didn't work. I'm using version 11.2 if that helps.

Thanks!
ehill
 
Posts: 22
Joined: Mon May 24, 2010 5:01 pm

Re: Deleting Topic list at begining of chapters

Postby Radu » Mon Jun 27, 2011 4:00 pm

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
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Radu
 
Posts: 1509
Joined: Fri Jul 09, 2004 5:18 pm

Re: Deleting Topic list at begining of chapters

Postby ehill » Mon Jun 27, 2011 5:25 pm

That worked!! Thanks! Great help as always!
ehill
 
Posts: 22
Joined: Mon May 24, 2010 5:01 pm

Re: Deleting Topic list at begining of chapters

Postby ehill » Mon Jun 27, 2011 5:30 pm

No, that didn't work. It took it out of the beginning half of the doc., but not the last half.
ehill
 
Posts: 22
Joined: Mon May 24, 2010 5:01 pm

Re: Deleting Topic list at begining of chapters

Postby Radu » Mon Jun 27, 2011 5:35 pm

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
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Radu
 
Posts: 1509
Joined: Fri Jul 09, 2004 5:18 pm


Return to General XML Questions

Who is online

Users browsing this forum: No registered users and 0 guests

cron
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>® XML Editor