Skip to content

Word2DITA Updates: Language att, any other attributes, maps in final fixup

Compare
Choose a tag to compare
@drmacro drmacro released this 27 May 19:00
· 82 commits to develop since this release

This release adds several enhancements to the Word2DITA transform:

  • Word2DITA issue 19: Provide way to generate arbitrary attributes through the style-to-tag map
    Adds a new subelement, <additionalAttributes>, to <paragraphStyle> and <characterStyle>, with which you can specify any additional attributes for the directly-generated result element.
  • Word2DITA issue 20: Provide way to set language on style-to-tag map.
    The <paragraphStyle>, <characterStyle>,<mapProperties>, and <topicProperties> elements allow a new attribute, @langAttValue, that specifies the value to use for the @xml:lang attribute on the elements directly generated for those styles. For maps and topics, the value specified on @langAttValue overrides the language specified by the w2d.language Ant parameter (which defaults to "en-US").
  • Word2DITA issue 21: Put generated maps through final-fixup mode
    Generated maps are now processed in mode "final-fixup" just as topics are, making it easier to adjust the details of generated maps.