Page 1 of 1

Custom PDF plugin does not do what is expected

Posted: Sat Oct 07, 2017 5:13 pm
by 4everJang
Hello all,

I am creating a customised PDF plug-in for the DITA-OT 2.x inside <oXygen/> and although everything seems to be setup in the right way, the customisation to the PDF is not happening. To get this project started, I have followed the instructions on the DITA-OT 2.5 Documentation about creating a custom PDF plugin to the letter. A new transtype "print-pdf" is created and I can see this new transtype when I create a new DITA-OT Transformation.

I am not getting any errors when building the target for "print-pdf" but the output is exactly the same as when running the standard DITA PDF transform. This tells me that the plug-in is created correctly (no errors on building the new "print-pdf" transtype but somehow the customized code is not applied.

If anyone has any pointers about where to start looking for the problem that would be greatly appreciated. The talk I am preparing about DITA-OT customisation is just 10 days away.

Thanks

4everJang

Re: Custom PDF plugin does not do what is expected

Posted: Mon Oct 09, 2017 2:00 pm
by 4everJang
Update on this issue, after having a troubleshooting session with Eliot: the issue is not with Oxygen but with either the OT documentation (forgetting a crucial detail perhaps?) or the DITA OT code (forgetting to call a particular extension point). I will sort this out later. I found another custom plugin example that does work so my demo next week is safe.