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

[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] MPOST: How to pass variables from mpost to TeX

2004-06-11 Thread vinuth madinur
Hello all, Please see the following code: GbLabelName="Gubbi"; . . . label.bot(btex $GbLabelName$ etex, (0,0) ); .Here I get "GbLabelName" itself in the output instead of "Gubbi". I tried using "\GbLabelName"  and also "\scantokens\GbLabelName" instead of just "GbLabelName" , but they give errors