[gimp-help-2] Fix dblatex-3.0 image path problem
- From: Ulf-D. Ehlert <ulfehlert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help-2] Fix dblatex-3.0 image path problem
- Date: Fri, 4 Jun 2010 11:36:38 +0000 (UTC)
commit f483d74c211bb6874b313d90d0febd179dada1a4
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date: Fri Jun 4 12:28:34 2010 +0200
Fix dblatex-3.0 image path problem
dblatex-3.0 uses the XSL parameter "keep.relative.image.uris" (with
default value "0") which resolves image URIs against xml:base. That is,
image paths 'fileref="images/..."' are preceded with the source file's
directory name. That's not what we need, so we have to set this
parameter to "1" to leave fileref attributes unchanged.
stylesheets/plainprint.xsl | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/stylesheets/plainprint.xsl b/stylesheets/plainprint.xsl
index a7a8804..bf786d5 100644
--- a/stylesheets/plainprint.xsl
+++ b/stylesheets/plainprint.xsl
@@ -36,6 +36,8 @@
<xsl:param name="figure.note">images/note.png</xsl:param>
<xsl:param name="figure.caution">images/caution.png</xsl:param>
+ <!-- use relative URIs (in fileref attributes) in the generated output -->
+ <xsl:param name="keep.relative.image.uris" select="1"/>
<!--
The following templates (may) override the defaults:
-->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]