Question
Hi,
I just installed
GenPDFAddOn, latest Version, 31 Aug 2007 on Centos Linux 5, htmldoc V 1.8.27.
When testing using:
[[%SCRIPTURL%/genpdf/%WEB%/%TOPIC%?pdfrecursive=on][print pdf...]]
the generated document misses all attached graphics - whereas they show up fine in the normal twiki print preview.
Twiki builtin graphics, like

do not appear either.
The website is not read - protected, anybody can view and print pages.
any hints on resolving this issue would be very appreciated...
This is the errormessage in /var/log/httpd/error_log:
[Sat Sep 22 13:23:12 2007] [error] [client 129.103.170.96] [Sat Sep 22 13:23:12 2007] GenPDF.pm: \\1 better written as $1 at /var/www/twiki/lib/TWiki/Contrib/GenPDF.pm line 367., referer: http://sbs189/twiki/bin/view/SISWiki/BDKeePass
[Sat Sep 22 13:23:12 2007] [error] [client 129.103.170.96] [Sat Sep 22 13:23:12 2007] GenPDF.pm: \\1 better written as $1 at /var/www/twiki/lib/TWiki/Contrib/GenPDF.pm line 367., referer: http://sbs189/twiki/bin/view/SISWiki/BDKeePass
[Sat Sep 22 13:23:12 2007] [error] [client 129.103.170.96] [Sat Sep 22 13:23:12 2007] GenPDF.pm: \\1 better written as $1 at /var/www/twiki/lib/TWiki/Contrib/GenPDF.pm line 372., referer: http://sbs189/twiki/bin/view/SISWiki/BDKeePass
[Sat Sep 22 13:23:13 2007] [error] [client 129.103.170.96] Calling htmldoc with args: --book --quiet --links --linkstyle plain --outfile /tmp/GenPDFAddOnryeMzpHGMP.pdf --format pdf14 --portrait --size a4 --browserwidth 860 --titlefile /tmp/GenPDFAddOnpyKhArWAuq.html --toclevels 5 --tocheader ... --tocfooter ..i --firstpage toc /tmp/GenPDFAddOnhdVIR721Sl.html, referer: http://sbs189/twiki/bin/view/SISWiki/BDKeePass
[Sat Sep 22 13:23:13 2007] [error] [client 129.103.170.96] child exited with value 6, referer: http://sbs189/twiki/bin/view/SISWiki/BDKeePass
Environment
--
HaraldLipke - 01 Oct 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
Do you write the articles using the Kupu editor? When I once did a quick test of
GenPDFAddOn, I came across the same issue. It's caused by Kupu changing the links to attached files from the
%ATTACHURL% notation to a relative path. See also
CopyPasteLinksInWysiwyg. I don't know whether it was ever fixed.
--
MartinKaufmann - 01 Oct 2007
This happens in both editors - wysiwyg and standard - with absolute path and using variables. The graphics are properly shown in std. twiki print preview but not in the pdf file. The pdf file is completely raw text - not even twiki builtin graphics displayed.
--
HaraldLipke - 01 Oct 2007
After having spent hours working on this problem I noticed there is a new Version of the plugin. Installed - and it works perfectly now right out of the box. Thanks for the great work!!!
--
HaraldLipke - 25 Oct 2007
--
HaraldLipke - 25 Oct 2007