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:

  1. Copy the DITA_OT_DIR/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]\common\artwork\notice.gif.
  4. 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.

Was this helpful?