diff options
Diffstat (limited to 'xsl/main-pdf.xsl')
-rw-r--r-- | xsl/main-pdf.xsl | 25 |
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> |