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

Bruno Voisin bvoisin at mac.com
Wed Jun 7 00:06:38 CEST 2006


Le 6 juin 06 à 22:51, Bruno Voisin a écrit :

> I'm not sure about this. I don't remember everything from the  
> detailed explanations Gerben put together patiently for us in his  
> posts some time ago, and I don't really have the time to search my  
> mail archive right now, but I was under the impression that
>
> 	sudo -H updmap-sys
>
> did precisely that: take input (ie map files) from either ~/Library/ 
> texmf/ or /Library/teTeX/share/temf.local/, and create output (ie  
> psfonts.map pdftex.map etc.) with the proper permissions and  
> settings in /Library/teTeX/share/temf.local/.
>
> I don't remember for sure what are the respective roles of the -H  
> option and of the -sys suffix, but I thought that's what the  
> combination did. But I may very well be wrong.

I have finally searched a little (how inconvenient that Mail does not  
allow search based on multiple criteria, like search all posts from  
Gerben Wierda containing the text updmap-sys), and found two relevant  
posts from Gerben, which seem to confirm what I thought. Thus I'll  
tend to stick to the conviction that "sudo -H updmap-sys" should be  
used, not "sudo updmap".

About the change in syntax:

> De : Gerben Wierda
> Date : 19 janvier 2006 13:29:11 HNEC
> À : TeX on Mac OS X Mailing List
> Objet : Rép : [OS X TeX] Fatal format file error: ...xelatex.fmt  
> doesn't   match xetex.pool
>
> [...]
>
> Secondly, in an aswer to what has led up to this: Thomas Esser  
> changed the
> semantics of updmap and friends. As a result, all the old  
> instructions out
> there on the web have become faulty.
>
> Where it used to be
>
>     sudo updmap
>
> (which these days produces root-owned files in your personal tree)  
> it now
> should be
>
>     sudo updmap-sys
>
> The -sys commands write in texmf.local. The non-sys write in your  
> personal
> tree. As written in the line above they do *read* your personal texmf
> tree.
>
> If you use
>
>     sudo -H updmap-sys
>
> updmap-sys will read *root's* personal texmf tree, which should not  
> exists
> IMO and of course still write in texmf.local.
>
> Thomas cleaned up the commands (sadly not backward compatible) and to
> protect myself from certain effects I moved from sudo to sudo -H,  
> to make
> sure anything in a personal tree from a users does not influence the
> operation of the TeX i-Package.
>
>> Maybe once for the deaf and/or stupid like me (yes I looked for it  
>> but I
>> am still confused):
>>
>> What is the correct syntax for mktexlsr and updmap on a tetex3.0 mac?
>> Is there an equivalent to rebuild the format files?
>
> For hashes:
>
>     sudo mktexlsr
>
> For formats:
>
>     sudo -H fmtutil-sys --all
>
> This produces results in texmf.local. Of course if you have ever run
> fmtutil (non-sys) you will have stuff in your personal tree which  
> takes
> precedence when you are actually running TeX.
>
> G

And about why config files in a personal texmf tree ~/Library/texmf  
are better avoided:

> De : Gerben Wierda
> Date : 23 avril 2006 14:34:47 HAEC
> À : TeX on Mac OS X Mailing List
> Objet : Rép : [OS X TeX] fonts into ~/texmf or into /texmf?
>
> On Apr 23, 2006, at 12:56, Peter Dyballa wrote:
>
>> There is probably still some MAP file to add, probably named  
>> bera.map! Put it into ~/Library/texmf/fonts/map and invoke
>>
>> 	updmap --enable Map=bera
>
> Just for the record: personal administration setups, like made with  
> updmap (and not updmap-sys) will be ignored by the TeX i-Package  
> (which only works for system-wide use) in case you use the TeX i- 
> Package. The result will be that the TeX i-Package will perform  
> stuff like updating maps during configuration, but these will not  
> be visible for you as a user as you will have your own. Updates to  
> TeX will therefore possibly not entirely work for you as they will  
> be installed perfectly but be overridden by older stuff in your  
> home dir.
>
> Personally, I would advise to install in texmf.local and use "sudo - 
> H updmap-sys" (etc.), that way, the TeX i-Package configuration  
> will be aware of it and you have only one setup on your system  
> (simpler).
>
> G

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