docs-common/xsl main-pdf.xsl,1.3,1.4
Tommy Reynolds (jtr)
fedora-docs-commits at redhat.com
Mon Mar 13 03:08:39 UTC 2006
Author: jtr
Update of /cvs/docs/docs-common/xsl
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5135/xsl
Modified Files:
main-pdf.xsl
Log Message:
Compute, pass, and use the absolute path to the callout images.
Index: main-pdf.xsl
===================================================================
RCS file: /cvs/docs/docs-common/xsl/main-pdf.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- main-pdf.xsl 18 Oct 2005 20:09:42 -0000 1.3
+++ main-pdf.xsl 13 Mar 2006 03:08:20 -0000 1.4
@@ -1,24 +1,23 @@
-<!-- created by Tammy Fox tfox at redhat.com for the Fedora Project -->
-<!-- License: GPL -->
-<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. -->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version='1.0'
- xmlns="http://www.w3.org/TR/xhtml1/transitional"
- exclude-result-prefixes="#default">
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+>
-<xsl:import href="redhat.xsl"/>
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl"/>
<xsl:param name="use.extensions" select="0"/>
<xsl:param name="tablecolumns.extensions" select="0"/>
-<xsl:param name="generate.toc">
-article toc
-</xsl:param>
+<xsl:param name="generate.toc">article toc</xsl:param>
<xsl:param name="toc.section.depth">3</xsl:param>
<xsl:param name="section.autolabel" select="1"/>
-<xsl:param name="callout.graphics.path">./stylesheet-images/</xsl:param>
+<xsl:param name="FDPDIR">..</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/' )"/>
+</xsl:param>
</xsl:stylesheet>
More information about the docs-commits
mailing list