On Jun 6, 2005, at 4:48 PM, Jens N�ckel wrote:
On Jun 6, 2005, at 1:52 PM, Martin Costabel wrote:
Jens N�ckel wrote:
While I was exploring differences in behavior between pdflatex and
latex yesterday, I noticed an inconsistency in
/sw/var/lib/texmf/web2c/updmap.cfg
Where does this file come from? I don't see it in the recent tetex
packages. Is it possible that it is left over from an older tex
installation?
This is a real problem with our tetex packages that cost me a lot of
time to understand: The stuff in /sw/var/lib/texmf is used by the
various tetex binaries both at compile/configure/install time and at
runtime, but there is no control where this stuff actually comes
from.
In may case it was an old (2002 vintage) fmtutil.cnf in
/sw/var/lib/texmf that took precedence over the newly installed one
in ~/.texmf-config and caused wrong formats to be built even after
rerunning fmtutil and texconfig manually; all kinds of things like
jadetex crashed because of this, since the formats were the wrong
kind (tex instead of etex etc).
Removing that updmap.cfg (if it is really an older one compared to
the one in /sw/share/texmf-dist/web2c/ installed by tetex-texmf) and
then reinstalling the tetex packages might solve the problem, too.
--
Martin
I seem to have updmap.cfg files in a variety of places, so I'll try to
be systematic here:
The following refers to a new machine where I had installed fink fresh
on Tiger (hence no prior package pollution possible, also no other
non-fink tetex installations), and here are the details for that
configuration (I'll say something on my older configurations below):
The command sudo updmap --edit gives the following information:
% sudo updmap --edit
using config file /sw/var/lib/texmf/web2c/updmap.cfg
Then I looked for all files named updmap.cfg that exist in /sw, and
here are they with their dates:
-rw-r--r-- 1 root admin 4430 Jan 30 2003
/sw/share/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root admin 4432 Jun 6 08:32
/sw/var/lib/texmf/web2c/updmap.cfg
The newer one is clearly the one that got created by my manipulations
yesterday. But the older one in /sw/share ALSO has the out-dated font
information in it (AND note that it is in texmf, not texmf-dist):
%tail /sw/share/texmf/web2c/updmap.cfg
Map mathpi.map
# See comments in doc/fonts/belleek/README about using mt-belleek.map
# instead of mt-yy.map:
#! Map mt-belleek.map
Map mt-yy.map
Map mt-plus.map
# Euro Symbol fonts by Henrik Theiling; CTAN:fonts/eurosym
MixedMap eurosym.map
<EOF>
The belleek stuff is the part I was referring to earlier. It gets
changed to the following in the NEW updmap.cfg file:
% tail /sw/var/lib/texmf/web2c/updmap.cfg
Map mathpi.map
# See comments in doc/fonts/belleek/README about using mt-belleek.map
# instead of mt-yy.map:
Map mt-belleek.map
#!Map mt-yy.map
#!Map mt-plus.map
# Euro Symbol fonts by Henrik Theiling; CTAN:fonts/eurosym
MixedMap eurosym.map
<EOF>
On the machines where I had fink BEFORE Tiger came along, the process
works a little differently: the "sudo updmap --edit" creates a file
~/.texmf-config/web2c/updmap.cfg
in my home directory with the corrected version. This file is NOT
created on the "vanilla" Tiger-fink system! On these older systems,
the other two files by that name in the /sw tree are
-rw-r--r-- 1 root admin 5517 Feb 5 14:49
/sw/share/texmf-dist/web2c/updmap.cfg
-rw-rw-rw- 1 noeckel admin 4430 Jun 20 2004
/sw/var/lib/texmf/web2c/updmap.cfg
And the first of these files is finally in agreement with what you
described, Martin... It ALSO has the correct belleek enabling in it
already! HOWEVER, it seems to have had no effect on PDFLaTeX, and in
fact it was NOT used by the updmap utility! The file that was opened
in updmap's vi window was the one with the incorrect belleek line.
Anyway, with all this messy stuff going on, the fix as I described it
earlier (via running updmap) still worked on all my three different
system configurations (Tiger with "newly installed" fink, Tiger with
"old" fink, Panther with "old" fink).
I'm currently running an update-all on the "newly installed fink"
system to see if I end up with a different configuration again...
It gets better: now I have one more updmap.cfg file on my machines with
fink dating from before Tiger, this time in
/sw/etc/texmf-config/web2c/updmap.cfg
I just got this new one (with tetex-texmf 3.0-1, recently updated from
unstable), when trying to make a system-wide version of the changes
that had previously just been written to my home directory. Here is
what I typed, plus some of the output.
% sudo updmap-sys --edit
<here I edited the config file...>
updmap: This is updmap, version 1107552857
updmap: using transcript file `/sw/var/lib/texmf/web2c/updmap.log'
updmap: initial config file is `/sw/var/lib/texmf/web2c/updmap.cfg'
updmap: configuration file updated:
`/sw/etc/texmf-config/web2c/updmap.cfg'
updmap is creating new map files using the following configuration:
config file: `/sw/etc/texmf-config/web2c/updmap.cfg'
dvips output directory: `/sw/var/lib/texmf/fonts/map/dvips/updmap'
pdftex output directory: `/sw/var/lib/texmf/fonts/map/pdftex/updmap'
dvipdfm output directory: `/sw/var/lib/texmf/fonts/map/dvipdfm/updmap'
prefer outlines: `true'
texhash enabled: `false'
download standard fonts (dvips): `false'
download standard fonts (pdftex): `false'
download standard fonts (dvipdfm): `false'
updmap: Scanning for LW35 support files
<SNIP>
!!! ERROR! The map file `antt.map' has not been found at all.
Either put this file into the right place or remove the
reference from the configuration file. An automatic way
to disable unavailable map files is to call
updmap --syncwithtrees
For manual editing, call
updmap --edit
% sudo updmap-sys --syncwithtrees
updmap: This is updmap, version 1107552857
updmap: using transcript file `/sw/var/lib/texmf/web2c/updmap.log'
updmap: initial config file is `/sw/etc/texmf-config/web2c/updmap.cfg'
updmap: configuration file updated:
`/sw/etc/texmf-config/web2c/updmap.cfg'
<SNIP>
updmap: All output generated!
updmap: Files generated:
-rw-r--r-- 1 root admin 12736 6 Jun 19:00
/sw/var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm_dl14.map
-rw-r--r-- 1 root admin 13317 6 Jun 19:00
/sw/var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map
-rw-r--r-- 1 root admin 8228 6 Jun 19:00
/sw/var/lib/texmf/fonts/map/dvips/updmap/builtin35.map
-rw-r--r-- 1 root admin 12125 6 Jun 19:00
/sw/var/lib/texmf/fonts/map/dvips/updmap/download35.map
-rw-r--r-- 1 root admin 42538 6 Jun 19:00
/sw/var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map
-rw-r--r-- 1 root admin 25772 6 Jun 19:00
/sw/var/lib/texmf/fonts/map/dvips/updmap/psfonts_pk.map
-rw-r--r-- 1 root admin 38647 6 Jun 19:00
/sw/var/lib/texmf/fonts/map/dvips/updmap/psfonts_t1.map
-rw-r--r-- 1 root admin 42545 6 Jun 19:00
/sw/var/lib/texmf/fonts/map/pdftex/updmap/pdftex_dl14.map
-rw-r--r-- 1 root admin 41076 6 Jun 19:00
/sw/var/lib/texmf/fonts/map/pdftex/updmap/pdftex_ndl14.map
updmap: Map file links:
psfonts.map -> psfonts_t1.map
pdftex.map -> pdftex_ndl14.map
dvipdfm.map -> dvipdfm_ndl14.map
I decided to send this because it also contains an error message about
a missing map file 'antt.map' that I encountered before (and it shows
how this gets fixed), and you can see more details about my
configuration. I'm perfectly happy with everything because now the map
files on the last four lines above are doing what I want them to. But
maybe someone will figure out why those outdated updmap.cfg files are
still around at all...
There is something else that's fishy, about the versions of
/sw/bin/updmap -- it looks like my freshly installed fink on Tiger
actually has an outdated updmap, and no executable for updmap-sys at
all. But I'll report back on that after I try a re-install of
tetex-texmf later...
Jens
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users