.\" ** You probably do not want to edit this file directly ** .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). .\" Instead of manually editing it, you probably should edit the DocBook XML .\" source for it and then use the DocBook XSL Stylesheets to regenerate it. .TH "DBLATEX" "1" "October 6, 2006" "" "" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" dblatex \- convert DocBook to LaTeX, DVI, PostScript, and PDF .SH "SYNOPSIS" .HP 8 \fBdblatex\fR [\fBoptions\fR] \fIfile\fR .SH "DESCRIPTION" .PP This manual page briefly documents the \fBdblatex\fR command. For more details read the PDF manual; see below. .PP \fBdblatex\fR is a program that transforms your SGML/XMLDocBook 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. .SH "OPTIONS" .PP A summary of options is included below. For a complete description, see the PDF manual. .TP \fB\-h\fR, \fB\-\-help\fR Show a help message and exit. .TP \fB\-b \fR\fB\fIbackend\fR\fR, \fB\-\-backend=\fR\fB\fIbackend\fR\fR Backend driver to use: \fIpdftex\fR, \fIdvips\fR (default). .TP \fB\-B\fR, \fB\-\-no\-batch\fR All the tex output is printed. .TP \fB\-c \fR\fB\fIconfig\fR\fR, \fB\-S \fR\fB\fIconfig\fR\fR, \fB\-\-config=\fR\fB\fIconfig\fR\fR Configuration file. A configuration file can be used to group all the options and customizations to apply. .TP \fB\-d\fR Debug mode: Keep the temporary directory in which dblatex actually works. .TP \fB\-f \fR\fB\fIfigure_format\fR\fR, \fB\-\-fig\-format=\fR\fB\fIfigure_format\fR\fR Input figure format: \fIfig\fR, \fIeps\fR. Used when not deduced from figure file extension. .TP \fB\-F \fR\fB\fIinput_format\fR\fR, \fB\-\-input\-format=\fR\fB\fIinput_format\fR\fR Input file format: \fIsgml\fR, \fIxml\fR (default). .TP \fB\-i \fR\fB\fItexinputs\fR\fR, \fB\-\-texinputs \fR\fB\fItexinputs\fR\fR Path added to \fBTEXINPUTS\fR .TP \fB\-I \fR\fB\fIfigure_path\fR\fR, \fB\-\-fig\-path=\fR\fB\fIfigure_path\fR\fR Additional lookup path of the figures. .TP \fB\-l \fR\fB\fIbst_path\fR\fR, \fB\-\-bst\-path=\fR\fB\fIbst_path\fR\fR Additional lookup path of the BibTeX styles. .TP \fB\-L \fR\fB\fIbib_path\fR\fR, \fB\-\-bib\-path=\fR\fB\fIbib_path\fR\fR Additional lookup path of the BibTeX databases. .TP \fB\-m \fR\fB\fIxslt\fR\fR, \fB\-\-xslt=\fR\fB\fIxslt\fR\fR XSLT engine to use. The available engines are: xsltproc (default), 4xslt. .TP \fB\-o \fR\fB\fIoutput\fR\fR, \fB\-\-output=\fR\fB\fIoutput\fR\fR Output filename. When not used, the input filename is used, with the suffix of the output format. .TP \fB\-p \fR\fB\fIxsl_user\fR\fR, \fB\-\-xsl\-user=\fR\fB\fIxsl_user\fR\fR An XSL user stylesheet to use. Several user stylesheets can be specified, but the option order is meaningful. .TP \fB\-P \fR\fB\fIparam\fR\fR\fB=\fR\fB\fIvalue\fR\fR , \fB\-\-param=\fR\fB\fIparam\fR\fR\fB=\fR\fB\fIvalue\fR\fR Set an XSL parameter from command line. .TP \fB\-r \fR\fB\fIscript\fR\fR, \fB\-\-texpost=\fR\fB\fIscript\fR\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. .TP \fB\-s \fR\fB\fIlatex_style\fR\fR, \fB\-\-texstyle=\fR\fB\fIlatex_style\fR\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. .TP \fB\-t \fR\fB\fIformat\fR\fR, \fB\-\-type=\fR\fB\fIformat\fR\fR Output format. Available formats: \fItex\fR, \fIdvi\fR, \fIps\fR, \fIpdf\fR (default). .TP \fB\-\-dvi\fR DVI output. Equivalent to \fB\-tdvi\fR. .TP \fB\-\-pdf\fR PDF output. Equivalent to \fB\-tpdf\fR. .TP \fB\-\-ps\fR PostScript output. Equivalent to \fB\-tps\fR. .TP \fB\-T \fR\fB\fIstyle\fR\fR, \fB\-\-style=\fR\fB\fIstyle\fR\fR Output style, predefined are: \fIdb2latex\fR, \fIsimple\fR, \fInative\fR (default). .TP \fB\-v\fR, \fB\-\-version\fR Display the dblatex version. .TP \fB\-V\fR, \fB\-\-verbose\fR Verbose mode, showing the running commands .TP \fB\-x \fR\fB\fIxslt_options\fR\fR, \fB\-\-xslt\-opts=\fR\fB\fIxslt_options\fR\fR Arguments directly passed to the XSLT engine .TP \fB\-X\fR, \fB\-\-no\-external\fR 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. .SH "FILES AND DIRECTORIES" .TP \fI$HOME/.dblatex/\fR User configuration directory. .TP \fI/etc/dblatex/\fR System\-wide configuration directory. .PP The predefined output styles are located in the installed package directory. .SH "ENVIRONMENT VARIABLES" .TP \fBDBLATEX_CONFIG_FILES\fR Extra configuration directories that may contain some dblatex configuration files. .SH "EXAMPLES" .PP To produce \fImyfile.pdf\fR from \fImyfile.xml\fR: .sp .nf dblatex myfile.xml .fi .sp .PP To set some XSL parameters from the command line: .sp .nf dblatex \-P latex.babel.language=de myfile.xml .fi .sp .PP To use the db2latex output style: .sp .nf dblatex \-T db2latex myfile.xml .fi .sp .PP To apply your own latex style: .sp .nf dblatex \-s mystyle myfile.xml dblatex \-s /path/to/mystyle.sty myfile.xml .fi .sp .PP To use \fBdblatex\fR and profiling: .sp .nf xsltproc \-\-param profile.attribute "'output'" \\ \-\-param profile.value "'pdf'" /path/to/profiling/profile.xsl \\ myfile.xml | dblatex \-o myfile.pdf \- .fi .sp .SH "SEE ALSO" .PP The program is documented fully by "DocBook to LaTeX Publishing \- User Manual" available in the package's documentation directory. .SH "AUTHOR" Benoit Guillon, Andreas Hoenen . .br