view docs/stylesheets/article.xsl @ 3095:900100ea305c

Start on next version changelog entry
author Tormod Volden <debian.tormod@gmail.com>
date Tue, 22 Dec 2015 21:43:23 +0100
parents bc28c3bc3769
children
line wrap: on
line source

<?xml version="1.0"?>
<!--
  This is an example of an xmlto stylesheet module to be use when generating PDF
  you call it with xmtto pdf -m article.xsl articles.docbook
  I don't think it works
-->
<xsl:stylesheet xsl:version='1.0'
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:fo="http://www.w3.org/1999/XSL/Format">

<xsl:template match="articleinfo/title">
  <fo:block font-family="sans-serif" color="blue"
         font-weight="bold" font-size="18pt"
         space-after="0.5em">
    <xsl:number level="multiple" count="chapter"/>
    <xsl:text> </xsl:text>
    <xsl:apply-templates/>
  </fo:block>
</xsl:template>
</xsl:stylesheet>