From ef90881c2b9362740d447a382b8ccf6a6af3c19b Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Tue, 8 Mar 2005 07:50:55 +0000 Subject: [PATCH] Fixed indent problems introduced with $body.start.indent. FOP reverts back to using $title.margin.left. --- xsl/params/blockquote.properties.xml | 4 ++-- xsl/params/component.title.properties.xml | 3 ++- xsl/params/section.title.properties.xml | 3 ++- xsl/params/title.margin.left.xml | 24 ++++++++++++++++++----- 4 files changed, 25 insertions(+), 9 deletions(-) diff --git a/xsl/params/blockquote.properties.xml b/xsl/params/blockquote.properties.xml index 1803adb18..7a0f237ca 100644 --- a/xsl/params/blockquote.properties.xml +++ b/xsl/params/blockquote.properties.xml @@ -7,8 +7,8 @@ -0.5in -0.5in +0.5in +0.5in 0.5em 1em 2em diff --git a/xsl/params/component.title.properties.xml b/xsl/params/component.title.properties.xml index 5eb76c9e9..c9dbe836a 100644 --- a/xsl/params/component.title.properties.xml +++ b/xsl/params/component.title.properties.xml @@ -19,7 +19,8 @@ false - 0pt + diff --git a/xsl/params/section.title.properties.xml b/xsl/params/section.title.properties.xml index b6150aadd..a2c1f7e66 100644 --- a/xsl/params/section.title.properties.xml +++ b/xsl/params/section.title.properties.xml @@ -20,7 +20,8 @@ 0.8em 1.0em 1.2em - 0pt + diff --git a/xsl/params/title.margin.left.xml b/xsl/params/title.margin.left.xml index a135b0a4b..dfd2990a8 100644 --- a/xsl/params/title.margin.left.xml +++ b/xsl/params/title.margin.left.xml @@ -12,6 +12,7 @@ + -4pc 0pt 0pt @@ -21,12 +22,25 @@ Description -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 +This parameter provides +one means of adjusting the left margin for titles. +The left margin of the body region +is calculated to include this space, +and titles are outdented to the left by this amount, +effectively leaving titles at the left margin +and the body text indented. +Currently this method is only used for FOP because +it cannot properly use the body.start.indent +parameter. +the relative + + +The default value for FOP is -4pc, which means the body text is indented 4 picas relative to the titles. +The default value for other processors is 0pt, and +the body indent is provided by the body.start.indent +parameter. If you set the value to zero, be sure to still include @@ -34,7 +48,7 @@ a unit indicator such as 0pt, or the FO processor will report errors. -This parameter is set to 0pt if the +This parameter must be set to 0pt if the passivetex.extensions parameter is nonzero because PassiveTeX cannot handle the math expression with negative values -- 2.40.0