docbook2pdf uses jw (Jade Wrapper) the result is very good. With xmlto the result is bad, note that it doesn’t use FOP yet.
To enable A4 output, change :
- /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl for DSSSL (Jade ; docbook2pdf)
- /usr/share/sgml/docbook/xsl-stylesheets/fo/params.xsl for XSL (xmlto)
Also, see Locale (/usr/bin/locale LC_PAPER). Because jw (Jade Wrapper) uses LC_PAPER to eventually switch to A4 ! I have to investigate the use of locale.
In case of UTF-8 problems, do export SP_ENCODING=XML !
It looks like jade doesn’t know how to use proxy ! So the only way is to tweak the catalogs : put OVERRIDE YES in the beginning of /usr/share/sgml/docbook/xml-dtd-4.4-1.0-26/catalog. It will override the system identifier usually found in the document’s doctype declaration. I guess it is usefull if you have no net too.
You will find usefull info about Catalogs from XmlSoft’s Catalogs : XML and SGML.
A usefull docbook info site is still the Docbook FAQ, even if it isn’t well ordered …