migrating-to-1.8.dita 4.1 KB

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