[OS X TeX] My ! has disappeared in Times

Bruno Voisin bvoisin at mac.com
Thu Apr 27 01:41:20 CEST 2006


Le 26 avr. 06 à 22:53, Ronald Bruck a écrit :

> So the first thing I have to do is fix my texmf.local.  I take all  
> the files which PCTeX provides and copy them into the correct  
> places in my texmf.local.  I patch web2c/updmap.cfg, run updmap,  
> then look at the log.  None of the mtpro maps "took".

Trying to understand what you mean: did you do exactly the following:

- Put PFB files inside /Library/teTeX/share/texmf.local/fonts/type1/.

- Put TFM files inside /Libraryl/teTeX/share/texmf.local/fonts/tfm/.

- Put VF files inside /Library/teTeX/share/texmf.local/fonts/vf/.

- Put AFM files inside /Library/teTeX/share/texmf.local/fonts/afm/  
(not necessary for standard LaTeX use, only for dvipdfm IIRC).

- Put MAP files inside /Library/teTeX/share/texmf.local/fonts/map/.

- Put plain TeX support files (generally with .tex extension), if  
any, inside /Library/teTeX/share/texmf.local/tex/plain/.

- Put LaTeX support files (generally with .sty and .fd extension)  
inside /Library/teTeX/share/texmf.local/tex/latex/.

- Run in Terminal "sudo -H mktexlsr" (or "sudo -H texhash", which is  
exactly the same).

- Run in Terminal, assuming a MAP file mtpro.map, for example, "sudo - 
H updmap-sys --enable Map mtpro.map".

Things should work afterwards. Don't ever edit updmap.cfg (any of  
them) yourself.

In case you have run updmap instead of updmap-sys previously, this  
has probably created files psfonts.map etc. inside ~/Library/texmf/ 
fonts/map/, and .fmt files together with updmap.cfg inside ~/Library/ 
texmf/web2c/: these shouldn't exist, delete them.

> Hmmm.  Why not?  I use the terminal to go into /usr/local/teTeX/ 
> share/texmf.local/fonts/type1, and an ls shows me that the mtpro  
> folder I had copied into it doesn't exist!
>
> From the terminal I do an ln -s from the type1 directory to my  
> desktop.  The alias appears, I double-click it:  and there's the  
> mtpro folder!
>
> I can see it from the Finder, but I can't see it in Terminal.
>
> So I understand why teTeX punts to Metafont (which fails, since  
> there are no .mf files):  when I ran updmap, it never saw the font  
> files, so it didn't use the map files.  (As I saw when I read the  
> log.)  But why not?  Where'd they go?
>
> Presumably I have some aliases which are pointing somewhere I don't  
> realize they're pointing, but---nothing SHOWS to be an alias.
>
> Any ideas what gives?  BTW, my Concrete fonts from Micropress work  
> fine.  I used the same technique with them ???!!!

Might be you are having aliases, which the Mac OS X Finder  
understands but the Unix TeX back-end doesn't understand, instead of  
symlinks (aka symbolic links) which both the Finder and the Unix TeX  
back-end understand.

Symlinks can't (AFAIK) be created directly by the Finder, they are  
created in Terminal by using "ln -s". Here are for example what an  
alias and a symlink look like using "ls -l" in Terminal:

Portable-de-Bruno:~/Desktop brunovoisin$ ln -s "Wanadoo 2006-03.pdf"  
"Wanadoo symlink.pdf"
Portable-de-Bruno:~/Desktop brunovoisin$ ls -l
[...]
-rw-r--r--    1 brunovoi  wheel     15640 Apr 25 08:27 Wanadoo  
2006-03.pdf
-rw-r--r--    1 brunovoi  staff         0 Apr 27 01:34 Wanadoo alias.pdf
lrwxr-xr-x    1 brunovoi  staff        19 Apr 27 01:35 Wanadoo  
symlink.pdf -> Wanadoo 2006-03.pdf

Another possible explanation is a permission problem. Did you try to  
repair permissions in Disk Utility?

Hope this helps,

Bruno Voisin

------------------------- 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