SUPPRESS CONTENT

Post here questions and problems related to editing and publishing DITA content.
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

SUPPRESS CONTENT

Post by Le Basque »

Hi,

When i treat one topic , I do not want to edit the content where can I find this information
thank you
best regards
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: SUPPRESS CONTENT

Post by Radu »

Hi,

I'm sorry but I do not understand what you want.
Could you give us more details?
Is it related to editing the XML or to publishing it?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

Re: SUPPRESS CONTENT

Post by Le Basque »

when I generates a PDF from a TOPIC publication contains a table of contents that I am remove
my question is : how to remove the Table of Contents

thank you
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: SUPPRESS CONTENT

Post by Radu »

Hi,

In the XSL:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\xsl\fo\toc.xsl

there is an XSLT template called "createToc" in which you could try to add some conditions to disable the creation of the TOC page sequence if the published content in a DITA topic.

As far as I know in DITA Open Toolkit 2.0 which will probably be integrated with Oxygen next year the table of contents is not generated by default when publishing a single DITA topic.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply