docs-common/xsl main-pdf.xsl,1.5,1.6

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Mon Mar 12 00:08:43 UTC 2007


Author: pfrields

Update of /cvs/docs/docs-common/xsl
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12620/xsl

Modified Files:
	main-pdf.xsl 
Log Message:
Use new rule to locate docs-common and rely on this for most building, instead of a possibly nonexistent FDPDIR.  This should make a module inclusion or a full repository checkout equally workable.


Index: main-pdf.xsl
===================================================================
RCS file: /cvs/docs/docs-common/xsl/main-pdf.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- main-pdf.xsl	13 Mar 2006 21:46:58 -0000	1.5
+++ main-pdf.xsl	12 Mar 2007 00:08:35 -0000	1.6
@@ -15,17 +15,17 @@
 <xsl:param name="section.autolabel" select="1"/>
 <xsl:param name="fop.extensions" select="0"/>
 
-<xsl:param name="FDPDIR">..</xsl:param>
+<xsl:param name="FDPCOMMONDIR">docs-common</xsl:param>
 
 <!-- THIS MUST BE AN ABSOLUTE PATH OR URL; PDF GETS BUILT IN A TMPDIR  -->
 <xsl:param name="callout.graphics.path">
   <xsl:value-of
-    select="concat( $FDPDIR, '/docs-common/stylesheet-images/' )"/>
+    select="concat( $FDPCOMMONDIR, '/stylesheet-images/' )"/>
 </xsl:param>
 
 <xsl:param name="admon.graphics.path">
   <xsl:value-of
-    select="concat( $FDPDIR, '/docs-common/stylesheet-images/' )"/>
+    select="concat( $FDPCOMMONDIR, '/stylesheet-images/' )"/>
 </xsl:param>
 
 <!-- FIXME -->
@@ -57,7 +57,7 @@
       <xsl:attribute name="margin-right">0in</xsl:attribute>
       <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
       <xsl:attribute name="background-image">
-        <xsl:value-of select="concat( $FDPDIR, '/docs-common/stylesheet-images/titlepage.png' )"/>
+        <xsl:value-of select="concat( $FDPCOMMONDIR, '/stylesheet-images/titlepage.png' )"/>
       </xsl:attribute>
     </xsl:element>
     <fo:region-before extent="0pt" display-align="after" region-name="xsl-region-before-first"/>




More information about the Fedora-docs-commits mailing list