]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/styleguide/docbook-xsl-1.75.2/params/make.graphic.viewport.xml
stylesheet changes.
[working/Evergreen.git] / stylesheets / styleguide / docbook-xsl-1.75.2 / params / make.graphic.viewport.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"\r
2           xmlns:xlink="http://www.w3.org/1999/xlink"\r
3           xmlns:xi="http://www.w3.org/2001/XInclude"\r
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"\r
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
6           version="5.0" xml:id="make.graphic.viewport">\r
7 <refmeta>\r
8 <refentrytitle>make.graphic.viewport</refentrytitle>\r
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>\r
10 </refmeta>\r
11 <refnamediv>\r
12 <refname>make.graphic.viewport</refname>\r
13 <refpurpose>Use tables in HTML to make viewports for graphics</refpurpose>\r
14 </refnamediv>\r
15 \r
16 <refsynopsisdiv>\r
17 <src:fragment xml:id="make.graphic.viewport.frag">\r
18 <xsl:param name="make.graphic.viewport" select="1"/>\r
19 </src:fragment>\r
20 </refsynopsisdiv>\r
21 \r
22 <refsection><info><title>Description</title></info>\r
23 \r
24 <para>The HTML <tag>img</tag> element only supports the notion\r
25 of content-area scaling; it doesn't support the distinction between a\r
26 content-area and a viewport-area, so we have to make some compromises.</para>\r
27 \r
28 <para>If <parameter>make.graphic.viewport</parameter> is non-zero, a table\r
29 will be used to frame the image. This creates an effective viewport-area.\r
30 </para>\r
31 \r
32 <para>Tables and alignment don't work together, so this parameter is ignored\r
33 if alignment is specified on an image.</para>\r
34 </refsection>\r
35 </refentry>\r