Adding a parameter to an extension in the DITA-OT preprocessing

14 views
Skip to first unread message

Pierre Attar

unread,
Apr 1, 2021, 1:27:00 PMApr 1
to DITA-OT Users

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


Radu Coravu

unread,
Apr 5, 2021, 6:39:57 AMApr 5
to Pierre Attar, DITA-OT Users
Hi Pierre,

I found this DITA OT issue with a larger discussion and more details about the missing extension points:

Hope this helps.

Regards,
Radu

--
You received this message because you are subscribed to the Google Groups "DITA-OT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dita-ot-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/dita-ot-users/f0cbf2d3-7565-4111-9496-2466fcce5120n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages