- Add FO titlepage customization

This commit is contained in:
Gabor Kovesdan 2013-07-21 11:20:40 +00:00
parent 879f8d35d2
commit 37bf12cd76
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/projects/db5/; revision=42342
3 changed files with 6596 additions and 1 deletions

1455
share/xsl/fo.titlepage.xml Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -12,7 +12,10 @@
<xsl:import href="/usr/local/share/xsl/docbook-ns/fo/docbook.xsl"/>
<!-- Include the common customizations -->
<xsl:include href="freebsd-common.xsl"/>
<xsl:import href="freebsd-common.xsl"/>
<!-- Include customized FO titlepage -->
<xsl:import href="freebsd-fo-titlepage.xsl"/>
<!--
FO-SPECIFIC PARAMETER SETTINGS
@ -454,4 +457,36 @@
<fo:inline id="{$id}">&#x200b;</fo:inline>
</xsl:template>
<!--
TITLEPAGE TEMPLATES
-->
<xsl:template name="svnref.genlink">
<xsl:param name="rev" select="."/>
<xsl:param name="repo" select="'base'"/>
<xsl:variable name="href">
<xsl:call-template name="svnweb.link">
<xsl:with-param name="repo" select="$repo"/>
<xsl:with-param name="rev" select="$rev"/>
</xsl:call-template>
</xsl:variable>
<fo:basic-link external-destination="url({$href})">
<fo:inline color="blue">
<xsl:value-of select="$rev"/>
</fo:inline>
</fo:basic-link>
</xsl:template>
<xsl:template name="chapter.authorgroup">
<fo:inline font-style="italic">
<xsl:call-template name="freebsd.authorgroup"/>
</fo:inline>
</xsl:template>
<xsl:template name="chapter.author">
<fo:inline font-style="italic">
<xsl:call-template name="freebsd.author"/>
</fo:inline>
</xsl:template>
</xsl:stylesheet>