Mercurial > hgbook
view 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 |
line wrap: on
line source
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version='1.0'> <xsl:import href="../fo.xsl"/> <xsl:param name="l10n.gentext.language" select="'zh'"/> <!-- Chinese font related settings --> <xsl:param name="body.font.master">12</xsl:param> <xsl:attribute-set name="standard.para.spacing" use-attribute-sets="normal.para.spacing"> <xsl:attribute name="text-indent">24pt</xsl:attribute> </xsl:attribute-set> <xsl:template match="abstract/para|appendix/para|chapter/para|colophon/para|legalnotice/para|preface/para|section/para|sect1/para|sect2/para"> <fo:block xsl:use-attribute-sets="standard.para.spacing"> <xsl:call-template name="anchor"/> <xsl:apply-templates/> </fo:block> </xsl:template> <xsl:template match="section/para/*"> <fo:wrapper text-indent="0pt"> <xsl:apply-imports/> </fo:wrapper> </xsl:template> </xsl:stylesheet>