[NTG-context] Problem with ConTeXt installation

Jeremy Johnson jazz_johnson at verizon.net
Sat Sep 30 22:21:08 CEST 2006


On Saturday 30 September 2006 09:55, Sanjoy Mahajan wrote:
> > Search for the stale cont-en.fmt and delete it.
>
> Right -- most likely produced by fmtutil before you commented out the
> automatic regeneration of context formats.  Same problem happens with
> other Unix installations, e.g. I got bit a few times on Debian and
> Ubuntu.  Here's one way to find the cont-en.fmt that you are using:
>
>   $ kpsewhich -engine=pdfetex cont-en.fmt
>   /home/sanjoy/.texmf-var/web2c/pdfetex/cont-en.fmt
>
> (when pdfetex finishes turning into pdftex, as in the latest pdftex
> releases, the engine line should I guess change to pdftex)
>
> Then you can look at it's date and make sure it's the one you just
> generated.
>
> kpsewhere does a more general tex path search, which looks in each
> TEXMF tree (kpsewhich tells you only the first one it finds):
>
>   $ kpsewhere -engine=pdfetex cont-en.fmt
>   /home/sanjoy/.texmf-var/web2c/pdfetex/cont-en.fmt
>
> -Sanjoy
>
> `Never underestimate the evil of which men of power are capable.'
>          --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.


OK, I regenerated "texexec --make en de nl; texexec --make metafun"
and checked to see what was created:
# for f in `kpsewhere -engine=pdfetex cont-en.fmt`; do ls -l ${f}; done
-rw-r--r-- 1 root root 6642152 Sep 30 
16:04 /root/.texmf-var/web2c/pdfetex/cont-en.fmt
-rw-r--r-- 1 root root 6562550 Sep 29 15:21 /var/lib/texmf/web2c/cont-en.fmt
-rw-r--r-- 1 root root 6562550 Sep 29 15:21 /var/lib/texmf/web2c/cont-en.fmt
-rw-r--r-- 1 root root 6562550 Sep 29 15:21 /var/lib/texmf/web2c/cont-en.fmt


So, today (Sept 30) /root/.texmf-var/web2c/pdfetex/cont-en.fmt was created.
So I simply copied /root/.texmf-var/web2c/pdfetex/*     /var/lib/texmf/web2c/

"texexec new.tex" seems to run OK now, without error.
I'll investigate further.

THANKS.




More information about the ntg-context mailing list