[tex-live] Bug in updmap?!
Rainer Klueting
rainer at klueting.de
Fri Oct 22 14:10:28 CEST 2004
Hi,
I just subscribed to this mailing list, and here I am reporting a
bug. That doesn't sound like good style. But I was encouraged to
do so by several people in the usenet-group de.comp.text.tex.
To make a lengthy story short: After some troubles getting a
newly installed postscript font working, usenet-people gave me the
advice to register my new map-file by
updmap --enable Map xyz.map
instead of telling me to edit updmap.cfg first and then simply
calling updmap without any option (which did it for me, later on).
As you may know, updmap is present in TeXLive as an exe-file and
a perl-script.
I tried the above command. It failed, telling me:
using config file c:/Programme/TeXLive/texmf-
var/web2c/updmap.cfg
type=Map,map=1
configReplace c:/Programme/TeXLive/texmf-
var/web2c/updmap.cfg, ^#!\s*Map\s*1, Map 1
c:/Programme/TeXLive/texmf-var/web2c/updmap.cfg unchanged.
Map files not recreated.
Please watch the expression ^#!\s*Map\s*1, Map 1. This is
obviously a regular expression which is meant to "activate" or
"enable" a map-file in updmap.cfg. It is meant to
replace line: #! Map xyz.map
by line: Map xyz.map
But it doesn't, because the name of the map-file is replaced by the
number "1", whatever file name you give.
Similar errors surface, if you give updmap some of the other legal
options. Whenever you give three tokens to the commandline, as
in
updmap --enable Map xyz.map
or in
updmap --setoption <option> <argument>
the third token, the <argument>, will not be accepted, neither by
updmap.exe nor by updmap.pl.
My version of updmap.pl is said to be of 2002, author Thomas
Esser. I wrote to Thomas, but he told me he didn't write the perl-
version of the script. He wasn't sure but guessed Fabrice Popineau
might have converted his Bourne-script to perl and additionally
compiled an exe.
I'm no more than a beginner in perl; I didn't find the fault in the
script on my first glance. I wonder if there is already a fixed
version available.
Regards
--
Rainer Klueting
Stuttgart, Germany
More information about the tex-live
mailing list