Re: pass parameter using command line #DITA-OT
Hi Scott,toggle quoted messageShow quoted text
I assume you are using a late-model DITA OT. Usually you can use the Java-style -Dnn syntax for extra command line parameters, like this example for the clean.temp parameter:
dita -f html5 -i path/to/mymap.ditamap -Dclean.temp=no
This sets clean.temp to no. This style is described here:
If your parameter is custom to your code, the parameter needs to be made available on the command line, and to do that there is an extra step, covered here:
This works in a similar manner in 2.x versions of the OT. And even earlier!
Mark Giffin Consulting, Inc.
On 3/24/2020 3:37 PM, scott ashmead via Groups.Io wrote: