Author: sjur
Date: Thu Jul  3 02:15:48 2008
New Revision: 673630

URL: http://svn.apache.org/viewvc?rev=673630&view=rev
Log:
The font-family params defined in document-to-fo.xsl were NOT available to this 
stylesheet, even though it is included after the param definitions.

I have thus added the param definitions here as well, to make the pdf 
generation in Dispatcher work again, but this is really a cludge that goes 
against the idea of putting the font-family specifications into 
params/variables instead of as hard-coded strings.

Anyway, pdf generation in Dispatcher is working again.

Modified:
    
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl

Modified: 
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl
URL: 
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl?rev=673630&r1=673629&r2=673630&view=diff
==============================================================================
--- 
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl
 (original)
+++ 
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl
 Thu Jul  3 02:15:48 2008
@@ -18,6 +18,17 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
   xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0">
 
+<!-- Font-family variables defined here: -->
+  <xsl:param
+        name="sans-serif"
+        select="'sans-serif'" />
+  <xsl:param
+        name="serif"
+        select="'serif'" />
+  <xsl:param
+        name="monospace"
+        select="'monospace'" />
+
   <xsl:include href="lm://transform.xml.pathutils"/>
 
   <xsl:template match="anchor">