pdf-customization-resources.html 8.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html
  2. SYSTEM "about:legacy-compat">
  3. <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="copyright" content="(C) Copyright 2018"><meta name="DC.rights.owner" content="(C) Copyright 2018"><meta name="DC.Type" content="reference"><meta name="description" content="There are several external resources that can help you generate and refine custom PDF plug-ins for the DITA Open Toolkit."><meta name="DC.Relation" scheme="URI" content="../topics/pdf-customization.html"><meta name="DC.Format" content="HTML5"><meta name="DC.Identifier" content="ID"><link rel="stylesheet" type="text/css" href="../css/commonltr.css"><link rel="stylesheet" type="text/css" href="../css/dita-ot-doc.css"><title>Resources for custom PDF plug-ins</title></head><body id="ID"><header role="banner"><div class="header">
  4. <p>DITA Open Toolkit</p>
  5. <hr>
  6. </div></header><nav role="toc"><ul><li><a href="../index.html">DITA Open Toolkit 3.0</a></li><li><a href="../release-notes/index.html">Release Notes</a></li><li><a href="../topics/installing-client.html">Installing DITA-OT</a></li><li><a href="../topics/alternative-input-formats.html">Authoring formats</a></li><li><a href="../topics/building-output.html">Building output</a></li><li><a href="../parameters/index.html">Setting parameters</a></li><li><a href="../topics/extending-the-ot.html">Customizing DITA-OT</a><ul><li><a href="../topics/html-customization.html">Customizing HTML</a></li><li><a href="../topics/pdf-customization.html">Customizing PDF</a><ul><li><a href="../topics/pdf-customization-approaches.html">PDF customization approaches</a></li><li><a href="../topics/pdf-customization-plugin-types.html">Types of custom PDF plug-ins</a></li><li><a href="../topics/pdf-plugin-structure.html">PDF plug-in structure</a></li><li><a href="../topics/pdf-customization-example.html">Simple PDF plug-in example</a></li><li class="active"><a href="../topics/pdf-customization-resources.html">Custom PDF plug-in resources</a></li><li><a href="../topics/pdf2-creating-change-bars.html">Generating revision bars</a></li></ul></li><li><a href="../topics/globalization.html">Globalizing DITA content</a></li><li><a href="../topics/custom-plugins.html">Custom plug-ins</a></li><li><a href="../extension-points/plugin-extension-points.html">Extension points</a></li><li><a href="../topics/migration.html">Migrating customizations</a></li><li><a href="../topics/rebuilding-the-dita-ot-documentation.html">Rebuilding documentation</a></li></ul></li><li><a href="../topics/troubleshooting-overview.html">Troubleshooting</a></li><li><a href="../reference/index.html">Reference</a></li><li><a href="../topics/dita-and-dita-ot-resources.html">Resources</a></li></ul></nav><main role="main"><article role="article" aria-labelledby="ariaid-title1">
  7. <h1 class="title topictitle1" id="ariaid-title1">Resources for custom PDF plug-ins</h1>
  8. <div class="body refbody"><p class="shortdesc">There are several external resources that can help you generate and refine custom PDF plug-ins for the DITA
  9. Open Toolkit.</p>
  10. <section class="section" id="ID__pdf-plugin-generator"><h2 class="title sectiontitle">PDF Plugin Generator</h2>
  11. <p class="p">This online tool, developed and maintained by Jarno Elovirta, enables you to generate a PDF customization
  12. plug-in automatically.</p>
  13. <p class="p">The application at
  14. <a class="xref" href="http://dita-generator.elovirta.com/" target="_blank">dita-generator.elovirta.com</a> walks you through the process of creating a custom PDF plug-in and allows
  15. you to adjust a variety of settings for your PDF output. For example, you can:</p>
  16. <ul class="ul">
  17. <li class="li">Define the target environment, selecting from the most current and two previous versions of the DITA-OT</li>
  18. <li class="li">Select the XSL formatting engine (FOP, Antenna House Formatter, or RenderX XEP)</li>
  19. <li class="li">Specify page size, columns, and margins</li>
  20. <li class="li">Select from (limited) options for headers and footers</li>
  21. <li class="li">Specify layout options for chapters</li>
  22. <li class="li">Select formatting for the following publication components:
  23. <ul class="ul">
  24. <li class="li">Normal text</li>
  25. <li class="li">Headings (levels one through four)</li>
  26. <li class="li">Titles for sections and examples</li>
  27. <li class="li">Tables and figures</li>
  28. <li class="li">Notes and examples</li>
  29. <li class="li">Lists (unordered, ordered, and definition)</li>
  30. <li class="li">Code blocks and pre-formatted text</li>
  31. <li class="li">Inline elements such as links and trademarks</li>
  32. </ul>
  33. <p class="p">For each component, you can specify: </p>
  34. <ul class="ul">
  35. <li class="li">Font family, size, weight, and style</li>
  36. <li class="li">Color and background color</li>
  37. <li class="li">Alignment, indentation, spacing, and padding</li>
  38. </ul></li>
  39. </ul>
  40. <div class="note tip note_tip"><span class="note__title">Tip:</span> The PDF Plugin Generator should be your first stop as you start developing a brand-new PDF
  41. customization plug-in.</div>
  42. </section>
  43. <section class="section" id="ID__dita-for-print"><h2 class="title sectiontitle"><cite class="cite">DITA for Print: A DITA Open Toolkit Workbook</cite> (Second Edition, 2017)</h2>
  44. <p class="p">Authored by Leigh W. White, DITA Specialist at IXIASOFT, and published by XML Press, <cite class="cite">DITA for
  45. Print</cite> walks readers through developing a PDF customization from scratch. </p>
  46. <p class="p">Here is an excerpt from the back cover:</p>
  47. <blockquote class="lq"><cite class="cite">DITA for Print</cite> is for anyone who wants to learn how to create PDFs using the DITA Open Toolkit
  48. without learning everything there is to know about XSL-FO, XSLT, or XPath, or even about the DITA Open Toolkit
  49. itself. <cite class="cite">DITA for Print</cite> is written for non-programmers, by a non-programmer, and although it is
  50. written for people who have a good understanding of the DITA standard, you don't need a technical background to
  51. get custom PDFs up and running quickly.</blockquote>
  52. <p class="p">This is an excellent, long-needed resource that was initially developed in 2013 for DITA-OT 1.8.</p>
  53. <p class="p">The second edition has been revised to cover DITA Open Toolkit Version 2, including customizing the DITA 1.3
  54. troubleshooting topic type, localization strings, bookmarks, and the new back-cover functionality.</p>
  55. <div class="note important note_important"><span class="note__title">Important:</span>
  56. <p class="p">The first edition of <cite class="cite">DITA for Print</cite> recommended copying entire files from the PDF2 plug-in to
  57. your custom plug-in. The DITA-OT project — and the second edition of the book — do not recommend this
  58. practice.</p>
  59. <p class="p">Instead, you should copy only the specific attribute sets and templates that you want to override. Following
  60. this practice will more cleanly isolate your customizations from the DITA-OT code, which will make it easier
  61. for you to update your plug-ins to work with future versions of the DITA-OT.</p></div>
  62. </section>
  63. <section class="section" id="ID__dita-for-practitioners"><h2 class="title sectiontitle"><cite class="cite">DITA for Practitioners: Volume 1, Architecture and Technology</cite> (2012)</h2>
  64. <p class="p">Authored by Eliot Kimber and published by XML Press, this seminal resource contains a chapter dedicated to the
  65. DITA Open Toolkit: “Running, Configuring, and Customizing the Open Toolkit”. In addition to a robust overview of
  66. DITA-OT customization and extension, the chapter contains a detailed example of customizing a PDF plug-in to
  67. specify 7" × 10" paper size and custom fonts for body text and headers.</p>
  68. <p class="p">The DITA-OT chapter in <cite class="cite">DITA for Practitioners: Volume 1</cite> was written for DITA-OT 1.5.4, which was
  69. the latest stable version at the time it was written.</p>
  70. </section>
  71. </div>
  72. <nav role="navigation" class="related-links"><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/pdf-customization.html" title="You can create custom DITA-OT plug-ins that build on the default DITA to PDF transformation. Plug-ins can customize covers and page layouts, modify formatting, override logic of the default PDF plug-in, and much more.">Customizing PDF output</a></div></div></nav></article></main></body></html>