DocBook

dwdyer edited this page Aug 14, 2010 · 2 revisions

Uncommons Antlib includes a complete, pure Java DocBook tool chain for Apache Ant based on Saxon, Apache FOP and the DocBook XSL Stylesheets.

Usage

    <taskdef uri="antlib:org.uncommons.antlib"
             resource="org/uncommons/antlib/antlib.xml"
             classpathref="antlib.classpath"/>

    <uncommons:docbook classpathref="antlib.classpath"
                       source="book/src/book.xml"
                       format="pdf"
                       outputDir="book/output">
      <parameter name="paper.type" value="A4"/>
    <uncommons:docbook>

Nested parameter tags can be used to set any parameter supported by the stylesheets.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.