[OS X TeX] Any experience using Metafun's makempy script?

Bruno Voisin bvoisin at mac.com
Fri Nov 5 10:06:41 EST 2004


Le 5 nov. 04, à 15:54, Bruno Voisin a écrit :

> These seems to be some automatic recognition code in the original perl 
> script 
> /usr/local/teTeX/share/texmf.tetex/scripts/context/perl/makempy.pl:
>
> 	[...]
>
> 	    "pdftops"     => \$pmethod ,
> 	    "xpdf"        => \$pmethod ,
> 	    "acrobat"     => \$amethod ,
> 	    "reader"      => \$amethod ,
> 	    "gs"          => \$gmethod ,
> 	    "ghostscript" => \$gmethod ,
>
> 	[...]
>
> 	unless ($pmethod||$amethod||$gmethod)
> 	  { if ($wereondos) { $pmethod = 1 } else { $amethod = 1 } }
>
> But I can't understand exactly what it does.

On second thought: seems to simply test whether the OS is DOS/Windows, 
in which case --pdftops is the default; otherwise assumes the OS is 
Unix, and makes --acrobat the default. Probably from pre-OSX times!

Bruno

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list