Page 1 of 1

Reusable content: best strategy

Posted: Tue Mar 19, 2013 5:34 pm
by plumblei
We have a large document with a lot of topics that we want to print as a separate small documents. Do I need to create new ditamaps and insert the content of these topics as a reusable content? Or maybe there's a better strategy to do that in Oxygen? Small documents should have their own title list, contents, headers/footers etc. when printed to PDF.

Re: Reusable content: best strategy

Posted: Tue Mar 19, 2013 5:57 pm
by Radu
Hi Ilya,

You can open an individual topic file in Oxygen and transform it to PDF (there is a predefined DITA PDF transformation scenario available for this).
Also in the Oxygen Project View you can add a link to the folder which contains all topics, then select them all (or a parent folder), right click, choose "Transform" and transform all selected topics using a chosen transformation scenario.

Regards,
Radu

Re: Reusable content: best strategy

Posted: Tue Mar 19, 2013 6:59 pm
by plumblei
Thanks, Radu. But what about the title pages and other output attributes? They should be different from the topic titles.

Re: Reusable content: best strategy

Posted: Wed Mar 20, 2013 1:21 pm
by Radu
Hi Ilya,

That was just a suggestion, I do not know your precise use case.
Do you have a single DITA Map which references all topics?
If you want to publish to PDF the map with only a couple of topics you could set the print='no' attribute on all other topic references for example.
The DITA OT publishing is an ANT process so potentially it could be changed to have some pre-processing stages to accommodate any custom filtering.

Regards,
Radu