Debian Codegraph @

docs/params/imagedata.default.scale.xml

raw
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="imagedata.default.scale">
4 <refmeta>
5 <refentrytitle>imagedata.default.scale</refentrytitle>
6 </refmeta>
7 <refnamediv>
8 <refname><parameter>imagedata.default.scale</parameter></refname>
9 <refpurpose>Specifies the default image scaling properties</refpurpose>
10 </refnamediv>
11 <refsynopsisdiv>
12 <programlisting>
13 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="syn/imagedata.default.scale.xml"/></programlisting>
14 </refsynopsisdiv>
15 <refsection id="sec-defaultscale">
16 <title>Description</title>
17
18 <para>Default scale to apply to every <sgmltag>imagedata</sgmltag> that does not contain any scaling attribute.</para>
19 <para>By default this parameter is set to `pagebound`
20 so that the included images keep their natural size up to the page
21 boundaries.</para>
22 <para>Two other special parameters are available:
23 'maxwidth=<replaceable>width</replaceable>' and
24 'maxheight=<replaceable>height</replaceable>' where <replaceable>width</replaceable>
25 and <replaceable>height</replaceable> define the maximum image
26 dimensions, i.e. the image keeps its natural size up to the specified
27 maximum dimension. Both 'maxwidth' and 'maxheight' settings can be combined in a
28 comma separated list.</para>
29 <para>Example:
30 <programlisting>dblatex -P imagedata.default.scale=maxwidth=10cm,maxheight=8cm file.xml</programlisting>
31 </para>
32 <para>Except these special reserved values, the expected value of the parameter
33 must be some valid options passed to the \includegraphics command.</para>
34 </refsection>
35 </refentry>