[OS X TeX] Fonts in Mountain Lion
Peter Dyballa
Peter_Dyballa at Web.DE
Thu Jul 26 05:39:56 EDT 2012
Am 26.07.2012 um 11:03 schrieb Michael Welsh:
> I ran updmap (as me), and it ran fine, but still no luck. updmap-sys had a cry:
> Jaina:~ yomcat$ updmap-sys
> updmap is using the following updmap.cfg files (in precedence order):
> /usr/local/texlive/2012/texmf/web2c/updmap.cfg
> /usr/local/texlive/2012/texmf-dist/web2c/updmap.cfg
> updmap: Directory "/usr/local/texlive/2012/texmf-var/fonts/map/dvips/updmap" isn't writable: at /usr/texbin/updmap line 1206.
Michael,
it seems you're mixing things up! You write that you ran updmap but then you cite from the command line updmap-sys. As more mortal user you should not use any TeX *-sys command! Because then you try to write – see the last line above – into a part of the file system that is owned by root.
>
> The fonts are installed in /usr/local/texlive/texmf-local. That's not my tree, is it?
Right!
> The file rcomic7m.tfm is in ./fonts/tfm/microsoft/comicsans
The TFM file plays no role, it was discovered before pdftex tried to generate the file containing the real glyphs of the font (or the report would have been approximately: TeX font not found). You can run mktexlsr, with sudo/sudo -H, to update all ls-R files. You can also run
updmap --help
texdoc updmap
sudo -H updmap-sys --listavailablemaps
The first two commands will teach you, the third command can also teach you because it will list all MAP file fragments the fresh TL '12 knows. You can delete some unavailable MAP file fragments with
sudo -H updmap-sys --syncwithtrees
and then possibly the essential step comes:
sudo -H updmap-sys --enable Map=<your ComisSans related MAP file fragment>
Presumingly you forgot the latter… And for more than only ComicSans…
To automatically add all your additional MAP file fragments think of creating one of the two files /usr/local/texlive/texmf-local/web2c/updmap-local.cfg and /usr/local/texlive/texmf-local/web2c/updmap.cfg! (They're mentioned in the documentation.) Here you can disable useless MAP file fragments (Vietnamese, Arabic, Devanagari, Chinese…) *and* enable your additions. Up to TL '11 tlmgr issued 'tlmgr generate …' to add these local additions reasonably into the final MAP files, starting with TL '12 it's updmap/updmap-sys which does this job – maybe every time it is invoked. (I still have some problems to understand the new way it is working and have for example lots of TeX fonts twice in the MAP files.)
>
>> When you still have TL '11 on your Mac, try for comparison/verification to switch that version active and see how it works with your TeX file!
>
> Unfortunately, I deleted it this afternoon
No, no! No cheap excuses, you have a Timemachine backup!
--
Greetings
Pete
Encryption, n.:
A powerful algorithmic encoding technique employed in the creation of computer manuals.
More information about the MacOSX-TeX
mailing list