You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by foxmask <fo...@gmail.com> on 2004/10/26 16:55:15 UTC
PDF without Images
Hi,
I have some docbook file which contain images.
when i access foo.xhtml i can see my images in the xhtml page
<map:match pattern="foo.xhtml" label="content">
<map:generate src="foo_book.xml"/>
<map:transform type="xinclude"/>
<map:transform type="xalan" src="docbook/xsl/xhtml/docbook.xsl"/>
<map:serialize type="xhtml"/>
</map:match>
when i access foo.pdf ; i see no images.
<map:match pattern="foo.pdf" label="content">
<map:generate src="foo_book.xml"/>
<map:transform type="xinclude"/>
<map:transform type="xalan" src="docbook/xsl/fo/docbook.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
tips: i use xsl from Docbook 4.2
any suggestion ?
regards.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: PDF without Images
Posted by foxmask <fo...@gmail.com>.
Effectively ; with the map parameter that is explain in this bug
report it's ok ; but we also have to change the xml docbook file and
put
<inlinegraphic fileref="http://localhost:888/images/my_pic.jpg" ...
now its ok...
On Wed, 27 Oct 2004 16:59:15 +0200, Joerg Heinicke
<jo...@gmx.de> wrote:
> On 27.10.2004 10:14, foxmask wrote:
>
> > yes that's right
> >
> > error.log says :
> >
> > "ERROR (2004-10-27) 10:11.16:237 [sitemap.serializer.fo2pdf]
> > (/Foo.pdf) PoolThread-3/ExternalGraphic: Error while creating area :
> > Error with image URL: connection_pool_10.jpg (No such file or
> > directory) and no base URL is specified "
> >
> > but i have to say that Foo.xhtml show me the images and no error log
> > to say "no such file or directory".
> >
> > regards.
>
> That's a known problem, see
> http://issues.apache.org/bugzilla/show_bug.cgi?id=15316 for details. You
> have to use absolute paths if you don't want to fix the bug.
>
> Joerg
>
> ---------------------------------------------------------------------
>
>
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Founder Member of Phpfr.Org
http://phpfr.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: PDF without Images
Posted by Joerg Heinicke <jo...@gmx.de>.
On 27.10.2004 10:14, foxmask wrote:
> yes that's right
>
> error.log says :
>
> "ERROR (2004-10-27) 10:11.16:237 [sitemap.serializer.fo2pdf]
> (/Foo.pdf) PoolThread-3/ExternalGraphic: Error while creating area :
> Error with image URL: connection_pool_10.jpg (No such file or
> directory) and no base URL is specified "
>
> but i have to say that Foo.xhtml show me the images and no error log
> to say "no such file or directory".
>
> regards.
That's a known problem, see
http://issues.apache.org/bugzilla/show_bug.cgi?id=15316 for details. You
have to use absolute paths if you don't want to fix the bug.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: PDF without Images
Posted by foxmask <fo...@gmail.com>.
yes that's right
error.log says :
"ERROR (2004-10-27) 10:11.16:237 [sitemap.serializer.fo2pdf]
(/Foo.pdf) PoolThread-3/ExternalGraphic: Error while creating area :
Error with image URL: connection_pool_10.jpg (No such file or
directory) and no base URL is specified "
but i have to say that Foo.xhtml show me the images and no error log
to say "no such file or directory".
regards.
On Tue, 26 Oct 2004 21:45:44 +0200, J.Pietschmann <j3...@yahoo.de> wrote:
> foxmask wrote:
> > when i access foo.pdf ; i see no images.
> ...
> > any suggestion ?
>
> Check the Cocoon logs for mesages indicating that the
> PDF serializer can't find the image files. Ther should
> be some.
>
> J.Pietschmann
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Founder Member of Phpfr.Org
http://phpfr.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: PDF without Images
Posted by "J.Pietschmann" <j3...@yahoo.de>.
foxmask wrote:
> when i access foo.pdf ; i see no images.
...
> any suggestion ?
Check the Cocoon logs for mesages indicating that the
PDF serializer can't find the image files. Ther should
be some.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org