[OS X TeX] Installing new fonts with MacTeX 2011

Alain Matthes alain.matthes at mac.com
Mon Jun 13 04:20:59 EDT 2011


Le 10 juin 2011 à 13:51, Herbert Schulz a écrit :

> 
> Howdy,
> 
> Where do you put these font files? I.e., the pfb files should go into a sub-directory (for organizational purposes) of .../fonts/type1/, the map files in a sub-folder of .../fonts/map/dvips/, etc. (where .../ is either ~/Library/texmf/ [personal tree] or /usr/local/texlive/texmf-local/ [system wide tree]). If you put it into the system wide tree you also need to run
> 
> sudo mktexlsr
> 
> or 
> 
> sudo texhash
> 
> (which is a for mktexlsr) so that TeX can find the added files.
> 
> Then, to get latex to know how to deal with the files run
> 
> sudo updmap-sys --syncwithtrees
> 
> which tells updmap-sys to add the new map files to a list of map files it keeps (some maps in the list are activated others are not). Finally, for the map file you want to activate run
> 
> sudo updmap-sys --enable Map mymap.map
> 
> where mymap.map is the map file you want to activate. This tells updmap-sys to activate the mymap.map file by adding it's contents to master map files for different backends (e.g., dvips). If you have multiple map files to add you can save time by not creating those master map file each time by running
> 
> sudo updmap-sys --nohash --nomkmap --enable Map mymap.map
> 
> which activates the map in list of map files but doesn't recreate the master map files for each map file and then tell updmap-sys to create a final set of master map files with the command
> 
> sudo updmap-sys
> 
> and things should work.


Hi Herbert,

My problem is with TLU and the .map files.  I always have an error with the .map files. I need to finish by hand.
Exactly like you wrote.
So I would like to know if I add some fonts, how to avoid these problem with TLU and the .map files not found ?

I have some fonts in texmf-local and other in ~/texmf/fonts
Best regards

Alain Matthes


More information about the MacOSX-TeX mailing list