[NTG-context] MPost: how to pass variables from mpost to TeX.

2004-06-13 Thread vinuth madinur
Hi everyone, My mpost doesn’t have “textext” macro. So, what are the other ways of doing it? What I want to do is this : %I have a variable “GbLableName” GbLableName=”B_2”; %Now I want to use this variable like this: lable.bot( btex GbLableName etex , (0,0) ); But this will jus

[NTG-context] Re: MPost: how to pass variables from mpost to TeX.

2004-06-13 Thread Patrick Gundlach
Hi, > My mpost doesn’t have “textext” macro. > So, what are the other ways of doing it? Sorry, I thought you were using metafun (since you asked on the ConTeXt mailing list I didn't think of using plain mp) You have to do something like that is described at: http://www.ursoswald.

Re: [NTG-context] \AtBeginDocument

2004-06-13 Thread Hans Hagen Outside
Peter Münster wrote: \let\startproductO=\startproduct \def\startproduct{something\startproductO} ? hm, starttext is called anyway so it should work with product as well you code is wrong, think about something (untested): \let\petermunstersstartproduct\startproduct \def\startproduct{something\le

Re: [NTG-context] MPost: how to pass variables from mpost to TeX.

2004-06-13 Thread Hans Hagen Outside
vinuth madinur wrote: Hi everyone, My mpost doesn’t have “textext” macro. So, what are the other ways of doing it? What I want to do is this : %I have a variable “GbLableName” GbLableName=”B_2”; %Now I want to use this variable like this: lable.bot( btex GbLableName etex , (0,0) ); B