10.0
10.0-rc1
10.1
10.1-rc1
11.0
11.0-rc1
11.0-rc2
11.0-rc3
11.1
11.1-rc1
11.2
11.2-rc1
11.3
11.3-rc1
12.0
12.0-rc1
12.1
12.1-rc1
12.2
12.2-rc1
8.4
9.0
9.1
arm
bdubbs/gcc13
ml-11.0
multilib
renodr/libudev-from-systemd
s6-init
trunk
xry111/arm64
xry111/arm64-12.0
xry111/clfs-ng
xry111/lfs-next
xry111/loongarch
xry111/loongarch-12.0
xry111/loongarch-12.1
xry111/loongarch-12.2
xry111/mips64el
xry111/pip3
xry111/rust-wip-20221008
xry111/update-glibc
Line | |
---|
1 | <refentry xmlns="http://docbook.org/ns/docbook"
|
---|
2 | xmlns:xlink="http://www.w3.org/1999/xlink"
|
---|
3 | xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
4 | xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
|
---|
5 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
6 | version="5.0" xml:id="make.graphic.viewport">
|
---|
7 | <refmeta>
|
---|
8 | <refentrytitle>make.graphic.viewport</refentrytitle>
|
---|
9 | <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
|
---|
10 | </refmeta>
|
---|
11 | <refnamediv>
|
---|
12 | <refname>make.graphic.viewport</refname>
|
---|
13 | <refpurpose>Use tables in HTML to make viewports for graphics</refpurpose>
|
---|
14 | </refnamediv>
|
---|
15 |
|
---|
16 | <refsynopsisdiv>
|
---|
17 | <src:fragment xml:id="make.graphic.viewport.frag">
|
---|
18 | <xsl:param name="make.graphic.viewport" select="1"/>
|
---|
19 | </src:fragment>
|
---|
20 | </refsynopsisdiv>
|
---|
21 |
|
---|
22 | <refsection><info><title>Description</title></info>
|
---|
23 |
|
---|
24 | <para>The HTML <tag>img</tag> element only supports the notion
|
---|
25 | of content-area scaling; it doesn't support the distinction between a
|
---|
26 | content-area and a viewport-area, so we have to make some compromises.</para>
|
---|
27 |
|
---|
28 | <para>If <parameter>make.graphic.viewport</parameter> is non-zero, a table
|
---|
29 | will be used to frame the image. This creates an effective viewport-area.
|
---|
30 | </para>
|
---|
31 |
|
---|
32 | <para>Tables and alignment don't work together, so this parameter is ignored
|
---|
33 | if alignment is specified on an image.</para>
|
---|
34 | </refsection>
|
---|
35 | </refentry>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.