standalone DITA transformation

Post here questions and problems related to editing and publishing DITA content.
avondenhoff
Posts: 6
Joined: Thu Nov 10, 2016 4:12 pm

standalone DITA transformation

Post by avondenhoff »

Hi All,

Maybe this is the wrong place to ask this question, but I am stuck in my project.

Within Oxygen (19.0) I have created a project for pdf transformation with DITA-OT with a customized plugin. The project includes branch filtering.
All works fine in Oxygen; I get a filtered PDF in the layout created with the customized plugin.

But now I need the project to run standalone, to run via a call from the command line.
When I now run it, a PDF is created (and filtered) but it is PDF2 layout. My customized plugin is ignored.
The logfile does not bring me any further, there are at least no error messages.

Does anyone have an idea on what can be wrong?


Following iswhat I have done:
My customized plugin is integrated in DITA-OT3.0.2 and depends on PDF2. And it originally comes from DITA-OT2.1

I have installed following:
DITA-OT3.0.2 and integrated my customized plugin (which depend on PDF2 plugin)
Ant
Java
saxon9HE

environment variables are set for:
ANT_HOME
JAVA_HOME
DITA_HOME
path to saxon, ant, dita-ot


disabled the call for env.bat because of error messages, something to do with an error message about 'too long lines'.

I use 'startcmd.bat' to run the toolkit with following command:
bin\dita -f "pdf-ALPHADEUREN_A4" -i "..\ALPHADEUREN\map.ditamap" -o "..\output" -l "..\output\dita-ot.log" -v


Best regards,
Anneke Von den Hoff
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: standalone DITA transformation

Post by Radu »

Hi Anneke,

There seems to be a problem with DITA OT 3.x not using PDF customizations:

https://github.com/dita-ot/dita-ot/issues/2835

So in my opinion you should download and use DITA OT 2.5.4 instead:

https://www.dita-ot.org/download

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
avondenhoff
Posts: 6
Joined: Thu Nov 10, 2016 4:12 pm

Re: standalone DITA transformation

Post by avondenhoff »

Hi Radu,

Thank you for your quick reply.
I will install the version 2.5.4.

Best regards,
Anneke
Post Reply