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