The problem of updating context manually using cont-tmf.zip
Hello everyone. I'm using TeXLive2008, and I have just updated my ConTeXt for Chinese supporting using the file downloaded from http://mirror.contextgarden.net/context/current/cont-tmf.zip. I just unzipped it into texmf-local and execute the command: texmfstart texexec --make --all I think everything is OK, but the problem comes. The version of ConTeXt is still 2008.05.21 15:21: context --version MtxRun | main context file: /usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex MtxRun | current version : 2008.05.21 15:21 I don't know the exactly meaning of "main context file". I think it should be the file I just unzipped into /usr/local/texlive/texmf-local. The version of ConTeXt should be 2008.08.05. Anyone can help me updating the ConTeXt? -- Hello world! Every day is a new day.
On Sep 17, 2008, at 8:49 AM, Jianning Dong wrote:
Hello everyone.
I'm using TeXLive2008, and I have just updated my ConTeXt for Chinese supporting using the file downloaded from http://mirror.contextgarden.net/context/current/cont-tmf.zip.
I just unzipped it into texmf-local and execute the command: texmfstart texexec --make --all
I think everything is OK, but the problem comes. The version of ConTeXt is still 2008.05.21 15:21:
context --version
MtxRun | main context file: /usr/local/texlive/2008/texmf-dist/tex/ context/base/context.tex MtxRun | current version : 2008.05.21 15:21
I don't know the exactly meaning of "main context file". I think it should be the file I just unzipped into /usr/local/texlive/texmf-local. The version of ConTeXt should be 2008.08.05.
Anyone can help me updating the ConTeXt?
The problem seems to be the order in which TeX searches and uses the various TEXMF trees. Can you post the output of kpsewhich --expand-var='$TEXMF' and of kpsewhere context.tex Thomas
Here is the output: kpsewhich --expand-var='$TEXMF' {/home/ben/.texlive2008/texmf-config,/home/ben/.texlive2008/texmf-var,/home/ben/texmf,!!/usr/local/texlive/2008/texmf-config,!!/usr/local/texlive/2008/texmf-var,!!/usr/local/texlive/2008/texmf,!!/usr/local/texlive/2008/../texmf-local,!!/usr/local/texlive/2008/texmf-dist} and kpsewhere context.tex /usr/local/texlive/2008/../texmf-local/tex/context/base/context.tex /usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex but it seems that it's just OK.
The problem seems to be the order in which TeX searches and uses the various TEXMF trees. Can you post the output of
kpsewhich --expand-var='$TEXMF'
and of
kpsewhere context.tex
Thomas
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- Hello world! Every day is a new day.
On Sep 17, 2008, at 9:20 AM, Jianning Dong wrote:
Here is the output:
kpsewhich --expand-var='$TEXMF' {/home/ben/.texlive2008/texmf-config,/home/ben/.texlive2008/texmf- var,/home/ben/texmf,!!/usr/local/texlive/2008/texmf-config,!!/usr/ local/texlive/2008/texmf-var,!!/usr/local/texlive/2008/texmf,!!/usr/ local/texlive/2008/../texmf-local,!!/usr/local/texlive/2008/texmf- dist}
and
kpsewhere context.tex /usr/local/texlive/2008/../texmf-local/tex/context/base/context.tex /usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex
but it seems that it's just OK.
Excuse me, I wasn't paying attention. You're mixing two things here. From your earlier mail:
I just unzipped it into texmf-local and execute the command: texmfstart texexec --make --all
This creates mkii formats.
context --version
MtxRun | main context file: /usr/local/texlive/2008/texmf-dist/tex/ context/base/context.tex MtxRun | current version : 2008.05.21 15:21
This uses mkiv. If you want to use mkiv, you need to update the mkiv database as well: luatools --generate and then possibly remake the mkiv format manually with luatools --ini --compile cont-en Thomas
On Wed, 17 Sep 2008, Thomas A. Schmitz wrote:
On Sep 17, 2008, at 9:20 AM, Jianning Dong wrote:
Here is the output:
kpsewhich --expand-var='$TEXMF' {/home/ben/.texlive2008/texmf-config,/home/ben/.texlive2008/texmf- var,/home/ben/texmf,!!/usr/local/texlive/2008/texmf-config,!!/usr/ local/texlive/2008/texmf-var,!!/usr/local/texlive/2008/texmf,!!/usr/ local/texlive/2008/../texmf-local,!!/usr/local/texlive/2008/texmf- dist}
and
kpsewhere context.tex /usr/local/texlive/2008/../texmf-local/tex/context/base/context.tex /usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex
but it seems that it's just OK.
Excuse me, I wasn't paying attention. You're mixing two things here. From your earlier mail:
I just unzipped it into texmf-local and execute the command: texmfstart texexec --make --all
This creates mkii formats.
You also need to run sudo texhash (sudo mktexlsr) before creating mkii formats. Aditya
Thank you, Aditya.
I have updated successfully after the update of luatex.
Now I have generated mkiv successfully. I think mkiv is better.
On Wed, Sep 17, 2008 at 9:53 PM, Aditya Mahajan
On Wed, 17 Sep 2008, Thomas A. Schmitz wrote:
On Sep 17, 2008, at 9:20 AM, Jianning Dong wrote:
Here is the output:
kpsewhich --expand-var='$TEXMF' {/home/ben/.texlive2008/texmf-config,/home/ben/.texlive2008/texmf- var,/home/ben/texmf,!!/usr/local/texlive/2008/texmf-config,!!/usr/ local/texlive/2008/texmf-var,!!/usr/local/texlive/2008/texmf,!!/usr/ local/texlive/2008/../texmf-local,!!/usr/local/texlive/2008/texmf- dist}
and
kpsewhere context.tex /usr/local/texlive/2008/../texmf-local/tex/context/base/context.tex /usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex
but it seems that it's just OK.
Excuse me, I wasn't paying attention. You're mixing two things here. From your earlier mail:
I just unzipped it into texmf-local and execute the command: texmfstart texexec --make --all
This creates mkii formats.
You also need to run sudo texhash (sudo mktexlsr) before creating mkii formats.
Aditya
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- Hello world! Every day is a new day.
Now I'm using ctxtools to update automatically on another machine, but the error occurs: $context --version Should I create the cache path /home/ben? [yes|no] [no] yes fatal error: there is no valid (writable) cache path defined I'm sure that /home/ben is a writable directory, so I think it's a bug. Both ctxtools and my hand cannot handle the updating job correctly. Perhaps the only way for me to use newer ConTeXt is installing the ConTeXt minimal. -- Hello world! Every day is a new day.
Jianning Dong wrote:
Now I'm using ctxtools to update automatically on another machine, but the error occurs: $context --version Should I create the cache path /home/ben? [yes|no] [no] yes
fatal error: there is no valid (writable) cache path defined
I'm sure that /home/ben is a writable directory, so I think it's a bug. Both ctxtools and my hand cannot handle the updating job correctly. Perhaps the only way for me to use newer ConTeXt is installing the ConTeXt minimal.
if you're on unix, you need the latest luatex (the unix version had a bug with regards to interpreting the permission bits) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Thank you all. As Hans said, it's a bug of luatex. I should update it first. -- Hello world! Every day is a new day.
participants (4)
-
Aditya Mahajan
-
Hans Hagen
-
Jianning Dong
-
Thomas A. Schmitz