Hi,
ann.jensen wrote:I am trying to change the note icon used for pdf generation from oxygen Author using the default org.dita.pdf2 plugin.
I see that it is using
Code: Select all
\Oxygen XML Author 18.1\frameworks\dita\DITA-OT2.x\plugins\com.oxygenxml.pdf.custom\custom.xsl
and
Code: Select all
\Oxygen XML Author 18.1\frameworks\dita\DITA-OT2.x\plugins\com.oxygenxml.pdf.custom\build_custom.xml
What role does this plugin (com.oxygenxml.pdf.custom) play in the context of the org.dita.pdf2 plugin?
The
com.oxygenxml.pdf.custom plugin is used to specify custom images for DITA notes. The
com.oxygenxml.pdf.custom/build_custom.xml build file is used to copy the custom images in the
artwork folder and the
com.oxygenxml.pdf.custom/custom.xsl stylesheet overrides the DITA-OT template that process note elements to use our custom images.
Code: Select all
<xsl:template match="*[contains(@class,' topic/note ')][$com.oxygenxml.use.custom.note.images eq 'yes']" mode="setNoteImagePath">
Unfortunately, the
com.oxygenxml.pdf.custom plugin is not compatible with the procedure described in the
https://www.oxygenxml.com/doc/versions/ ... mages.html topic. I will register an issue on our side to add a parameter that you can use to disable the
com.oxygenxml.pdf.custom plugin, allowing you to customize images in your plugin.
As workaround, if you want to customize images from your plugin, please comment from the
com.oxygenxml.pdf.custom/custom.xsl stylesheet the following template:
Code: Select all
<xsl:template match="*[contains(@class,' topic/note ')]" mode="setNoteImagePath">