Customizing note Images in PDF
To customize the images that appear next to each type of note in the PDF output, use a PDF customization folder with the following procedure:
- Copy the DITA-OT-DIR/plugins/org.dita.pdf2/cfg/common/vars/en.xml file to the [CUSTOMIZATION_DIR]\common\vars folder.
- Edit the copied en.xml file and modify, for example, the path to the
image for
<note>element with thetypeattribute set tonoticefrom:<variable id="notice Note Image Path">Configuration/OpenTopic/cfg/common/artwork/important.png</variable>
to:<variable id="notice Note Image Path">Customization/OpenTopic/common/artwork/notice.gif</variable>
- Add your custom notice image to
[CUSTOMIZATION_DIR]\common\artwork\notice.gif. - Edit the DITA Map PDF transformation scenario and in the Parameters tab set the path for the customization.dir property to point to the customization folder. Also, set the com.oxygenxml.use.custom.note.images parameter to no.