pdf-transformation-history.dita 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <concept id="history-pdf-transformation">
  5. <title>History of the PDF transformation</title>
  6. <shortdesc>The DITA Open Toolkit PDF transformation was originally based on a third-party contribution by Idiom
  7. Technologies, and is commonly known as the “pdf2” plug-in.</shortdesc>
  8. <prolog>
  9. <metadata>
  10. <keywords>
  11. <indexterm><xmlelement>info</xmlelement></indexterm>
  12. <indexterm>legacypdf</indexterm>
  13. <indexterm>PDF2<index-see>PDF<indexterm>plug-in, history of</indexterm></index-see></indexterm>
  14. <indexterm>languages<indexterm>auto-generated strings</indexterm></indexterm>
  15. <indexterm>PDF<indexterm>plug-in, history of</indexterm><indexterm>HTML formatting
  16. differences</indexterm></indexterm>
  17. <indexterm>Idiom Technologies</indexterm>
  18. <indexterm>HTML<indexterm>PDF formatting differences</indexterm></indexterm>
  19. <indexterm>DITA 1.1</indexterm>
  20. <indexterm>index<indexterm>indexing domain</indexterm></indexterm>
  21. <indexterm>Customization directory</indexterm>
  22. <indexterm>org.dita.pdf2</indexterm>
  23. </keywords>
  24. </metadata>
  25. </prolog>
  26. <conbody>
  27. <p>When IBM developed the code that later became DITA-OT, it included only a proof-of-concept PDF
  28. transformation. IBM had their own processing chain for producing PDFs from SGML, which they had developed over
  29. several decades, so resources were focused primarily on XHTML output and preprocessing.</p>
  30. <p>Since the initial proof-of-concept transformation was not robust enough for production-grade output, companies
  31. began to develop their own PDF transformations. One company, Idiom Technologies, made their transformation (known
  32. as the “pdf2” transformation) available as open source on 23 February 2006. The Idiom plug-in was initially
  33. available as a separately-downloadable plug-in that could be installed into DITA-OT.</p>
  34. <p>Later the DITA-OT project formally incorporated the Idiom plug-in as a demonstration in the
  35. <filepath>demo/fo</filepath> directory. Beginning with DITA-OT version 1.5, released 18 December 2009, the
  36. “pdf2” code served as the main, supported PDF transformation. (The original PDF transformation was deprecated and
  37. renamed “legacypdf”.) In DITA-OT version 1.6, the “pdf2” plug-in was moved to
  38. <filepath>plugins/org.dita.pdf2</filepath>. </p>
  39. <p>The fact that the current PDF transformation was not originally developed in parallel with the other core DITA-OT
  40. transformations led to anomalies that often confuse users:</p>
  41. <ul>
  42. <li>Elements are often (by default) styled differently in the XHTML and PDF transformations. For example, consider
  43. the <xmlelement>info</xmlelement> element in a task topic. In HTML output, this is an inline element; in PDF
  44. output, it is a block-level element.</li>
  45. <li>The auto-generated strings used for localization are different, and so languages that are supported by DITA-OT
  46. differ based on whether the XHTML or PDF transformation is used.</li>
  47. <li>The Idiom plug-in used its own extension mechanism (the <filepath>Customization</filepath> folder) to provide
  48. overrides to the PDF transformation.</li>
  49. <li>Before the release of DITA 1.1 (which added support for the indexing domain), Idiom developed an index
  50. extension that used a FrameMaker-inspired syntax.</li>
  51. </ul>
  52. </conbody>
  53. </concept>