summaryrefslogtreecommitdiff
path: root/docbook-xsl-marginleft.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:39:52 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:39:52 +0000
commit4d4512e6c85da2a469e8bac803d9091c21eda7e4 (patch)
tree32d2c356c8fca3ddda4b9ac5db4eba46d32c7504 /docbook-xsl-marginleft.patch
parentbaf0cacf0a22fdd51579e20f6bd95c5538a39532 (diff)
automatic import of docbook-style-xslopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'docbook-xsl-marginleft.patch')
-rw-r--r--docbook-xsl-marginleft.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/docbook-xsl-marginleft.patch b/docbook-xsl-marginleft.patch
new file mode 100644
index 0000000..cb8d121
--- /dev/null
+++ b/docbook-xsl-marginleft.patch
@@ -0,0 +1,53 @@
+diff -urNp docbook-xsl-1.78.0-orig/fo/lists.xsl docbook-xsl-1.78.0/fo/lists.xsl
+--- docbook-xsl-1.78.0-orig/fo/lists.xsl 2012-12-20 11:45:07.870679175 +0100
++++ docbook-xsl-1.78.0/fo/lists.xsl 2012-12-20 11:55:31.440307881 +0100
+@@ -376,7 +376,7 @@
+ </xsl:when>
+ <xsl:when test="@termlength">
+ <xsl:variable name="termlength.is.number">
+- <xsl:value-of select="@termlength + 0"/>
++ <xsl:value-of select="@termlength"/>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="string($termlength.is.number) = 'NaN'">
+@@ -385,7 +385,7 @@
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@termlength"/>
+- <xsl:text>em * 0.60</xsl:text>
++ <xsl:text>em</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+@@ -394,7 +394,7 @@
+ <xsl:with-param name="terms" select="varlistentry/term"/>
+ <xsl:with-param name="maxlength" select="$variablelist.max.termlength"/>
+ </xsl:call-template>
+- <xsl:text>em * 0.60</xsl:text>
++ <xsl:text>em</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+@@ -409,8 +409,6 @@
+ <xsl:variable name="label-separation">1em</xsl:variable>
+ <xsl:variable name="distance-between-starts">
+ <xsl:value-of select="$termlength"/>
+- <xsl:text>+</xsl:text>
+- <xsl:value-of select="$label-separation"/>
+ </xsl:variable>
+
+ <xsl:if test="title">
+diff -ruNp docbook-xsl-1.74.0.orig/fo/param.xsl docbook-xsl-1.74.0/fo/param.xsl
+--- docbook-xsl-1.74.0.orig/fo/param.xsl 2008-06-02 01:06:18.000000000 +0200
++++ docbook-xsl-1.74.0/fo/param.xsl 2008-08-06 13:32:46.000000000 +0200
+@@ -133,8 +133,8 @@
+ <xsl:attribute-set name="component.title.properties">
+ <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+ <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
+- <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>
+- <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>
++ <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master*0.8, 'pt')"/></xsl:attribute>
++ <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master*1.2, 'pt')"/></xsl:attribute>
+ <xsl:attribute name="hyphenate">false</xsl:attribute>
+ <xsl:attribute name="text-align">
+ <xsl:choose>