![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 6/4/2021 1:25 PM, Ajith R wrote:
Hi,
In order answer that you have to make a MWE that we can run without the need to edit a file.
Hans
Sorry for having assumed that sharing the code was sufficient as MWE.
Here is the trimmed version that still throws the error
\startMPpage StartPage ;
numeric row, col, unit; pair middle; row := 1; col := 1; unit := 2 * cm ; picture p, q ; p := nullpicture; q := nullpicture; string l[]; l[0] := "2" ; l[1] := " 4";
for i= 0 upto row : middle := (i * unit, 5cm); p := thelabel( l[i], middle); draw p; %q := p reflectedabout (0.5[urcorner p, ulcorner p], 0.5[lrcorner p, llcorner p]); %draw q
here a ; is missing after the q
endfor StopPage ; \stopMPpage \stoptext
The file is also attached. As I told earlier, an error is thrown if I uncomment the line that assigns q and then draws it.
Thanks for your help, ajith
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------