[OS X TeX] Re: dvips problem [with addendum]

Bruno Voisin bvoisin at mac.com
Tue Jun 6 10:25:06 EDT 2006


Le 6 juin 06 à 15:29, Stephen Anderson a écrit :

> On 6 Jun, 2006, at 2:11 PM, Bruno Voisin wrote:
>
>> This directory ~/Library/texmf/web2c/ shouldn't exist: it has been  
>> created when running updmap instead of updmap-sys.
>
> OK, I have deleted this directory.  However, the next time I reran  
> the configuration process for TeX, it got re-created, and a new  
> version of updmap.log got put there!  So I went through the ~/ 
> Library/texmf directory again, ruthlessly removing everything I  
> didn't think had a use -- everything, that is, except my style  
> files, bst files, bibliography files, and that sort of thing.  I  
> have also left the files I once installed as part of getting Adobe  
> Garamond/Warnock Pro to work.  Now when I run the Configure stage I  
> don't get a spurious web2c directory anymore.  But I still don't  
> get my Adobe Garamond font.

Odd (that updmap.log was recreated each time)!

>> [...]
>>
>> If that's indeed the correct explanation, then you should first  
>> browse through your entire ~/Library/texmf/ directory and erase  
>> any file that you haven't put there willingly (such as any  
>> generated file updmap.cfg, texmf.cnf, fmtutil.cnf, psfonts.map,  
>> any .fmt file), at any level of the directory tree. And then re- 
>> run the Configure stage of the TeX i-Package.
>
> I've done that, and I still don't have the use of the fonts that I  
> installed some time ago and which used to work.
>
> I know that during that installation process, I tried a lot of  
> things before I got it to work, and now I have files related to  
> these fonts scattered all over my ~/Library/texmf tree.  Could I  
> get you to tell me exactly which ones I should have (from  
> among .enc, .map, .tfm, .pfb and .vf files) and where they should  
> live in the ~/Library/texmf hierarchy?  I know this is (a variant  
> of) a question that has been asked over and over, and (variants of)  
> which you have personally answered over and over, and I deeply  
> regret imposing on you once again .... but I'd be very grateful if  
> you could help me get this resolved.

Briefly (see also section 4 of <http://www.tug.org/mactex/fonts/ 
fonttutorial-current.html>):

- .afm files (for dvipdfm) inside ~/Library/texmf/fonts/afm/

- .enc files inside ~/Library/texmf/fonts/enc/

- .map files inside ~/Library/texmf/fonts/map/

- .tfm files inside ~/Library/texmf/fonts/tfm/

- .pfb files inside ~/Library/texmf/fonts/type1/

- .vf files inside ~/Library/texmf/fonts/vf/

- .fd and .sty files inside ~/Library/texmf/tex/latex/

Afterwards, run "sudo -H updmap-sys --enable Map <mapfilename>.map"  
where <mapfilename> is the name of your map file.

Where exactly TeX and friends look for certain files is defined by / 
Library/teTeX/texmf.cnf and /Library/teTeX/share/texmf/web2c/ 
texmf.cnf. You may also use the kpsewhich utility, as described in  
section 3.5 of /Library/teTeX/share/texmf.tetex/doc/programs/ 
kpathsea.pdf. For example, to know where TeX (or rather dvips, pdftex  
and dvipdfm) look for .map files, use "kpsewhich --show- 
path=map" (beware, the output isn't especially user-friendly, a few  
carriage returns would help).

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 MacOSX-TeX mailing list