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

multilib-10.1
Last change on this file since 1fa2099 was 1fa2099, checked in by Thomas Trepl <thomas@…>, 5 years ago

Initial creation of multilib branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11565 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.