\startvariables failed after the current update
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 ----------------------------------------------------------------
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 -----------------------------------------------------------------
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
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 ----------------------------------------------------------------
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Zhichu Chen