Re: [NTG-context] Calculating a value in metapost, and using it in ConTeXt

2015-05-26 Thread Kate F
On 27 May 2015 at 00:18, Hans Hagen pra...@wxs.nl wrote: On 5/26/2015 9:17 PM, Kate F wrote: Hello, Is it possible to calculate the position of something in Metapost, and to export that value to TeX such that I can use it in setups and things? it depends on what you want to calculate

[NTG-context] Calculating a value in metapost, and using it in ConTeXt

2015-05-26 Thread Kate F
Hello, Is it possible to calculate the position of something in Metapost, and to export that value to TeX such that I can use it in setups and things? I thought perhaps I could \def inside btex..etex. Here's a minimal example trying to illustrate the idea: \startuniqueMPgraphic{canon} path

Re: [NTG-context] Calculating a value in metapost, and using it in ConTeXt

2015-05-26 Thread Hans Hagen
On 5/26/2015 9:17 PM, Kate F wrote: Hello, Is it possible to calculate the position of something in Metapost, and to export that value to TeX such that I can use it in setups and things? it depends on what you want to calculate \startMPcalculation path p, q; h := PaperHeight; w