Author: sjur
Date: Sun Aug 17 23:35:38 2008
New Revision: 686682
URL: http://svn.apache.org/viewvc?rev=686682&view=rev
Log:
Replaced xsl:variable with xsl:param for the font specifications, to allow the
value to be specified by external arguments.
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl?rev=686682&r1=686681&r2=686682&view=diff
==============================================================================
---
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
(original)
+++
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
Sun Aug 17 23:35:38 2008
@@ -99,13 +99,13 @@
name="numbering-max-depth"
select="'3'" />
<!-- Font-family variables defined here: -->
- <xsl:variable
+ <xsl:param
name="sans-serif"
select="'sans-serif'" />
- <xsl:variable
+ <xsl:param
name="serif"
select="'serif'" />
- <xsl:variable
+ <xsl:param
name="monospace"
select="'monospace'" />
<xsl:param