1148
|
1 <?xml version="1.0"?>
|
|
2 <!--
|
|
3 This is an example of an xmlto stylesheet module to be use when generating PDF
|
|
4 you call it with xmtto pdf -m article.xsl articles.docbook
|
|
5 I don't think it works
|
|
6 -->
|
|
7 <xsl:stylesheet xsl:version='1.0'
|
|
8 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
9 xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
|
10
|
|
11 <xsl:template match="articleinfo/title">
|
|
12 <fo:block font-family="sans-serif" color="blue"
|
|
13 font-weight="bold" font-size="18pt"
|
|
14 space-after="0.5em">
|
|
15 <xsl:number level="multiple" count="chapter"/>
|
|
16 <xsl:text> </xsl:text>
|
|
17 <xsl:apply-templates/>
|
|
18 </fo:block>
|
|
19 </xsl:template>
|
|
20 </xsl:stylesheet>
|
|
21
|