comparison stylesheets/zh/fo.xsl @ 728:bae6d1503482

Rename xsl to stylesheets
author Dongsheng Song <dongsheng.song@gmail.com>
date Thu, 12 Mar 2009 17:11:59 +0800
parents xsl/zh/fo.xsl@3c5e1c03cc3e
children
comparison
equal deleted inserted replaced
727:0e3d8f66bbb7 728:bae6d1503482
1 <?xml version="1.0"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4 version='1.0'>
5
6 <xsl:import href="../fo.xsl"/>
7
8 <xsl:param name="l10n.gentext.language" select="'zh'"/>
9
10 <!-- Chinese font related settings -->
11 <xsl:param name="body.font.master">12</xsl:param>
12
13 <xsl:attribute-set name="standard.para.spacing" use-attribute-sets="normal.para.spacing">
14 <xsl:attribute name="text-indent">24pt</xsl:attribute>
15 </xsl:attribute-set>
16
17 <xsl:template match="abstract/para|appendix/para|chapter/para|colophon/para|legalnotice/para|preface/para|section/para|sect1/para|sect2/para">
18 <fo:block xsl:use-attribute-sets="standard.para.spacing">
19 <xsl:call-template name="anchor"/>
20 <xsl:apply-templates/>
21 </fo:block>
22 </xsl:template>
23
24 <xsl:template match="section/para/*">
25 <fo:wrapper text-indent="0pt">
26 <xsl:apply-imports/>
27 </fo:wrapper>
28 </xsl:template>
29
30 </xsl:stylesheet>