aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2013-07-26 14:22:29 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2013-07-26 14:22:29 +0000
commit7b8a312b8f235e053f9046068e24d438a5e07072 (patch)
treeb4edc0714f4aab562d4e0fa302146eaab2479fc6
parent083b4858bcc14b3855ff133424dda54d81ead182 (diff)
downloaddoc-7b8a312b8f235e053f9046068e24d438a5e07072.tar.gz
doc-7b8a312b8f235e053f9046068e24d438a5e07072.zip
- Override templates to avoid using nbsp in titles
- List more fonts for body text so that symbols can be taken other fonts
Notes
Notes: svn path=/projects/db5/; revision=42447
-rw-r--r--zh_TW.Big5/share/xsl/freebsd-fo.xsl33
1 files changed, 30 insertions, 3 deletions
diff --git a/zh_TW.Big5/share/xsl/freebsd-fo.xsl b/zh_TW.Big5/share/xsl/freebsd-fo.xsl
index fddcd354ec..104ffc90c1 100644
--- a/zh_TW.Big5/share/xsl/freebsd-fo.xsl
+++ b/zh_TW.Big5/share/xsl/freebsd-fo.xsl
@@ -17,10 +17,37 @@
CHINESE-SPECIFIC PARAMETERS
-->
+ <xsl:param name="local.l10n.xml" select="document('')"/>
+
+ <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+ <l:l10n language="zh_tw">
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="附錄 %n. %t"/>
+ <l:template name="article/appendix" text="%n. %t" lang="en"/>
+ <l:template name="bridgehead" text="%t"/>
+ <l:template name="chapter" text="章 %n. %t"/>
+ <l:template name="part" text="部 %n. %t"/>
+ </l:context>
+ <l:context name="title-numbered">
+ <l:template name="appendix" text="附錄 %n. %t"/>
+ <l:template name="article/appendix" text="%n. %t" lang="en"/>
+ <l:template name="chapter" text="章 %n. %t"/>
+ <l:template name="part" text="部 %n. %t"/>
+ <l:template name="sect1" text="%n. %t"/>
+ <l:template name="sect2" text="%n. %t"/>
+ <l:template name="sect3" text="%n. %t"/>
+ <l:template name="sect4" text="%n. %t"/>
+ <l:template name="sect5" text="%n. %t"/>
+ <l:template name="section" text="%n. %t"/>
+ <l:template name="simplesect" text="%n. %t"/>
+ </l:context>
+ </l:l10n>
+ </l:i18n>
+
<!-- Base fonts -->
- <xsl:param name="body.font.family">AR PL Mingti2L Big5</xsl:param>
- <xsl:param name="sans.font.family">AR PL KaitiM Big5</xsl:param>
- <xsl:param name="title.font.family">AR PL KaitiM Big5</xsl:param>
+ <xsl:param name="body.font.family">AR PL Mingti2L Big5, Gentium Plus</xsl:param>
+ <xsl:param name="sans.font.family">AR PL KaitiM Big5, Droid Sans</xsl:param>
+ <xsl:param name="title.font.family">AR PL KaitiM Big5, Droid Sans</xsl:param>
<!-- Slightly reduce header font-size to make headers fit -->
<xsl:attribute-set name="header.content.properties">