Re: [docbook-apps] Image location

2011-10-01 Thread Lars Vogel
Hello Markus and Dean, thanks for your replies. Based on your feedback I was able to find my issue. It seems that the path is relative to the Apache Ant build.xml I'm using and to the .fo file which is processed by the build.xml file. If I put the graphics relativ to the build.xml (which I keep

Re: [docbook-apps] Image location

2011-10-01 Thread Tom Browder
On Sat, Oct 1, 2011 at 05:33, Lars Vogel lars.vo...@googlemail.com wrote: ... If I put the graphics relativ to the build.xml (which I keep separated from the content) everything works. The Ant File I'm currently using is: --- target name=build-pdf depends=clean, copybookimage,  

Re: [docbook-apps] Image location

2011-10-01 Thread Lars Vogel
Hi Tom, I would prefer if the path could just be relative to the .fo file. Introducing a xml catalog and a new re-write rule seems unnecessary complex. I could fix it within my ant tasks copying the images into the build project but this doesn't not seem like a solid solution to me. Best

Re: [docbook-apps] Image location

2011-10-01 Thread Lars Vogel
Hello, I found the parameter keep.relative.image.uris which reduces my complexity. This way I have to copy the images only to one location relatively to the build.xml. I would be still nicer if I could configure the FOP task to use a path relative to the .fo file but I assume this is not really

[docbook-apps] Image location

2011-09-30 Thread Lars Vogel
Hello, I'm trying to create PDF from my Docbook output via the corresponding stylesheets but FOP cannot find the image. I read Bobs description and I believe the path of the image is correctly setup. http://www.sagehill.net/docbookxsl/GraphicsLocations.html

Re: [docbook-apps] Image location

2011-09-30 Thread Chris Ridd
On 30 Sep, 2011,at 11:29 AM, Lars Vogel lars.vo...@googlemail.com wrote:Hello,I'm trying to create PDF from my Docbook output via the corresponding stylesheets but FOP cannot find the image.I read Bobs description and I believe the path of the image is correctly setup.

Re: [docbook-apps] Image location

2011-09-30 Thread Chris Ridd
On 30 Sep, 2011,at 02:07 PM, Chris Ridd chrisr...@mac.com wrote:If you can (given the other fun you seem to be having with FOP)I might be confusing your problems with Tom's - sorry!Chris

Re: [docbook-apps] Image location

2011-09-30 Thread Křištof Želechovski
Dnia piątek, 30 września 2011 o 12:29:29 Lars Vogel napisał(a): Hello, I'm trying to create PDF from my Docbook output via the corresponding stylesheets but FOP cannot find the image. I read Bobs description and I believe the path of the image is correctly setup.

Re: [docbook-apps] Image location

2011-09-30 Thread Lars Vogel
Hi Chris, thanks for the answer unfortunately this also does not work. In which directory should the image be? Best regards, Lars 2011/9/30 Křištof Želechovski giecr...@stegny.2a.pl Dnia piątek, 30 września 2011 o 12:29:29 Lars Vogel napisał(a): Hello, I'm trying to create PDF from my

Re: [docbook-apps] Image location

2011-09-30 Thread Markus Hoenicka
Hi, my directory setup is usually as follows (somewhat simplified): ~/mydoc/mydoc.xml ~/mydoc/Makefile ~/mydoc/images/myimage.png mydoc.xml then uses relative paths to specify the image: imagedata align=center scale=50 format=PNG fileref=images/myimage.png/ Makefile

Re: [docbook-apps] Image location

2011-09-30 Thread DeanNelson
Lars, Setting the image.src.path parameter would eliminate a need to prefix the path on all images. However, that doesn't seem to be your problem. Everything you stated/done should be working. The FO code looks right and it does seem to fit the file structure. I am assuming that you are