Whitespace-only fixes.

This commit is contained in:
Warren Block 2016-02-27 19:48:58 +00:00
parent 1ed8c4b195
commit 58cc04df6c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48284

View file

@ -4,9 +4,9 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:db="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook"
exclude-result-prefixes="db" exclude-result-prefixes="db"
version="1.0"> version="1.0">
<!-- Pull in the base stylesheets --> <!-- Pull in the base stylesheets -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/docbook.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/docbook.xsl"/>
@ -95,7 +95,7 @@
<xsl:param name="default.image.width">300px</xsl:param> <xsl:param name="default.image.width">300px</xsl:param>
<xsl:template name="image.scalefit">1</xsl:template> <xsl:template name="image.scalefit">1</xsl:template>
<!-- Hyphenation --> <!-- Hyphenation -->
<xsl:param name="hyphenate">true</xsl:param> <xsl:param name="hyphenate">true</xsl:param>
<xsl:param name="hyphenate.verbatim" select="1"/> <xsl:param name="hyphenate.verbatim" select="1"/>
<xsl:param name="hyphenate.verbatim.characters"> </xsl:param> <xsl:param name="hyphenate.verbatim.characters"> </xsl:param>
@ -123,7 +123,7 @@
<xsl:attribute name="space-before">6pt</xsl:attribute> <xsl:attribute name="space-before">6pt</xsl:attribute>
<xsl:attribute name="space-after">36pt</xsl:attribute> <xsl:attribute name="space-after">36pt</xsl:attribute>
</xsl:attribute-set> </xsl:attribute-set>
<xsl:attribute-set name="section.title.level1.properties"> <xsl:attribute-set name="section.title.level1.properties">
<xsl:attribute name="font-size">14pt</xsl:attribute> <xsl:attribute name="font-size">14pt</xsl:attribute>
<xsl:attribute name="space-before">24pt</xsl:attribute> <xsl:attribute name="space-before">24pt</xsl:attribute>
@ -135,13 +135,13 @@
<xsl:attribute name="space-before">12pt</xsl:attribute> <xsl:attribute name="space-before">12pt</xsl:attribute>
<xsl:attribute name="space-after">6pt</xsl:attribute> <xsl:attribute name="space-after">6pt</xsl:attribute>
</xsl:attribute-set> </xsl:attribute-set>
<xsl:attribute-set name="section.title.level3.properties"> <xsl:attribute-set name="section.title.level3.properties">
<xsl:attribute name="font-size">10pt</xsl:attribute> <xsl:attribute name="font-size">10pt</xsl:attribute>
<xsl:attribute name="space-before">6pt</xsl:attribute> <xsl:attribute name="space-before">6pt</xsl:attribute>
<xsl:attribute name="space-after">3pt</xsl:attribute> <xsl:attribute name="space-after">3pt</xsl:attribute>
</xsl:attribute-set> </xsl:attribute-set>
<xsl:attribute-set name="section.title.properties"> <xsl:attribute-set name="section.title.properties">
<xsl:attribute name="font-family"> <xsl:attribute name="font-family">
<xsl:value-of select="$title.fontset"></xsl:value-of> <xsl:value-of select="$title.fontset"></xsl:value-of>
@ -151,7 +151,7 @@
<xsl:attribute name="text-align">start</xsl:attribute> <xsl:attribute name="text-align">start</xsl:attribute>
<xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute> <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute>
</xsl:attribute-set> </xsl:attribute-set>
<xsl:attribute-set name="section.properties"> <xsl:attribute-set name="section.properties">
<xsl:attribute name="font-size">9.5pt</xsl:attribute> <xsl:attribute name="font-size">9.5pt</xsl:attribute>
<xsl:attribute name="line-height">12pt</xsl:attribute> <xsl:attribute name="line-height">12pt</xsl:attribute>
@ -263,12 +263,12 @@
<xsl:attribute-set name="list.item.spacing"> <xsl:attribute-set name="list.item.spacing">
<xsl:attribute name="space-before">6pt</xsl:attribute> <xsl:attribute name="space-before">6pt</xsl:attribute>
</xsl:attribute-set> </xsl:attribute-set>
<xsl:attribute-set name="list.block.spacing"> <xsl:attribute-set name="list.block.spacing">
<xsl:attribute name="space-before">6pt</xsl:attribute> <xsl:attribute name="space-before">6pt</xsl:attribute>
<xsl:attribute name="space-after">6pt</xsl:attribute> <xsl:attribute name="space-after">6pt</xsl:attribute>
</xsl:attribute-set> </xsl:attribute-set>
<xsl:attribute-set name="list.block.properties"> <xsl:attribute-set name="list.block.properties">
<xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute> <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute>
<xsl:attribute name="provisional-distance-between-starts">1.5em</xsl:attribute> <xsl:attribute name="provisional-distance-between-starts">1.5em</xsl:attribute>
@ -354,12 +354,12 @@
<xsl:choose> <xsl:choose>
<xsl:when test="$placement = 'before' and local-name($object) != 'example'"> <xsl:when test="$placement = 'before' and local-name($object) != 'example'">
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
<xsl:attribute name="space-before.minimum">12pt</xsl:attribute> <xsl:attribute name="space-before.minimum">12pt</xsl:attribute>
<xsl:attribute name="space-before.optimum">12pt</xsl:attribute> <xsl:attribute name="space-before.optimum">12pt</xsl:attribute>
<xsl:attribute name="space-before.maximum">12pt</xsl:attribute> <xsl:attribute name="space-before.maximum">12pt</xsl:attribute>
<xsl:attribute name="space-after.minimum">0</xsl:attribute> <xsl:attribute name="space-after.minimum">0</xsl:attribute>
<xsl:attribute name="space-after.optimum">0</xsl:attribute> <xsl:attribute name="space-after.optimum">0</xsl:attribute>
<xsl:attribute name="space-after.maximum">0</xsl:attribute> <xsl:attribute name="space-after.maximum">0</xsl:attribute>
</xsl:when> </xsl:when>
<xsl:when test="$placement = 'after'"> <xsl:when test="$placement = 'after'">
@ -405,7 +405,7 @@
<fo:basic-link external-destination="url({$xhref})"> <fo:basic-link external-destination="url({$xhref})">
<fo:inline color="{$link.color}"> <fo:inline color="{$link.color}">
<xsl:apply-templates/> <xsl:apply-templates/>
</fo:inline> </fo:inline>
</fo:basic-link> </fo:basic-link>
</xsl:template> </xsl:template>
@ -438,7 +438,7 @@
<xsl:when test="$pageclass = 'back' and $sequence='even' and $position='right' "> <xsl:when test="$pageclass = 'back' and $sequence='even' and $position='right' ">
<xsl:apply-templates select="." mode="object.title.markup"/> <xsl:apply-templates select="." mode="object.title.markup"/>
</xsl:when> </xsl:when>
<xsl:when test="$pageclass = 'index' and $sequence='odd' and $position='left' "> <xsl:when test="$pageclass = 'index' and $sequence='odd' and $position='left' ">
<xsl:call-template name="gentext"> <xsl:call-template name="gentext">
<xsl:with-param name="key" select="$gentext-key"/> <xsl:with-param name="key" select="$gentext-key"/>
@ -450,20 +450,20 @@
<xsl:with-param name="key" select="$gentext-key"/> <xsl:with-param name="key" select="$gentext-key"/>
</xsl:call-template> </xsl:call-template>
</xsl:when> </xsl:when>
<xsl:when test="$sequence='odd' and $position='left'"> <xsl:when test="$sequence='odd' and $position='left'">
<xsl:if test="$pageclass != 'titlepage'"> <xsl:if test="$pageclass != 'titlepage'">
<xsl:apply-templates select="." mode="object.title.markup"/> <xsl:apply-templates select="." mode="object.title.markup"/>
</xsl:if> </xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="$sequence='even' and $position='right'"> <xsl:when test="$sequence='even' and $position='right'">
<xsl:if test="$pageclass != 'titlepage'"> <xsl:if test="$pageclass != 'titlepage'">
<fo:retrieve-marker <fo:retrieve-marker
retrieve-class-name="section.head.marker" retrieve-class-name="section.head.marker"
retrieve-position="first-including-carryover" retrieve-position="first-including-carryover"
retrieve-boundary="page-sequence"/> retrieve-boundary="page-sequence"/>
</xsl:if> </xsl:if>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>
</fo:block> </fo:block>
@ -481,7 +481,7 @@
<xsl:when test="$sequence = 'odd' and $position='right'"> <xsl:when test="$sequence = 'odd' and $position='right'">
<fo:page-number/> <fo:page-number/>
</xsl:when> </xsl:when>
<xsl:when test="$sequence = 'even' and $position='left'"> <xsl:when test="$sequence = 'even' and $position='left'">
<fo:page-number/> <fo:page-number/>
</xsl:when> </xsl:when>
@ -575,7 +575,7 @@
<fo:basic-link external-destination="url({$href})"> <fo:basic-link external-destination="url({$href})">
<fo:inline color="blue"> <fo:inline color="blue">
<xsl:value-of select="$rev"/> <xsl:value-of select="$rev"/>
</fo:inline> </fo:inline>
</fo:basic-link> </fo:basic-link>
</xsl:template> </xsl:template>