[tex-live] updmap-sys problem

Reinhard Kotucha reinhard.kotucha at web.de
Tue Jun 7 13:45:45 CEST 2011


On 2011-06-07 at 19:16:46 +0800, Wen-Fong Ke wrote:

 > Hi,
 > 
 > I compared the files 2011/texmf/scripts/tetex/updmap.pl
 >  and 2010/texmf/scripts/tetex/updmap.pl
 > and found the the new subroutine locateMap (line 572--591) contains the
 > following which caused the problem:
 > 
 >   foreach my $map (@maps) {
 >     push @missing, $map if (! grep /\/$map$/, @files);
 >   }
 > 
 > After comment the three lines out, everything works.

Did you test it at all?  You just disabled the error message which is
issued when some map files are not found:

## line 1036 ff:
  if (@missing > 0) {
    print STDERR "\nERROR:  The following map file(s) couldn't be found:\n\t";
    print STDERR join(' ', @missing);

Regards,
  Reinhard

 > Just want to let you know.
 > 
 > With best regards,
 > 
 > Wen-Fong Ke
 > 
 > 
 > On Tue, Jun 7, 2011 at 12:06 AM, Wen-Fong Ke <wfke at mail.ncku.edu.tw> wrote:
 > 
 > > Hi,
 > >
 > > I have just installed 2011 pretest under f:\texlive.  In the same directory
 > > are 2010 and texmf-local.  I can switch between 2011 and 2010 by setting the
 > > system search path.
 > >
 > > Now, in 2010, updmap-sys successfully locates the map files in the
 > > texmf-local directory, but 2011 creates the following "map files not found"
 > > error and stops.  This situation happens on two computers.
 > >
 > > Note that kpsewhich can find the claimed missing map files.
 > > I cannot figure out what is wrong here.
 > >
 > > Thanks for the efforts bringing a great system to the world!
 > >
 > > Wen-Fong Ke
 > >
 > > -----------------
 > > F:\texlive>cmd /c tlmgr generate updmap --localcfg
 > > f:/texlive/texmf-local/web2c/
 > > updmap-local.cfg
 > > To make the newly-generated updmap.cfg take effect, run updmap-sys.
 > >
 > > F:\texlive>cmd /c updmap-sys
 > > Config file: "F:/texlive/2011/texmf-config/web2c/updmap.cfg"
 > > dvips output dir: "F:/texlive/2011/texmf-var/fonts/map/dvips/updmap"
 > > pdftex output dir: "F:/texlive/2011/texmf-var/fonts/map/pdftex/updmap"
 > >
 > > updmap is creating new map files using the following configuration:
 > >  LW35 font names                  : URWkb
 > >  prefer outlines                  : true
 > >  texhash enabled                  : true
 > >  download standard fonts (dvips)  : false
 > >  download standard fonts (pdftex) : true
 > >
 > > Scanning for LW35 support files  [  3 files]
 > > Scanning for MixedMap entries    [ 44 files]
 > > Scanning for Map entries         [170 files]
 > >
 > >
 > > ERROR:  The following map file(s) couldn't be found:
 > >        cwfsu.map        cwhbu.map       cwku.map   cwmu.map   cwtex.map
 > > cwtex1.map       cwtex2.map   cwyu.map   lucidabr.map
 > >
 > >        Did you run mktexlsr?
 > >
 > >        You can delete non-existent map entries using the command
 > >
 > >          updmap-sys --syncwithtrees
 > >
 > > F:\texlive\2011\bin\win32\runscript.tlu:575: command failed with exit code
 > > 1:
 > > perl.exe f:/texlive/2011/texmf/scripts/tetex/updmap.pl
 > >
 > > F:\texlive>kpsewhich cwtex2.map
 > > f:/texlive/2011/../texmf-local/fonts/map/cwtex/cwtex2.map
 > >

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the tex-live mailing list