[OS X TeX] Re: Problem with fonts frutiger : solved

Pascal Maes pascal.maes at elec.ucl.ac.be
Tue Jun 12 17:31:20 CEST 2007


>
> Le 10 juin 07 à 17:44, Pascal Maes a écrit :
>
>> Thanks for all your answers but the problem was not in the updmap
>> file or configuration.
>>
>> I think that the problem is due to a missing configuration file for
>> dvips or dvipdfm.
>>
>> [...]
>>
>> When I run dvips from the command line but with the args :
>>
>> dvips -u /usr/local/texlive/2007/texmf-var/fonts/map/dvips/updmap/
>> psfonts_t1.map lettre-mp-20040331
>> This is dvips(k) 5.96 Copyright 2005 Radical Eye Software
>> (www.radicaleye.com)
>> ' TeX output 2007.06.10:1728' -> lettre-mp-20040331.ps
>> <tex.pro><8r.enc><texps.pro><special.pro>. <pfrl8a.pfb><pfrli8a.pfb>
>> <pfrb8a.pfb><pfrc8a.pfb>[1<sed20mm.ps>]
>>
>> I don't have any errors and the fonts are well loaded.
>>
>> How could I tell TeXShop to use the map file ?
>
> I still think that is a misconfiguration problem. dvips should by
> default use /usr/local/texlive/2007/texmf-var/fonts/map/dvips/updmap/
> psfonts.map, and this is normally a symlink to the file you're
> explicitly telling dvips to use:
>
> Portable-de-Bruno:~ brunovoisin$ kpsewhich psfonts.map
> /usr/local/texlive/2007/texmf-var/fonts/map/dvips/updmap/psfonts.map
> Portable-de-Bruno:~ brunovoisin$ ls -l /usr/local/texlive/2007/texmf-
> var/fonts/map/dvips/updmap/psfonts.map
> lrwxr-xr-x   1 root  wheel  14 Mar 28 00:10 /usr/local/texlive/2007/
> texmf-var/fonts/map/dvips/updmap/psfonts.map -> psfonts_t1.map
>
> I suspect that you have a leftover psfonts.map inside ~/Library/
> texmf, resulting from some faulty operation of updmap, and this
> psfonts.map is used in place of the one in /usr/local/texlive/2007/
> texmf-var.
>
> I imagine that in your case "kpsewhich psfonts.map" would return:
>
> /Users/<your-user-name>/fonts/map/dvips/updmap/psfonts.map
>
> Again, my advice would be to erase this and similar files, then run
> updmap(-sys) with the appropriate syntax to make sure correct map
> files are regenerated inside /usr/local/texlive/2007/texmf-var, and
> then run TeXShop again.
>
> Bruno Voisin
>

You're right.
I have already verified that nothing was in my ~/Library/texmf tree:

[ulysse:~] mp% ls -alR ~/Library/texmf/
total 0
drwx------    2 mp  mp    68 Jun  8 16:19 .
drwx------   56 mp  mp  1904 May 25 08:50 ..

but

[ulysse:~] mp%  kpsewhich psfonts.map
/Users/mp/.texlive2007/texmf-var/fonts/map/dvips/updmap/psfonts.map

Since I suppress the .texlive2007 directory, all goes right.

.texlive2007 is used by default in texmf.cnf for TEXMFVAR and  
TEXMFCONFIG:

TEXMFVAR = $HOME/.texlive2007/texmf-var
TEXMFCONFIG = $HOME/.texlive2007/texmf-config

and these parameters ome before the others in TEXMF:

TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!! 
$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}

Thanks again

--
Pascal




------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list