DocBook to epub task
Description
Process docbook to epub within ant script, using DocBook XSL stylesheets.
Epub task parameters
Attribute | Description | Value | Required |
---|---|---|---|
file | docbook file | yes | |
tofile | output file | <file name>.epub | yes |
style | css file | /path/to/custom/css | yes |
Examples
<project name="docbook-ant-task-to-epub" default="docbook-to-epub">
<taskdef name="dbk"
classname="net.sourceforge.ant4docbook.taskdefs.DocbookTask"
classpath="PATH/TO/ant4docbook.jar"/>
<target name="docbook-to-epub">
<dbk file="docbook.xml" tofile="generated-epub-file.epub" />
</target>
</project>