[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#355084: lmodern: does not work anymore



Hi Rogério,

Rogério Brito wrote:

> Ok, here is the output with the version of lmodern (0.92-7) that is
> currently in testing (etch):

Ah, I had forgotten that lmodern 0.99.3 hasn't migrated to testing yet.
And you reported the bug against 0.99.3-2 on a testing system. ;-) That
changes a few things:

> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> rbrito@dumont:~/doc/math$ egrep ec-lmr12 $(kpsewhere ps2pk.map)
> rbrito@dumont:~/doc/math$ kpsewhere ps2pk.map
> /var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map
> rbrito@dumont:~/doc/math$ 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

That's fine and expected. ec-lmr12 is an unkown font in 0.92-7.

> Here are the messages that I got upon installation of this version of
> lmodern on my computer:
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> (...)
> Setting up lmodern (0.92-7) ...
> mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
> mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFDIST-TETEX... 
> mktexlsr: Updating /var/cache/fonts/ls-R... 
> mktexlsr: Updating /var/lib/texmf/ls-R... 
> mktexlsr: Done.
> Running updmap... 
> Warning: updmap is being run as root; updmap-sys should probably be
> used instead.  If this is done by a Debian package upon installation,
> upgrade, or removal, please file a bug against that package.
> 
> 
> Warning: updmap was run as root; updmap-sys was used instead.
> If this was done by a Debian package upon installation,
> upgrade, or removal, please file a bug against that package.
> 
> done.
> (...)
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

That, too, is fine and expected. Version 0.92-7 stems from the 'before
updmap-sys time'.

Did you have any problems with compiling and/or viewing your files when
you had v0.92-7 installed? Or did you go right away to the version in sid?

> Now, the same things for the version of lmodern that is in sid (0.99.3-2):
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> (...)
> Preparing to replace lmodern 0.92-7 (using .../lmodern_0.99.3-2_all.deb) ...
> Removing old, unchanged (pseudo-)conffile /etc/texmf/updmap.d/10lmodern.cfg
> Removing obsolete, unchanged conffile /etc/texmf/dvips/lm.map
> Unpacking replacement lmodern ...
> Setting up lmodern (0.99.3-2) ...
> Installing new version of config file /etc/X11/fonts/Type1/lmodern.scale ...
> Installing new version of config file /etc/defoma/hints/lmodern.hints ...
> Running mktexlsr. This may take some time... done.
> Running updmap-sys. This may take some time... done.
> (...)
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

That's fine.

> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> rbrito@dumont:~/doc/math$ egrep ec-lmr12 $(kpsewhere ps2pk.map)
> rbrito@dumont:~/doc/math$ kpsewhere ps2pk.map
> /var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map
> rbrito@dumont:~/doc/math$ 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Here it is getting interesting. The font ec-lmr12 should be defined in
the map file 'lm.map'. Does the map file exist, ie

kpsewhere lm.map

? Is the font mentioned there, ie,

egrep ec-lmr12 $(kpsewhere lm.map)

? From lm.map it should go to ps2pk.map, because it is mentioned in
updmap.cfg. Again two commands:

kpsewhere --format="web2c files" updmap.cfg
egrep lm.map $(kpsewhere --format="web2c files" updmap.cfg)

lm.map should appear in updmap.cfg because there exists
/etc/texmf/updmap.d/10lmodern.cfg. Another two commands:

ls -l /etc/texmf/updmap.d/
egrep lm.map /etc/texmf/updmap.d/10lmodern.cfg

That should give us enough information for debugging ...

cheerio
ralf




Reply to: