How to customize the file names for html output?

akiraaa
Posts: 3
Joined: Mon Dec 14, 2020 11:20 am

How to customize the file names for html output?

Post by akiraaa » Tue Jan 19, 2021 1:50 pm

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: 7399
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu » Tue Jan 19, 2021 3:22 pm

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