Reusable content: best strategy

Post here questions and problems related to editing and publishing DITA content.
plumblei
Posts: 26
Joined: Mon Feb 18, 2013 5:44 pm

Reusable content: best strategy

Post 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.
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: Reusable content: best strategy

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
plumblei
Posts: 26
Joined: Mon Feb 18, 2013 5:44 pm

Re: Reusable content: best strategy

Post by plumblei »

Thanks, Radu. But what about the title pages and other output attributes? They should be different from the topic titles.
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: Reusable content: best strategy

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply