about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-14T00·22+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-14T00·23+0100
commiteb53f592b897fc9137df6f2b1087c2808cd9cacd (patch)
treeb6c96df8ec31a5ea07a523c1d868bd8bc0f89508
parent9c830394ecb42870c58603d7b4d9f620649ad969 (diff)
Fix image in PDF
Closes #415.
-rw-r--r--doc/manual/local.mk3
-rw-r--r--doc/manual/packages/profiles.xml2
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/manual/local.mk b/doc/manual/local.mk
index 8511e83599cd..6f0873893b52 100644
--- a/doc/manual/local.mk
+++ b/doc/manual/local.mk
@@ -7,7 +7,8 @@ XSLTPROC = $(xsltproc) --nonet $(xmlflags) \
   --param admon.style \'\' \
   --param callout.graphics.extension \'.gif\' \
   --param contrib.inline.enabled 0 \
-  --stringparam generate.toc "book toc"
+  --stringparam generate.toc "book toc" \
+  --param keep.relative.image.uris 0
 
 docbookxsl = http://docbook.sourceforge.net/release/xsl-ns/1.78.1
 docbookrng = http://docbook.org/xml/5.0/rng/docbook.rng
diff --git a/doc/manual/packages/profiles.xml b/doc/manual/packages/profiles.xml
index 932e58302ace..60660056fb8e 100644
--- a/doc/manual/packages/profiles.xml
+++ b/doc/manual/packages/profiles.xml
@@ -30,7 +30,7 @@ store.</para>
 <figure xml:id='fig-user-environments'><title>User environments</title>
   <mediaobject>
     <imageobject>
-      <imagedata fileref='figures/user-environments.png' format='PNG' />
+      <imagedata fileref='../figures/user-environments.png' format='PNG' />
     </imageobject>
   </mediaobject>
 </figure>