Update of /cvsroot/refdb/refdb/xsl/refdb/tei-refdb-xsl/tei-fo
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4886/xsl/refdb/tei-refdb-xsl/tei-fo
Modified Files:
Tag: Release_0_9_5_stable
tei-refdb-fo.xsl.in
Log Message:
added support for biblio styling
Index: tei-refdb-fo.xsl.in
===================================================================
RCS file: /cvsroot/refdb/refdb/xsl/refdb/tei-refdb-xsl/tei-fo/tei-refdb-fo.xsl.in,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -U2 -r1.2 -r1.2.2.1
--- tei-refdb-fo.xsl.in 19 Mar 2004 23:23:12 -0000 1.2
+++ tei-refdb-fo.xsl.in 12 Sep 2004 21:11:31 -0000 1.2.2.1
@@ -22,4 +22,11 @@
<xsl:import href="../tei-lib/tei-refdblib.xsl"/>
+<!-- attribute sets for later use -->
+<xsl:attribute-set name="normal.para.spacing">
+ <xsl:attribute name="text-indent">-<xsl:value-of select="$indentBibl"/></xsl:attribute>
+ <xsl:attribute name="start-indent"><xsl:value-of select="$indentBibl"/></xsl:attribute>
+</xsl:attribute-set>
+
+
<xsl:template match="listBibl[@rend='refdb']">
<xsl:choose>
@@ -44,5 +51,5 @@
function as a link target -->
<xsl:template match="bibl">
- <fo:block>
+ <fo:block xsl:use-attribute-sets="refdb.bibliomset">
<xsl:call-template name="addID"/>
<xsl:attribute name="space-before.optimum">
@@ -50,7 +57,5 @@
<xsl:attribute name="space-after.optimum">
<xsl:value-of select="$spaceAfterBibl"/></xsl:attribute>
- <xsl:attribute name="text-indent">-<xsl:value-of select="$indentBibl"/>
</xsl:attribute>
- <xsl:attribute name="start-indent"><xsl:value-of select="$indentBibl"/>
</xsl:attribute>
<xsl:choose>
|