Parameter | Value | Description | ||
add-index-toc |
Allowed values are: 'yes' and
'no'.
Default value: 'yes'.
|
Specifies whether an A-Z list should be added at the
beginning of the back-of-the-book index.
|
||
chain-pages |
Allowed values are: 'none', 'top',
'bottom' or 'both'.
Default value:
'none'.
|
Specifies whether a header and/or a footer containing
navigation icons should be generated in order to link together all
the HTML pages.
|
||
chain-topics |
Allowed values are: 'yes' and
'no'.
Default value: 'no'.
|
Specifies whether navigation icons should be generated
in order to link together all the topics.
See also related
parameter: ignore-navigation-links.
|
||
css |
URL.
Default value: ''.
|
Low-level parameter specifying which CSS stylesheet to
use to style the generated (X)HTML pages.
When neither
css nor custom-css is specified, the
default CSS stylesheet being used is xsl-resources-directory/base.css.
|
||
cssResourceName |
URL basename relative to the directory specified by
parameter xsl-resources-directory.
Default
value: 'base.css'.
|
Very low-level parameter specifying which CSS stylesheet
to use. This CSS stylesheet is expected to be found in the resources
directory.
|
||
![]() |
URL.
Default value: ''.
|
Specifies the custom CSS stylesheet used to style the
generated (X)HTML pages. This high-level parameter has priority over
low-level parameter css.
This custom CSS stylesheet
is copied to directory xsl-resources-directory.
Therefore custom-css requires directory
xsl-resources-directory to be specified as an URL which is
relative to the output directory (e.g.
xsl-resources-directory='res').
How to use
custom-css is explained in https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/manual-6.html#customCSS.
|
||
default-table-width |
A percentage, typically something like '100%'
or '90%'.
Default value: '' (as narrow as
possible).
|
The default width of
<table> and
<simpletable> elements. |
||
external-link-icon-height |
Length. A length may have a unit. Default is
px.
Default value: '10'.
|
The height of the “opens in new window”
icon.
|
||
external-link-icon-name |
Basename.
Default value:
'new_window.png'.
|
The basename of the “opens in new window” icon. This
icon is found in the resources directory.
|
||
external-link-icon-width |
Length. A length may have a unit. Default is
px.
Default value: '10'.
|
The width of the “opens in new window”'
icon.
|
||
format-to-type |
Zero or more DITA format/MIME type pairs. Example:
"txt text/plain xml application/xml html text/html".
Default value: '', which means that DITA
xref/@format is not converted to XHTML
a/@type.
|
Allows to map DITA xref/@format to XHTML
a/@type.
Using default empty value, <xref
scope="external" format="txt"
href="http://acme.com/info.xyz"> is converted to <a
href="http://acme.com/info.xyz" target="_blank">. The fact
that file extension ".xyz" is unknown may cause problems
when attempting to navigate or download file "info.xyz"
using a Web browser.
If
-p format-to-type "txt text/plain" is passed to
ditac then <xref scope="external"
format="txt" href="http://acme.com/info.xyz"> is converted
to <a type="text/plain" href="http://acme.com/info.xyz"
target="_blank">, which is better. |
||
generator-info |
String
Default value: 'XMLmind DITA Converter
VERSION'.
|
The name of the software which has been used to create
the HTML pages.
Specify an empty string if you don't want to
have a <meta name="generator" content="XXX"/>
element added to your HTML pages.
|
||
ignore-navigation-links |
Allowed values are: 'yes', 'no' and
'auto'.
Default value: 'auto' for XHTML and
its variants; 'yes' for Web Help, Java Help, HTML Help,
Eclipse Help and EPUB
|
If 'yes', do not generate the navigation links
corresponding to topicref attribute
@collection-type .If 'no', generate
the navigation links corresponding to topicref attribute
@collection-type .If 'auto', generate
the navigation links corresponding to topicref attribute
@collection-type , unless chain-topics=yes. |
||
javascripts |
String. List of URLs separated by
whitespace.
Default value: ''.
|
The URLs specified in this parameter must point to
JavaScript files. These URLs are converted to
<script> XHTML elements added to the
<html> /<head> elements
of the XHTML files generated by ditac.Note that an URL may
end with ';async', ';defer' or a combination of
both flags. These flags are translated to the corresponding
attributes of the
<script> element.
Example:https://cdn.mathjax.org/mathjax/latest/¬ MathJax.js?config=MML_CHTML;async is translated to:
<script type="text/javascript" async="async" src="https://cdn.mathjax.org/mathjax/latest/¬ MathJax.js?config=MML_CHTML"> </script> |
||
mathjax |
Allowed values are: 'yes', 'no' and
'auto'.
Default value: 'no'.
|
Very few web browsers (Firefox) can natively render
MathML. Fortunately, there is MathJax.
MathJax is a JavaScript display engine
for mathematics that works in all browsers.
Ignored by all XHTML-based formats but XHTML and Web
Help.
|
||
mathjax-url |
String.
Default value: the URL pointing to the
MathJax CDN, as recommended in the MathJax
documentation.
|
|||
mark-external-links |
Allowed values are: 'yes' and
'no'.
Default value: 'no'.
|
Specifies whether an external link should be marked
using a “opens in new window” icon.
|
||
navigation-icon-height |
Length. A length may have a unit. Default is
px.
Default value: '16'.
|
The height of a navigation icon.
|
||
navigation-icon-suffix |
String.
Default value:
'.png'.
|
The suffix of a navigation icon.
The root names of
navigation icons are fixed:
For example, if note-icon-suffix='.svg', the
default resources directory is expected to contain
first.svg ,
first_disabled.svg ,
last.svg , etc.In principle, there is no
need for an end-user to specify any of the
navigation-icon-suffix, navigation-icon-width or
navigation-icon-height parameters.
|
||
navigation-icon-width |
Length. A length may have a unit. Default is
px.
Default value: '16'.
|
The width of a navigation icon.
|
||
screen-resolution |
Positive integer.
Default value:
'96'.
|
The resolution of the screen in dot per inch (DPI). This
resolution is used to convert image dimensions such as 3cm
to pixels.
|
||
xhtml-mime-type |
A MIME type without a parameter such as
'text/html', 'application/xhtml+xml',
'application/xml' or the empty string
('').
Default value: see prose.
|
Low-level parameter. Do not change default value unless
you know what you are doing.
|