[Mediawiki-l] Problem with Extension Pdf Book

Günter Gratzer Guenter.Gratzer at abf.co.at
Thu Mar 27 07:32:25 UTC 2008


Hi Ryan,
I modified pdfbook.php and included the parameter "--browserwidth 1200". Now the images are smaler. My command looks like this at the moment:
 
    $cmd  = "--left $left --right $right --top $top --bottom $bottom";
    $cmd  = " --size A4 --browserwidth 1200";
    $cmd .= " --header ... --footer d.1 --headfootsize 8 --quiet --jpeg --color";
    $cmd .= " --bodyfont $font --fontsize $size --linkstyle plain --linkcolor $link";
    $cmd .= " --toclevels $levels --format pdf14 --numbered $layout --book";
    $cmd  = "htmldoc -t pdf14 --charset iso-8859-1 $cmd $file";

Günter

 
________________________________

Von: mediawiki-l-bounces at lists.wikimedia.org im Auftrag von Lane, Ryan
Gesendet: Mi 26.03.2008 22:03
An: MediaWiki announcements and site admin list
Betreff: Re: [Mediawiki-l] Problem with Extension Pdf Book



> thank's for the hint! The problem was in my apache
> configuration. Did a test with a reverse proxy and forgot to
> change back the ServerName parameter. Now the images are
> included. They are a little bit too big so I have to check
> how I can resize them. I guess it's an htmldoc parameter
> where I can correct this problem.
>

If you can figure out how, can you relay the information to me? I have
the same problem.

V/r,

Ryan Lane

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list