Re: [NTG-context] \startvariables failed after the current update

2008-10-28 Thread Hans Hagen
Zhichu Chen wrote:
> Oops. Thanks. Although I think it would be much simpler if we can do this
> by using comma lists.

(1) slow
(2) when another interface is added, we need to extend all commalists 
(say that you want a chinese user interface)
(3) we now generate definitions from lua tables

Hans

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


Re: [NTG-context] \startvariables failed after the current update

2008-10-28 Thread Zhichu Chen
Oops. Thanks. Although I think it would be much simpler if we can do this
by using comma lists.

On Tue, Oct 28, 2008 at 8:30 AM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Zhichu Chen wrote:
>> Hi there,
>>
>> I haven't updated my ConTeXt distribution for a very long time (for
>> the internet connection problem here) and somehow my network
>> worked, so I use ctxtools --update to make an update. During the
>> updating, I got some error message like "I can't find mult-def.tex"
>> and some other files more. Weird, because I do have those files
>> and kpsewhich can locate them. I just input the needed files WITH
>> the path and seemed OK. To make sure, I made another ctxtools --update
>> and this time no error messages.
>>
>> Anyway, I compiled a used-to-be-working file and failed because
>> some "Undefined control sequence" and I found the "undefined"
>> macros are the \c!xxx and \v!yyy macros which I defined them
>> in
>> \startvariables all
>>yyy: yyy
>> \stopvariables
>>
>> \startconstants all
>>xxx: xxx
>> \stopconstants
>>
>> any explanations?
>
> sure, that interface has gone
>
> \setinterfacevariable{yyy}{yyy}
> \setinterfaceconstant{xxx}{xxx}
>
> -
>   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
> ___
>



-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

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


Re: [NTG-context] \startvariables failed after the current update

2008-10-28 Thread Hans Hagen
Zhichu Chen wrote:
> Hi there,
> 
> I haven't updated my ConTeXt distribution for a very long time (for
> the internet connection problem here) and somehow my network
> worked, so I use ctxtools --update to make an update. During the
> updating, I got some error message like "I can't find mult-def.tex"
> and some other files more. Weird, because I do have those files
> and kpsewhich can locate them. I just input the needed files WITH
> the path and seemed OK. To make sure, I made another ctxtools --update
> and this time no error messages.
> 
> Anyway, I compiled a used-to-be-working file and failed because
> some "Undefined control sequence" and I found the "undefined"
> macros are the \c!xxx and \v!yyy macros which I defined them
> in
> \startvariables all
>yyy: yyy
> \stopvariables
> 
> \startconstants all
>xxx: xxx
> \stopconstants
> 
> any explanations?

sure, that interface has gone

\setinterfacevariable{yyy}{yyy}
\setinterfaceconstant{xxx}{xxx}

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


[NTG-context] \startvariables failed after the current update

2008-10-28 Thread Zhichu Chen
Hi there,

I haven't updated my ConTeXt distribution for a very long time (for
the internet connection problem here) and somehow my network
worked, so I use ctxtools --update to make an update. During the
updating, I got some error message like "I can't find mult-def.tex"
and some other files more. Weird, because I do have those files
and kpsewhich can locate them. I just input the needed files WITH
the path and seemed OK. To make sure, I made another ctxtools --update
and this time no error messages.

Anyway, I compiled a used-to-be-working file and failed because
some "Undefined control sequence" and I found the "undefined"
macros are the \c!xxx and \v!yyy macros which I defined them
in
\startvariables all
   yyy: yyy
\stopvariables

\startconstants all
   xxx: xxx
\stopconstants

any explanations?

-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

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