Dominique Lohez | 15 Sep 12:21
Picon

missing latex.fmt and pdflatex.fmt files

i

I am upgrading my system to fedora core 5 linux from the the scratch

I have installed the following teTex package from the rpm
tetex-3.0-17.i386.rpm-3.0-17.i386.rpm
tetex-afm-3.0-17.i386.rpm
tetex-latex-3.0-17.i386.rpm
tetex-fonts-3.0-17.i386.rpm
tetex-dvips-3.0-17.i386.rpm
tetex-xdvi-3.0-17.i386.rpm

Additionnally
I have installed
latex2html-2002-2.1-5.1.rpm


Trying to run latex with some existing file
i am asked for a missing file  latex.fmt
in the following context

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea: Running mktexfmt latex.fmt
fmtutil: format `latex' not available.
I can't find the format file `latex.fmt'!

Similarly runing pdflatex with the same file
I am asked   for the missing  file pdflatex.fmt

Searching from the existing *.fmt files i get the following list

/usr/share/texmf-var/web2c/lambda.fmt
/usr/share/texmf-var/web2c/mptopdf.fmt
/usr/share/texmf-var/web2c/pdftex.fmt
/usr/share/texmf-var/web2c/etex.fmt
/usr/share/texmf-var/web2c/omega.fmt
/usr/share/texmf-var/web2c/lamed.fmt
/usr/share/texmf-var/web2c/amstex.fmt
/usr/share/texmf-var/web2c/bamstex.fmt
/usr/share/texmf-var/web2c/pdflatex.fmt
/usr/share/texmf-var/web2c/aleph.fmt
/usr/share/texmf-var/web2c/latex.fmt
/usr/share/texmf-var/web2c/bplain.fmt
/usr/share/texmf-var/web2c/cont-en.fmt
/usr/share/texmf-var/web2c/tex.fmt
/usr/share/texmf-var/web2c/pdfetex.fmt
/usr/share/texmf/web2c/platex209-jis.fmt
/usr/share/texmf/web2c/platex209.fmt
/usr/share/texmf/web2c/platex209-euc.fmt
/usr/share/texmf/web2c/platex-jis.fmt
/usr/share/texmf/web2c/platex-sjis.fmt
/usr/share/texmf/web2c/ptex-jis.fmt
/usr/share/texmf/web2c/ptex.fmt
/usr/share/texmf/web2c/platex.fmt
/usr/share/texmf/web2c/ptex-sjis.fmt
/usr/share/texmf/web2c/platex-euc.fmt
/usr/share/texmf/web2c/ptex-euc.fmt
/usr/share/texmf/web2c/platex209-sjis.fmt

Since both pdflatex.fmt and latex.fmt do exist and not listed in /usr/share/texmf-var/ls-R regenerating this file  allow to correct the problem.


Now my question Why the file ls-R is not uptodate
Do i update all such files ( there is a lot ) have to be updated to avoid further difficulties ?


Thank for your help


Dominique







Martin Schröder | 17 Sep 23:12
Picon

Re: missing latex.fmt and pdflatex.fmt files

2006/9/15, Dominique Lohez <dominique.lohez <at> isen.fr>:
>  Since both pdflatex.fmt and latex.fmt do exist and not listed

Please do
   texconfig faq
   texdoc TETEXDOC

This will tell you that you need to call texconfig or texconfig-sys.

Best
   Martin

PS: This is a fedora problem, so please ask for support there.

Harald Hanche-Olsen | 18 Sep 13:57
Picon
Picon
Favicon
Gravatar

Re: missing latex.fmt and pdflatex.fmt files

+ Dominique Lohez <dominique.lohez <at> isen.fr>:

| I am upgrading my system to fedora core 5 linux from the the scratch
| [...]
| I can't find the format file `latex.fmt'!
| 
| Since both pdflatex.fmt and latex.fmt do exist and not listed in
| /usr/share/texmf-var/ls-R regenerating this file allow to correct
| the problem.
| 
| Now my question Why the file ls-R is not uptodate

That is a question you will have to ask the maintaner of that
particular rpm.  (That person ought to be subscribed to this list, so
will luck you will get an answer here.  But otherwise, this list is
not concerned with problems arising from various repackagings of
teTeX.)

| Do i update all such files ( there is a lot ) have to be updated to
| avoid further difficulties ?

If you run the command  texhash  with no further options, it should
regenerate them all.  If not your TeX system is misconfigured, and
again the rpm maintainer is the one to complain to.

- Harald

Reinhard Kotucha | 19 Sep 22:45
Picon

Re: missing latex.fmt and pdflatex.fmt files

>>>>> "Martin" == Martin Schröder <martin <at> oneiros.de> writes:

  > 2006/9/15, Dominique Lohez <dominique.lohez <at> isen.fr>:
  >> Since both pdflatex.fmt and latex.fmt do exist and not listed

  > Please do 
  >    texconfig faq 
  >    texdoc TETEXDOC

No.  You can compile teTeX from the sources and it always works.  We
can expect the same from any rpm package too.

How should the future of TeX look like if everyone has to read the FAQ
in order to find out how to tell TeX where to look for format files? 
A "normal" user shouldn't even have to know what a format file is.

If format files are not found there is clearly a severe bug which has
to be fixed.

  > PS: This is a fedora problem, so please ask for support there.

Yes, this is the *only* right way to go.  Sigh!

Dominique, if you need a quick solution, compile it yourself.  It's
not difficult, read:

    http://www.tug.org/tetex/tetex-src/QuickInstall

If you prefer a binary distribution,

    http://www.tug.org/texlive 

is the best choice.

Regards,
  Reinhard

--

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-4592165
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.
----------------------------------------------------------------------------


Gmane