pdf-plugin-structure_common-artwork.dita 1.6 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <topic id="custom_artwork_the_common_artwork_folder">
  5. <title>Custom artwork</title>
  6. <shortdesc>The <filepath>common/artwork</filepath> folder houses custom artwork files that override the standard icons
  7. in <filepath>org.dita.pdf2/cfg/common/artwork</filepath>.</shortdesc>
  8. <prolog>
  9. <metadata>
  10. <keywords>
  11. <indexterm><xmlelement>note</xmlelement></indexterm>
  12. <indexterm><xmlatt>type</xmlatt></indexterm>
  13. <indexterm>locale</indexterm>
  14. </keywords>
  15. </metadata>
  16. </prolog>
  17. <body>
  18. <p>These files are used to graphically identify different types of DITA <xmlelement>note</xmlelement> element.</p>
  19. <p>The mapping between <xmlelement>note</xmlelement> type and graphic is contained in the common variables file
  20. <filepath>org.dita.pdf2/cfg/common/vars/commonvariables.xml</filepath>.</p>
  21. <p>The variables that control <xmlelement>note</xmlelement> graphics all follow the form</p>
  22. <codeblock outputclass="language-xml">&lt;variable id="<varname>{type}</varname> Note Image Path"&gt; <varname>{path to image file}</varname> &lt;/variable&gt;</codeblock>
  23. <p>where <varname>{type}</varname> contains a possible value for the <xmlelement>note</xmlelement>
  24. <xmlatt>type</xmlatt> attribute and <varname>{path to image file}</varname> is the path to the note icon
  25. image.</p>
  26. </body>
  27. </topic>