[tex-live] updmap.pl

Norbert Preining preining at logic.at
Fri Apr 19 21:42:34 CEST 2013


Hi Michael,

On Di, 16 Apr 2013, Michael Sharpe wrote:
> Issue 1.
> 
>  sudo -H updmap-sys --edit 
> 
> leads to the error message
> 
> Undefined subroutine &main::touch called at /usr/texbin/updmap line 432.

Indeed, fixed in tlpretest for TL2013.


> Issue 2:
> 
>  sudo -H updmap-sys --enable Map=foo.map
> 
> tells me
> 
> updmap is using the following updmap.cfg files (in precedence order):
>   /usr/local/texlive/2012/texmf/web2c/updmap.cfg
>   /usr/local/texlive/2012/../texmf-local/web2c/updmap.cfg
>   /usr/local/texlive/2012/texmf-dist/web2c/updmap.cfg
> updmap is using the following updmap.cfg file for writing changes:
>   /usr/local/texlive/2012/texmf/web2c/updmap.cfg
> 
> but, in fact, it writes the changes to TEXMFMAIN and does not create a new updmap.cfg in TEXMFCONFIG. 

Well, this is what it says ...:
	updmap is using the following updmap.cfg file for writing changes:
	  /usr/local/texlive/2012/texmf/web2c/updmap.cfg
so that is fine.

But, interestingly, I tried it and it works for me properly:

before:
$ updmap-sys
updmap is using the following updmap.cfg files (in precedence order):
  /usr/local/share/texmf/web2c/updmap.cfg
  /home/norbert/tl/2013/texmf-dist/web2c/updmap.cfg
updmap is using the following updmap.cfg file for writing changes:
  /home/norbert/tl/2013/texmf-config/web2c/updmap.cfg
...
$ updmap-sys --enable Map foo.map
updmap is using the following updmap.cfg files (in precedence order):
  /usr/local/share/texmf/web2c/updmap.cfg
  /home/norbert/tl/2013/texmf-dist/web2c/updmap.cfg
updmap is using the following updmap.cfg file for writing changes:
  /home/norbert/tl/2013/texmf-config/web2c/updmap.cfg
Creating new config file /home/norbert/tl/2013/texmf-config/web2c/updmap.cfg
...

So that seems fine.

I have tried it both with the version in tlpretest plus with the
version where I fixed some bugs concerning TEXMFMAIN and TEXMFDIST.
The outcome was the same for both, so I am not sure what is going
on on your side.

Anyway, all the fixes mentioned (touch, TEXMFMAIN removed from updmap.pl
as taken over by TEXMFDIST, no reordering anymore) will be commited
in a minute.

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------


More information about the tex-live mailing list