[OS X TeX] Re: Installing Fonts for LaTeX on OSX
Bruno Voisin
bvoisin at mac.com
Wed Jul 5 12:32:08 CEST 2006
Le 4 juil. 06 à 18:44, Dennis Kletzing a écrit :
> Thanks for responding to my email. Since my original email to you I
> have tried different things and was finally able to get it to work
> as follows:
>
> Create an ordinary folder in admin/Library called textmf. This
> folder is critical. If there is no such folder, and you run
>
> sudo updmap --enable Map frutiger.map
>
> through the terminal window, it creates a textmf folder in admin/
> Library, but it's a smart folder (it has a small red dot on it). To
> put stuff in it you need to go through an authentication process. I
> think my problem was that TeXShop couldn't access this folder.
>
> Instead, manually create an ordinary folder, texmf, in admin/
> Library and put the font files in it following the guidelines in
> the article Installing Fonts for LaTeX on OSX (p.6):
>
> PFB files in admin/Library/textmf/fonts/type1/adobe/frutiger
> [...]
>
> Then run sudo updmap --enable Map frtiger.map. TeXShop then
> recognizes the new fonts and every thing is ok. I've created
> several other fonts since frutiger, put the various font files at
> the appropriate places in texmf, and in each case everything works
> fine.
Glad to know you finally got things to work. I didn't suspect you had
omitted the creation of ~/Library/texmf (I suppose that's what you
mean by admin/Library/texmf).
In order to know where TeX and friends look for files with specific
extensions, you can use (in Terminal) the command-line utility
kpsewhich. Its usage is documented in section 3.5 of /Library/teTeX/
share/texmf.tetex/doc/programs/kpathsea.pdf. For example (. meaning
the current directory):
$ kpsewhich --show-path=.pfb
.
/Users/<yourusername>/Library/texmf/fonts/type1//
!!/usr/local/teTeX/share/texmf.local/fonts/type1//
!!/usr/local/teTeX/share/texmf.gwtex/fonts/type1//
!!/usr/local/teTeX/share/texmf.tetex/fonts/type1//
!!/usr/local/teTeX/share/texmf/fonts/type1//
$ kpsewhich --show-path=.map
.
/Users/<yourusername>/Library/texmf/fonts/map//
!!/usr/local/teTeX/share/texmf.local/fonts/map//
!!/usr/local/teTeX/share/texmf.gwtex/fonts/map//
!!/usr/local/teTeX/share/texmf.tetex/fonts/map//
!!/usr/local/teTeX/share/texmf/fonts/map//
/Users/<yourusername>/Library/texmf/fontname
!!/usr/local/teTeX/share/texmf.local/fontname
!!/usr/local/teTeX/share/texmf.gwtex/fontname
!!/usr/local/teTeX/share/texmf.tetex/fontname
!!/usr/local/teTeX/share/texmf/fontname
/Users/<yourusername>/Library/texmf/pdftex/config
!!/usr/local/teTeX/share/texmf.local/pdftex/config
!!/usr/local/teTeX/share/texmf.gwtex/pdftex/config
!!/usr/local/teTeX/share/texmf.tetex/pdftex/config
!!/usr/local/teTeX/share/texmf/pdftex/config
/Users/<yourusername>/Library/texmf/dvips/config
!!/usr/local/teTeX/share/texmf.local/dvips/config
!!/usr/local/teTeX/share/texmf.gwtex/dvips/config
!!/usr/local/teTeX/share/texmf.tetex/dvips/config
!!/usr/local/teTeX/share/texmf/dvips/config
/Users/<yourusername>/Library/texmf/pdftex//
!!/usr/local/teTeX/share/texmf.local/pdftex//
!!/usr/local/teTeX/share/texmf.gwtex/pdftex//
!!/usr/local/teTeX/share/texmf.tetex/pdftex//
!!/usr/local/teTeX/share/texmf/pdftex//
/Users/<yourusername>/Library/texmf/dvips//
!!/usr/local/teTeX/share/texmf.local/dvips//
!!/usr/local/teTeX/share/texmf.gwtex/dvips//
!!/usr/local/teTeX/share/texmf.tetex/dvips//
!!/usr/local/teTeX/share/texmf/dvips//
You can even look for the search path when using a specific
application. Let's assume you installed XeTeX (bringing a more Mac-
like experience to TeX, in that, for example, it allows the use of OS
X fonts in TeX, without any prior processing, as Textures does). Then
you get:
$ kpsewhich --progname=xelatex --show-path=.tex
.
/Users/<yourusername>/Library/texmf/xetex/xelatex//
!!/usr/local/teTeX/share/texmf.local/xetex/xelatex//
!!/usr/local/teTeX/share/texmf.gwtex/xetex/xelatex//
!!/usr/local/teTeX/share/texmf.tetex/xetex/xelatex//
!!/usr/local/teTeX/share/texmf/xetex/xelatex//
/Users/<yourusername>/Library/texmf/tex/xelatex//
!!/usr/local/teTeX/share/texmf.local/tex/xelatex//
!!/usr/local/teTeX/share/texmf.gwtex/tex/xelatex//
!!/usr/local/teTeX/share/texmf.tetex/tex/xelatex//
!!/usr/local/teTeX/share/texmf/tex/xelatex//
/Users/<yourusername>/Library/texmf/xetex/latex//
!!/usr/local/teTeX/share/texmf.local/xetex/latex//
!!/usr/local/teTeX/share/texmf.gwtex/xetex/latex//
!!/usr/local/teTeX/share/texmf.tetex/xetex/latex//
!!/usr/local/teTeX/share/texmf/xetex/latex//
/Users/<yourusername>/Library/texmf/tex/latex//
!!/usr/local/teTeX/share/texmf.local/tex/latex//
!!/usr/local/teTeX/share/texmf.gwtex/tex/latex//
!!/usr/local/teTeX/share/texmf.tetex/tex/latex//
!!/usr/local/teTeX/share/texmf/tex/latex//
/Users/<yourusername>/Library/texmf/xetex/generic//
!!/usr/local/teTeX/share/texmf.local/xetex/generic//
!!/usr/local/teTeX/share/texmf.gwtex/xetex/generic//
!!/usr/local/teTeX/share/texmf.tetex/xetex/generic//
!!/usr/local/teTeX/share/texmf/xetex/generic//
/Users/<yourusername>/Library/texmf/tex/generic//
!!/usr/local/teTeX/share/texmf.local/tex/generic//
!!/usr/local/teTeX/share/texmf.gwtex/tex/generic//
!!/usr/local/teTeX/share/texmf.tetex/tex/generic//
!!/usr/local/teTeX/share/texmf/tex/generic//
/Users/<yourusername>/Library/texmf/xetex///
!!/usr/local/teTeX/share/texmf.local/xetex///
!!/usr/local/teTeX/share/texmf.gwtex/xetex///
!!/usr/local/teTeX/share/texmf.tetex/xetex///
!!/usr/local/teTeX/share/texmf/xetex///
/Users/<yourusername>/Library/texmf/tex///
!!/usr/local/teTeX/share/texmf.local/tex///
!!/usr/local/teTeX/share/texmf.gwtex/tex///
!!/usr/local/teTeX/share/texmf.tetex/tex///
!!/usr/local/teTeX/share/texmf/tex///
Welcome to the world of *nix and command-line utilities!
> I've been using Textures for years and I had high hopes for the new
> OS X version. But
> I tried it out and think it's terribly crude. So I decided to give
> TeXShop a try. It's very nice but the unix way of handling fonts
> etc is completely foreign to me. Now that I've got the font issue
> resolved, things are better. Thanks again.
This summer I should have one or two months during which I'll be able
to go back to more scientific, and less computer-oriented, work. I'll
then forget about formatting niceties (fonts, exotic packages and the
like), and concentrate on writing. In that occasion, I'll try to use
OS X Textures again (provided it can include EPS or PDF images at the
time), and investigate -- if successful -- its functionalities into
greater detail.
Bruno------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list