[OS X TeX] Where to install local fonts?
Herbert Schulz
herbs at wideopenwest.com
Fri May 23 17:07:03 CEST 2008
On May 23, 2008, at 9:56 AM, Bruno Voisin wrote:
> Le 23 mai 08 à 15:52, Herbert Schulz a écrit :
>
>> On May 23, 2008, at 7:45 AM, Jacques André wrote:
>>
>>> In his Font installation guide, Lehman suggests to install fonts
>>> by using, for example,
>>>
>>> cp *.afm /usr/local/share/texmf/fonts/afm/adobe/sabon/
>>>
>>> According to the structure done by Texlive 2007, shoud I write
>>>
>>> cp *.afm /usr/local/texlive/2007/texmf/fonts/afm/adobe/sabon/
>>
>> If you want the font available for all users place the files in
>>
>> /usr/local/texlive/texmf-local/...
>>
>> and don't forget to run
>>
>> sudo texhash
>>
>> also. You'll need to update the map files using
>>
>> sudo updmap-sys -enable Map yourmapfile.map
>>
>> too.
>
> Shouldn't it be
>
> sudo -H updmap-sys -enable Map yourmapfile.map
>
> All the above assumes that by TeXLive 2007 the original poster means
> the MacTeX version of TeXLive 2007, as opposed to using the command-
> line install script from the TeXLive DVD.
>
> Bruno Voisin
Howdy,
If you are the only user of your machine you don't need to use the -H
option to sudo. You may have some fonts stored in your personal tree
but want to use the system wide map files. This is basically what
gwTeX did before the x-sys vs x stuff occurred.
With the introduction TeX Live based gwTeX and MacTeX I finally moved
all of the fonts I used to keep in my personal tree into texmf.pkgs
(gwTeX) and texmf-local (MacTeX) and still leave off the -H option.
There also have been some problems generated by use of the -H option
where a .texlive2007 directory was generated in root's home directory
which lead to all sorts of strange things happening. Another x-sys vs
x problem since
sudo -H updmap
(rather than updmap-sys) will do that! :-(
Good Luck,
Herb Schulz
(herbs at wideopenwest.com)
More information about the macostex-archives
mailing list