Requirements
DITA Open Toolkit Release 3.1 requires the Java Runtime Environment (JRE) version 8 or later.
DITA Open Toolkit 3.1.3 is a maintenance release that fixes issues
reported in DITA-OT 3.1, which includes support for DITA 1.3 SVG
domain elements, enhanced <codeblock>
processing, and incremental improvements to
Lightweight DITA processing and PDF output.
DITA-OT releases follow
semantic versioning guidelines. Version numbers use the
major.minor.patch
syntax, where
major versions may include incompatible API changes, minor versions add
functionality in a backwards-compatible manner and patch versions are maintenance releases
that include backwards-compatible bug fixes.
DITA Open Toolkit Release 3.1 requires the Java Runtime Environment (JRE) version 8 or later.
DITA Open Toolkit 3.1.3 is a maintenance release that includes the following bug fixes.
align="center"
, the footnote content at the bottom of a PDF page would also be
center-aligned. This has been fixed so that PDF footnotes always align to the start of the page.
#3060,
#3065
@conref
errors may appear when nested submaps
that are not in the same directory as the referencing map have <title>
elements with
valid content references. This issue has been fixed.
#3064
<draft-comment>
and
<required-cleanup>
would appear in the generated index as broken links when draft
content was excluded. This has been fixed, and the entries will not appear in the index unless draft content
is included.
#3066
<navtitle>
was needed to use the image in a table of contents. This message has
been fixed to simply describe the missing file.
#3071
@id
attributes that worked but were technically invalid. This could result in a large
number of warnings from tools that rendered the XSL-FO file. The @id
attributes have been
fixed to ensure validity.
#3073
<topicref>
elements in the build specify chunk="by-topic"
, earlier releases could fail with Java
errors when evaluating the @chunk
attribute. This has been fixed so that chunking is
resolved properly when content is referenced outside of the map directory.
#3077
FATAL
to ERROR
, allowing builds to finish.
#3082
preprocess2
had build errors
when the @copy-to
attribute was used. This error has been resolved, and the
@copy-to
attribute is evaluated correctly in preprocess2
.
#3083,
#3085
For the complete list of changes since the previous release, see the changelog on GitHub.
DITA Open Toolkit 3.1.2 is a maintenance release that includes the following bug fixes.
@conrefend
to reference a sequence of
topics, all but the first topic were copied without a required @id
attribute. This resulted
in NullPointerExceptions from later processing steps that expected @id
on all topics. The
content reference behavior has been fixed to avoid the error.
#2222,
#3033@conref
reference to itself, that topic would not generate output for XHTML or HTML5. The issue has been fixed.
#2948,
#3045
@keyref
attributes on elements where they are not legal. In earlier releases, this resulted in a
NullPointerException from the keyref resolution module. These invalid attributes are now ignored.
#3008,
#3034href="#./elementid
was pulled into another file as part of a content reference, the @href
attribute was
corrupted, resulting in broken links. These references have been fixed and now refer to the element with
id="elementid"
in the new resolved context.
#3027
<cite>
or <term>
inside of a
<linktext>
element in the related links section of a topic. The XSLT syntax has
been fixed to avoid this error.
#3029
CLASSPATH
variable
that referenced JAR files that no longer exist. These references have been removed.
#2832,
#3040
For the complete list of changes since the previous release, see the changelog on GitHub.
DITA Open Toolkit 3.1.1 is a maintenance release that includes the following bug fixes.
<data>
elements and
certain other non-DITA resources as DITA topics. The map reader processing phase has been corrected to
reliably collect non-DITA resources and record them as such in the .job.xml file.
#2855,
#3010
@conkeyref
attribute references to topics outside the map directory hierarchy, resulting
in missing content and invalid paths to CSS resources. Processing has been corrected to ensure the paths to
such files are calculated correctly.
#2983,
#3014
@copy-to
attributes caused builds to fail. The original source information is now correctly recorded for copy-to
targets, allowing builds to continue.
#3007,
#3015
<screen>
elements resulted in a build failure when
published to troff. Updating the plugin to version 3.1.1 resolves the issue.
#3017
The documentation includes minor changes with corrections and improvements to existing topics.
For the complete list of changes since the previous release, see the changelog on GitHub.
DITA Open Toolkit Release 3.1 includes support for DITA 1.3 SVG
domain elements, enhanced <codeblock>
processing, and incremental improvements to
Lightweight DITA processing and PDF output.
DITA Open Toolkit Release 3.1 includes the following new features:
mapref
map resolution module allows for better
handling of content references and key references in nested maps.
#2875
<svgref>
for pulling in external SVG markup.
#2960
<cite>
, <ph>
, and <dt>
. When key
definitions specify a URI for linking, the links will now appear in PDF. This markup already resulted in
links in HTML output, and resulted in PDF links for key references on <keyword>
and
<term>
.
#2025,
#2961
<codeblock>
elements has been enhanced to support new
@outputclass
keywords that can be used to adjust the presentation of code samples.
@outputclass
attribute to include the normalize-space
keyword. With
this setting, DITA-OT trims any leading whitespace that is common to all lines in the code block to
remove excess indentation and keep lines short.
#2907,
#2953
@outputclass
attribute to include the show-whitespace
keyword. When PDF output is generated, space
characters in the code will be replaced with a middle dot or “interpunct” character
( ·
); tab characters are replaced with a rightwards arrow and three spaces
( →
).
#2975
@outputclass
attribute to
include the show-line-numbers
keyword. codeblock.generate-line-number
template mode to return true()
.
DITA-OT 3.1 now checks for the keyword in the @outputclass
, so line numbering can be
enabled without custom PDF plug-ins.DITA Open Toolkit Release 3.1 includes the following enhancements and changes to existing features:
@if:set
and
@unless:set
attributes in the Ant namespace, which can be used to control whether
parameters are passed to XSLT modules. These attributes replace custom implementations of
if
and unless
logic introduced before Ant had this capability.
#2890
<xmlcatalog>
element instead of using a custom xml.catalog.files
property.
#2938
@frame
attribute on <choicetable>
elements is now
respected in PDF output; previously all values for @frame
on this element were ignored in
PDF.
#2978
<fo:marker>
elements on any topic. New processing hooks are also available to add
custom anchors on any topic or titled sub-topic element, intended as a way to enable stable links into a
location within a PDF.
#2984
DITA Open Toolkit Release 3.1 provides fixes for the following bugs:
@conref
to pull content from another map, but the root
map does not use @conref
, the content reference was not previously resolved. This is
now fixed, and content references in all maps used by the build are resolved properly.
#2494
<chapter>
element refers to another map that is not a bookmap, PDF
processing now formats the referenced content as a chapter. In earlier versions, the content could be
formatted as a generic topic that did not match other chapters in the same map.
#2898
@id
attribute; in DITA-OT 3.0, this also
appeared for all <pt>
elements that specified @id
.
#2985
DITA Open Toolkit Release 3.1 includes code contributions by the following people:
For the complete list of changes since the previous release, see the changelog on GitHub.
The documentation for DITA Open Toolkit Release 3.1 provides corrections and improvements to existing topics, along with new information in the following topics:
For additional information on documentation issues resolved in DITA Open Toolkit Release 3.1, see the 3.1 milestone in the documentation repository.
DITA Open Toolkit Release 3.1 includes documentation contributions by the following people:
For the complete list of documentation changes since the previous release, see the changelog.