Needed files for examples.
[docutils/kirr.git] / sandbox / docbook / examples / glossary1 / docbook_fo.xsl
blob78d8df9b0e392a5bcc30cc2ac5789acae29b7595
1 <xsl:stylesheet
2 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4 xmlns:d="http://docbook.org/ns/docbook"
5 version="1.1">
7 <xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/docbook.xsl"/>
8 <xsl:param name="glosslist.as.blocks">1</xsl:param>
10 <xsl:param name="glossterm.width">1in</xsl:param> <!--separation between term and def-->
11 <xsl:param name="glossterm.separation">1cm</xsl:param><!--vertical distance-->
14 <xsl:attribute-set name="glossterm.list.properties">
15 <xsl:attribute name="font-weight">bold</xsl:attribute>
16 </xsl:attribute-set>
18 <xsl:attribute-set name="glossentry.list.item.properties">
19 <xsl:attribute name="space-before.optimum">1in</xsl:attribute>
20 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
21 <xsl:attribute name="space-before.maximum">1.2in</xsl:attribute>
22 </xsl:attribute-set>
24 <!--for blocks-->
25 <xsl:attribute-set name="glossdef.block.properties">
26 <xsl:attribute name="space-after" >1in</xsl:attribute>
27 </xsl:attribute-set>
30 <!--for blocks-->
31 <xsl:attribute-set name="glossterm.block.properties">
32 <xsl:attribute name="font-weight">bold</xsl:attribute>
33 <xsl:attribute name="space-after">5mm</xsl:attribute>
34 </xsl:attribute-set>
37 <xsl:param name="local.l10n.xml" select="document('')"/>
38 <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
39 <l:l10n language="en">
40 <l:gentext key="glossary" text="Glossary Title"/>
41 </l:l10n>
42 </l:i18n>
45 </xsl:stylesheet>