| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> |
| 3 |
<refentry id="latex.engine.options"> |
| 4 |
<refmeta> |
| 5 |
<refentrytitle>latex.engine.options</refentrytitle> |
| 6 |
</refmeta> |
| 7 |
<refnamediv> |
| 8 |
<refname><parameter>latex.engine.options</parameter></refname> |
| 9 |
<refpurpose>Extra arguments to pass to the TeX engine</refpurpose> |
| 10 |
</refnamediv> |
| 11 |
<refsynopsisdiv> |
| 12 |
<programlisting> |
| 13 |
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="syn/latex.engine.options.xml"/></programlisting> |
| 14 |
</refsynopsisdiv> |
| 15 |
<refsection> |
| 16 |
<title>Description</title> |
| 17 |
<para>This parameter enables to pass some options or extra arguments to the |
| 18 |
TeX engine used to compile the latex file built by |
| 19 |
<command>dblatex</command>.</para> |
| 20 |
<para>This can be usefull to tweak the PDF generation to meet some specific |
| 21 |
needs that cannot be set through latex commands. The following example asks |
| 22 |
to <command>xelatex</command> to produce PDF version 1.3 and to embed all |
| 23 |
the fonts in the PDF file:</para> |
| 24 |
<screen> |
| 25 |
$ <userinput>dblatex -b xetex -V -P latex.engine.options="-output-driver='xdvipdfmx -V3 -E'" file.xml</userinput> |
| 26 |
[...] |
| 27 |
xelatex -output-driver=xdvipdfmx -V3 -E -interaction=batchmode file.tex |
| 28 |
[...] |
| 29 |
xelatex -output-driver=xdvipdfmx -V3 -E -interaction=batchmode file.tex |
| 30 |
[...] |
| 31 |
</screen> |
| 32 |
</refsection> |
| 33 |
</refentry> |