3
Publishing with dblatex
6
To publish your document, you just need to use the script <filename>dblatex</filename>.
13
<![CDATA[dblatex [-t {tex|dvi|ps|pdf}] [-b {dvips|pdftex}] [-o output] [other options] file.{xml|sgml}
21
The script works on an XML or SGML file and can produce LaTeX, DVI, Postscript and PDF output. By default (i.e. without option) a PDF file is produced in the same directory where the input file is, with the same base name.
31
<option>-t <replaceable>format</replaceable></option>
32
</term><listitem><para>Output format. By default the format is PDF.
38
<option>-b <replaceable>driver</replaceable></option>
39
</term><listitem><para>Backend driver to use. The available drivers are “dvips” (latex) and “pdftex” (pdflatex). By default the “dvips” driver is selected. See also <xref linkend="sec-process">.
45
<option>-f <replaceable>fig_format</replaceable></option>
46
</term><listitem><para>Input figures format, specified to have on the fly conversion. See also <xref linkend="sec-figconv">.
52
<option>-I <replaceable>fig_path</replaceable></option>
53
</term><listitem><para>Additional lookup paths of the figures. See <xref linkend="sec-lookup">.
59
<option>-o <replaceable>output</replaceable></option>
60
</term><listitem><para>Output filename. When not used, the input file name is used, with a suffix related to the output format.
67
</term><listitem><para>Debug mode. It only keeps the temporary directory in which dblatex actually works. <xref linkend="sec-debug"> explains how you can use it.
73
<option>-p <replaceable>config_file</replaceable></option>
74
</term><listitem><para>Specify a configuration file. See <xref linkend="sec-param">.
80
<option>-P <replaceable>param=value</replaceable></option>
81
</term><listitem><para>Set an XSL parameter value from command line.
82
See <xref linkend="sec-param-value">.
88
<option>-S <replaceable>spec_file</replaceable></option>
89
</term><listitem><para>Specification file. A specification file can be used to group all the options and customizations to apply. See <xref linkend="sec-specs">.
95
<option>-T <replaceable>style</replaceable></option>
96
</term><listitem><para>Rendering style to use. Several rendering style (also called
97
LaTeX style) are provided by default. See <xref linkend="sec-style">.
103
<option>-x <replaceable>xslt_options</replaceable></option>
104
</term><listitem><para>Options to pass to the XSLT. The example below passes the options “--timing” and “--profile” to the XSLT. Using this option supposes that you know the supported XSLT options.
107
<![CDATA[dblatex -x "--timing --profile" file.sgml]]></programlisting>
113
</term><listitem><para>Disable the external text file support. This support is
114
needed for callouts on external files referenced by <sgmltag>textdata</sgmltag>
115
or <sgmltag>imagedata</sgmltag>, but it can be disabled if the document does not
116
contain such callouts. Disabling
117
this support can improve the processing performance for big
129
Other options are defined to customize the tool, but they should be used in exceptional cases, for test or debug purpose. These options are defined in section <xref linkend="sec-specs"> and should normaly be set through a specification file.