]> granicus.if.org Git - docbook-dsssl/commitdiff
Set to zero if passivetex.extensions != 0 since PassiveTeX
authorBob Stayton <bobs@sagehill.net>
Tue, 25 Nov 2003 18:12:43 +0000 (18:12 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 25 Nov 2003 18:12:43 +0000 (18:12 +0000)
cannot handle the math expression with negative values.

xsl/params/title.margin.left.xml

index b6d655462c3b044cf1dd0d47973f8638b5e2bf67..4a832fbfe314dfe43cde24df96a5ccfd951b6251 100644 (file)
 
 <refsynopsisdiv>
 <src:fragment id='title.margin.left.frag'>
-<xsl:param name="title.margin.left" select="'-4pc'"/>
+<xsl:param name="title.margin.left">
+  <xsl:choose>
+    <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
+    <xsl:otherwise>-4pc</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
 </src:fragment>
 </refsynopsisdiv>
 
 <refsect1><title>Description</title>
 
-<para>This parameter adjusts the left margin for titles.
+<para>This parameter adjusts the left margin for titles,
+effectively leaving the titles at the left
+margin and indenting the body text.
+The default value is -4pc, which means the
+body text is indented 4 picas relative to
+the titles.
+</para>
+<para>
 If you set the value to zero, be sure to still include
 a unit indicator such as <literal>0pt</literal>, or
 the FO processor will report errors.
 </para>
+<para>
+This parameter is set to 0pt if the
+<parameter>passivetex.extensions</paramater>
+parameter is nonzero because PassiveTeX cannot handle
+the math expression with negative values 
+used to calculate the indents.
+</para>
 
 </refsect1>
 </refentry>