Hi all,
Sorry for double posting here and in dita-users@ but I was not aware of this specialized dita-ot group.
So, I've created an extension to the DITA-OT topicpull process.
The extension is something like
:
<feature extension="ant.import" file="lr-solve.xml"/>
<feature extension="depend.preprocess.topicpull.pre" value="lr-solve" />
Of course, lr-solve.xml is an ant file containing the needed target.
This works in 3.6 using the xhtml5 transtype.
Unfortunately it does not works withe pdf2 transtype because pdf2 uses the
preprocess2 mechanism and I don't knows how to name the feature extension.
Nevertheless, for this lr-solve process, I need to add a parameter to the transformation. Unfortunately, I only know how to add a parameter
to a new or exiting transtype. I search in the DITA-OT documentation and
did not found any documentation to add parameter to the preprocess.
So, my two questions :
- how to add a feature extension to the topicpull preprocess2 process ?
- how to add a parameter to an extension called both by the preprocess
and the preprocess2 processes ?
Thanks for sharing ideas, Pierre