summaryrefslogtreecommitdiffstats
path: root/xsl
diff options
context:
space:
mode:
authorTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-03-13 03:08:12 +0000
committerTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-03-13 03:08:12 +0000
commitee323cdfd9fe11d0e168333559e622566e9c98c7 (patch)
tree553763f413296db5189eea18bf8d0a200ad25e0b /xsl
parentd3962c78a295d9814152e2dc6d7bd1a3268e1357 (diff)
downloadfedora-doc-utils-ee323cdfd9fe11d0e168333559e622566e9c98c7.tar.gz
fedora-doc-utils-ee323cdfd9fe11d0e168333559e622566e9c98c7.tar.xz
fedora-doc-utils-ee323cdfd9fe11d0e168333559e622566e9c98c7.zip
Compute, pass, and use the absolute path to the callout images.
Diffstat (limited to 'xsl')
-rw-r--r--xsl/main-pdf.xsl25
1 files changed, 12 insertions, 13 deletions
diff --git a/xsl/main-pdf.xsl b/xsl/main-pdf.xsl
index 62b1160..8c66a38 100644
--- a/xsl/main-pdf.xsl
+++ b/xsl/main-pdf.xsl
@@ -1,24 +1,23 @@
-<!-- created by Tammy Fox tfox@redhat.com for the Fedora Project -->
-<!-- License: GPL -->
-<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. -->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+>
-<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: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>