From: Reini U. <ru...@x-...> - 2004-10-29 17:42:06
|
Pascal Giard (QC/EMC) schrieb: > Le vendredi 29 octobre 2004 à 15:42 +0200, Reini Urban a écrit : >>USE_EXTERNAL_HTML2PDF = "htmldoc --quiet --format pdf14 --no-toc >>--no-title %s" > > > i've added that to my config/config.ini file after renaming htmldoc to > ghtmldoc and making sure that ghtmldoc is in my PATH. note that i may be > assuming too much, ghtmldoc might != htmldoc. > > anyway, the ?action=pdf gives the same result: pdf document with over > 200 pages 90% blank containing the phpwiki logo in the upper right > corner. > > hmmm, unfortunatly, i'm stuck with a MS Win2k as a webserver... that has > some consequences [besides that i really don't like non-free software > and that it's unable to run "heavy" tasks at the same time]: > - I can't find htmldoc for Win32, i only got ghtmldoc from > ftp://easysw.com/pub/htmldoc/ . > - I'm not sure how to proceed in order to install the required packages > mentionned in http://phpwiki.sf.net/phpwiki/PhpWikiToDocBookAndPDF . ah, they probably just changed the name. check the cmdline args then. I've built htmldoc on windows and on linux and I'm using it for my win2k test server and also on phpwiki.sf.net/demo/ (as you might see). but you need latest CVS of phpwiki. (and not the nightly snapshot because this doesn't work anymore) > Before trying to make the pdf export work, i noticed that xhtml dumping > didn't work as i expected. yes, htmldump is our best testcase which produces the most errors, because it tries to transform and render every simgle page. on any error it fatals. and it easily runs out of memory. (needs ~30MB currently) > It only dumps some pages, namely anything but the pages i've created. > When using the xhtml dump button in PhpWikiAdministration, you can see > in the bottom of the page that i get an error. > > For some reason, the xhtml dumping result page shows that the "last" > page that is dumped is HowToUseWiki, then i get a Recent Changes section > [huh?!] that shows assertion failed at line 178 of lib/WikiDB.php . > Below, the very same block is repeated but under the title "Fatal > PhpWiki Error". -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |