XMLmind logoCompany | Contact | Site Map
 
 

Change History

1.2.2_01 (September 2, 2010)

Bug fixes:

  • The id attribute of a descendant element of a topic element was erroneously considered to be a NCName. In fact, it's an NMTOKEN. This bug lead to false "don't know how to generate link text for this element; please specify the link text manually" warnings.

1.2.2 (August 7, 2010)

Enhancements:

  • Improved the rendering of complex tables. For example, removed the following limitations:
    • In order to inherit align, rowsep and colsep from a colspec, an entry must refer to it explicitly using its colname or its namest attribute.
    • Attributes colname or namest cannot be used to skip columns.
    • Something like colwidth="2*+3pt" is ignored (i.e. treated as if it were colwidth="1*").
  • Added parameter xhtml-mime-type. Its default value is "text/html", which means serve XHTML as HTML. However Web browsers such as Firefox or Opera will not render the MathML embedded in XHTML, if this XHTML is served as HTML. Therefore when your DITA document contains MathML equations, you'll have to generate ".xhtml" files (".html" files won't work) and also, preferably, to specify xhtml-mime-type="application/xhtml+xml" or xhtml-mime-type="".

1.2.1_02 (July 18, 2010)

Enhancements:

  • Made much more customizable the header and footer created by the stylesheets that generate XSL-FO. Added properties: header-left-width, header-center-width, header-right-width, footer-left-width, footer-center-width, footer-right-width, and attribute-sets: header, footer, header-left, header-center, header-right, footer-left, footer-center, footer-right, for that. See xsl/fo/pagination.xsl.

Bug fixes:

  • MS-Word 2003 failed to properly render the WordprocessingML generated for the List of Tables, the List of Figures, etc.

1.2.1_01 (May 31, 2010)

Bug fixes:

  • Failed to transclude ``conref-ed'' images, that is, elements such as <image href="???" conref="foo/bar.png"/>.

1.2.1 (April 13, 2010)

Enhancements:

  • Conditional processing attributes specialized from props (e.g. attribute customer because the domains attribute of a map includes something like "a(props customer)") and added to topicref elements are now taken into account.
  • Conditional processing is now also applied to the information (title of a map, metadata of a map) collected by ditac in order to generate the title page of a document.
  • The generated messages (Table of Contents, Chapter, etc) have been translated to Czech by Vít Profant.
  • Upgraded Saxon to version 9.2.0.6.

Bug fixes:

  • When option -p title-page custom_title_page was specified and the map to be converted didn't have a title attribute or child element, the generated document had no title page.
  • XMLmind DITA Converter (ditac) always returned a 0 (success) exit code even when XMLmind XSL-FO Converter (XFC) failed with a non-zero exit code. Note that in order to fix this bug, you need to use ditac with XFC v4.4+.

1.2 (March 6, 2010)

Enhancements:

Bug fixes:

  • XSL-FO output format: a footnote inherited its font style and its font weight from its container.
  • XSL-FO output format: converting a map which ends with a reltable pulling topics (that is, these topics are not referenced directly or indirectly anywhere in the topicref hierarchy) and instructing ditac to generate an index at the end of the document caused the conversion to fail with error message: "fatal error reported by the XSLT engine: A sequence of more than one item is not allowed as the first operand of 'eq'".
  • A notices element having no href attribute caused the conversion to fail with error message: "An empty sequence is not allowed as the result of function u:nextSequenceName()".
  • Made all the IDs automatically generated by ditac as short as possible. The reason of this change is that some output formats (e.g. .docx) do not support cross-references having long IDs.

    The following sed script may be used to convert old automatically generated IDs to new automatically generated IDs:

    s/__XSL_RESOURCE_\([0-9]*\)__/__RES\1/g
    s/__TOC__/__TOC/g
    s/__TOC_ENTRY_\([0-9]*\)__/__TOCE\1/g
    s/__TITLE__/__TT/g
    s/__TITLE_PAGE__/__TP/g
    s/__TABLE_LIST__/__LOT/g
    s/__MAP__\.ditamap/__MAP.ditamap/g
    s/__INDEX_LIST__/__IDX/g
    s/__IMAGE_\([0-9]*\)__/__IMG\1/g
    s/__IDENTIFIER__/__ID/g
    s/__ID\([0-9A-Za-z]*\)__/I_\1_/g
    s/__FIGURE_LIST__/__LOF/g
    s/__EXAMPLE_LIST__/__LOE/g
    s/__END_OF_TOPIC__/__EOT/g
    s/__END_OF_FRONTMATTER__/__EOFM/g
    s/__END_OF_BODYMATTER__/__EOBO/g
    s/__END_OF_BACKMATTER__/__EOBM/g
    s/__-__/__/g

Incompatibilities:

  • Though not mandated by the DITA standard, XMLmind DITA Converter now checks that all the topics which compose the document to be converted have distinct IDs. If this is not the case, a fatal error is reported.
  • The qualified ID of a descendant element of a topic is now transformed as follows: topicID/descendantID becomes topicID__descendantID in the generated content. (The separator string being used comprises two underscore characters.) Previously, it was topicID__-__descendantID, which was longer and less readable.

