|
From: Artur H. <ko...@pl...> - 2003-10-14 13:13:35
|
Hi,
I have just committed files with new functionality implemented
(finished):
1. support java xsl processor - saxon.
to use saxon, java processor put '-j' to command line parameter list
generpublish.sh -j
2. other output formats: pdf (needs FOP installed) and xhtml
to generate file in another that default (HTML) format use
-F parameter. For example:
generpublish.sh -F pdf
It is possible to generate all possible formats at once:
generpublish.sh -F pdf,html,xhtml
(no spaces between formats, only commas),
or if you want to use spaces as separator:
generpublish.sh -F "pdf html xhtml"
or if you want to use java processor:
generpublish.sh -j -F "pdf html xhtml"
To use above features additional libraries have to be installed:
1. saxon.jar (version 6.x.x)
2. docbook-xsl (the last full version with java extensions to support
java extensions and other than HTML formats)
3. fop (the last version of FOP engine to transform files to PDF)
4. sdocbook DTD (the last - v1.0 version of Simplified DocBook DTD.
it is not mandatory but highly recommended to speed processing up
with catalogs use.)
But you don't need to download/install above libraries on your own.
There is installation script: "generguide/bin/install-libs.sh"
which can take care about everything necessary: download, unpack
in proper location and basic setup.
If you use this script all features should be available automatically without
any further tweaking. (including full catalogs support for sdocbook in
both xsltproc and java saxon processors.)
It creates new directory: "generguide/lib/" and puts there all external libraries.
I hope this will work for you. If not, please let me know ASAP.
I try to correct all bugs.
Now I will try to fill documentation up.
Artur
--
Artur Hefczyc
Open Source Developer
http://generguide.sourceforge.net/
http://www.geotools.org/
http://wttools.sourceforge.net/
http://maven-plugins.sourceforge.net/
|