Master files for PDF plugin customization?

Post here questions and problems related to editing and publishing DITA content.
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Master files for PDF plugin customization?

Post 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
Frank Ralf
parson AG
www.parson-europe.com
radu_pisoi
Posts: 404
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Master files for PDF plugin customization?

Post 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.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: Master files for PDF plugin customization?

Post by Frank Ralf »

Hi Radu,

Many thanks for these valuable pointers!

Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Post Reply