Customizing <note> Images in PDF

Here are some steps to customize the images which appear next to each type of note in the PDF output using a PDF customization folder:

  1. Copy the [OXYGEN_DIR]/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/cfg/common/vars/en.xml file to the [CUSTOMIZATION_DIR]\common\vars folder.
  2. Edit the copied en.xml file and modify, for example, the path to the image for <note> element with the type attribute set to notice from:
    <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>
  3. Add your custom notice image to Customization_DIR_NAME\common\artwork\notice.gif.
  4. Edit the DITA to PDF transformation scenario and in the Parameters tab set the path for the customization.dir property to point to the customization folder.