You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by sj...@apache.org on 2008/07/03 16:08:05 UTC

svn commit: r673684 - in /forrest/trunk: plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft

Author: sjur
Date: Thu Jul  3 07:08:05 2008
New Revision: 673684

URL: http://svn.apache.org/viewvc?rev=673684&view=rev
Log:
Moved font-family specifications to where they belong for dispatcher.

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft

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=673684&r1=673683&r2=673684&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 07:08:05 2008
@@ -18,17 +18,6 @@
 <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">

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft?rev=673684&r1=673683&r2=673684&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft Thu Jul  3 07:08:05 2008
@@ -81,6 +81,10 @@
         select="$config/show-external-urls"/>
       <!-- Section depth at which we stop numbering and just indent -->
       <xsl:param name="numbering-max-depth" select="'3'"/>
+      <!-- Font-family variables defined here: -->
+      <xsl:variable name="sans-serif" select="'sans-serif'" />
+      <xsl:variable name="serif" select="'serif'" />
+      <xsl:variable name="monospace" select="'monospace'" />
       <xsl:param name="imagesdir" select="$defaultVariables/*/*[@name='resources.images']/@value"/>
       <xsl:param name="xmlbasedir" select="$defaultVariables/*/*[@name='content.xdocs']/@value"/>
       <xsl:variable name="background-color"