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>imagedata.default.scale</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="apas16.html" title="Graphics" /><link rel="prev" href="imagedata.boxed.html" title="imagedata.boxed" /><link rel="next" href="imagedata.file.check.html" title="imagedata.file.check" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">imagedata.default.scale</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="imagedata.boxed.html">Prev</a> </td><th width="60%" align="center">Graphics</th><td width="20%" align="right"> <a accesskey="n" href="imagedata.file.check.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="imagedata.default.scale"><a id="imagedata.default.scale"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">imagedata.default.scale</span></h2><p><em class="parameter"><code>imagedata.default.scale</code></em> — Specifies the default image scaling properties</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
      &lt;xsl:param name="imagedata.default.scale"&gt;pagebound&lt;/xsl:param&gt;
</pre></div><div class="refsection" title="Description"><a id="sec-defaultscale"></a><h2>Description</h2><p>Default scale to apply to every <code class="sgmltag-element">imagedata</code> that does not contain any scaling attribute.</p><p>By default this parameter is set to `pagebound`
so that the included images keep their natural size up to the page
boundaries.</p><p>Two other special parameters are available:
'maxwidth=<em class="replaceable"><code>width</code></em>' and
'maxheight=<em class="replaceable"><code>height</code></em>' where <em class="replaceable"><code>width</code></em>
and <em class="replaceable"><code>height</code></em> define the maximum image
dimensions, i.e. the image keeps its natural size up to the specified
maximum dimension. Both 'maxwidth' and 'maxheight' settings can be combined in a
comma separated list.</p><p>Example:
</p><pre class="programlisting">dblatex -P imagedata.default.scale=maxwidth=10cm,maxheight=8cm file.xml</pre><p>
</p><p>Except these special reserved values, the expected value of the parameter
must be some valid options passed to the \includegraphics command.</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="imagedata.boxed.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="apas16.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="imagedata.file.check.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">imagedata.boxed </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> imagedata.file.check</td></tr></table></div></body></html>