Page 1 of 1

How to customize the file names for html output?

Posted: Tue Jan 19, 2021 1:50 pm
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.

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

Posted: Tue Jan 19, 2021 3:22 pm
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