OnWorks favicon

dblatex - Online in the Cloud

Run dblatex in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dblatex that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dblatex - convert DocBook to LaTeX, DVI, PostScript, and PDF


dblatex [options] {file | -}


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.


A summary of options is included below. For a complete description, see the PDF manual.

-h, --help
Show a help message and exit.

-b backend, --backend=backend
Backend driver to use: pdftex (default), dvips, or xetex.

-B, --no-batch
All the tex output is printed.

-c config, -S config, --config=config
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).

-e indexstyle, --indexstyle indexstyle
Index style file to pass to makeindex instead of the dblatex default index style.

-f figure_format, --fig-format=figure_format
Input figure format: fig, eps. Used when not deduced from figure file extension.

-F input_format, --input-format=input_format
Input file format: sgml, xml (default).

-i texinputs, --texinputs texinputs
Path added to TEXINPUTS

-I figure_path, --fig-path=figure_path
Additional lookup path of the figures.

-l bst_path, --bst-path=bst_path
Additional lookup path of the BibTeX styles.

-L bib_path, --bib-path=bib_path
Additional lookup path of the BibTeX databases.

-m xslt, --xslt=xslt
XSLT engine to use. The available engines are: xsltproc (default), 4xslt, saxon.

-o output, --output=output
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 output_dir, --output-dir=output_dir
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 xsl_user, --xsl-user=xsl_user
An XSL user stylesheet to use. Several user stylesheets can be specified, but the
option order is meaningful: a user stylesheet takes precedence over previously defined
user stylesheets.

-P param=value, --param=param=value
Set an XSL parameter from command line.

-q, --quiet
Less verbose, showing only TeX output messages and error messages.

-r script, --texpost=script
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 latex_style, --texstyle=latex_style
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 format, --type=format
Output format. Available formats: tex, dvi, ps, pdf (default).

DVI output. Equivalent to -tdvi.

PDF output. Equivalent to -tpdf.

PostScript output. Equivalent to -tps.

-T style, --style=style
Output style, predefined are: db2latex, simple, native (default).

-v, --version
Display the dblatex version.

-V, --verbose
Verbose mode, showing the running commands

-x xslt_options, --xslt-opts=xslt_options
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.


User configuration directory.

System-wide configuration directory.

The predefined output styles are located in the installed package directory.


Extra configuration directories that may contain some dblatex configuration files.


To produce myfile.pdf from myfile.xml:

dblatex myfile.xml

To set some XSL parameters from the command line:

dblatex -P latex.babel.language=de myfile.xml

To use the db2latex output style:

dblatex -T db2latex myfile.xml

To apply your own latex style:

dblatex -s mystyle myfile.xml
dblatex -s /path/to/mystyle.sty myfile.xml

To pass extra arguments to the XSLT engine:

dblatex -x "--path /path/to/load/entity" myfile.xml

To use dblatex and profiling:

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:

dblatex -O /path/to/chunk/dir -Pset.book.num=all myfile.xml

Use dblatex online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • 6
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 7
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • More »

Linux commands