Blob Blame History Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>latex.engine.options</title><link rel="stylesheet" type="text/css" href="manual.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" title="DocBook to LaTeX Publishing" /><link rel="up" href="sec-pagination-params.html" title="Pagination and General Styles" /><link rel="prev" href="draft.watermark.html" title="draft.watermark" /><link rel="next" href="latex.class.article.html" title="latex.class.article" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">latex.engine.options</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="draft.watermark.html">Prev</a> </td><th width="60%" align="center">Pagination and General Styles</th><td width="20%" align="right"> <a accesskey="n" href="latex.class.article.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="latex.engine.options"><a id="latex.engine.options"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">latex.engine.options</span></h2><p><em class="parameter"><code>latex.engine.options</code></em> — Extra arguments to pass to the TeX engine</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
      &lt;xsl:param name="latex.engine.options"/&gt;
</pre></div><div class="refsection" title="Description"><a id="idm793960"></a><h2>Description</h2><p>This parameter enables to pass some options or extra arguments to the
    TeX engine used to compile the latex file built by
    <span class="command"><strong>dblatex</strong></span>.</p><p>This can be usefull to tweak the PDF generation to meet some specific
    needs that cannot be set through latex commands. The following example asks
    to <span class="command"><strong>xelatex</strong></span> to produce PDF version 1.3 and to embed all
    the fonts in the PDF file:</p><pre class="screen">
$ <strong class="userinput"><code>dblatex -b xetex -V -P latex.engine.options="-output-driver='xdvipdfmx -V3 -E'" file.xml</code></strong>
[...]
xelatex -output-driver=xdvipdfmx -V3 -E -interaction=batchmode file.tex
[...]
xelatex -output-driver=xdvipdfmx -V3 -E -interaction=batchmode file.tex
[...]
    </pre></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="draft.watermark.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="sec-pagination-params.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="latex.class.article.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">draft.watermark </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> latex.class.article</td></tr></table></div></body></html>