Blame docs/params/latex.engine.options.xml

Packit 0f19cf
Packit 0f19cf
Packit 0f19cf
<refentry id="latex.engine.options">
Packit 0f19cf
  <refmeta>
Packit 0f19cf
    <refentrytitle>latex.engine.options</refentrytitle>
Packit 0f19cf
  </refmeta>
Packit 0f19cf
  <refnamediv>
Packit 0f19cf
    <refname><parameter>latex.engine.options</parameter></refname>
Packit 0f19cf
    <refpurpose>Extra arguments to pass to the TeX engine</refpurpose>
Packit 0f19cf
  </refnamediv>
Packit 0f19cf
  <refsynopsisdiv>
Packit 0f19cf
    <programlisting>
Packit 0f19cf
      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="syn/latex.engine.options.xml"/></programlisting>
Packit 0f19cf
  </refsynopsisdiv>
Packit 0f19cf
  <refsection>
Packit 0f19cf
    <title>Description</title>
Packit 0f19cf
    <para>This parameter enables to pass some options or extra arguments to the
Packit 0f19cf
    TeX engine used to compile the latex file built by
Packit 0f19cf
    <command>dblatex</command>.</para>
Packit 0f19cf
    <para>This can be usefull to tweak the PDF generation to meet some specific
Packit 0f19cf
    needs that cannot be set through latex commands. The following example asks
Packit 0f19cf
    to <command>xelatex</command> to produce PDF version 1.3 and to embed all
Packit 0f19cf
    the fonts in the PDF file:</para>
Packit 0f19cf
    <screen>
Packit 0f19cf
$ <userinput>dblatex -b xetex -V -P latex.engine.options="-output-driver='xdvipdfmx -V3 -E'" file.xml</userinput>
Packit 0f19cf
[...]
Packit 0f19cf
xelatex -output-driver=xdvipdfmx -V3 -E -interaction=batchmode file.tex
Packit 0f19cf
[...]
Packit 0f19cf
xelatex -output-driver=xdvipdfmx -V3 -E -interaction=batchmode file.tex
Packit 0f19cf
[...]
Packit 0f19cf
    </screen>
Packit 0f19cf
  </refsection>
Packit 0f19cf
</refentry>