index.dita 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  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.md file for applicable licenses.-->
  4. <reference id="ID" rev="2.3">
  5. <title>DITA Open Toolkit <keyword keyref="maintenance-version"/> Release Notes</title>
  6. <abstract>
  7. <shortdesc>DITA Open Toolkit <keyword keyref="maintenance-version"/> is a maintenance release that fixes issues
  8. reported in DITA-OT <keyword keyref="release"/>, which includes <ph conref="#highlights/summary"/>.</shortdesc>
  9. <p>Issue numbers correspond to the tracking number in the <ph>
  10. <xref keyref="dita-ot-issues" scope="external">GitHub issues tracker</xref></ph>.</p>
  11. </abstract>
  12. <reference id="v233">
  13. <title>Maintenance Release <keyword keyref="maintenance-version"/></title>
  14. <refbody>
  15. <section>
  16. <p>DITA Open Toolkit Release <keyword keyref="maintenance-version"/> 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 <keyword keyref="release"/> requires the Java Runtime Environment (JRE) version
  170. <keyword 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 <keyword keyref="release"/> includes <ph id="summary">enhanced HTML5 output, new language support
  177. and additional 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 <keyword keyref="release"/> provides additional internationalization improvements,
  242. including:
  243. <ul>
  244. <li id="2267">When testing for bi-directional content, more languages are now recognized as right-to-left.
  245. No additional support is added (for example, generated strings for new languages will appear using the
  246. DITA-OT default language), but otherwise content will use the proper direction by default. Arabic, Urdu,
  247. and Hebrew are already recognized by default; this change recognizes an additional 14 languages.
  248. <xref href="https://github.com/dita-ot/dita-ot/issues/1710" scope="external" format="html">#1710</xref>,
  249. <xref href="https://github.com/dita-ot/dita-ot/issues/2267" scope="external" format="html">#2267</xref>
  250. </li>
  251. <li id="2279">PDF: Additional fallback fonts have been specified in the
  252. <filepath>font-mappings.xml</filepath> file to provide better out-of-the-box support for Asian
  253. characters.
  254. <xref href="https://github.com/dita-ot/dita-ot/issues/2279" scope="external" format="html">#2279</xref>,
  255. <xref href="https://github.com/dita-ot/dita-ot/issues/2280" scope="external" format="html">#2280</xref>,
  256. <xref href="https://github.com/dita-ot/dita-ot/issues/2296" scope="external" format="html">#2296</xref>
  257. </li>
  258. <li id="2302">HTML: Earlier releases of DITA-OT 2.x generated a <xmlatt>style</xmlatt> attribute with
  259. <codeph>text-align:left</codeph> on table cells, regardless of whether the <xmlatt>align</xmlatt>
  260. attribute was set in the source. This caused problems with right-to-left languages. The default entry
  261. alignment has been removed, so the values of the <xmlatt>xml:lang</xmlatt> and <xmlatt>dir</xmlatt>
  262. attributes on the root of the topic will be respected. (This allows the browser to infer the value for the
  263. <codeph>text-align</codeph> property from the parent elements/styles.)
  264. <xref href="https://github.com/dita-ot/dita-ot/issues/2302" scope="external" format="html">#2302</xref>,
  265. <xref href="https://github.com/dita-ot/dita-ot/pull/2368" scope="external" format="html">#2368</xref>
  266. </li>
  267. <li id="2343">PDF: The Dutch variable file now includes translations for Glossary, List of tables, and List
  268. of figures. In addition, German, Italian, French, and Spanish have been updated to define missing
  269. variables, including one that previously resulted in a build error ("Table of Contents Notices").
  270. <xref href="https://github.com/dita-ot/dita-ot/issues/2131" scope="external" format="html">#2131</xref>,
  271. <xref href="https://github.com/dita-ot/dita-ot/issues/2343" scope="external" format="html">#2343</xref>
  272. </li>
  273. <li id="2357">The DITA-OT configuration value <codeph>default.language</codeph> is now used as the default
  274. language in all output formats. The value ships as <codeph>en</codeph>, but can be changed in
  275. <filepath>configuration.properties</filepath> or specified as a parameter to the build. For HTML output,
  276. the default is now the closest specified language; if a document does not specify
  277. <xmlatt>xml:lang</xmlatt>, <codeph>default.language</codeph> is used. For PDF output, the default is the
  278. closest specified language; if a document does not specify <xmlatt>xml:lang</xmlatt>, the root map is
  279. used; if the root map does not specify <xmlatt>xml:lang</xmlatt>, <codeph>default.language</codeph> is
  280. used.
  281. <xref href="https://github.com/dita-ot/dita-ot/issues/1476" scope="external" format="html">#1476</xref>,
  282. <xref href="https://github.com/dita-ot/dita-ot/issues/2201" scope="external" format="html">#2201</xref>,
  283. <xref href="https://github.com/dita-ot/dita-ot/pull/2356" scope="external" format="html">#2356</xref>,
  284. <xref href="https://github.com/dita-ot/dita-ot/pull/2357" scope="external" format="html">#2357</xref>
  285. </li>
  286. </ul>
  287. </p>
  288. </section>
  289. </refbody>
  290. </reference>
  291. <reference id="issues">
  292. <title>Resolved issues</title>
  293. <shortdesc>In addition to the highlights mentioned above, DITA Open Toolkit Release <keyword keyref="release"/>
  294. includes the following changes.</shortdesc>
  295. <refbody>
  296. <section id="features">
  297. <title>Features</title>
  298. <p>DITA Open Toolkit Release <keyword keyref="release"/> includes the following new features:</p>
  299. <ul>
  300. <li id="1116">The <codeph>args.eclipsehelp.toc</codeph> parameter for Eclipse Help, which has not worked
  301. properly for several releases after it was made obsolete in DITA-OT 1.3, has been removed.
  302. <xref href="https://github.com/dita-ot/dita-ot/issues/1116" scope="external" format="html">#1116</xref>,
  303. <xref href="https://github.com/dita-ot/dita-ot/pull/2354" scope="external" format="html">#2354</xref>
  304. </li>
  305. <li id="1777">DITA 1.3: Initial support has been added for the <xmlatt>orient</xmlatt> attribute on
  306. <xmlelement>table</xmlelement> elements. These changes allow Antenna House Formatter to render tables in
  307. landscape mode when the <xmlatt>orient</xmlatt> attribute is set to <option>land</option>. A future release
  308. will provide extended support for multi-page landscape tables with additional rendering engines.
  309. <xref href="https://github.com/dita-ot/dita-ot/issues/1777" scope="external" format="html">#1777</xref>,
  310. <xref href="https://github.com/dita-ot/dita-ot/pull/2387" scope="external" format="html">#2387</xref>
  311. </li>
  312. <li id="2130">To permit automated building and testing on any platform, the HTMLHelp version of the
  313. documentation is no longer included in the distribution package. An HTMLHelp version of the documentation
  314. can still be built on Windows using the downloaded distribution package.
  315. <xref href="https://github.com/dita-ot/dita-ot/issues/2130" scope="external" format="html">#2130</xref>
  316. </li>
  317. <li id="2144">SAX pipes can now be configured in Ant <xmlelement>pipeline</xmlelement> tasks. This allows new
  318. tasks to take advantage of in-memory processing without the need to write out files to disk.
  319. <xref href="https://github.com/dita-ot/dita-ot/issues/2144" scope="external" format="html">#2144</xref>
  320. </li>
  321. <li id="2155">The process for generating topic headers in the <option>PDF</option> transformation type has
  322. been simplified to use a single template with <codeph>mode="insertTopicHeaderMarker"</codeph>. This reduces
  323. the amount of work needed to format titles differently in the header and body.
  324. <xref href="https://github.com/dita-ot/dita-ot/issues/2155" scope="external" format="html">#2155</xref>
  325. </li>
  326. <li id="2185">The <option>HTML5</option> transformation type supports two new extension points
  327. <codeph>dita.conductor.html5.param</codeph> and <codeph>dita.conductor.html5.toc.param</codeph>, allowing
  328. plugins to provide new parameters for HTML5 processing.
  329. <xref href="https://github.com/dita-ot/dita-ot/issues/2185" scope="external" format="html">#2185</xref>
  330. </li>
  331. <li id="2210">Processing for <xmlatt>copy-to</xmlatt> has been moved out of the <codeph>gen-list</codeph>
  332. preprocessing module and into a separate step. This improves processing for
  333. <xmlelement>topicref</xmlelement> elements that use <xmlatt>copy-to</xmlatt> and <xmlatt>keyref</xmlatt>.
  334. <xref href="https://github.com/dita-ot/dita-ot/issues/2210" scope="external" format="html">#2210</xref>
  335. </li>
  336. <li id="2230">The DITA-OT preprocessing step that reads images for information about height and width now
  337. supports reading dimension metadata from SVG images.
  338. <xref href="https://github.com/dita-ot/dita-ot/issues/2230" scope="external" format="html">#2230</xref>
  339. </li>
  340. <li id="2317">The <option>PDF</option> transformation type has been updated to support the
  341. <xmlatt>expanse</xmlatt> value "page" for elements that use the attribute. In addition, the
  342. <xmlelement>msgblock</xmlelement> element has been updated to support <xmlatt>frame</xmlatt> and
  343. <xmlatt>scale</xmlatt>, which generally appear on the same elements that use <xmlatt>expanse</xmlatt>.
  344. <xref href="https://github.com/dita-ot/dita-ot/issues/2317" scope="external" format="html">#2317</xref>,
  345. <xref href="https://github.com/dita-ot/dita-ot/issues/2352" scope="external" format="html">#2352</xref>
  346. </li>
  347. <li id="2359">Cross-references to footnotes now generate hyperlinks in PDF output.
  348. <xref href="https://github.com/dita-ot/dita-ot/issues/2359" scope="external" format="html">#2359</xref>,
  349. <xref href="https://github.com/dita-ot/dita-ot/pull/2364" scope="external" format="html">#2364</xref>
  350. </li>
  351. </ul>
  352. </section>
  353. <section id="enhancements">
  354. <title>Enhancements</title>
  355. <p>DITA Open Toolkit Release <keyword keyref="release"/> includes the following enhancements and changes to
  356. existing features:</p>
  357. <ul>
  358. <li id="1860">PDF: Information from the <filepath>README.txt</filepath> files in the
  359. <filepath>org.dita.pdf2</filepath> plugin have been moved to the “PDF plug-in structure” topic in the DITA
  360. Open Toolkit <cite>Developer Reference</cite>. Now that all useful information is available in the
  361. documentation, the <filepath>README.txt</filepath> files have been removed.
  362. <xref href="https://github.com/dita-ot/dita-ot/issues/1860" scope="external" format="html">#1860</xref>
  363. </li>
  364. <li id="1924">PDF: In earlier versions of DITA-OT, filtering out all rows from a
  365. <xmlelement>simpletable</xmlelement> element resulted in invalid XSL-FO. When all rows are filtered out,
  366. the XSL-FO file now contains an empty (but valid) table so that processing can continue.
  367. <xref href="https://github.com/dita-ot/dita-ot/issues/1924" scope="external" format="html">#1924</xref>,
  368. <xref href="https://github.com/dita-ot/dita-ot/issues/1950" scope="external" format="html">#1950</xref>
  369. </li>
  370. <li id="2122">Guava libraries are now used to simplify access to collections in Java code (among other
  371. things).
  372. <xref href="https://github.com/dita-ot/dita-ot/issues/2122" scope="external" format="html">#2122</xref>
  373. </li>
  374. <li id="2133">HTML: The documentation for the <option>args.hdr</option> and <option>args.ftr</option> options
  375. now clarifies that header and footer files must be specified using an absolute path. The options have always
  376. required an absolute path, but the documentation for earlier releases did not include this requirement.
  377. <xref href="https://github.com/dita-ot/dita-ot/issues/2133" scope="external" format="html">#2133</xref>
  378. </li>
  379. <li id="2140">The <cmdname>dita</cmdname> command will now run using Java headless mode by default. This
  380. optimizes the use of system resources during a build and prevents the build process from stealing focus from
  381. other applications.
  382. <xref href="https://github.com/dita-ot/dita-ot/issues/2140" scope="external" format="html">#2140</xref>
  383. </li>
  384. <li id="2160">HTML: Static text for XHTML tables and figures (such as "Table 5") is now surrounded with a
  385. <xmlelement>span</xmlelement> element, making it easier to style or hide the static text using CSS. In
  386. addition, HTML5 output is updated to use semantic elements for figure and table captions.
  387. <xref href="https://github.com/dita-ot/dita-ot/issues/2160" scope="external" format="html">#2160</xref>
  388. </li>
  389. <li id="2177">Two members of the <codeph>AbstractPipelineModuleImpl</codeph> class have been marked as
  390. protected, to allow plugins to access them from derived classes.
  391. <xref href="https://github.com/dita-ot/dita-ot/issues/2177" scope="external" format="html">#2177</xref>
  392. </li>
  393. <li id="2179">PDF: The I18N Java and XSLT processing code has been merged into single task. This is not
  394. visible to most users of the PDF code, apart from a reduction in processing time. It also eliminates the
  395. need for a <filepath>stage3.fo</filepath> file in the temporary directory; instead,
  396. <filepath>topic.fo</filepath> is generated directly from <filepath>stage2.fo</filepath>.
  397. <xref href="https://github.com/dita-ot/dita-ot/issues/2179" scope="external" format="html">#2179</xref>
  398. </li>
  399. <li id="2181">In a previous release, the HTML5 extension point <codeph>dita.conductor.html5.param</codeph> was
  400. declared but not implemented. The improper declaration was removed and the extension was properly
  401. implemented.
  402. <xref href="https://github.com/dita-ot/dita-ot/issues/2181" scope="external" format="html">#2181</xref>
  403. </li>
  404. <li id="2191">HTML: In previous releases, short descriptions in <xmlelement>abstract</xmlelement> elements
  405. were rendered as division elements (<xmlelement>div</xmlelement>), rather than paragraphs
  406. (<xmlelement>p</xmlelement>). Processing has been revised to ensure that short descriptions are
  407. consistently rendered as paragraphs, regardless of whether they appear in <xmlelement>abstract</xmlelement>
  408. elements.
  409. <xref href="https://github.com/dita-ot/dita-ot/issues/2191" scope="external" format="html">#2191</xref>
  410. </li>
  411. <li id="2207">The order of the <codeph>chunk</codeph> and <codeph>move-meta-entries</codeph> pre-processing
  412. stages has been switched so that <codeph>chunk</codeph> comes first. This ensures that metadata is properly
  413. pulled or pushed into the chunked version of DITA topics.
  414. <xref href="https://github.com/dita-ot/dita-ot/issues/2207" scope="external" format="html">#2207</xref>
  415. </li>
  416. <li id="2217">HTML: The process for handling <xmlatt>othertype</xmlatt> on a <xmlelement>note</xmlelement>
  417. element in HTML has been updated to use XSLT 2.0 best practices.
  418. <xref href="https://github.com/dita-ot/dita-ot/issues/2217" scope="external" format="html">#2217</xref>
  419. </li>
  420. <li id="2229">PDF: Earlier versions used an <xmlelement>fo:inline</xmlelement> element as a link target within
  421. topic titles, which can result in extra white space for certain common customizations. The process now
  422. places an ID on <xmlelement>fo:wrapper</xmlelement>, which removes the extra element and extra white space.
  423. <xref href="https://github.com/dita-ot/dita-ot/issues/2229" scope="external" format="html">#2229</xref>
  424. </li>
  425. <li id="2231">XSLT processing now uses a single parameter for message IDs rather than combining one parameter
  426. for the error number with another parameter for severity. This simplifies message processing and allows a
  427. greater range of message IDs in the future. In addition, the <msgnum>DOTX071W</msgnum> message will display
  428. a warning for customizations that use the older, deprecated parameters.
  429. <xref href="https://github.com/dita-ot/dita-ot/issues/2231" scope="external" format="html">#2231</xref>
  430. </li>
  431. <li id="2233">Common XSLT utility templates have been rewritten as functions. In addition, XSpec tests have
  432. been created so that the functions are now covered by automated DITA-OT testing.
  433. <xref href="https://github.com/dita-ot/dita-ot/issues/2233" scope="external" format="html">#2233</xref>
  434. </li>
  435. <li id="2241">The distribution integration and docs stages of the build process are now run in a forked JVM .
  436. <xref href="https://github.com/dita-ot/dita-ot/issues/2241" scope="external" format="html">#2241</xref>
  437. </li>
  438. <li id="2249">PDF: A reference to the PDF2 catalog has been added to <filepath>catalog-dita.xml</filepath>. In
  439. previous releases, running <filepath>topic2fo_shell.xsl</filepath> directly would fail because the XSLT
  440. processor couldn't resolve paths that use the <codeph>cfg:</codeph> scheme.
  441. <xref href="https://github.com/dita-ot/dita-ot/issues/2249" scope="external" format="html">#2249</xref>
  442. </li>
  443. <li id="2268">The distribution package is now built via a fully automated Continuous Integration process.
  444. <xref href="https://github.com/dita-ot/dita-ot/issues/2268" scope="external" format="html">#2268</xref>
  445. </li>
  446. <li id="2276">HTML5: A new stable ID generation process has been implemented, instead of relying on the
  447. <codeph>generate-id()</codeph> function. By removing reliance on a dynamic value, this change enables
  448. automated testing of <xmlatt>id</xmlatt> and <xmlatt>headers</xmlatt> (generated for table accessibility).
  449. This also speeds up regression testing when comparing HTML output with previous versions.
  450. <xref href="https://github.com/dita-ot/dita-ot/issues/2276" scope="external" format="html">#2276</xref>
  451. </li>
  452. <li id="2277">A new ditaFileset function has been implemented to replace list files. This has no visible
  453. impact for builds, but improves the processing model overall and allows the older way of working with
  454. individual list files to be deprecated in a future release.
  455. <xref href="https://github.com/dita-ot/dita-ot/issues/2277" scope="external" format="html">#2277</xref>
  456. </li>
  457. <li id="2288">The build script for HTMLHelp, <filepath>build_dita2htmlhelp.xml</filepath>, now uses an
  458. environment variable to locate the HTMLHelp compiler. This allows the process to build a CHM file when the
  459. HTML Help Workshop is not installed on the <filepath>C:</filepath> drive.
  460. <xref href="https://github.com/dita-ot/dita-ot/issues/2288" scope="external" format="html">#2288</xref>
  461. </li>
  462. <!-- Unmerged PR, remove 2.3 milestone in GitHub issues tracker (See 2.2.5 #1876, #2313, #2342) -->
  463. <li id="2305">HTML5: new extension points allow for customization of HTML5 output, HTML5 TOC processing, and
  464. HTML5 cover processing. These extension points were declared (but not implemented) in DITA-OT 2.2; this was
  465. addressed in 2.2.5 by removing the declarations. In DITA-OT 2.3, the declarations are restored and properly
  466. implemented.
  467. <xref href="https://github.com/dita-ot/dita-ot/issues/2305" scope="external" format="html">#2305</xref>
  468. </li>
  469. <li id="2341">The <filepath>startcmd</filepath> scripts are now generated by the DITA-OT integration process.
  470. This ensures that the <codeph>CLASSPATH</codeph> setting in the scripts is updated with any new or required
  471. Java libraries referenced by custom plug-ins.
  472. <xref href="https://github.com/dita-ot/dita-ot/issues/2341" scope="external" format="html">#2341</xref>
  473. <note type="important">Users who still run DITA-OT using a custom start script based on a copy of
  474. <filepath>startcmd</filepath> may need to update their script after installing custom plug-ins. The
  475. <codeph>CLASSPATH</codeph> declarations are stored in alphabetical order, so they should only change
  476. when new plug-in libraries are added. To avoid these issues, run DITA-OT using the <cmdname>dita</cmdname>
  477. command instead of the deprecated <filepath>startcmd</filepath> scripts.</note></li>
  478. <li id="2350">PDF: Index group headings now appear in the PDF bookmarks. The new bookmarks will always appear
  479. in collapsed form under the Index heading. For example, a large index that covers every heading in English
  480. will now have bookmarks for "Special characters", "Numerics", and every letter from "A" to "Z". <!-- Supersedes unmerged PR 2149 -->
  481. <xref href="https://github.com/dita-ot/dita-ot/issues/2350" scope="external" format="html">#2350</xref>
  482. </li>
  483. <li id="2382">PDF: The <codeph>antiquewhite</codeph> background color has been removed from table heads and
  484. key column contents in <xmlelement>simpletable</xmlelement> and <xmlelement>properties</xmlelement> tables
  485. to synchronize presentation with <xmlelement>choicetable</xmlelement> and provide a more uniform
  486. customization baseline between PDF output and HTML-based formats.
  487. <xref href="https://github.com/dita-ot/dita-ot/pull/2382" scope="external" format="html">#2382</xref>,
  488. <xref href="https://github.com/dita-ot/dita-ot/pull/2386" scope="external" format="html">#2386</xref>
  489. </li>
  490. <li id="2383">Localization variables that are no longer used in PDF processing have been deprecated and will
  491. be removed in an upcoming release.
  492. <xref href="https://github.com/dita-ot/dita-ot/pull/2383" scope="external" format="html">#2383</xref>
  493. </li>
  494. </ul>
  495. </section>
  496. <section id="bugs">
  497. <title>Bugs</title>
  498. <p>DITA Open Toolkit Release <keyword keyref="release"/> provides fixes for the following bugs:</p>
  499. <ul>
  500. <li id="1931">PDF: The message "No topicTitleNumber mode template" has been removed. This removes extraneous
  501. messages that appeared when processing a bookmap with <xmlelement>notices</xmlelement> or
  502. <xmlelement>bookabstract</xmlelement>, or which refers to a subject scheme map.
  503. <xref href="https://github.com/dita-ot/dita-ot/issues/1931" scope="external" format="html">#1931</xref>
  504. </li>
  505. <li id="2065">HTML: trademark symbols previously only appeared for <xmlelement>tm</xmlelement> elements in
  506. English and a select few languages. This was a legacy of processing carried over from beta processing before
  507. DITA-OT 1.0; HTML trademark processing will now work the same regardless of document language.
  508. <xref href="https://github.com/dita-ot/dita-ot/issues/2065" scope="external" format="html">#2065</xref>
  509. </li>
  510. <li id="2141">Processing for <xmlelement>coderef</xmlelement> elements could be broken when the
  511. <xmlelement>coderef</xmlelement> was part of a larger section reused by conref. This is fixed by resolving
  512. <xmlelement>coderef</xmlelement> during the <codeph>topic-fragment</codeph> step of preprocessing.
  513. <xref href="https://github.com/dita-ot/dita-ot/issues/2141" scope="external" format="html">#2141</xref>
  514. </li>
  515. <li id="2161">The AXF document-info attribute <xmlatt>title</xmlatt> is deprecated; XSL-FO output for Antenna
  516. House output should use the <xmlatt>document-title</xmlatt> attribute instead.
  517. <xref href="https://github.com/dita-ot/dita-ot/issues/2161" scope="external" format="html">#2161</xref>,
  518. <xref href="https://github.com/dita-ot/dita-ot/pull/2162" scope="external" format="html">#2162</xref>
  519. </li>
  520. <li id="2190">When using keys, referencing a file outside of the current directory causes processing to fail.
  521. Previously, the target file URI was resolved against the root of the temp directory. This has been updated
  522. to resolve the URI against the source file URI, which should always yield the correct result.
  523. <xref href="https://github.com/dita-ot/dita-ot/issues/2190" scope="external" format="html">#2190</xref>,
  524. <xref href="https://github.com/dita-ot/dita-ot/pull/2223" scope="external" format="html">#2223</xref>
  525. </li>
  526. <li id="2197">In previous releases, specializations of the <xmlelement>link</xmlelement> element did not work
  527. as intended. The corresponding XSLT template mode <codeph>related-links:link</codeph> has been modified to
  528. properly handle new elements that are based on the <xmlelement>link</xmlelement> element.
  529. <xref href="https://github.com/dita-ot/dita-ot/issues/2197" scope="external" format="html">#2197</xref>,
  530. <xref href="https://github.com/dita-ot/dita-ot/pull/2199" scope="external" format="html">#2199</xref>
  531. </li>
  532. <li id="2227">Circular key definitions, when an element used <xmlatt>keyref</xmlatt> to refer to a key on the
  533. same element, resulted in a stack overflow in KeydefReader. This construct is now reported as an error with
  534. message <msgnum>DOTJ069E</msgnum>.
  535. <xref href="https://github.com/dita-ot/dita-ot/issues/2227" scope="external" format="html">#2227</xref>
  536. </li>
  537. <!-- Cherry-picked fixes released as workaround with 2.2.4 (see #2274). -->
  538. <li id="2243">Publishing failed when using <xmlelement>term</xmlelement> with keyref and chunking, as the
  539. chunking module created file references with backslashes. Processing has been updated to convert any
  540. backslashes to slashes before using the <codeph>resolve-uri</codeph> function in XSLT. This ensures that the
  541. attribute values are valid URI references according to
  542. <xref keyref="rfc3986"/>.
  543. <xref href="https://github.com/dita-ot/dita-ot/issues/2243" scope="external" format="html">#2243</xref>
  544. </li>
  545. <li id="2294">PDF: In the simplified Chinese variables file (zh-CN), additional translations have been
  546. provided for some static strings that previously appeared in English.
  547. <xref href="https://github.com/dita-ot/dita-ot/issues/2294" scope="external" format="html">#2294</xref>,
  548. <xref href="https://github.com/dita-ot/dita-ot/pull/2353" scope="external" format="html">#2353</xref>
  549. </li>
  550. <li id="2304">Resource-only topic references were considered duplicates by key processing, resulting in
  551. renamed output files in some cases. The resource-only instances are now ignored when determining whether to
  552. rename output files.
  553. <xref href="https://github.com/dita-ot/dita-ot/issues/2304" scope="external" format="html">#2304</xref>
  554. </li>
  555. <li id="2326">PDF code was cleaned up to remove a broken message that could not be triggered
  556. <xref href="https://github.com/dita-ot/dita-ot/issues/2326" format="html" scope="external">#2326</xref>,
  557. <xref href="https://github.com/dita-ot/dita-ot/issues/2351" scope="external" format="html">#2351</xref>
  558. </li>
  559. <li id="2339">In previous releases, specifying a <xmlatt>keyscope</xmlatt> attribute on the root
  560. <xmlelement>map</xmlelement> element would cause builds to fail. Processing has been modified to handle
  561. this situation correctly.
  562. <xref href="https://github.com/dita-ot/dita-ot/issues/2339" scope="external" format="html">#2339</xref>
  563. </li>
  564. </ul>
  565. </section>
  566. <section id="contrib">
  567. <title>Contributors</title>
  568. <p>DITA Open Toolkit Release <keyword keyref="release"/> includes
  569. <xref keyref="contributions"/> by the following people:</p>
  570. <!-- https://github.com/tj/git-extras/blob/master/Commands.md#git-summary – `git summary 2.2..` -->
  571. <ol>
  572. <li>Jarno Elovirta</li>
  573. <li>Robert D. Anderson</li>
  574. <li>Eero Helenius</li>
  575. <li>Roger Sheen</li>
  576. <li>Eliot Kimber</li>
  577. <li>Radu Coravu</li>
  578. <li>Shane Taylor</li>
  579. <li>Stefan Eike</li>
  580. <li>George Bina</li>
  581. <li>Kristen James Eberlein</li>
  582. </ol>
  583. <p>For the complete list of changes since the previous release, see the
  584. <xref href="https://github.com/dita-ot/dita-ot/compare/2.2...2.3" scope="external" format="html">
  585. changelog</xref> on GitHub.</p>
  586. </section>
  587. <section id="docs">
  588. <title>Documentation updates</title>
  589. <p>The documentation for DITA Open Toolkit Release <keyword keyref="release"/> includes corrections and
  590. improvements to existing topics, along with several notable enhancements, including:</p>
  591. <ul>
  592. <li>The DITA Open Toolkit <cite>User Guide</cite> includes new topics on additional methods of publishing via
  593. the <cmdname>dita</cmdname> command:
  594. <ul>
  595. <li>
  596. <xref keyref="using-dita-properties-file"/>
  597. </li>
  598. <li>
  599. <xref keyref="migrating-ant-to-dita"/>
  600. </li>
  601. </ul>
  602. </li>
  603. <li>The DITA Open Toolkit <cite>Developer Reference</cite> includes several new sections dedicated to
  604. customization:
  605. <ul>
  606. <li>
  607. <xref keyref="pdf-customization"/> provides an overview of approaches commonly used to customize the
  608. default PDF output and includes recommendations on best practices and additional resources.</li>
  609. <li>
  610. <xref keyref="migration"/> highlights customization-related changes in recent releases to assist plug-in
  611. developers in updating overrides to work with the latest toolkit versions.</li>
  612. </ul>
  613. </li>
  614. <li>
  615. <p>
  616. <xref href="https://travis-ci.org/" format="html" scope="external">Travis CI</xref> continuous integration
  617. is used to automatically publish the latest development version of the documentation on the project
  618. website at
  619. <xref href="http://www.dita-ot.org/dev/" format="html" scope="external">dita-ot.org/dev</xref> whenever
  620. changes are pushed to the <codeph>develop</codeph> branch of the
  621. <xref href="https://github.com/dita-ot/docs" format="html" scope="external">dita-ot/docs</xref> repository
  622. on GitHub.</p></li>
  623. <li>
  624. <p>In the latest
  625. <xref href="http://www.dita-ot.org/dev/" format="html" scope="external">development version</xref> of the
  626. documentation, page footers now include <uicontrol>Edit this page</uicontrol> links that open the DITA
  627. source file for the topic in
  628. <xref href="https://www.oxygenxml.com/webauthor/" format="html" scope="external">oXygen XML Web
  629. Author</xref>.</p>
  630. <p>The web-based authoring workflow prompts users to log in to GitHub and fork the
  631. <xref href="https://github.com/dita-ot/docs" format="html" scope="external">dita-ot/docs</xref> repository
  632. if necessary. Changes saved in the authoring environment are committed to a new branch, and a pull request
  633. is created to submit changes for review by the DITA-OT documentation team.</p>
  634. </li>
  635. </ul>
  636. <p>For additional information on documentation issues resolved in DITA Open Toolkit Release <keyword
  637. keyref="release"/>, see the
  638. <xref href="https://github.com/dita-ot/docs/issues?q=milestone%3A2.3+is%3Aclosed" format="html"
  639. scope="external">
  640. <keyword keyref="release"/> milestone</xref> in the documentation repository.</p>
  641. <p>For the complete list of documentation changes since the previous release, see the
  642. <xref href="https://github.com/dita-ot/docs/compare/2.2...2.3" scope="external" format="html">
  643. changelog</xref>.</p>
  644. </section>
  645. </refbody>
  646. </reference>
  647. </reference>