svn commit: r42447 - projects/db5/zh_TW.Big5/share/xsl
Gabor Kovesdan
gabor at FreeBSD.org
Fri Jul 26 14:22:30 UTC 2013
Author: gabor
Date: Fri Jul 26 14:22:29 2013
New Revision: 42447
URL: http://svnweb.freebsd.org/changeset/doc/42447
Log:
- Override templates to avoid using nbsp in titles
- List more fonts for body text so that symbols can be taken other fonts
Modified:
projects/db5/zh_TW.Big5/share/xsl/freebsd-fo.xsl
Modified: projects/db5/zh_TW.Big5/share/xsl/freebsd-fo.xsl
==============================================================================
--- projects/db5/zh_TW.Big5/share/xsl/freebsd-fo.xsl Fri Jul 26 13:52:07 2013 (r42446)
+++ projects/db5/zh_TW.Big5/share/xsl/freebsd-fo.xsl Fri Jul 26 14:22:29 2013 (r42447)
@@ -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">
More information about the svn-doc-projects
mailing list