How to customize the file names for html output?

Post here questions and problems related to editing and publishing DITA content.
akiraaa
Posts: 13
Joined: Mon Dec 14, 2020 11:20 am

How to customize the file names for html output?

Post by akiraaa »

For the same DITA topics reused in several dita maps, how can I differentiate the output file names?
I tried setting the args.output.base parameter, but it did not work.
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to customize the file names for html output?

Post by Radu »

Hi,

The "args.output.base " is useful when you publish the DITA project o a single output file, like a PDF.
For what you want maybe setting the @copy-to attribute on each individual reference might help:

https://www.oxygenxml.com/doc/versions/ ... ics-2.html

Or as an alternative in the publishing Parameters list there is a "force-unique" parameter which when enabled creates unique HTML file names or each reference, but it does not allow you to customize how each individual HTML file is named.

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