1. NAME▲
dblatex - convert DocBook to LaTeX, DVI, PostScript, and PDF
2. SYNOPSIS ▲
dblatex [options] {file | -}
3. DESCRIPTION ▲
This manual page briefly documents the dblatex command. For more details read the PDF manual; see below.
dblatex is a program that transforms your SGML/XML DocBook documents to DVI, PostScript or PDF by translating them into pure LaTeX as a first process. MathML 2.0 markups are supported, too. It started as a clone of DB2LaTeX.
4. OPTIONS ▲
A summary of options is included below. For a complete description, see the PDF manual.
-h, --help
Show a help message and exit.
-b \fBbackend\fR, --backend=\fBbackend\fR
Backend driver to use: pdftex (default), dvips, or xetex.
-B, --no-batch
All the tex output is printed.
-c \fBconfig\fR, -S \fBconfig\fR, --config=\fBconfig\fR
Configuration file. A configuration file can be used to group all the options and customizations to apply.
-d, --debug
Debug mode: Keep the temporary directory in which dblatex actually works.
-D, --dump
Dump the error stack when an error occurs (debug purpose).
-f \fBfigure_format\fR, --fig-format=\fBfigure_format\fR
Input figure format: fig, eps. Used when not deduced from figure file extension.
-F \fBinput_format\fR, --input-format=\fBinput_format\fR
Input file format: sgml, xml (default).
-i \fBtexinputs\fR, --texinputs \fBtexinputs\fR
Path added to TEXINPUTS
-I \fBfigure_path\fR, --fig-path=\fBfigure_path\fR
Additional lookup path of the figures.
-l \fBbst_path\fR, --bst-path=\fBbst_path\fR
Additional lookup path of the BibTeX styles.
-L \fBbib_path\fR, --bib-path=\fBbib_path\fR
Additional lookup path of the BibTeX databases.
-m \fBxslt\fR, --xslt=\fBxslt\fR
XSLT engine to use. The available engines are: xsltproc (default), 4xslt.
-o \fBoutput\fR, --output=\fBoutput\fR
Output filename. When not specified, the input filename is used, with the suffix of the output format. The option is ignored if several books are chunked from a set. In this case the -O option is applied instead.
-O \fBoutput_dir\fR, --output-dir=\fBoutput_dir\fR
Output directory of the books built from a set. When not specified, the current working directory is used instead. The option is ignored if a single document is outputed, and the -o is taken into account.
-p \fBxsl_user\fR, --xsl-user=\fBxsl_user\fR
An XSL user stylesheet to use. Several user stylesheets can be specified, but the option order is meaningful.
-P \fBparam\fR=\fBvalue\fR, --param=\fBparam\fR=\fBvalue\fR
Set an XSL parameter from command line.
-r \fBscript\fR, --texpost=\fBscript\fR
Script called at the very end of the tex compilation. Its role is to modify the tex file or one of the compilation files before the last round.
-s \fBlatex_style\fR, --texstyle=\fBlatex_style\fR
Latex style to apply. It can be a package name, or directly a latex package path. A package name must be without a directory path and without the \'.sty\' extension. On the contrary, a full latex package path can contain a directory path, but must ends with the \'.sty\' extension.
-t \fBformat\fR, --type=\fBformat\fR
Output format. Available formats: tex, dvi, ps, pdf (default).
--dvi
DVI output. Equivalent to -tdvi.
--pdf
PDF output. Equivalent to -tpdf.
--ps
PostScript output. Equivalent to -tps.
-T \fBstyle\fR, --style=\fBstyle\fR
Output style, predefined are: db2latex, simple, native (default).
-v, --version
Display the dblatex version.
-V, --verbose
Verbose mode, showing the running commands
-x \fBxslt_options\fR, --xslt-opts=\fBxslt_options\fR
Arguments directly passed to the XSLT engine
-X, --no-external
Disable the external text file support. This support is needed for callouts on external files referenced by textdata or imagedata, but it can be disabled if the document does not contain such callouts. Disabling this support can improve the processing performance for big documents.
5. FILES AND DIRECTORIES ▲
$HOME/.dblatex/
User configuration directory.
/etc/dblatex/
System-wide configuration directory.
The predefined output styles are located in the installed package directory.
6. ENVIRONMENT VARIABLES ▲
DBLATEX_CONFIG_FILES
Extra configuration directories that may contain some dblatex configuration files.
7. EXAMPLES ▲
To produce myfile.pdf from myfile.xml: .nf dblatex myfile.xml
To set some XSL parameters from the command line: .nf dblatex -P latex.babel.language=de myfile.xml
To use the db2latex output style: .nf dblatex -T db2latex myfile.xml
To apply your own latex style: .nf dblatex -s mystyle myfile.xml dblatex -s /path/to/mystyle.sty myfile.xml
To use dblatex and profiling: .nf xsltproc --param profile.attribute "\'output\'" \ --param profile.value "\'pdf\'" /path/to/profiling/profile.xsl \ myfile.xml | dblatex -o myfile.pdf -
To build a set of books: .nf dblatex -O /path/to/chunk/dir -Pset.book.num=all myfile.xml
8. SEE ALSO ▲
The program is documented fully by "DocBook to LaTeX Publishing - User Manual" available in the package\'s documentation directory.
9. AUTHORS ▲
Benoit Guillon
4 Author.
Andreas Hoenen <>
4 Author.
10. COPYRIGHT ▲
Copyright © 2005, 2006, 2007, 2008, 2009 Andreas Hoenen
This manual page was written for the Debian(TM) system (but it may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation.
On Debian(TM) systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.