[OS X TeX] Installing new fonts with MacTeX 2011

Herbert Schulz herbs at wideopenwest.com
Mon Jun 13 15:37:38 CEST 2011


On Jun 13, 2011, at 3:20 AM, Alain Matthes wrote:

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

Howdy,

I don't understand. TLU runs tlmgr and if the map files are already enabled in the system they should remain enabled when tlmgr runs updmap-sys. Do you have TeX Live Utility->Preferences->install updates for all users checked? If not you are producing a personal map file which is interfering with your system wide map. That's why I always recommend installing fonts for all users and also placing them in the texmf-local tree rather than the personal tree.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list