1.1.0_02 (December 4, 2009)

Enhancements:

  • XMLmind DITA Converter now detects the following suspicious case and reports a warning: a topic is referenced in the map but does not appear in the output document. This is generally caused by a missing or erroneous chunk specification.

1.1.0_01 (November 10, 2009)

This is just a patch release. Its distribution differs from the 1.1 distribution only by the ditac.jar it contains.

Bug fixes:

  • Using a topicref to include a map containing only reltables into another map (see example below) didn't work.
    <topicref href="TS_EX_reltable.ditamap" format="ditamap"/>

1.1.0 (November 9, 2009)

Enhancements:

  • XMLmind DITA Converter now allows to convert DITA documents to Eclipse Help.
  • Replaced parameters page-header and page-footer by the following parameters: header-left, header-center, header-right, header-separator, header-left-image, header-center-image, header-right-image, footer-left, footer-center, footer-right, footer-separator, footer-left-image, footer-center-image, footer-right-image. The new parameters allow to better control the contents of page headers and footers. For example, such parameters may now be used to display a logo in a page header or footer:
    -p header-left-image in/icon_small.svg 
    -p footer-center "Page %page-number% of %page-count%"

    Notice the mix of text and variables in footer-center.

  • Added a title-page parameter to all the XSLT stylesheets. The possible values of this parameter are:
    auto
    Default value. Automatically generate a ``title page'' based on the title and metadata of the map.
    none
    Do not generate a title page.
    URI_of_custom_title_page
    Specifies the URI of a custom title page. This custom title page is an XHTML file for XHTML-based formats (XHTML, HTML Help, etc). This custom title page is an XSL-FO file for FO-based formats (PDF, RTF, etc). Such custom title pages are generally hand-written.
  • The automatically generated title page now includes the last created or revised child element of the critdates element found in the metadata of a map. The value of the golive attribute (publication date) has priority over the value of created/@date and revised/@modified (modification date).

    If the value of a date is formatted as YYYY-MM-DD, then the generated title page contains a localized form corresponding to the language of the map. Otherwise, the value of the date (e.g. "October 12, 2007") is copied as is to the generated title page.

  • The searchtitle of a topic, if any, is now used to specify the title of the generated HTML page. The searchtitle element may be specified in topic/titlealts or in topicref/topicmeta.
  • Added the -options (short name -o) option. This option allows to specify a text file containing command-line arguments. Example:
    $ ditac -v -o html.options foo.htm foo.ditamap

    If html.options contains:

    -format html
    -p css http://www.acme.com/css/acme.css

    then this is equivalent to running:

    $ ditac -v -format html -p css http://www.acme.com/css/acme.css \
        foo.htm foo.ditamap
  • The -toc option will not add a toc element to a map when this map contains a single topicref having no nested topicref descendants.
  • Slightly changed the default chunking policy of ditac. When a map does not specify chunk="to-content" at all and when this map is to be converted to a screen media (XHTML, HTML Help, etc), ditac adds chunk="to-content" to all topicrefs which are direct children of the map. However, if a map contains a single topicref, ditac will also add chunk="to-content" to all topicrefs which are direct children of this root topicref.
  • Added a minimal workaround for the following RenderX XEP limitation: space-after.conditionality="discard" is not implemented, fallback value is "retain". As a consequence of this limitation, there was much too space between list items.
  • The generated messages (Table of Contents, Chapter, etc) have been translated to Russian by Nikolay Rastegaev.

Bug fixes:

  • No content was generated for the itemgroup element.

Incompatibilities

  • Replaced parameters page-header and page-footer by parameters: header-left, header-center, header-right, header-separator, header-left-image, header-center-image, header-right-image, footer-left, footer-center, footer-right, footer-separator, footer-left-image, footer-center-image, footer-right-image.
  • Java Help/HTML Help parameter show-title-page has been replaced by a combination of new common parameter title-page and of new Java Help/HTML Help parameter add-toc-root:
    show-title-pageEquivalent title-page and add-toc-root
    show-title-page=yestitle-page=auto and add-toc-root=no
    show-title-page=notitle-page=no and add-toc-root=no
    show-title-page=toc-roottitle-page=auto and add-toc-root=yes
  • The value of Java Help/HTML Help parameter number-toc-entries is now no by default. This is consistent with the default value of common parameter number which is an empty string. That is, by default, nothing is numbered.

1.0.0_01 (October 22, 2009)

This is just a patch release. Its distribution differs from the 1.0 distribution only by the ditac.jar it contains.

Enhancements:

  • Any attribute (that is, not only audience, platform, product, rev, otherprops and props) can be used to filter or flag an element. Previously, it was not possible to use attributes belonging to a namespace (e.g. xml:lang).

Bug fixes:

  • When a .ditaval file contained the following specification
    <prop att="audience" action="exclude" /> 
    <prop att="audience" val="external" action="include" /> 

    elements having a audience="external" attribute were excluded too. This was caused by the fact that action="include" and action="passthrough" were parsed but after that, such actions were completely ignored.


1.0 (September 23, 2009)

Initial release.