Name | Modified | Size | Downloads / Week |
---|---|---|---|
1.0 | 2013-12-14 | ||
Source | 2013-12-05 | ||
ReadMe.txt | 2013-12-05 | 2.6 kB | |
Totals: 3 Items | 2.6 kB | 0 |
DocBook Archive Manager, version 1.0 Author: Jakub Hrachovec https://sourceforge.net/projects/docbook-archive Description: This tool allows you to create a DocBook Archive (DAR) from a DocBook document. A DocBook Archive is basically a ZIP file that contains given DocBook document and all referenced local XIncludes, mediadata files (imagedata, audiodata, ...), stylesheets, xsl:imports and xsl:includes. It doesn't handle files from functions, e.g. document(). It also contains manifest.xml which carries information about locations of given DocBook document and stylesheets within a DAR. You can also add additional stylesheets apart from stylesheets referenced from 'xml-stylesheet' processing instruction using command -s. The other functionality allows you to transform a DAR or an XML using XSLT and XSL-FO. If you don't specify an XSL using -xsl command, a list of appropriate stylesheets from given DAR and default DocBook stylesheets will be shown and you will be able to choose which one you want to use for transformation. Copy of current DocBook stylesheets (1.78.1) is also part of the appliacation. If a reference to such stylesheet is found it will be resolved using XML catalog to its local copy. Following fonts are also included in the application. You can use them in your stylesheets or you can add your own by modifing fop.xconf in the conf directory. Serif: DejaVuSerif, DejaVuSerifCondensed Sans-Serif: DejaVuSans, DejaVuSansCondensed, DejaVuSansMono How to use the application: Run from cmd, e.g.: java -jar "DocbookArchiveManager.jar" -c fileToConvert.xml -s custom_stylesheet_fo.xsl -fo custom_html.xsl -o output.dar Commands: -help Shows help dialog. -c Given DocBook XML will be converted to DocBook Archive. -s Following stylesheets will be added to DocBook Archive. Use -fo after a stylesheet to select it as an FO stylesheet. -m Folder structure wil be preserved in DocBook Archive. -t Given DocBook Archive or XML will be transformed. -fo Transformation will use Apache FOP. -p Passes parameters to Saxon. -xsl Transformation will use this XSL file. -saxon9 Saxon 9.5.1.3 HE will be used instead of Saxon 6.5.5. -nocopy Disables copying of referenced files (images, audio, video) after non-FO transformation relative to output file. -o Specifies location of output file. DocBook Archive Manager requires atleast Java 1.7.0_15. If you encounter any bugs or have an idea how to improve the application, please create a post over at https://sourceforge.net/p/docbook-archive/discussion