<syntaxdiagram>
element and all its descendant elements;<ux-window>
;<sort-as>
.<simpletable>
elements:
@frame
is ignored.@expanse
is partially supported.
Its value is considered to always be 100%.@expanse
is ignored. The width
of a <simpletable>
is always 100% and
thus, you cannot center a <simpletable>
using the center
parameter.<table>
element:
<entry>
/@rotate
is not
supported.<table>
/@orient
="land"
(landscape table) is not supported.@pgwide
is partially supported.
Its value is considered to always be 100%.<table>
/@orient
="land"
(landscape table) is supported. However, except
when the XSL-FO processor being invoked by ditac is XMLmind XSL-FO Converter
v6.2+ , the landscape table must have few
enough rows to fit onto one page. When this is not the case,
the last rows of the landscape table will simply not appear in
the output.@pgwide
is ignored. The width of
a <table>
is always 100% and thus, you
cannot center a <table>
using the center
parameter.@id
attribute, containing
a table having "default_values" as its @id
attribute, has been converted to HTML. The generated HTML file which
contains the topic is called
userguide.html
.<bookmap>
elements:
<toc>
, <tablelist>
,
<figurelist>
,
<indexlist>
can be automatically generated by
ditac.<examplelist>
and
<equationlist>
in addition to
<toc>
, <tablelist>
,
<figurelist>
,
<indexlist>
.<bookmap>
elements:
<trademarklist>
,
<abbrevlist>
,
<bibliolist>
,
<glossarylist>
cannot be automatically
generated by ditac.<toc>
, <tablelist>
,
<figurelist>
,
<examplelist>
,
<equationlist>
and
<indexlist>
only contain plain text. For
example, if a topic title is "<title>The
Java<sup>TM</sup> <b>Spring</b>
framework</title>", then the corresponding TOC entry
contains "The JavaTM Spring framework".<indexlist>
:
<indexterm>
element in
the
<topicmeta>
/<keywords>
element of a <topicref>
element is
equivalent to specifying it in the
<prolog>
/<metadata>
/<keywords>
element of the corresponding topic. Any other
<indexterm>
element found in a map is
ignored.<indexterm>
(<option>
,
<parmname>
,
<apiname>
, etc) is ignored.<indexterm>
elements.@xml:lang
attribute of the root element of the
topic map. If there is no such attribute, the language defaults to
"en". Knowing the language of the document is required to
be able to generate localized text (e.g. "Kapitel") and to sort and group the index
entries.<link>
element gets its
<linktext>
child from
key_definition/topicmeta/linktext and its
<desc>
child from
key_definition/topicmeta/shortdesc.<xref>
element gets its contents
from key_definition/topicmeta/linktext.<ph>
,
<cite>
, <keyword>
,
<dt>
and <term>
all
get their content from
key_definition/topicmeta/keywords/keyword, if any.
Otherwise the contents of
key_definition/topicmeta/linktext is used as a
fallback.@conref
.
<topigroup keyscope="MyKeycope"> <topicref href="commonContent.dita" processing-role="resource-only"/>
bin/ditac
shell script or to bin/ditac.bat
). However, the
verifications performed by ditac are almost certainly not conforming
as we have not really understood the spec.<step>
element.
<step>
element is a specialization of a
<li>
element. Some DITA processors are capable
of automatically converting a <step>
element to
an <li>
element. This is not the case of
ditac.<coderef>
element
is
automatically determined by ditac (e.g. by examining the BOM or
<?xml encoding="XXX"?>
). You may specify this
character encoding explicitly by adding a
format="text; charset=XXX"
attribute to the
<coderef>
element. Example:
<coderef format="text; charset=US-ASCII" href="../src/sieve.cpp"/>
.<audience>
, <platform>
,
<product>
, <otherprops>
,
<props>
, specializations of attributes
<props>
and <rev>
properly cascade with a map, within the
<related-links>
element of a topic and from a
<topicref>
element to the referenced
<topic>
element.@audience
) and element (e.g.
<audience>
) metadata are copied from a
<topicref>
element to the referenced
<topic>
element.<topicref>
metadata is copied only to the
first topic found in foo.dita. An alternative would be to
copy metadata to all topics found in foo.dita.<subjectScheme> Content: [ subjectdef | enumerationdef | schemeref ]* </subjectScheme> <subjectdef keys = name of a set of attribute values OR an attribute value OR keyref = name of a set of attribute values OR an attribute value navtitle = description of this subjectdef > Content: [ <topicmeta> <navtitle>description of this subjectdef</navtitle> </topicmeta> ]? [ subjectdef ]* </subjectdef> <enumerationdef> Content: [ elementdef ]* attributedef <subjectdef keyref = name of a set of attribute values (keyref absent means: don't use this attribute) /> </enumerationdef> <elementdef name = element qualified name /> <attributedef name = attribute qualified name /> <schemeref href = location of another subject scheme map />
-attrvalues
and -defaultattrvalues
command-line options.@platform
:
<subjectdef keys="macos"/> <subjectdef keys="linux"> <subjectdef keys="redhat"/> <subjectdef keys="ubuntu"/> </subjectdef>
platform="linux(redhat debian)"
because
"debian"
has not been declared. A validation error
will be reported for attribute
platform="macos(redhat)"
because
"redhat"
is not a kind of "macos".<title>
, <metadata>
)
contained in a map. However, only the exclude action will work. The
flag action does not work in this context.@audience
,
@platform
, @product
,
@rev
, @otherprops
,
@deliveryTarget
and attributes specialized from
@props
) may be used to filter or flag an element. For
example, the @status
attribute may be used to
highlight changes. See below.<ditavalref>
elements, all
<ditavalref>
elements but the first one are
ignored. When this is the case, a warning is reported, though.<ditavalref>
element, if any, which is a
direct child of a map.<ditavalref>
error
conditions are not detected.action="passthrough"
is not
supported.<topic>
, <p>
,
<lq>
, <note>
,
<dl>
, <ul>
,
<ol>
, <sl>
,
<pre>
, <lines>
,
<fig>
, <object>
,
<table>
, <simpletable>
,
<section>
, <example>
,
<ph>
, <term>
,
<xref>
, <cite>
,
<q>
, <boolean>
,
<state>
, <keyword>
,
<tm>
, <image>
,
<foreign>
.
@status
attribute may be
used to highlight
changes.
Example:$ ditac -filter status.ditaval doc.pdf doc.ditamap
status.ditaval
contains:<val> <prop action="flag" att="status" backcolor="#FFFF99" style="underline" val="new"/> <prop action="flag" att="status" backcolor="#99FF99" val="changed"/> <prop action="flag" att="status" backcolor="#FF7F7F" style="line-through" val="deleted"/> </val>
doc.ditamap
references a
topic containing for example:<p>A paragraph containing <ph status="new">new text</ph>, <ph status="changed">changed text</ph>, <ph status="deleted">deleted text</ph>.</p> ... <p status="new">New paragraph.</p> ... <ul status="changed"> <li>First item in changed <tt>ul</tt>.</li> <li><p>Second item.</p> <p status="deleted">Deleted paragraph.</p></li> <li>Third item.</li> </ul>
@changebar
attribute of the
<revprop>
element, has the following
syntax:
changebar -> prop [ S ';' S prop ]+ prop -> prop_name ':' S prop_value
Name | Value | Default | Description |
color | <color> | The value of the color property. | See XSL 1.1 property change-bar-color. |
offset | <length> | 6pt | See XSL 1.1 property change-bar-offset. |
placement | start | end | left | right | inside | outside | alternate | start | See XSL 1.1 property change-bar-placement. |
style | <border-style> | solid | See XSL 1.1 property change-bar-style. |
width | <border-width> | medium | See XSL 1.1 property change-bar-width. |
$ ditac -filter changebar.ditaval doc.pdf doc.ditamap
changebar.ditaval
contains:<val> <revprop action="flag" val="2.1" changebar="style: double; width: 3px; placement: start;" ></revprop> </val>
doc.ditamap
references a
topic containing for example:... <fig rev="2.1"> <title>The logo of ACME corp.</title> <image href="acme_logo.png"/> </fig> ...
@collection-type
, whatever its value, is
ignored inside the <reltable>
element.<title>
child element of a
<relcolspec>
element.@copy-to
attribute is used to specify an
URI, the parent path part (e.g. "foo" in
"foo/bar.htm") and the extension part (e.g. ".htm"
in "foo/bar.htm") are ignored. Only the ``root name'' (e.g.
"bar" in "foo/bar.htm") is taken into account during
the processing of the map.<topicref>
elements found inside a
<reltable>
do not “pull” the corresponding
topics. In other words, a <reltable>
cannot be
used to add some content to a deliverable. With ditac, a
<reltable>
is just used to create links between
topics which are already part of the deliverable.<topicref>
s, where multi.dita contains
multiple topics (first topic being t1, second topic being
t2), each topic possibly containing nested topics.<topicref href="multi.dita"/> <topicref href="multi.dita"/> <topicref href="multi.dita#t1"/> <topicref href="multi.dita#t2"/>
<topicref>
pulls
all the topics, including nested ones, contained in
multi.dita. However parent, child, sibling, etc, related
links will not be automatically generated for these
topics.<topicref>
pulls a copy of
all the topics, including nested ones, contained in
multi.dita. The third <topicref>
pulls a copy of topic t1 (excluding nested topics). The
fourth <topicref>
is not detected as
pulling a copy of topic t2. Therefore the fourth
<topicref>
does nothing at all, as topic
t2 has already being pulled into the deliverable (by the
first <topicref>
).<topicref>
elements are not
treated differently from the others:
<topicset>
,
<topicsetref>
.<bookmap>
elements:
<abbrevlist>
,
<amendments>
,
<appendices>
,
<appendix>
,
<bibliolist>
,
<bookabstract>
,
<booklist>
, <chapter>
,
<colophon>
,
<dedication>
,
<draftintro>
,
<figurelist>
,
<examplelist>
,
<equationlist>
,
<glossarylist>
,
<indexlist>
, <notices>
,
<part>
, <preface>
,
<tablelist>
, <toc>
,
<trademarklist>
, are considered to have an
implicit title when
@href
attribute,<topicref>
(of any type) child elements.<glossarylist> <topicref href="term1.dita"/> <topicref href="term2.dita"/> <topicref href="term3.dita"/> </glossarylist>
<glossarylist navtitle="Glossary"> <topicref href="term1.dita"/> <topicref href="term2.dita"/> <topicref href="term3.dita"/> </glossarylist>
<anchorref>
, <anchor>
,
<navref>
— related to runtime integration of
maps are ignored.<topicref>
having attribute
toc="no" and pointing to topicB.<glossref>
cannot be
used with ditac without setting some of its attributes. Example:
<glossref href="ONE.dita" keys="key_ONE"/>
<topicref href="ONE.dita" keys="key_ONE" linking="none" print="no" toc="no" search="no"/>
<glossref>
is discarded at a very early stage
by ditac. The consequence is that each occurrence of
<abbreviated-form keyref="key_ONE"/> will cause ditac
to report a "cannot resolve keyref" warning. The workaround is to
simply avoid using <glossref>
and to stick to
<topicref>
with a @keys
attribute.(1) | Typically
using <mapref type="scheme"
href="my_subject_scheme_map.ditamap"/> . |