migrating-to-3.5.dita 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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="migrating-to-3.5">
  5. <title>Migrating to release 3.5</title>
  6. <titlealts>
  7. <navtitle>To 3.5</navtitle>
  8. </titlealts>
  9. <shortdesc>DITA-OT 3.5 includes <ph id="summary">support for additional input resources, an alternative subcommand
  10. syntax for the <cmdname>dita</cmdname> command, and an initial preview of features for the latest draft of the
  11. upcoming DITA 2.0 standard</ph>.</shortdesc>
  12. <refbody>
  13. <section>
  14. <note>This topic provides a summary of changes in DITA-OT 3.5 that may require modifications to custom stylesheets
  15. or plug-ins. For more information on changes in this release, see the
  16. <xref keyref="3.5-release-notes"/>.</note>
  17. </section>
  18. <section id="subcommands">
  19. <title>New subcommands</title>
  20. <p>The <cmdname>dita</cmdname> command line interface has been refactored to support subcommands for common
  21. operations.</p>
  22. <note type="important">The new subcommands supersede the deprecated X-Toolkit–style single-hyphen keyword variants
  23. (such as <option>-install</option>), and the corresponding GNU-style option keywords preceded by two hyphens
  24. (such as <option>--install</option>).</note>
  25. <dl>
  26. <dlentry conkeyref="reusable-components/install-subcommand" conrefend="default.dita#ID/version-subcommand">
  27. <dt/>
  28. <dd/>
  29. </dlentry>
  30. </dl>
  31. <note type="tip">The double-hyphen option syntax has been retained for backwards compatibility, so if you use
  32. commands like <cmdname>dita</cmdname>
  33. <parmname>--install</parmname> in scripts, they will still work, but you may want to migrate your scripts to the
  34. new subcommand syntax.</note>
  35. </section>
  36. <section id="3.5-legacy-target-removal">
  37. <title>Legacy constructs removed</title>
  38. <p>DITA-OT 3.5 no longer includes the following legacy properties, list files, and targets, which were deprecated
  39. in previous releases. These constructs were no longer used in recent releases, and have now been removed
  40. entirely.</p>
  41. <p>The following Ant targets have been removed from the pre-processing pipeline:</p>
  42. <ul>
  43. <li><codeph>mappull</codeph> and <codeph>mappull-check</codeph>, which were used to pull metadata (such as
  44. navtitle) into the map from referenced topics prior to DITA-OT 2.2 (merged with
  45. <codeph>move-meta-entries</codeph>)</li>
  46. <li><codeph>conref-check</codeph>, deprecated since 2.3</li>
  47. <li><codeph>coderef</codeph>, which was used to resolve code references in input files prior to 2.3 (merged with
  48. <codeph>topic-fragment</codeph>)</li>
  49. <li><codeph>copy-subsidiary</codeph> and <codeph>copy-subsidiary-check</codeph>, which were used to copy files
  50. to the temporary directory prior to 2.1</li>
  51. </ul>
  52. <p>Recent DITA-OT versions provide alternative mechanisms to achieve the same results, such as the
  53. <xmlelement>ditafileset</xmlelement> element to select resources in the temporary directory.</p>
  54. <p>Along with the obsolete targets, the following Ant properties have been removed:</p>
  55. <ul>
  56. <li><codeph>canditopicsfile</codeph></li>
  57. <li><codeph>canditopicslist</codeph></li>
  58. <li><codeph>conreffile</codeph></li>
  59. <li><codeph>conreflist</codeph></li>
  60. <li><codeph>conreftargetsfile</codeph></li>
  61. <li><codeph>conreftargetslist</codeph></li>
  62. <li><codeph>copytosourcefile</codeph></li>
  63. <li><codeph>copytosourcelist</codeph></li>
  64. <li><codeph>fullditamapandtopicfile</codeph></li>
  65. <li><codeph>fullditamapandtopiclist</codeph></li>
  66. <li><codeph>fullditamapfile</codeph></li>
  67. <li><codeph>fullditamaplist</codeph></li>
  68. <li><codeph>fullditatopicfile</codeph></li>
  69. <li><codeph>fullditatopiclist</codeph></li>
  70. <li><codeph>hrefditatopicfile</codeph></li>
  71. <li><codeph>hrefditatopiclist</codeph></li>
  72. <li><codeph>hreftargetsfile</codeph></li>
  73. <li><codeph>hreftargetslist</codeph></li>
  74. <li><codeph>htmlfile</codeph></li>
  75. <li><codeph>htmllist</codeph></li>
  76. <li><codeph>imagefile</codeph></li>
  77. <li><codeph>imagelist</codeph></li>
  78. <li><codeph>outditafilesfile</codeph></li>
  79. <li><codeph>outditafileslist</codeph></li>
  80. <li><codeph>resourceonlyfile</codeph></li>
  81. <li><codeph>resourceonlylist</codeph></li>
  82. <li><codeph>subjectschemefile</codeph></li>
  83. <li><codeph>subjectschemelist</codeph></li>
  84. <li><codeph>subtargetsfile</codeph></li>
  85. <li><codeph>subtargetslist</codeph></li>
  86. <li><codeph>user.input.file.listfile</codeph></li>
  87. <li><codeph>user.input.file</codeph></li>
  88. </ul>
  89. <p>The following obsolete list files are no longer generated in the temporary directory:</p>
  90. <ul>
  91. <li><filepath>canditopics.list</filepath></li>
  92. <li><filepath>conref.list</filepath></li>
  93. <li><filepath>conreftargets.list</filepath></li>
  94. <li><filepath>copytosource.list</filepath></li>
  95. <li><filepath>fullditamap.list</filepath></li>
  96. <li><filepath>fullditamapandtopic.list</filepath></li>
  97. <li><filepath>fullditatopic.list</filepath></li>
  98. <li><filepath>hrefditatopic.list</filepath></li>
  99. <li><filepath>hreftargets.list</filepath></li>
  100. <li><filepath>html.list</filepath></li>
  101. <li><filepath>image.list</filepath></li>
  102. <li><filepath>outditafiles.list</filepath></li>
  103. <li><filepath>resourceonly.list</filepath></li>
  104. <li><filepath>subjectscheme.list</filepath></li>
  105. <li><filepath>subtargets.list</filepath></li>
  106. <li><filepath>user.input.file.list</filepath></li>
  107. <li><filepath>usr.input.file.list</filepath></li>
  108. </ul>
  109. </section>
  110. </refbody>
  111. </reference>