source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/title.margin.left.xml@ 67f507c

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 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 67f507c was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.1 KB
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="title.margin.left">
7<refmeta>
8<refentrytitle>title.margin.left</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>title.margin.left</refname>
13<refpurpose>Adjust the left margin for titles</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="title.margin.left.frag">
18<xsl:param name="title.margin.left">
19 <xsl:choose>
20 <xsl:when test="$fop.extensions != 0">-4pc</xsl:when>
21 <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
22 <xsl:otherwise>0pt</xsl:otherwise>
23 </xsl:choose>
24</xsl:param>
25</src:fragment>
26</refsynopsisdiv>
27
28<refsection><info><title>Description</title></info>
29
30<para>This parameter provides
31the means of adjusting the left margin for titles
32when the XSL-FO processor being used is
33an old version of FOP (0.25 and earlier).
34It is only useful when the <parameter>fop.extensions</parameter>
35is nonzero.</para>
36
37<para>The left margin of the body region
38is calculated to include this space,
39and titles are outdented to the left outside
40the body region by this amount,
41effectively leaving titles at the intended left margin
42and the body text indented.
43Currently this method is only used for old FOP because
44it cannot properly use the <parameter>body.start.indent</parameter>
45parameter.
46</para>
47<para>
48The default value when the <parameter>fop.extensions</parameter>
49parameter is nonzero is -4pc, which means the
50body text is indented 4 picas relative to
51the titles.
52The default value when the <parameter>fop.extensions</parameter>
53parameter equals zero is 0pt, and
54the body indent should instead be specified
55using the <parameter>body.start.indent</parameter>
56parameter.
57</para>
58<para>
59If you set the value to zero, be sure to still include
60a unit indicator such as <literal>0pt</literal>, or
61the FO processor will report errors.
62</para>
63
64</refsection>
65</refentry>
Note: See TracBrowser for help on using the repository browser.