migrating-to-1.8.html 7.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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 2016"><meta name="DC.rights.owner" content="(C) Copyright 2016"><meta name="DC.Type" content="reference"><meta name="description" content="In DITA-OT 1.8, certain stylesheets were moved to plug-in specific folders and various deprecated Ant properties, XSLT stylesheets, parameters and modes were removed from the XHTML, PDF and ODT transformations."><meta name="DC.Relation" scheme="URI" content="../dev_ref/migration.html"><meta name="DC.Format" content="XHTML"><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>Migrating to release 1.8</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 2.3</a></li><li><a href="../release-notes/index.html">Release Notes</a></li><li><a href="../getting-started/index.html">Getting Started</a></li><li><a href="../user-guide/index.html">User Guide</a></li><li><a href="../parameters/index.html">Parameter Reference</a></li><li><a href="../dev_ref/index.html">Developer Reference</a><ul><li><a href="../dev_ref/DITA-OTArchitecture.html">DITA-OT Architecture</a></li><li><a href="../dev_ref/extending-the-ot.html">Extending the DITA-OT</a></li><li><a href="../dev_ref/plugin-creating.html">Creating plug-ins</a></li><li><a href="../dev_ref/plugin-extension-points.html">Extension points</a></li><li><a href="../dev_ref/pdf-customization.html">Customizing PDF output</a></li><li><a href="../dev_ref/migration.html">Migrating customizations</a><ul><li><a href="../dev_ref/migrating-to-2.3.html">To 2.3</a></li><li><a href="../dev_ref/migrating-to-2.2.html">To 2.2</a></li><li><a href="../dev_ref/migrating-to-2.1.html">To 2.1</a></li><li><a href="../dev_ref/migrating-to-2.0.html">To 2.0</a></li><li class="active"><a href="../dev_ref/migrating-to-1.8.html">To 1.8</a></li><li><a href="../dev_ref/migrating-to-1.7.html">To 1.7</a></li><li><a href="../dev_ref/migrating-to-1.6.html">To 1.6</a></li><li><a href="../dev_ref/migrating-to-1.5.4.html">To 1.5.4</a></li></ul></li></ul></li><li><a href="../user-guide/dita-and-dita-ot-resources.html">DITA Resources</a></li></ul></nav><main role="main"><article role="article" aria-labelledby="ariaid-title1">
  7. <h1 class="title topictitle1" id="ariaid-title1">Migrating to release 1.8</h1>
  8. <div class="body refbody"><p class="shortdesc">In DITA-OT 1.8, certain stylesheets were moved to plug-in specific folders and various deprecated Ant
  9. properties, XSLT stylesheets, parameters and modes were removed from the XHTML, PDF and ODT
  10. transformations.</p>
  11. <section class="section">
  12. <p class="p">Stylesheets for the following transformation types have moved to plug-in specific folders:</p>
  13. <ul class="ul">
  14. <li class="li">eclipsehelp</li>
  15. <li class="li">htmlhelp</li>
  16. <li class="li">javahelp</li>
  17. <li class="li">odt</li>
  18. <li class="li">xhtml</li>
  19. </ul>
  20. </section>
  21. <section class="section"><h2 class="title sectiontitle">Preprocessing</h2>
  22. <p class="p">The following deprecated Ant properties have been removed:</p>
  23. <ul class="ul">
  24. <li class="li"><code class="ph codeph">dita.script.dir</code>, use <code class="ph codeph">${dita.plugin.<var class="keyword varname">id</var>.dir}</code> instead</li>
  25. <li class="li"><code class="ph codeph">dita.resource.dir</code>, use <code class="ph codeph">${dita.plugin.org.dita.base.dir}/resource</code>
  26. instead</li>
  27. <li class="li"><code class="ph codeph">dita.empty</code></li>
  28. <li class="li"><code class="ph codeph">args.message.file</code></li>
  29. </ul>
  30. </section>
  31. <section class="section"><h2 class="title sectiontitle">XHTML</h2>
  32. <p class="p">XSLT Java extension <code class="ph codeph">ImgUtils</code> has been removed from stylesheets and been replaced with
  33. preprocessing module <code class="ph codeph">ImageMetadataModule</code>. The old <code class="ph codeph">ImgUtils</code> Java classes are
  34. still included in the build.</p>
  35. </section>
  36. <section class="section"><h2 class="title sectiontitle">PDF</h2>
  37. <p class="p">The following deprecated XSLT stylesheets have been removed:</p>
  38. <ul class="ul">
  39. <li class="li"><span class="ph filepath">artwork-preprocessor.xsl</span></li>
  40. <li class="li"><span class="ph filepath">otdita2fo_frontend.xsl</span></li>
  41. </ul>
  42. <p class="p">The following deprecated XSLT templates have been removed:</p>
  43. <ul class="ul">
  44. <li class="li"><code class="ph codeph">insertVariable.old</code></li>
  45. </ul>
  46. <p class="p">The following deprecated XSLT modes have been removed:</p>
  47. <ul class="ul">
  48. <li class="li"><code class="ph codeph">layout-masters-processing</code></li>
  49. <li class="li"><code class="ph codeph">toc-prefix-text</code>, use <code class="ph codeph">tocPrefix</code> mode instead</li>
  50. <li class="li"><code class="ph codeph">toc-topic-text</code>, use <code class="ph codeph">tocText</code> mode instead</li>
  51. </ul>
  52. <p class="p">Link generation has been simplified by removing deprecated arguments in favor of
  53. <code class="ph codeph">args.rellinks</code>. The following deprecated Ant properties have been removed:</p>
  54. <ul class="ul">
  55. <li class="li"><code class="ph codeph">args.fo.include.rellinks</code></li>
  56. </ul>
  57. <p class="p">The following XSLT parameters have been removed:</p>
  58. <ul class="ul">
  59. <li class="li"><code class="ph codeph">antArgsIncludeRelatedLinks</code></li>
  60. <li class="li"><code class="ph codeph">disableRelatedLinks</code></li>
  61. </ul>
  62. <p class="p">A call to a named template <code class="ph codeph">pullPrologIndexTerms.end-range</code> has been added to
  63. <code class="ph codeph">processTopic*</code> templates to handle topic wide index ranges.</p>
  64. </section>
  65. <section class="section"><h2 class="title sectiontitle">Legacy PDF</h2>
  66. <p class="p">The following deprecated XSLT stylesheets have been removed:</p>
  67. <ul class="ul">
  68. <li class="li"><span class="ph filepath">dita2fo-shell_template.xsl</span></li>
  69. <li class="li"><span class="ph filepath">topic2fo-shell.xsl</span></li>
  70. </ul>
  71. </section>
  72. <section class="section"><h2 class="title sectiontitle">ODT</h2>
  73. <p class="p">Link generation has been simplified by removing deprecated arguments in favor of
  74. <code class="ph codeph">args.rellinks</code>. The following deprecated Ant properties have been removed:</p>
  75. <ul class="ul">
  76. <li class="li"><code class="ph codeph">args.odt.include.rellinks</code></li>
  77. </ul>
  78. <p class="p">The following XSLT parameters have been added:</p>
  79. <ul class="ul">
  80. <li class="li"><code class="ph codeph">include.rellinks</code></li>
  81. </ul>
  82. <p class="p">The following XSLT parameters have been removed:</p>
  83. <ul class="ul">
  84. <li class="li"><code class="ph codeph">disableRelatedLinks</code></li>
  85. </ul>
  86. </section>
  87. </div>
  88. <nav role="navigation" class="related-links"><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../dev_ref/migration.html" title="If you have XSL transformation overrides, plug-ins or other customizations written prior to DITA-OT 2.3, you may need to make changes to ensure your overrides work properly with the latest toolkit versions.">Migrating customizations</a></div></div></nav></article></main></body></html>