ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* The problem of updating context manually using cont-tmf.zip
@ 2008-09-17  6:49 Jianning Dong
  2008-09-17  7:11 ` Thomas A. Schmitz
  0 siblings, 1 reply; 9+ messages in thread
From: Jianning Dong @ 2008-09-17  6:49 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 814 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 1036 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem of updating context manually using cont-tmf.zip
  2008-09-17  6:49 The problem of updating context manually using cont-tmf.zip Jianning Dong
@ 2008-09-17  7:11 ` Thomas A. Schmitz
  2008-09-17  7:20   ` Jianning Dong
  2008-09-17  8:23   ` Jianning Dong
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas A. Schmitz @ 2008-09-17  7:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem of updating context manually using cont-tmf.zip
  2008-09-17  7:11 ` Thomas A. Schmitz
@ 2008-09-17  7:20   ` Jianning Dong
  2008-09-17  8:08     ` Thomas A. Schmitz
  2008-09-17  8:23   ` Jianning Dong
  1 sibling, 1 reply; 9+ messages in thread
From: Jianning Dong @ 2008-09-17  7:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1282 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 2013 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem of updating context manually using cont-tmf.zip
  2008-09-17  7:20   ` Jianning Dong
@ 2008-09-17  8:08     ` Thomas A. Schmitz
  2008-09-17 13:53       ` Aditya Mahajan
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas A. Schmitz @ 2008-09-17  8:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem of updating context manually using cont-tmf.zip
  2008-09-17  7:11 ` Thomas A. Schmitz
  2008-09-17  7:20   ` Jianning Dong
@ 2008-09-17  8:23   ` Jianning Dong
  2008-09-17  8:39     ` Hans Hagen
  1 sibling, 1 reply; 9+ messages in thread
From: Jianning Dong @ 2008-09-17  8:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 497 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 584 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem of updating context manually using cont-tmf.zip
  2008-09-17  8:23   ` Jianning Dong
@ 2008-09-17  8:39     ` Hans Hagen
  2008-09-17 13:02       ` Jianning Dong
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2008-09-17  8:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem of updating context manually using cont-tmf.zip
  2008-09-17  8:39     ` Hans Hagen
@ 2008-09-17 13:02       ` Jianning Dong
  0 siblings, 0 replies; 9+ messages in thread
From: Jianning Dong @ 2008-09-17 13:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 118 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 161 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem of updating context manually using cont-tmf.zip
  2008-09-17  8:08     ` Thomas A. Schmitz
@ 2008-09-17 13:53       ` Aditya Mahajan
  2008-09-17 14:17         ` Jianning Dong
  0 siblings, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2008-09-17 13:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem of updating context manually using cont-tmf.zip
  2008-09-17 13:53       ` Aditya Mahajan
@ 2008-09-17 14:17         ` Jianning Dong
  0 siblings, 0 replies; 9+ messages in thread
From: Jianning Dong @ 2008-09-17 14:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1838 bytes --]

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 <adityam@umich.edu> wrote:

> 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.

[-- Attachment #1.2: Type: text/html, Size: 2884 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-09-17 14:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-17  6:49 The problem of updating context manually using cont-tmf.zip Jianning Dong
2008-09-17  7:11 ` Thomas A. Schmitz
2008-09-17  7:20   ` Jianning Dong
2008-09-17  8:08     ` Thomas A. Schmitz
2008-09-17 13:53       ` Aditya Mahajan
2008-09-17 14:17         ` Jianning Dong
2008-09-17  8:23   ` Jianning Dong
2008-09-17  8:39     ` Hans Hagen
2008-09-17 13:02       ` Jianning Dong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).