Page 1 of 1

Validating DITA-OT PDF2 plugins.

Posted: Wed Feb 29, 2012 12:27 pm
by jannylun
The DITA-OT pdf (pd2) plugin uses a catalog file for customization. Because of this, it's not possible to validate XSL in the plugins you create without making some temporary files.

Has anyone already solved this issue, or how does people work with developing pdf2 plugins within oxygen?

Re: Validating DITA-OT PDF2 plugins.

Posted: Wed Feb 29, 2012 1:40 pm
by jannylun
I think I solved it by reading some old posts.

This is how to do it.

1. Add your custom plugins catalog.xml to Preferences XML catalog.
2. Add DITA-OT's demo/fo/cfg/catalog.xml to Preferences XML catalog. (Its important that this one is later than your custom plugin).
3. Create a validation scenario using the proper topic2fo_shell_*.xsl file.
4. Restart oxygen.
5. Life is good.

Re: Validating DITA-OT PDF2 plugins.

Posted: Wed Feb 29, 2012 3:24 pm
by Radu
Hi Jan,

Thanks for sharing this information, others might find it useful.

Regards,
Radu