[Mediawiki-l] Problem with Extension Pdf Book

Günter Gratzer Guenter.Gratzer at abf.co.at
Fri Mar 28 07:45:30 UTC 2008


Hi Ryan,
here you'll find all commandline options
http://www.easysw.com/htmldoc/docfiles/8-cmdref.html
 
Günter

________________________________

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



> 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";
>

Awesome. Thanks! That option doesn't seem to be in the man page, but it
was exactly what I needed.

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