migrating-to-1.8.dita 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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
  16. <indexterm><codeph>dita.script.dir</codeph></indexterm></indexterm>
  17. <indexterm>deprecated features
  18. <indexterm><codeph>dita.resource.dir</codeph></indexterm></indexterm>
  19. <indexterm>deprecated features
  20. <indexterm><codeph>dita.empty</codeph></indexterm></indexterm>
  21. <indexterm>deprecated features
  22. <indexterm><codeph>args.message.file</codeph></indexterm></indexterm>
  23. <indexterm>deprecated features
  24. <indexterm><codeph>ImgUtils</codeph></indexterm></indexterm>
  25. <indexterm>deprecated features
  26. <indexterm><filepath>artwork-preprocessor.xsl</filepath></indexterm></indexterm>
  27. <indexterm>deprecated features
  28. <indexterm><filepath>otdita2fo_frontend.xsl</filepath></indexterm></indexterm>
  29. <indexterm>deprecated features
  30. <indexterm><codeph>insertVariable.old</codeph></indexterm></indexterm>
  31. <indexterm>deprecated features
  32. <indexterm>XSLT mode, <codeph>layout-masters-processing</codeph></indexterm></indexterm>
  33. <indexterm>deprecated features
  34. <indexterm>XSLT mode, <codeph>toc-prefix-text</codeph></indexterm></indexterm>
  35. <indexterm>deprecated features
  36. <indexterm>XSLT mode, <codeph>toc-topic-text</codeph></indexterm></indexterm>
  37. <indexterm>deprecated features
  38. <indexterm><codeph>args.fo.include.rellinks</codeph></indexterm></indexterm>
  39. <indexterm>deprecated features
  40. <indexterm>Legacy PDF</indexterm></indexterm>
  41. <indexterm>deprecated features
  42. <indexterm><codeph>args.odt.include.rellinks</codeph></indexterm></indexterm>
  43. <indexterm>deprecated features
  44. <indexterm><codeph>disableRelatedLinks</codeph></indexterm></indexterm>
  45. </keywords>
  46. </metadata>
  47. </prolog>
  48. <refbody>
  49. <section>
  50. <p>Stylesheets for the following transformation types have moved to plug-in specific folders:</p>
  51. <ul>
  52. <li><option>eclipsehelp</option></li>
  53. <li><option>htmlhelp</option></li>
  54. <li><option>javahelp</option></li>
  55. <li><option>odt</option></li>
  56. <li><option>xhtml</option></li>
  57. </ul>
  58. </section>
  59. <section>
  60. <title>Preprocessing</title>
  61. <p>The following deprecated Ant properties have been removed:</p>
  62. <ul>
  63. <li><codeph>dita.script.dir</codeph>, use <codeph>${dita.plugin.<varname>id</varname>.dir}</codeph> instead</li>
  64. <li><codeph>dita.resource.dir</codeph>, use <codeph>${dita.plugin.org.dita.base.dir}/resource</codeph>
  65. instead</li>
  66. <li><codeph>dita.empty</codeph></li>
  67. <li><codeph>args.message.file</codeph></li>
  68. </ul>
  69. </section>
  70. <section>
  71. <title>XHTML</title>
  72. <p>XSLT Java extension <codeph>ImgUtils</codeph> has been removed from stylesheets and been replaced with
  73. preprocessing module <codeph>ImageMetadataModule</codeph>. The old <codeph>ImgUtils</codeph> Java classes are
  74. still included in the build.</p>
  75. </section>
  76. <section>
  77. <title>PDF</title>
  78. <indexterm>args.rellinks</indexterm>
  79. <indexterm>PDF
  80. <indexterm>related links</indexterm>
  81. <indexterm>args.rellinks</indexterm></indexterm>
  82. <p>The following deprecated XSLT stylesheets have been removed:</p>
  83. <ul>
  84. <li><filepath>artwork-preprocessor.xsl</filepath></li>
  85. <li><filepath>otdita2fo_frontend.xsl</filepath></li>
  86. </ul>
  87. <p>The following deprecated XSLT templates have been removed:</p>
  88. <ul>
  89. <li><codeph>insertVariable.old</codeph></li>
  90. </ul>
  91. <p>The following deprecated XSLT modes have been removed:</p>
  92. <ul>
  93. <li><codeph>layout-masters-processing</codeph></li>
  94. <li><codeph>toc-prefix-text</codeph>, use <codeph>tocPrefix</codeph> mode instead</li>
  95. <li><codeph>toc-topic-text</codeph>, use <codeph>tocText</codeph> mode instead</li>
  96. </ul>
  97. <p>Link generation has been simplified by removing deprecated arguments in favor of
  98. <codeph>args.rellinks</codeph>. The following deprecated Ant properties have been removed:</p>
  99. <ul>
  100. <li><codeph>args.fo.include.rellinks</codeph></li>
  101. </ul>
  102. <p>The following XSLT parameters have been removed:</p>
  103. <ul>
  104. <li><codeph>antArgsIncludeRelatedLinks</codeph></li>
  105. <li><codeph>disableRelatedLinks</codeph></li>
  106. </ul>
  107. <p>A call to a named template <codeph>pullPrologIndexTerms.end-range</codeph> has been added to
  108. <codeph>processTopic*</codeph> templates to handle topic wide index ranges.</p>
  109. </section>
  110. <section>
  111. <title>Legacy PDF</title>
  112. <p>The following deprecated XSLT stylesheets have been removed:</p>
  113. <ul>
  114. <li><filepath>dita2fo-shell_template.xsl</filepath></li>
  115. <li><filepath>topic2fo-shell.xsl</filepath></li>
  116. </ul>
  117. </section>
  118. <section>
  119. <title>ODT</title>
  120. <p>Link generation has been simplified by removing deprecated arguments in favor of
  121. <codeph>args.rellinks</codeph>. The following deprecated Ant properties have been removed:</p>
  122. <ul>
  123. <li><codeph>args.odt.include.rellinks</codeph></li>
  124. </ul>
  125. <p>The following XSLT parameters have been added:</p>
  126. <ul>
  127. <li><codeph>include.rellinks</codeph></li>
  128. </ul>
  129. <p>The following XSLT parameters have been removed:</p>
  130. <ul>
  131. <li><codeph>disableRelatedLinks</codeph></li>
  132. </ul>
  133. </section>
  134. </refbody>
  135. </reference>