[OS X TeX] Refreshing the filname database
herbs at wideopenwest.com
Fri Oct 23 10:02:59 EDT 2009
On Oct 23, 2009, at 4:44 AM, Magnus Dahlström wrote:
> I am a newcommer to using LaTeX on a Mac, I have before used a
> My problem is this I have installed a new font and some new styles
> (.sty-files, that I used in the Windows-version) and put them in the
> location (ie. usr/..../texmf).
> All i now need to do is tp update the filename database, but I can't
> the command, nor have my internet search given any result that
> works. I know
> windows spoiled me with MikTeX. Can any of you help me?
> I use MacTeX and TeXShop on OSX 10.5.8.
> Thank you
> //Magnus Dahlström
> Teacher of math and natural sciences
> Mediegymnasiet, Malmö Stad
First I'm a bit concerned about where you put all the files. They
should NOT be put in the main tree branches, e.g., /usr/local/texlive/
2008/..., since updating may overwrite them. All items that are not
part of TeX Live 2008 (I'm speculating that you've installed
MacTeX-2008) should be placed in the proper location in /usr/local/
texlive/texmf-local/... where they will be safe and can even be used
as you update to newer versions of TeX Live (MacTeX) like 2009 that is
After putting the file in the correct location you need to run
sudo -H mktexlsr
in Terminal.app (Apple's application that lets you get at the innards
of its UNIX underpinnings). Note texhash will also work but the newer
TeX Live name is mktexlsr since that's a bit more descriptive of what
If you have added fonts your have to `tell' TeX how to use them also.
For any map file that has been placed in the proper location in the
tree you will then have to run
sudo -H updmap-sys --enable MAP mapfilename.map
which add the mapfilename to the map list and generate a new map file
that is used by the TeX binaries (pdftex, dvips, ...).
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX