[OS X TeX] Converting old eps files with TeXShop

Peter Dyballa Peter_Dyballa at Web.DE
Tue May 24 22:13:59 CEST 2011


Am 24.05.2011 um 15:27 schrieb André Bellaïche:

> Does anybody know a way of
>
> - using Preview in batch mode;


Apple has /usr/bin/pstopdf. It uses the same means as Preview does.

Another option is to tell Ghostscript where the Myriad fonts can be  
found. This is achieved the file Fontmap and another file, let's call  
it Fontmap.Myriad. The former file is presumingly (I'm not using  
Ghostscript from MacTeX) /usr/local/share/ghostscript/fonts/Fontmap,  
the latter file has to be created in /usr/local/share/ghostscript/ 
fonts. Both with elevated privileges (sudo <command>). The Fontmap  
file gets an extra line:

	(Fontmap.Myriad) .runlibfile

The file Fontmap.Myriad will consist of lines like this example:

	 /LiberationMono                 (/Library/Fonts/Extrafonts/ 
LiberationMono-Regular.ttf);

The first word is the font's name, the second word, in parentheses, is  
the pathname of the font file. Every line ends with a semicolon.

When Ghostscript knows from which file to fetch the font it should be  
able to convert your PostScript files with use of Myriad fonts. (The  
files /usr/local/texlive/2010/texmf-dist/doc/fonts/cm-unicode/ 
Fontmap.CMU.* show this technique.)

--
Greetings

   Pete

Eat the rich – the poor are tough and stringy.




More information about the macostex-archives mailing list