Page 1 of 1

SUPPRESS CONTENT

Posted: Tue Dec 16, 2014 6:14 pm
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

Re: SUPPRESS CONTENT

Posted: Wed Dec 17, 2014 9:34 am
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

Re: SUPPRESS CONTENT

Posted: Wed Dec 17, 2014 3:25 pm
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

Re: SUPPRESS CONTENT

Posted: Wed Dec 17, 2014 5:55 pm
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