[OS X TeX] Font management with MacTeX 2013
Gary L. Gray
gray at psu.edu
Mon Jun 24 00:39:51 EDT 2013
On Jun 21, 2013, at 5:48 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> On Jun 21, 2013, at 4:20 PM, "Gary L. Gray" <gray at psu.edu> wrote:
>> On Jun 20, 2013, at 2:02 AM, Michael Sharpe <msharpe at ucsd.edu> wrote:
>>> On Jun 19, 2013, at 6:15 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>>>> Or... just put all the fonts in one location, e.g., .../texmf-local, and still live with one updmap.cfg file. :-)
>>> That works very well as long as you don't use the --enable/--disable options to updmap-sys, perhaps inadvertently, which will create an updmap.cfg in texmf-config. (This happens when you install fonts with scripts like getnonfreefonts-sys, for example.) Then you have two updmap.cfg files, one trumping the other for the remainder of the current TeXLive year. That's not to say that keeping as much as you can in texmf-local doesn't have some serious advantages---it does not need to be reinstalled with every new TeXLive year. To me, having one updmap.cfg that lasts forever even when using --enable/--disable, with the proper initiation each year, is worth a lot.
>> Thank you for posting this Michael. Your post made me think about how I deal with font files since I am not a disciple of Herb's "hidden font and files" strategy. Here is my setup...
>> I keep everything I install in:
>> and subdirectories therein, i.e.,
>> Each time I install a new version of TeX Live, which is essentially once per year, I run a script I keep around that contains:
>> updmap --nohash --nomkmap --syncwithtrees
>> updmap --nohash --nomkmap --enable Map mtpro2.map
>> updmap --nohash --nomkmap --enable Map lucida.map
>> updmap --nohash --nomkmap --enable Map iffonts.map
>> updmap --nohash --nomkmap --enable Map MinionPro.map
>> updmap --nohash --nomkmap --enable Map pmy.map
>> This gets my fonts working again as I expect.
>> In TeX Live Utility, I have "Automaticall enable fonts in my home directory." checked.
>> As far as I can tell (which may not be very far), this has worked well for about three years now (maybe a year or so longer than that). My question is, should I be doing something differently? Am I missing something essential with this strategy?
>> Thank you.
> If you have only one user account on your system that works fine; although I'd do it in a slightly more ``modern'' way (see below). I have more than one user on my system in case something I play with needs to be isolated for testing and I'd still like all my TeX fonts available from either user.
> The more ``modern'' way of doing what you want is to create an updmap.cfg file which contains the lines (for your example case)
> Map mtpro2.map
> Map lucida.map
> Map iffonts.map
> Map MinionPro.map
> Map pmy.map
> with at least one blank line at the end of the file and place that file in ~/Library/texmf/web2c. Then your shell script can simply become
> and you're done. One advantage of this method is that if, for one reason or another, the map file in your HOME folder gets out of sync you simply run
> to get it all working again. Not that what you do doesn't work... for you.
Thanks Herb. I like it and that's what I have now done.
More information about the MacOSX-TeX