Update of /cvsroot/refdb/refdb/xsl/refdb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13896/xsl/refdb
Modified Files:
Tag: Release_0_9_5_stable
makecss.xsl
Log Message:
fixed font-size-adjust
Index: makecss.xsl
===================================================================
RCS file: /cvsroot/refdb/refdb/xsl/refdb/Attic/makecss.xsl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -U2 -r1.1.2.1 -r1.1.2.2
--- makecss.xsl 8 Sep 2004 20:11:09 -0000 1.1.2.1
+++ makecss.xsl 9 Sep 2004 21:32:05 -0000 1.1.2.2
@@ -16,21 +16,13 @@
<xsl:template match="xsl:attribute[@name='text-indent']">
-div.bibliomixed {text-indent <xsl:value-of select="."/>};
+div.bibliomixed {text-indent: <xsl:value-of select="."/>};
</xsl:template>
<xsl:template match="xsl:attribute[@name='font-size']">
- <!-- the font size may be given as an absolute value, carrying a
- unit like "pt", or as a relative value without a unit. The former
- is represented in css using "font-size", the latter using
- "font-size-adjust" -->
- <xsl:variable name="attval"><xsl:value-of select='.'/></xsl:variable>
- <xsl:choose>
- <xsl:when test="number($attval)">
-div.bibliomixed {font-size-adjust <xsl:value-of select="."/>};
- </xsl:when>
- <xsl:otherwise>
-div.bibliomixed {font-size <xsl:value-of select="."/>};
- </xsl:otherwise>
- </xsl:choose>
+div.bibliomixed {font-size: <xsl:value-of select="."/>};
+ </xsl:template>
+
+ <xsl:template match="xsl:attribute[@name='font-size-adjust']">
+div.bibliomixed {font-size-adjust: <xsl:value-of select="."/>};
</xsl:template>
|