texlive-base (lenny), file 'modes'
To |
czdebian-l zavinac debian bod cz |
From |
Petr Heřman <ph zavinac lf2 bod cuni bod cz> |
Date |
Sat, 19 Jan 2008 22:49:51 +0100 |
Cc |
Marian Cavojsky <cavo+konf zavinac cavo bod sk> |
Mail-followup-to |
czdebian-l zavinac debian bod cz, Marian Cavojsky <cavo+konf zavinac cavo bod sk> |
User-agent |
Mutt/1.5.13 (2006-08-11) |
Konečně jsem se rozhodnul upgradeovat na lenny
a těžko se opět vypořádávám s texlive-base:
Running mktexlsr. This may take some time... done.
Building format(s) --all.
This may take some time...
/tmp/fmtutil.SZv11215:
fmtutil: running `mf -ini -jobname=mf -progname=mf
/-translate-file=cp227.tcx mf.ini' ...
This is METAFONT, Version 2.71828 (Web2C 7.5.6) (INIMF)
(/usr/share/texmf-texlive/web2c/cp227.tcx)
(/usr/share/texmf-texlive/metafont/config/mf.ini
(/usr/share/texmf-texlive/metafont/base/plain.mf
Preloading the plain base, version 2.71: preliminaries,
basic constants and mathematical macros,
macros for converting from device-independent units to pixels,
macros and tables for various modes of operation,
macros for drawing and filling,
macros for proof labels and rules,
macros for character and font administration,
and a few last-minute items.)kpathsea: Running mktexmf modes
! I can't find file `modes'.
l.3 \input modes
Please type another input file name:
! Emergency stop.
l.3 \input modes
Transcript written on mf.log.
Error: `mf -ini -jobname=mf -progname=mf -translate-file=cp227.tcx mf.ini'
fail
#############################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
/var/lib/texmf/web2c
for details.
#############################################################
Chabě tomu rozumím tak, že když nějaký mktexlsr spustí
program mf aby udělal něco se souborem
/usr/share/texmf-texlive/metafont/config/mf.ini
tak v tom souboru je:
% Thomas Esser, 1998. public domain.
\input plain
\input modes
\dump
\endinput
Což chápu, že ve třetím řádku se má načíst nějaký
soubor 'modes', který nemůže najít.
Když hledám findem nějaký soubor 'modes', tak jediné,
co najdu, je:
/usr/share/texlive-base/modes.mf
což si nejsem jistý, jestli je to to, co zrovna hledá,
a pokud ano, tak proč ho tady nenajde?
Tak mě napadlo, když ten předcházející soubor
plain najde, tak si ho najít taky, a našel jsem ho v:
/usr/share/texmf-texlive/metafont/base/plain.mf
Tak jediný, co mě mým selským rozumem napadlo,
aniž bych moc tušil, co dělám, dát do tohodle adresáře
softlink na ten 'modes.mf':
ln -s /usr/share/texlive-base/modes.mf modes.mf
Pustim # apt-get -f install
a kupodivu to všechno prošlo OK.
Nevim jestli mi něco řekne:
kpsepath mf
.:/root/.texmf-config/metafont//
:/root/.texmf-var/metafont//
:/root/texmf/metafont//
:/etc/texmf/metafont//
:!!/var/lib/texmf/metafont//
:!!/usr/local/share/texmf/metafont//
:!!/usr/share/texmf/metafont//
:!!/usr/share/texmf-texlive/metafont//
:/root/.texmf-config/fonts/source//
:/root/.texmf-var/fonts/source//
:/root/texmf/fonts/source//
:/etc/texmf/fonts/source//
:!!/var/lib/texmf/fonts/source//
:!!/usr/local/share/texmf/fonts/source//
:!!/usr/share/texmf/fonts/source//
:!!/usr/share/texmf-texlive/fonts/source//
:/tmp/texfonts/source//
/usr/share/texmf-texlive/metafont tam je ale
/usr/share/texlive-base/ tam není
tak nevím, jestli je to tím?
A kde je teda ten bug nebo co,
jak by to mělo být správně nakonfigurovaný?
Petr Heřman
Partial thread listing:
- texlive-base (lenny), file 'modes', (pokračuje)
tisk souboru v jazyce PCL
Marek Nožka