aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2013-07-22 10:39:06 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2013-07-22 10:39:06 +0000
commitbb135e40e01537b16f59370242d611d142751f6b (patch)
tree1d2774f7f974862ddd305deb86d9c20638d294f0
parent01d03772d70a057360faae870acd25318bc7d7f9 (diff)
downloaddoc-bb135e40e01537b16f59370242d611d142751f6b.tar.gz
doc-bb135e40e01537b16f59370242d611d142751f6b.zip
- Better sort entries
Notes
Notes: svn path=/projects/db5/; revision=42372
-rw-r--r--share/xsl/freebsd-fo.xsl70
1 files changed, 30 insertions, 40 deletions
diff --git a/share/xsl/freebsd-fo.xsl b/share/xsl/freebsd-fo.xsl
index 1619ef8200..077747b3b9 100644
--- a/share/xsl/freebsd-fo.xsl
+++ b/share/xsl/freebsd-fo.xsl
@@ -155,6 +155,36 @@
<xsl:attribute name="space-before">12pt</xsl:attribute>
</xsl:attribute-set>
+ <xsl:attribute-set name="abstract.title.properties">
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.master * 2.0736"></xsl:value-of>
+ <xsl:text>pt</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute name="text-align">left</xsl:attribute>
+ </xsl:attribute-set>
+
+ <xsl:attribute-set name="abstract.properties">
+ <xsl:attribute name="margin-left">0</xsl:attribute>
+ <xsl:attribute name="margin-right">0</xsl:attribute>
+ <xsl:attribute name="padding-left">0</xsl:attribute>
+ <xsl:attribute name="padding-right">0</xsl:attribute>
+ </xsl:attribute-set>
+
+<xsl:attribute-set name="toc.margin.properties">
+ <xsl:attribute name="margin-left">
+ <xsl:value-of select="'0'"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-right">
+ <xsl:value-of select="'0'"/>
+ </xsl:attribute>
+ <xsl:attribute name="padding-left">
+ <xsl:value-of select="'0'"/>
+ </xsl:attribute>
+ <xsl:attribute name="padding-right">
+ <xsl:value-of select="'0'"/>
+ </xsl:attribute>
+</xsl:attribute-set>
+
<xsl:attribute-set name="monospace.properties">
<xsl:attribute name="font-family">
<xsl:value-of select="$monospace.font.family"></xsl:value-of>
@@ -363,46 +393,6 @@
</fo:basic-link>
</xsl:template>
-<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"/>
-
-<xsl:attribute-set name="abstract.title.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 2.0736"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="text-align">left</xsl:attribute>
-</xsl:attribute-set>
-
-<xsl:attribute-set name="abstract.properties">
- <xsl:attribute name="margin-left">0</xsl:attribute>
- <xsl:attribute name="margin-right">0</xsl:attribute>
- <xsl:attribute name="padding-left">0</xsl:attribute>
- <xsl:attribute name="padding-right">0</xsl:attribute>
-</xsl:attribute-set>
-
-<xsl:attribute-set name="toc.margin.properties">
- <xsl:attribute name="margin-left">
- <xsl:value-of select="'0'"/>
- </xsl:attribute>
- <xsl:attribute name="margin-right">
- <xsl:value-of select="'0'"/>
- </xsl:attribute>
- <xsl:attribute name="padding-left">
- <xsl:value-of select="'0'"/>
- </xsl:attribute>
- <xsl:attribute name="padding-right">
- <xsl:value-of select="'0'"/>
- </xsl:attribute>
-</xsl:attribute-set>
-
-<!--
-<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode">
- <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" text-align="start" font-family="{$body.fontset}">
- <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
- </fo:block>
-</xsl:template>
--->
-
<xsl:template match="db:abstract" mode="article.titlepage.recto.auto.mode">
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>