rel2.3.dita 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  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="2.3">
  5. <title>DITA Open Toolkit 2.3.3 Release Notes</title>
  6. <abstract>
  7. <shortdesc>DITA Open Toolkit 2.3.3 is a maintenance release that fixes issues reported in DITA-OT 2.3, which
  8. includes <ph conref="#highlights/summary"/>.</shortdesc>
  9. <p>Issue numbers correspond to the tracking number in the <ph>
  10. <xref keyref="dita-ot-issues">GitHub issues tracker</xref></ph>.</p>
  11. </abstract>
  12. <reference id="v233">
  13. <title>Maintenance Release 2.3.3</title>
  14. <refbody>
  15. <section>
  16. <p>DITA Open Toolkit Release 2.3.3 includes the following bug fixes.</p>
  17. <ul>
  18. <li id="2440">Lax processing now tolerates hyperlink references with leading or trailing whitespace in the
  19. <xmlatt>href</xmlatt> attribute value, such as:
  20. <codeblock>&lt;xref href=" http://www.example.com" format="html"&gt;</codeblock> Earlier versions of DITA-OT
  21. would convert the space to its URL-encoded equivalent <codeph>%20</codeph> and fail with an error. The URI
  22. validation routines have been modified to issue a warning and continue processing in lax mode, but still
  23. fail in strict mode.
  24. <xref href="https://github.com/dita-ot/dita-ot/issues/2440" scope="external" format="html">#2440</xref>,
  25. <xref href="https://github.com/dita-ot/dita-ot/issues/2488" scope="external" format="html">#2488</xref>
  26. </li>
  27. <li id="2017">In certain cases, earlier versions of DITA-OT resolved relative paths to related links from the
  28. temporary directory rather than from the input DITA map file. Processing has been modified to ensure that
  29. links are generated correctly regardless of the target file location.
  30. <xref href="https://github.com/dita-ot/dita-ot/issues/2017" scope="external" format="html">#2017</xref>,
  31. <xref href="https://github.com/dita-ot/dita-ot/pull/2444" scope="external" format="html">#2444</xref>
  32. </li>
  33. <li id="2458">Several errors in the DITA 1.3 <filepath>subjectScheme</filepath> catalog file were corrected to
  34. ensure that the module files and entities for the DITA Map Subject Classification Domain are properly
  35. resolved. Corresponding errata have been submitted to OASIS to ensure the fixes are applied to the official
  36. catalogs.
  37. <xref href="https://github.com/dita-ot/dita-ot/issues/2458" scope="external" format="html">#2458</xref>
  38. </li>
  39. <li id="2464">Related link processing has been adjusted to handle cases that generate empty related links
  40. groups.
  41. <xref href="https://github.com/dita-ot/dita-ot/issues/2464" scope="external" format="html">#2464</xref>
  42. </li>
  43. <li id="2470">The <codeph>mappull</codeph> preprocessing step that pulls content from referenced topics into
  44. maps has been updated to use the XML catalog to resolve external entity references to their locally cached
  45. equivalents.
  46. <xref href="https://github.com/dita-ot/dita-ot/issues/2470" scope="external" format="html">#2470</xref>
  47. </li>
  48. <li id="2474">In PDF output generated by earlier versions of DITA-OT, roman numerals were used to number pages
  49. in the Notices section, assuming notices are most commonly located in the front matter, which uses roman
  50. numbering by default. The toolkit now checks whether the <xmlelement>notices</xmlelement> element is inside
  51. <xmlelement>backmatter</xmlelement>, and uses arabic numbering as appropriate.
  52. <xref href="https://github.com/dita-ot/dita-ot/issues/2474" scope="external" format="html">#2474</xref>
  53. </li>
  54. <li id="2477">When processing topics with unsupported languages, DITA-OT erroneously claimed it couldn't find
  55. the language <codeph>en_us</codeph> rather than mentioning the unsupported language. The
  56. <msgnum>DOTX001W</msgnum> message now includes the original, most complete value of the ancestor language
  57. to assist in troubleshooting.
  58. <xref href="https://github.com/dita-ot/dita-ot/pull/2477" scope="external" format="html">#2477</xref>
  59. </li>
  60. <li id="2482">In DITA-OT 2.3.2, reference targets for link-like elements such as
  61. <xmlelement>abbreviated-form</xmlelement> in short descriptions were incorrectly calculated in some cases.
  62. Processing has been updated to ensure that links are correctly resolved by adjusting references as necessary
  63. to match the path to the target document.
  64. <xref href="https://github.com/dita-ot/dita-ot/issues/2482" scope="external" format="html">#2482</xref>
  65. </li>
  66. <li id="2486">The copy-to processing routine failed to update image paths, resulting in invalid references in
  67. topics copied to locations other than the original or peer directories. Processing has been updated to
  68. ensure that image references are adjusted as necessary to reflect the location of the referencing document.
  69. <xref href="https://github.com/dita-ot/dita-ot/issues/2486" scope="external" format="html">#2486</xref>
  70. </li>
  71. <li id="2487">PDF: Definitions for several missing localization variables have been added to the Finnish,
  72. Romanian, Russian, and Swedish strings files.
  73. <xref href="https://github.com/dita-ot/dita-ot/pull/2487" scope="external" format="html">#2487</xref>
  74. </li>
  75. </ul>
  76. <p>For the complete list of changes since the previous release, see the
  77. <xref href="https://github.com/dita-ot/dita-ot/compare/2.3.2...2.3.3" scope="external" format="html">
  78. changelog</xref> on GitHub.</p>
  79. </section>
  80. </refbody>
  81. </reference>
  82. <reference id="v232">
  83. <title>Maintenance Release 2.3.2</title>
  84. <refbody>
  85. <section>
  86. <p>DITA Open Toolkit Release 2.3.2 included the following bug fixes.</p>
  87. <ul>
  88. <li id="1599">In earlier versions of DITA-OT, relative paths to cross-references from short descriptions were
  89. sometimes interpreted incorrectly if the source and target topics were located in different directories. New
  90. XSL functions now ensure that these references are correctly resolved.
  91. <xref href="https://github.com/dita-ot/dita-ot/issues/1599" scope="external" format="html">#1599</xref>
  92. </li>
  93. <li id="2413">In DITA-OT 2.3, the HTML5 transtype failed on topics with tables when the
  94. <parmname>args.xhtml.classattr</parmname> parameter was set to <option>no</option>. Processing has been
  95. updated to handle these cases and correctly exclude the DITA class ancestry information when publishing
  96. HTML5 output.
  97. <xref href="https://github.com/dita-ot/dita-ot/issues/2413" scope="external" format="html">#2413</xref>,
  98. <xref href="https://github.com/dita-ot/dita-ot/pull/2424" scope="external" format="html">#2424</xref>
  99. </li>
  100. <li id="2439">In DITA-OT 2.3, the PDF2 build target dependency list contained redundant entries. The
  101. integration process has been corrected to remove the duplicates.
  102. <xref href="https://github.com/dita-ot/dita-ot/issues/2439" scope="external" format="html">#2439</xref>,
  103. <xref href="https://github.com/dita-ot/dita-ot/pull/2451" scope="external" format="html">#2451</xref>
  104. </li>
  105. <li id="2441">The script that checks for Antenna House installations has been updated to include installation
  106. paths with spaces as used by recent versions of Antenna House for Windows –
  107. <filepath>C:\Program&#xA0;Files\Antenna&#xA0;House</filepath> and the (x86) equivalent.
  108. <xref href="https://github.com/dita-ot/dita-ot/issues/2441" scope="external" format="html">#2441</xref>
  109. </li>
  110. </ul>
  111. <p>For the complete list of changes since the previous release, see the
  112. <xref href="https://github.com/dita-ot/dita-ot/compare/2.3.1...2.3.2" scope="external" format="html">
  113. changelog</xref> on GitHub.</p>
  114. </section>
  115. </refbody>
  116. </reference>
  117. <reference id="v231">
  118. <title>Maintenance Release 2.3.1</title>
  119. <refbody>
  120. <section>
  121. <p>DITA Open Toolkit Release 2.3.1 included the following bug fixes.</p>
  122. <ul>
  123. <li id="2395">The distribution package for the 2.3 release included several unnecessary subfolders and
  124. appended the Git commit ID to the version number in the <filepath>lib/configuration.properties</filepath>
  125. file. The extra directories have been removed and the <codeph>otversion</codeph> in the properties file has
  126. been corrected.
  127. <xref href="https://github.com/dita-ot/dita-ot/issues/2395" scope="external" format="html">#2395</xref>
  128. </li>
  129. <li id="2398">In DITA-OT 2.3, temporary file folders specified via the <parmname>dita.temp.dir</parmname>
  130. parameter were interpreted as relative to the folder where the Java process started. This regression has
  131. been fixed to ensure that temporary folders are once again interpreted as relative to the base directory of
  132. the Ant process as in previous toolkit versions.
  133. <xref href="https://github.com/dita-ot/dita-ot/issues/2398" scope="external" format="html">#2398</xref>
  134. </li>
  135. <li id="2400">On Windows, the <cmdname>dita</cmdname> command would not run correctly if the name of a folder
  136. in the path to the DITA-OT 2.3 installation directory included spaces. The <filepath>dita.bat</filepath>
  137. script has been modified to support installation paths with spaces.
  138. <xref href="https://github.com/dita-ot/dita-ot/issues/2400" scope="external" format="html">#2400</xref>
  139. </li>
  140. <li id="2401">The DITA 1.3 DTD, Schema, and RNG files have been updated to the final "OASIS Standard" copy;
  141. this change updates the OASIS link and date in many header files, but does not affect how the grammar files
  142. work. In addition, the catalog has been updated to restore two entries that will eventually be shipped in
  143. the DITA 1.3 Errata from OASIS.
  144. <xref href="https://github.com/dita-ot/dita-ot/issues/2401" scope="external" format="html">#2401</xref>
  145. </li>
  146. <li id="2408">Fixed an issue where some front-matter sections, such as <xmlelement>draftintro</xmlelement> and
  147. <xmlelement>bookabstract</xmlelement>, caused page numbering to switch back and forth between Roman
  148. numerals and body-style Arabic numerals.
  149. <xref href="https://github.com/dita-ot/dita-ot/issues/2408" scope="external" format="html">#2408</xref>
  150. </li>
  151. <!--
  152. <li id="2413">HTML5 transtype fails on topics with tables when args.xhtml.classattr=no
  153. <xref href="https://github.com/dita-ot/dita-ot/issues/2413" scope="external" format="html">#2413</xref>
  154. </li>
  155. -->
  156. </ul>
  157. <p>For the complete list of changes since the previous release, see the
  158. <xref href="https://github.com/dita-ot/dita-ot/compare/2.3...2.3.1" scope="external" format="html">
  159. changelog</xref> on GitHub.</p>
  160. </section>
  161. </refbody>
  162. </reference>
  163. <reference id="requirements">
  164. <title>Requirements</title>
  165. <refbody>
  166. <section>
  167. <draft-comment author="Roger">Add info on new minimum Java version or any other requirements that have changed
  168. since previous release.</draft-comment>
  169. <p>DITA Open Toolkit Release 2.3 requires the Java Runtime Environment (JRE) version <keyword
  170. keyref="tool.java.version"/> or later.</p>
  171. </section>
  172. </refbody>
  173. </reference>
  174. <reference id="highlights">
  175. <title>Release Highlights</title>
  176. <shortdesc>DITA-OT 2.3 includes <ph id="summary">enhanced HTML5 output, new language support and additional
  177. internationalization improvements</ph>.</shortdesc>
  178. <refbody>
  179. <section>
  180. <title>Single .zip distribution package</title>
  181. <p id="2269">DITA Open Toolkit now ships as a single distribution package in a <filepath>.zip</filepath>
  182. archive, as modern versions of Linux and OS X no longer have the file permission issues that originally
  183. required the additional <filepath>.tar.gz</filepath> distribution package.
  184. <xref href="https://github.com/dita-ot/dita-ot/issues/2269" scope="external" format="html">#2269</xref>
  185. </p>
  186. </section>
  187. <section>
  188. <title>Enhanced HTML5 output</title>
  189. <p id="2239">The <option>HTML5</option> table processing has been refactored to use valid HTML5 markup, HTML5
  190. best practices, and better CSS properties for styling.
  191. <xref href="https://en.bem.info/methodology/" format="html" scope="external">BEM</xref>-style CSS classes are
  192. now generated with the name of the containing element, the name of the attribute, and the value of the
  193. attribute.
  194. <xref href="https://github.com/dita-ot/dita-ot/issues/2239" scope="external" format="html">#2239</xref>
  195. </p>
  196. <p id="2195-2196">Common CSS files are now generated using separate modules for each DITA domain, implemented as
  197. <xref keyref="sass-lang"/> partials to better support extensions with CSS frameworks, custom plug-ins and
  198. future toolkit versions.
  199. <xref href="https://github.com/dita-ot/dita-ot/pull/2195" scope="external" format="html">#2195</xref>,
  200. <xref href="https://github.com/dita-ot/dita-ot/pull/2196" scope="external" format="html">#2196</xref>,
  201. <xref href="https://github.com/dita-ot/dita-ot/pull/2218" scope="external" format="html">#2218</xref>,
  202. <xref href="https://github.com/dita-ot/dita-ot/pull/2369" scope="external" format="html">#2369</xref>
  203. </p>
  204. </section>
  205. <section>
  206. <title>New language support</title>
  207. <p id="2137">The <option>PDF</option> transformation has been extended to support additional languages with
  208. localized strings files and index collation.
  209. <xref href="https://github.com/dita-ot/dita-ot/issues/2137" scope="external" format="html">#2137</xref>,
  210. <xref href="https://github.com/dita-ot/dita-ot/issues/2344" scope="external" format="html">#2344</xref>
  211. <ul>
  212. <li>Belarusian</li>
  213. <li>Bulgarian</li>
  214. <li>Chinese (traditional), with limited support for index sorting</li>
  215. <li>Estonian</li>
  216. <li>Greek</li>
  217. <li>Hindi</li>
  218. <li>Indonesian</li>
  219. <li>Kazakh</li>
  220. <li>Korean</li>
  221. <li>Lithuanian</li>
  222. <li>Macedonian</li>
  223. <li>Malay</li>
  224. <li>Serbian (Cyrillic script)</li>
  225. <li>Serbian (Latin script)</li>
  226. <li>Thai</li>
  227. <li>Ukrainian</li>
  228. <li>Urdu</li>
  229. </ul>
  230. </p>
  231. <p><option>PDF</option>, <option>HTML</option>, and <option>XHTML</option> transformation types have been
  232. updated to support Bosnian, Montenegrin, and Vietnamese, including localized string files and (for
  233. <option>PDF</option>) index collation.
  234. <xref href="https://github.com/dita-ot/dita-ot/issues/2150" scope="external" format="html">#2150</xref>,
  235. <xref href="https://github.com/dita-ot/dita-ot/pull/2360" scope="external" format="html">#2360</xref>
  236. </p>
  237. </section>
  238. <section>
  239. <title>Internationalization improvements</title>
  240. <p>Along with the new languages supported by the <option>PDF</option> and <option>HTML</option> transformations,
  241. DITA Open Toolkit Release 2.3 provides additional internationalization improvements, including:
  242. <ul>
  243. <li id="2267">When testing for bi-directional content, more languages are now recognized as right-to-left.
  244. No additional support is added (for example, generated strings for new languages will appear using the
  245. DITA-OT default language), but otherwise content will use the proper direction by default. Arabic, Urdu,
  246. and Hebrew are already recognized by default; this change recognizes an additional 14 languages.
  247. <xref href="https://github.com/dita-ot/dita-ot/issues/1710" scope="external" format="html">#1710</xref>,
  248. <xref href="https://github.com/dita-ot/dita-ot/issues/2267" scope="external" format="html">#2267</xref>
  249. </li>
  250. <li id="2279">PDF: Additional fallback fonts have been specified in the
  251. <filepath>font-mappings.xml</filepath> file to provide better out-of-the-box support for Asian
  252. characters.
  253. <xref href="https://github.com/dita-ot/dita-ot/issues/2279" scope="external" format="html">#2279</xref>,
  254. <xref href="https://github.com/dita-ot/dita-ot/issues/2280" scope="external" format="html">#2280</xref>,
  255. <xref href="https://github.com/dita-ot/dita-ot/issues/2296" scope="external" format="html">#2296</xref>
  256. </li>
  257. <li id="2302">HTML: Earlier releases of DITA-OT 2.x generated a <xmlatt>style</xmlatt> attribute with
  258. <codeph>text-align:left</codeph> on table cells, regardless of whether the <xmlatt>align</xmlatt>
  259. attribute was set in the source. This caused problems with right-to-left languages. The default entry
  260. alignment has been removed, so the values of the <xmlatt>xml:lang</xmlatt> and <xmlatt>dir</xmlatt>
  261. attributes on the root of the topic will be respected. (This allows the browser to infer the value for the
  262. <codeph>text-align</codeph> property from the parent elements/styles.)
  263. <xref href="https://github.com/dita-ot/dita-ot/issues/2302" scope="external" format="html">#2302</xref>,
  264. <xref href="https://github.com/dita-ot/dita-ot/pull/2368" scope="external" format="html">#2368</xref>
  265. </li>
  266. <li id="2343">PDF: The Dutch variable file now includes translations for Glossary, List of tables, and List
  267. of figures. In addition, German, Italian, French, and Spanish have been updated to define missing
  268. variables, including one that previously resulted in a build error ("Table of Contents Notices").
  269. <xref href="https://github.com/dita-ot/dita-ot/issues/2131" scope="external" format="html">#2131</xref>,
  270. <xref href="https://github.com/dita-ot/dita-ot/issues/2343" scope="external" format="html">#2343</xref>
  271. </li>
  272. <li id="2357">The DITA-OT configuration value <codeph>default.language</codeph> is now used as the default
  273. language in all output formats. The value ships as <codeph>en</codeph>, but can be changed in
  274. <filepath>configuration.properties</filepath> or specified as a parameter to the build. For HTML output,
  275. the default is now the closest specified language; if a document does not specify
  276. <xmlatt>xml:lang</xmlatt>, <codeph>default.language</codeph> is used. For PDF output, the default is the
  277. closest specified language; if a document does not specify <xmlatt>xml:lang</xmlatt>, the root map is
  278. used; if the root map does not specify <xmlatt>xml:lang</xmlatt>, <codeph>default.language</codeph> is
  279. used.
  280. <xref href="https://github.com/dita-ot/dita-ot/issues/1476" scope="external" format="html">#1476</xref>,
  281. <xref href="https://github.com/dita-ot/dita-ot/issues/2201" scope="external" format="html">#2201</xref>,
  282. <xref href="https://github.com/dita-ot/dita-ot/pull/2356" scope="external" format="html">#2356</xref>,
  283. <xref href="https://github.com/dita-ot/dita-ot/pull/2357" scope="external" format="html">#2357</xref>
  284. </li>
  285. </ul>
  286. </p>
  287. </section>
  288. </refbody>
  289. </reference>
  290. <reference id="issues">
  291. <title>Resolved issues</title>
  292. <shortdesc>In addition to the highlights mentioned above, DITA Open Toolkit Release 2.3 includes the following
  293. changes.</shortdesc>
  294. <refbody>
  295. <section id="features">
  296. <title>Features</title>
  297. <p>DITA Open Toolkit Release 2.3 includes the following new features:</p>
  298. <ul>
  299. <li id="1116">The <codeph>args.eclipsehelp.toc</codeph> parameter for Eclipse Help, which has not worked
  300. properly for several releases after it was made obsolete in DITA-OT 1.3, has been removed.
  301. <xref href="https://github.com/dita-ot/dita-ot/issues/1116" scope="external" format="html">#1116</xref>,
  302. <xref href="https://github.com/dita-ot/dita-ot/pull/2354" scope="external" format="html">#2354</xref>
  303. </li>
  304. <li id="1777">DITA 1.3: Initial support has been added for the <xmlatt>orient</xmlatt> attribute on
  305. <xmlelement>table</xmlelement> elements. These changes allow Antenna House Formatter to render tables in
  306. landscape mode when the <xmlatt>orient</xmlatt> attribute is set to <option>land</option>. A future release
  307. will provide extended support for multi-page landscape tables with additional rendering engines.
  308. <xref href="https://github.com/dita-ot/dita-ot/issues/1777" scope="external" format="html">#1777</xref>,
  309. <xref href="https://github.com/dita-ot/dita-ot/pull/2387" scope="external" format="html">#2387</xref>
  310. </li>
  311. <li id="2130">To permit automated building and testing on any platform, the HTMLHelp version of the
  312. documentation is no longer included in the distribution package. An HTMLHelp version of the documentation
  313. can still be built on Windows using the downloaded distribution package.
  314. <xref href="https://github.com/dita-ot/dita-ot/issues/2130" scope="external" format="html">#2130</xref>
  315. </li>
  316. <li id="2144">SAX pipes can now be configured in Ant <xmlelement>pipeline</xmlelement> tasks. This allows new
  317. tasks to take advantage of in-memory processing without the need to write out files to disk.
  318. <xref href="https://github.com/dita-ot/dita-ot/issues/2144" scope="external" format="html">#2144</xref>
  319. </li>
  320. <li id="2155">The process for generating topic headers in the <option>PDF</option> transformation type has
  321. been simplified to use a single template with <codeph>mode="insertTopicHeaderMarker"</codeph>. This reduces
  322. the amount of work needed to format titles differently in the header and body.
  323. <xref href="https://github.com/dita-ot/dita-ot/issues/2155" scope="external" format="html">#2155</xref>
  324. </li>
  325. <li id="2185">The <option>HTML5</option> transformation type supports two new extension points
  326. <codeph>dita.conductor.html5.param</codeph> and <codeph>dita.conductor.html5.toc.param</codeph>, allowing
  327. plugins to provide new parameters for HTML5 processing.
  328. <xref href="https://github.com/dita-ot/dita-ot/issues/2185" scope="external" format="html">#2185</xref>
  329. </li>
  330. <li id="2210">Processing for <xmlatt>copy-to</xmlatt> has been moved out of the <codeph>gen-list</codeph>
  331. preprocessing module and into a separate step. This improves processing for
  332. <xmlelement>topicref</xmlelement> elements that use <xmlatt>copy-to</xmlatt> and <xmlatt>keyref</xmlatt>.
  333. <xref href="https://github.com/dita-ot/dita-ot/issues/2210" scope="external" format="html">#2210</xref>
  334. </li>
  335. <li id="2230">The DITA-OT preprocessing step that reads images for information about height and width now
  336. supports reading dimension metadata from SVG images.
  337. <xref href="https://github.com/dita-ot/dita-ot/issues/2230" scope="external" format="html">#2230</xref>
  338. </li>
  339. <li id="2317">The <option>PDF</option> transformation type has been updated to support the
  340. <xmlatt>expanse</xmlatt> value "page" for elements that use the attribute. In addition, the
  341. <xmlelement>msgblock</xmlelement> element has been updated to support <xmlatt>frame</xmlatt> and
  342. <xmlatt>scale</xmlatt>, which generally appear on the same elements that use <xmlatt>expanse</xmlatt>.
  343. <xref href="https://github.com/dita-ot/dita-ot/issues/2317" scope="external" format="html">#2317</xref>,
  344. <xref href="https://github.com/dita-ot/dita-ot/issues/2352" scope="external" format="html">#2352</xref>
  345. </li>
  346. <li id="2359">Cross-references to footnotes now generate hyperlinks in PDF output.
  347. <xref href="https://github.com/dita-ot/dita-ot/issues/2359" scope="external" format="html">#2359</xref>,
  348. <xref href="https://github.com/dita-ot/dita-ot/pull/2364" scope="external" format="html">#2364</xref>
  349. </li>
  350. </ul>
  351. </section>
  352. <section id="enhancements">
  353. <title>Enhancements</title>
  354. <p>DITA Open Toolkit Release 2.3 includes the following enhancements and changes to existing features:</p>
  355. <ul>
  356. <li id="1860">PDF: Information from the <filepath>README.txt</filepath> files in the
  357. <filepath>org.dita.pdf2</filepath> plugin have been moved to the “PDF plug-in structure” topic in the DITA
  358. Open Toolkit <cite>Developer Reference</cite>. Now that all useful information is available in the
  359. documentation, the <filepath>README.txt</filepath> files have been removed.
  360. <xref href="https://github.com/dita-ot/dita-ot/issues/1860" scope="external" format="html">#1860</xref>
  361. </li>
  362. <li id="1924">PDF: In earlier versions of DITA-OT, filtering out all rows from a
  363. <xmlelement>simpletable</xmlelement> element resulted in invalid XSL-FO. When all rows are filtered out,
  364. the XSL-FO file now contains an empty (but valid) table so that processing can continue.
  365. <xref href="https://github.com/dita-ot/dita-ot/issues/1924" scope="external" format="html">#1924</xref>,
  366. <xref href="https://github.com/dita-ot/dita-ot/issues/1950" scope="external" format="html">#1950</xref>
  367. </li>
  368. <li id="2122">Guava libraries are now used to simplify access to collections in Java code (among other
  369. things).
  370. <xref href="https://github.com/dita-ot/dita-ot/issues/2122" scope="external" format="html">#2122</xref>
  371. </li>
  372. <li id="2133">HTML: The documentation for the <option>args.hdr</option> and <option>args.ftr</option> options
  373. now clarifies that header and footer files must be specified using an absolute path. The options have always
  374. required an absolute path, but the documentation for earlier releases did not include this requirement.
  375. <xref href="https://github.com/dita-ot/dita-ot/issues/2133" scope="external" format="html">#2133</xref>
  376. </li>
  377. <li id="2140">The <cmdname>dita</cmdname> command will now run using Java headless mode by default. This
  378. optimizes the use of system resources during a build and prevents the build process from stealing focus from
  379. other applications.
  380. <xref href="https://github.com/dita-ot/dita-ot/issues/2140" scope="external" format="html">#2140</xref>
  381. </li>
  382. <li id="2160">HTML: Static text for XHTML tables and figures (such as "Table 5") is now surrounded with a
  383. <xmlelement>span</xmlelement> element, making it easier to style or hide the static text using CSS. In
  384. addition, HTML5 output is updated to use semantic elements for figure and table captions.
  385. <xref href="https://github.com/dita-ot/dita-ot/issues/2160" scope="external" format="html">#2160</xref>
  386. </li>
  387. <li id="2177">Two members of the <codeph>AbstractPipelineModuleImpl</codeph> class have been marked as
  388. protected, to allow plugins to access them from derived classes.
  389. <xref href="https://github.com/dita-ot/dita-ot/issues/2177" scope="external" format="html">#2177</xref>
  390. </li>
  391. <li id="2179">PDF: The I18N Java and XSLT processing code has been merged into single task. This is not
  392. visible to most users of the PDF code, apart from a reduction in processing time. It also eliminates the
  393. need for a <filepath>stage3.fo</filepath> file in the temporary directory; instead,
  394. <filepath>topic.fo</filepath> is generated directly from <filepath>stage2.fo</filepath>.
  395. <xref href="https://github.com/dita-ot/dita-ot/issues/2179" scope="external" format="html">#2179</xref>
  396. </li>
  397. <li id="2181">In a previous release, the HTML5 extension point <codeph>dita.conductor.html5.param</codeph> was
  398. declared but not implemented. The improper declaration was removed and the extension was properly
  399. implemented.
  400. <xref href="https://github.com/dita-ot/dita-ot/issues/2181" scope="external" format="html">#2181</xref>
  401. </li>
  402. <li id="2191">HTML: In previous releases, short descriptions in <xmlelement>abstract</xmlelement> elements
  403. were rendered as division elements (<xmlelement>div</xmlelement>), rather than paragraphs
  404. (<xmlelement>p</xmlelement>). Processing has been revised to ensure that short descriptions are
  405. consistently rendered as paragraphs, regardless of whether they appear in <xmlelement>abstract</xmlelement>
  406. elements.
  407. <xref href="https://github.com/dita-ot/dita-ot/issues/2191" scope="external" format="html">#2191</xref>
  408. </li>
  409. <li id="2207">The order of the <codeph>chunk</codeph> and <codeph>move-meta-entries</codeph> pre-processing
  410. stages has been switched so that <codeph>chunk</codeph> comes first. This ensures that metadata is properly
  411. pulled or pushed into the chunked version of DITA topics.
  412. <xref href="https://github.com/dita-ot/dita-ot/issues/2207" scope="external" format="html">#2207</xref>
  413. </li>
  414. <li id="2217">HTML: The process for handling <xmlatt>othertype</xmlatt> on a <xmlelement>note</xmlelement>
  415. element in HTML has been updated to use XSLT 2.0 best practices.
  416. <xref href="https://github.com/dita-ot/dita-ot/issues/2217" scope="external" format="html">#2217</xref>
  417. </li>
  418. <li id="2229">PDF: Earlier versions used an <xmlelement>fo:inline</xmlelement> element as a link target within
  419. topic titles, which can result in extra white space for certain common customizations. The process now
  420. places an ID on <xmlelement>fo:wrapper</xmlelement>, which removes the extra element and extra white space.
  421. <xref href="https://github.com/dita-ot/dita-ot/issues/2229" scope="external" format="html">#2229</xref>
  422. </li>
  423. <li id="2231">XSLT processing now uses a single parameter for message IDs rather than combining one parameter
  424. for the error number with another parameter for severity. This simplifies message processing and allows a
  425. greater range of message IDs in the future. In addition, the <msgnum>DOTX071W</msgnum> message will display
  426. a warning for customizations that use the older, deprecated parameters.
  427. <xref href="https://github.com/dita-ot/dita-ot/issues/2231" scope="external" format="html">#2231</xref>
  428. </li>
  429. <li id="2233">Common XSLT utility templates have been rewritten as functions. In addition, XSpec tests have
  430. been created so that the functions are now covered by automated DITA-OT testing.
  431. <xref href="https://github.com/dita-ot/dita-ot/issues/2233" scope="external" format="html">#2233</xref>
  432. </li>
  433. <li id="2241">The distribution integration and docs stages of the build process are now run in a forked JVM .
  434. <xref href="https://github.com/dita-ot/dita-ot/issues/2241" scope="external" format="html">#2241</xref>
  435. </li>
  436. <li id="2249">PDF: A reference to the PDF2 catalog has been added to <filepath>catalog-dita.xml</filepath>. In
  437. previous releases, running <filepath>topic2fo_shell.xsl</filepath> directly would fail because the XSLT
  438. processor couldn't resolve paths that use the <codeph>cfg:</codeph> scheme.
  439. <xref href="https://github.com/dita-ot/dita-ot/issues/2249" scope="external" format="html">#2249</xref>
  440. </li>
  441. <li id="2268">The distribution package is now built via a fully automated Continuous Integration process.
  442. <xref href="https://github.com/dita-ot/dita-ot/issues/2268" scope="external" format="html">#2268</xref>
  443. </li>
  444. <li id="2276">HTML5: A new stable ID generation process has been implemented, instead of relying on the
  445. <codeph>generate-id()</codeph> function. By removing reliance on a dynamic value, this change enables
  446. automated testing of <xmlatt>id</xmlatt> and <xmlatt>headers</xmlatt> (generated for table accessibility).
  447. This also speeds up regression testing when comparing HTML output with previous versions.
  448. <xref href="https://github.com/dita-ot/dita-ot/issues/2276" scope="external" format="html">#2276</xref>
  449. </li>
  450. <li id="2277">A new ditaFileset function has been implemented to replace list files. This has no visible
  451. impact for builds, but improves the processing model overall and allows the older way of working with
  452. individual list files to be deprecated in a future release.
  453. <xref href="https://github.com/dita-ot/dita-ot/issues/2277" scope="external" format="html">#2277</xref>
  454. </li>
  455. <li id="2288">The build script for HTMLHelp, <filepath>build_dita2htmlhelp.xml</filepath>, now uses an
  456. environment variable to locate the HTMLHelp compiler. This allows the process to build a CHM file when the
  457. HTML Help Workshop is not installed on the <filepath>C:</filepath> drive.
  458. <xref href="https://github.com/dita-ot/dita-ot/issues/2288" scope="external" format="html">#2288</xref>
  459. </li>
  460. <!-- Unmerged PR, remove 2.3 milestone in GitHub issues tracker (See 2.2.5 #1876, #2313, #2342) -->
  461. <li id="2305">HTML5: new extension points allow for customization of HTML5 output, HTML5 TOC processing, and
  462. HTML5 cover processing. These extension points were declared (but not implemented) in DITA-OT 2.2; this was
  463. addressed in 2.2.5 by removing the declarations. In DITA-OT 2.3, the declarations are restored and properly
  464. implemented.
  465. <xref href="https://github.com/dita-ot/dita-ot/issues/2305" scope="external" format="html">#2305</xref>
  466. </li>
  467. <li id="2341">The <filepath>startcmd</filepath> scripts are now generated by the DITA-OT integration process.
  468. This ensures that the <codeph>CLASSPATH</codeph> setting in the scripts is updated with any new or required
  469. Java libraries referenced by custom plug-ins.
  470. <xref href="https://github.com/dita-ot/dita-ot/issues/2341" scope="external" format="html">#2341</xref>
  471. <note type="important">Users who still run DITA-OT using a custom start script based on a copy of
  472. <filepath>startcmd</filepath> may need to update their script after installing custom plug-ins. The
  473. <codeph>CLASSPATH</codeph> declarations are stored in alphabetical order, so they should only change
  474. when new plug-in libraries are added. To avoid these issues, run DITA-OT using the <cmdname>dita</cmdname>
  475. command instead of the deprecated <filepath>startcmd</filepath> scripts.</note></li>
  476. <li id="2350">PDF: Index group headings now appear in the PDF bookmarks. The new bookmarks will always appear
  477. in collapsed form under the Index heading. For example, a large index that covers every heading in English
  478. will now have bookmarks for "Special characters", "Numerics", and every letter from "A" to "Z". <!-- Supersedes unmerged PR 2149 -->
  479. <xref href="https://github.com/dita-ot/dita-ot/issues/2350" scope="external" format="html">#2350</xref>
  480. </li>
  481. <li id="2382">PDF: The <codeph>antiquewhite</codeph> background color has been removed from table heads and
  482. key column contents in <xmlelement>simpletable</xmlelement> and <xmlelement>properties</xmlelement> tables
  483. to synchronize presentation with <xmlelement>choicetable</xmlelement> and provide a more uniform
  484. customization baseline between PDF output and HTML-based formats.
  485. <xref href="https://github.com/dita-ot/dita-ot/pull/2382" scope="external" format="html">#2382</xref>,
  486. <xref href="https://github.com/dita-ot/dita-ot/pull/2386" scope="external" format="html">#2386</xref>
  487. </li>
  488. <li id="2383">Localization variables that are no longer used in PDF processing have been deprecated and will
  489. be removed in an upcoming release.
  490. <xref href="https://github.com/dita-ot/dita-ot/pull/2383" scope="external" format="html">#2383</xref>
  491. </li>
  492. </ul>
  493. </section>
  494. <section id="bugs">
  495. <title>Bugs</title>
  496. <p>DITA Open Toolkit Release 2.3 provides fixes for the following bugs:</p>
  497. <ul>
  498. <li id="1931">PDF: The message "No topicTitleNumber mode template" has been removed. This removes extraneous
  499. messages that appeared when processing a bookmap with <xmlelement>notices</xmlelement> or
  500. <xmlelement>bookabstract</xmlelement>, or which refers to a subject scheme map.
  501. <xref href="https://github.com/dita-ot/dita-ot/issues/1931" scope="external" format="html">#1931</xref>
  502. </li>
  503. <li id="2065">HTML: trademark symbols previously only appeared for <xmlelement>tm</xmlelement> elements in
  504. English and a select few languages. This was a legacy of processing carried over from beta processing before
  505. DITA-OT 1.0; HTML trademark processing will now work the same regardless of document language.
  506. <xref href="https://github.com/dita-ot/dita-ot/issues/2065" scope="external" format="html">#2065</xref>
  507. </li>
  508. <li id="2141">Processing for <xmlelement>coderef</xmlelement> elements could be broken when the
  509. <xmlelement>coderef</xmlelement> was part of a larger section reused by conref. This is fixed by resolving
  510. <xmlelement>coderef</xmlelement> during the <codeph>topic-fragment</codeph> step of preprocessing.
  511. <xref href="https://github.com/dita-ot/dita-ot/issues/2141" scope="external" format="html">#2141</xref>
  512. </li>
  513. <li id="2161">The AXF document-info attribute <xmlatt>title</xmlatt> is deprecated; XSL-FO output for Antenna
  514. House output should use the <xmlatt>document-title</xmlatt> attribute instead.
  515. <xref href="https://github.com/dita-ot/dita-ot/issues/2161" scope="external" format="html">#2161</xref>,
  516. <xref href="https://github.com/dita-ot/dita-ot/pull/2162" scope="external" format="html">#2162</xref>
  517. </li>
  518. <li id="2190">When using keys, referencing a file outside of the current directory causes processing to fail.
  519. Previously, the target file URI was resolved against the root of the temp directory. This has been updated
  520. to resolve the URI against the source file URI, which should always yield the correct result.
  521. <xref href="https://github.com/dita-ot/dita-ot/issues/2190" scope="external" format="html">#2190</xref>,
  522. <xref href="https://github.com/dita-ot/dita-ot/pull/2223" scope="external" format="html">#2223</xref>
  523. </li>
  524. <li id="2197">In previous releases, specializations of the <xmlelement>link</xmlelement> element did not work
  525. as intended. The corresponding XSLT template mode <codeph>related-links:link</codeph> has been modified to
  526. properly handle new elements that are based on the <xmlelement>link</xmlelement> element.
  527. <xref href="https://github.com/dita-ot/dita-ot/issues/2197" scope="external" format="html">#2197</xref>,
  528. <xref href="https://github.com/dita-ot/dita-ot/pull/2199" scope="external" format="html">#2199</xref>
  529. </li>
  530. <li id="2227">Circular key definitions, when an element used <xmlatt>keyref</xmlatt> to refer to a key on the
  531. same element, resulted in a stack overflow in KeydefReader. This construct is now reported as an error with
  532. message <msgnum>DOTJ069E</msgnum>.
  533. <xref href="https://github.com/dita-ot/dita-ot/issues/2227" scope="external" format="html">#2227</xref>
  534. </li>
  535. <!-- Cherry-picked fixes released as workaround with 2.2.4 (see #2274). -->
  536. <li id="2243">Publishing failed when using <xmlelement>term</xmlelement> with keyref and chunking, as the
  537. chunking module created file references with backslashes. Processing has been updated to convert any
  538. backslashes to slashes before using the <codeph>resolve-uri</codeph> function in XSLT. This ensures that the
  539. attribute values are valid URI references according to
  540. <xref keyref="rfc3986"/>.
  541. <xref href="https://github.com/dita-ot/dita-ot/issues/2243" scope="external" format="html">#2243</xref>
  542. </li>
  543. <li id="2294">PDF: In the simplified Chinese variables file (zh-CN), additional translations have been
  544. provided for some static strings that previously appeared in English.
  545. <xref href="https://github.com/dita-ot/dita-ot/issues/2294" scope="external" format="html">#2294</xref>,
  546. <xref href="https://github.com/dita-ot/dita-ot/pull/2353" scope="external" format="html">#2353</xref>
  547. </li>
  548. <li id="2304">Resource-only topic references were considered duplicates by key processing, resulting in
  549. renamed output files in some cases. The resource-only instances are now ignored when determining whether to
  550. rename output files.
  551. <xref href="https://github.com/dita-ot/dita-ot/issues/2304" scope="external" format="html">#2304</xref>
  552. </li>
  553. <li id="2326">PDF code was cleaned up to remove a broken message that could not be triggered
  554. <xref href="https://github.com/dita-ot/dita-ot/issues/2326" format="html" scope="external">#2326</xref>,
  555. <xref href="https://github.com/dita-ot/dita-ot/issues/2351" scope="external" format="html">#2351</xref>
  556. </li>
  557. <li id="2339">In previous releases, specifying a <xmlatt>keyscope</xmlatt> attribute on the root
  558. <xmlelement>map</xmlelement> element would cause builds to fail. Processing has been modified to handle
  559. this situation correctly.
  560. <xref href="https://github.com/dita-ot/dita-ot/issues/2339" scope="external" format="html">#2339</xref>
  561. </li>
  562. </ul>
  563. </section>
  564. <section id="contrib">
  565. <title>Contributors</title>
  566. <p>DITA Open Toolkit Release 2.3 includes
  567. <xref keyref="contributions"/> by the following people:</p>
  568. <!-- https://github.com/tj/git-extras/blob/master/Commands.md#git-summary – `git summary 2.2..` -->
  569. <ol>
  570. <li>Jarno Elovirta</li>
  571. <li>Robert D. Anderson</li>
  572. <li>Eero Helenius</li>
  573. <li>Roger Sheen</li>
  574. <li>Eliot Kimber</li>
  575. <li>Radu Coravu</li>
  576. <li>Shane Taylor</li>
  577. <li>Stefan Eike</li>
  578. <li>George Bina</li>
  579. <li>Kristen James Eberlein</li>
  580. </ol>
  581. <p>For the complete list of changes since the previous release, see the
  582. <xref href="https://github.com/dita-ot/dita-ot/compare/2.2...2.3" scope="external" format="html">
  583. changelog</xref> on GitHub.</p>
  584. </section>
  585. <section id="docs">
  586. <title>Documentation updates</title>
  587. <p>The documentation for DITA Open Toolkit Release 2.3 includes corrections and improvements to existing topics,
  588. along with several notable enhancements, including:</p>
  589. <ul>
  590. <li>The DITA Open Toolkit <cite>User Guide</cite> includes new topics on additional methods of publishing via
  591. the <cmdname>dita</cmdname> command:
  592. <ul>
  593. <li>
  594. <xref keyref="using-dita-properties-file"/>
  595. </li>
  596. <li>
  597. <xref keyref="migrating-ant-to-dita"/>
  598. </li>
  599. </ul>
  600. </li>
  601. <li>The DITA Open Toolkit <cite>Developer Reference</cite> includes several new sections dedicated to
  602. customization:
  603. <ul>
  604. <li>
  605. <xref keyref="pdf-customization"/> provides an overview of approaches commonly used to customize the
  606. default PDF output and includes recommendations on best practices and additional resources.</li>
  607. <li>
  608. <xref keyref="migration"/> highlights customization-related changes in recent releases to assist plug-in
  609. developers in updating overrides to work with the latest toolkit versions.</li>
  610. </ul>
  611. </li>
  612. <li>
  613. <p>
  614. <xref href="https://travis-ci.org/" format="html" scope="external">Travis CI</xref> continuous integration
  615. is used to automatically publish the latest development version of the documentation on the project
  616. website at
  617. <xref href="http://www.dita-ot.org/dev/" format="html" scope="external">dita-ot.org/dev</xref> whenever
  618. changes are pushed to the <codeph>develop</codeph> branch of the
  619. <xref href="https://github.com/dita-ot/docs" format="html" scope="external">dita-ot/docs</xref> repository
  620. on GitHub.</p></li>
  621. <li>
  622. <p>In the latest
  623. <xref href="http://www.dita-ot.org/dev/" format="html" scope="external">development version</xref> of the
  624. documentation, page footers now include <uicontrol>Edit this page</uicontrol> links that open the DITA
  625. source file for the topic in
  626. <xref href="https://www.oxygenxml.com/webauthor/" format="html" scope="external">oXygen XML Web
  627. Author</xref>.</p>
  628. <p>The web-based authoring workflow prompts users to log in to GitHub and fork the
  629. <xref href="https://github.com/dita-ot/docs" format="html" scope="external">dita-ot/docs</xref> repository
  630. if necessary. Changes saved in the authoring environment are committed to a new branch, and a pull request
  631. is created to submit changes for review by the DITA-OT documentation team.</p>
  632. </li>
  633. </ul>
  634. <p>For additional information on documentation issues resolved in DITA Open Toolkit Release 2.3, see the
  635. <xref href="https://github.com/dita-ot/docs/issues?q=milestone%3A2.3+is%3Aclosed" format="html"
  636. scope="external">2.3 milestone</xref> in the documentation repository.</p>
  637. <p>For the complete list of documentation changes since the previous release, see the
  638. <xref href="https://github.com/dita-ot/docs/compare/2.2...2.3" scope="external" format="html">
  639. changelog</xref>.</p>
  640. </section>
  641. </refbody>
  642. </reference>
  643. </reference>