Dear devs,

There seems to be a bug in the MetaPost integration of ConTeXt.  The MWE
below should produce three different labels “dummy foo bar” but instead
produces “bar bar bar”.  The same example works correctly in plain
MetaPost.  Originally reported on

    
https://tex.stackexchange.com/questions/503773/strange-behaviour-of-the-btex-etex-construct

Cheers, Henri

---

\starttext
\startMPpage
def drawtest(expr i) = %i is not used here
    draw btex dummy etex shifted (0,0);
    draw btex foo   etex shifted (1.5cm,0);
    draw btex bar   etex shifted (3cm,0);
enddef;
drawtest(5);
\stopMPpage
\stoptext
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to