Better unicode support. Now the XML output is encoded in UTF-8, and Python uses the codecs to decode to ISO-Latin1 and replace the unsupported characters to some latex equivalent.
Several XSLT processors can be used. The first port is for 4suite because it is fully written in Python and is quite a good tool. The processors are loaded as plugins, so that it can be easily extended to any other XSLT processor.
The processor to use is specified from the command line with the
-m
option, where
xslt
xslt
is the name of the plugin to load (actually the
name of the dynamically loaded Python module).
The XSL code is more conformant. It has been checked by using the 4suite XSLT processor as an alternative to xsltproc.
Possibility to have some configuration files stored under
$HOME/.dblatex
or under /etc/dblatex
for system-wide configurations. Some extra paths can be specified by using the
DBLATEX_CONFIG_FILES
environment variable.
The remark
s and comment
s
are rendered as PDF text annotations when pdflatex is
used. Otherwise, the comments are suppressed.
Some other minor improvements:
The parameters pdf.annot.options
,
latex.class.book
, and
latex.class.article
are added.
An hexadecimal color like
<?dblatex bgcolor="#cceeff"?>
is supported, and
a named color like <?dblatex bgcolor="blue"?>
is
supported too (in the previous release named colors had to
be enclosed in curly braces "{}").
Some cleaner locale handling is provided, and new latex commands are given to allow the user to customize the babel setup.
The cross-references now use key()
instead of id()
. It prevents from some bugs and makes
writing a document easier, especially in modular parts.
Some bug fixes.