migrating-to-1.8.dita 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <reference id="ID" rev="1.8">
  5. <title>Migrating to release 1.8</title>
  6. <titlealts>
  7. <navtitle>To 1.8</navtitle>
  8. </titlealts>
  9. <shortdesc>In DITA-OT 1.8, certain stylesheets were moved to plug-in specific folders and various deprecated Ant
  10. properties, XSLT stylesheets, parameters and modes were removed from the XHTML, PDF and ODT
  11. transformations.</shortdesc>
  12. <prolog>
  13. <metadata>
  14. <keywords>
  15. <indexterm>deprecated features<indexterm><codeph>dita.script.dir</codeph></indexterm></indexterm>
  16. <indexterm>deprecated features<indexterm><codeph>dita.resource.dir</codeph></indexterm></indexterm>
  17. <indexterm>deprecated features<indexterm><codeph>dita.empty</codeph></indexterm></indexterm>
  18. <indexterm>deprecated features<indexterm><codeph>args.message.file</codeph></indexterm></indexterm>
  19. <indexterm>deprecated features<indexterm><codeph>ImgUtils</codeph></indexterm></indexterm>
  20. <indexterm>deprecated features<indexterm><filepath>artwork-preprocessor.xsl</filepath></indexterm></indexterm>
  21. <indexterm>deprecated features<indexterm><filepath>otdita2fo_frontend.xsl</filepath></indexterm></indexterm>
  22. <indexterm>deprecated features<indexterm><codeph>insertVariable.old</codeph></indexterm></indexterm>
  23. <indexterm>deprecated features<indexterm>XSLT mode, <codeph>layout-masters-processing</codeph></indexterm></indexterm>
  24. <indexterm>deprecated features<indexterm>XSLT mode, <codeph>toc-prefix-text</codeph></indexterm></indexterm>
  25. <indexterm>deprecated features<indexterm>XSLT mode, <codeph>toc-topic-text</codeph></indexterm></indexterm>
  26. <indexterm>deprecated features<indexterm><codeph>args.fo.include.rellinks</codeph></indexterm></indexterm>
  27. <indexterm>deprecated features<indexterm>Legacy PDF</indexterm></indexterm>
  28. <indexterm>deprecated features<indexterm><codeph>args.odt.include.rellinks</codeph></indexterm></indexterm>
  29. <indexterm>deprecated features<indexterm><codeph>disableRelatedLinks</codeph></indexterm></indexterm>
  30. </keywords>
  31. </metadata>
  32. </prolog>
  33. <refbody>
  34. <section>
  35. <p>Stylesheets for the following transformation types have moved to plug-in specific folders:</p>
  36. <ul>
  37. <li><option>eclipsehelp</option></li>
  38. <li><option>htmlhelp</option></li>
  39. <li><option>javahelp</option></li>
  40. <li><option>odt</option></li>
  41. <li><option>xhtml</option></li>
  42. </ul>
  43. </section>
  44. <section>
  45. <title>Preprocessing</title>
  46. <p>The following deprecated Ant properties have been removed:</p>
  47. <ul>
  48. <li><codeph>dita.script.dir</codeph>, use <codeph>${dita.plugin.<varname>id</varname>.dir}</codeph> instead</li>
  49. <li><codeph>dita.resource.dir</codeph>, use <codeph>${dita.plugin.org.dita.base.dir}/resource</codeph>
  50. instead</li>
  51. <li><codeph>dita.empty</codeph></li>
  52. <li><codeph>args.message.file</codeph></li>
  53. </ul>
  54. </section>
  55. <section>
  56. <title>XHTML</title>
  57. <p>XSLT Java extension <codeph>ImgUtils</codeph> has been removed from stylesheets and been replaced with
  58. preprocessing module <codeph>ImageMetadataModule</codeph>. The old <codeph>ImgUtils</codeph> Java classes are
  59. still included in the build.</p>
  60. </section>
  61. <section>
  62. <title>PDF</title>
  63. <div outputclass="div-index">
  64. <indexterm>args.rellinks</indexterm>
  65. <indexterm>PDF<indexterm>related links</indexterm><indexterm>args.rellinks</indexterm></indexterm>
  66. </div>
  67. <p>The following deprecated XSLT stylesheets have been removed:</p>
  68. <ul>
  69. <li><filepath>artwork-preprocessor.xsl</filepath></li>
  70. <li><filepath>otdita2fo_frontend.xsl</filepath></li>
  71. </ul>
  72. <p>The following deprecated XSLT templates have been removed:</p>
  73. <ul>
  74. <li><codeph>insertVariable.old</codeph></li>
  75. </ul>
  76. <p>The following deprecated XSLT modes have been removed:</p>
  77. <ul>
  78. <li><codeph>layout-masters-processing</codeph></li>
  79. <li><codeph>toc-prefix-text</codeph>, use <codeph>tocPrefix</codeph> mode instead</li>
  80. <li><codeph>toc-topic-text</codeph>, use <codeph>tocText</codeph> mode instead</li>
  81. </ul>
  82. <p>Link generation has been simplified by removing deprecated arguments in favor of
  83. <codeph>args.rellinks</codeph>. The following deprecated Ant properties have been removed:</p>
  84. <ul>
  85. <li><codeph>args.fo.include.rellinks</codeph></li>
  86. </ul>
  87. <p>The following XSLT parameters have been removed:</p>
  88. <ul>
  89. <li><codeph>antArgsIncludeRelatedLinks</codeph></li>
  90. <li><codeph>disableRelatedLinks</codeph></li>
  91. </ul>
  92. <p>A call to a named template <codeph>pullPrologIndexTerms.end-range</codeph> has been added to
  93. <codeph>processTopic*</codeph> templates to handle topic wide index ranges.</p>
  94. </section>
  95. <section>
  96. <title>Legacy PDF</title>
  97. <p>The following deprecated XSLT stylesheets have been removed:</p>
  98. <ul>
  99. <li><filepath>dita2fo-shell_template.xsl</filepath></li>
  100. <li><filepath>topic2fo-shell.xsl</filepath></li>
  101. </ul>
  102. </section>
  103. <section>
  104. <title>ODT</title>
  105. <p>Link generation has been simplified by removing deprecated arguments in favor of
  106. <codeph>args.rellinks</codeph>. The following deprecated Ant properties have been removed:</p>
  107. <ul>
  108. <li><codeph>args.odt.include.rellinks</codeph></li>
  109. </ul>
  110. <p>The following XSLT parameters have been added:</p>
  111. <ul>
  112. <li><codeph>include.rellinks</codeph></li>
  113. </ul>
  114. <p>The following XSLT parameters have been removed:</p>
  115. <ul>
  116. <li><codeph>disableRelatedLinks</codeph></li>
  117. </ul>
  118. </section>
  119. </refbody>
  120. </reference>