Page 1 of 1

Master files for PDF plugin customization?

Posted: Wed Sep 23, 2015 12:20 pm
by Frank Ralf
Hi,

I'm working on a DITA PDF plugin customization. While working on the XSLT files I get a lot of warnings and error messages, for example:

Code: Select all

XTSE0650: No template exists named insertVariable
I know that using Master Files is the solution but I cannot figure out which XSL files to use. The Detecting Masters Files function provides quite a long list with a lot of irrelevant entries for me (for example for DocBook or WebHelp plugins). Is there another way to find the relevant Master Files? Any pointers welcome.

TIA
Frank

Re: Master files for PDF plugin customization?

Posted: Wed Sep 23, 2015 4:29 pm
by radu_pisoi
Hi,

Yes, the Master Files support can be used to validate the XSLT document used for DITA PDF customization with 2 observations:

1. Detect the master files only for the XSLT files from the DITA PDF plugin, oxygenInstallDir/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/xsl. To do that, link the above folder to the project by using Add Folder action from the Project contextual menu. Also, when the possible master files are proposed, please remove/uncheck all the resources which name ends in _template.xsl (for instance: flaggin_preprocess_template.xsl or i18n-postprocess_template.xsl). These templates are only used by the DITA-OT integrator.

2. Add the XML catalog that point to your XSLT for DITA PDF customization in the oXygen preferences. This can be done from the XML / XML Catalog preferences page.

Re: Master files for PDF plugin customization?

Posted: Wed Sep 23, 2015 4:49 pm
by Frank Ralf
Hi Radu,

Many thanks for these valuable pointers!

Kind regards,
Frank