* Bug in mp-xbox.mpxl (circleit)
@ 2021-12-22 13:33 Jacob Kauffmann via ntg-context
2021-12-24 12:02 ` Hans Hagen via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Kauffmann via ntg-context @ 2021-12-22 13:33 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Jacob Kauffmann
[-- Attachment #1.1: Type: text/plain, Size: 1880 bytes --]
Hi list,
I realized that circleit throws an error.
It works fine if I replace boxes_generic_declare by boxes_declare in line 244 in mp-xbox.mpxl
rboxit is probably affected as well, but I did not test that.
MWE:
\startMPinclusions
input boxes;
\stopMPinclusions
\startMPpage
circleit.a(textext("$X$"));
drawboxed(a);
\startMPpage
The error (truncated) message:
metapost > initializing instance 'metafun:1' using format 'metafun' and method 'default'
metapost > loading 'metafun' as 'metafun.mpxl' using method 'default'
metapost > initializing number mode 'scaled'
metapost > trace > This is MPLIB for LuaMetaTeX, version 3.11, running in scaled mode.
metapost > trace >
metapost > trace > loading metafun for lmtx, including the plain 1.004 base definitions
metapost > trace >
metafun > log >
metafun > log > error: Isolated expression
metafun > log >
metapost > trace > <error> boxes_generic_declare
metapost > trace > <to be read again> (
metapost > trace > <macro> circleit -> (TEXT3)-> begingroup.boxes_begin("boxes_the_circle","boxes_size_circle",(SUFFIX2),(TEXT3));boxes_generic_declare(pair)_n.n,_n.s,_n.e,_n.w;(SUFFIX2)e-(SUFFIX2)c=(SUFFIX2)c-(SUFFIX2)w=((SUFFIX2)dx,0)+0.5*(lrcorner.boxes_pic(SUFFIX2)-llcorner.boxes_pic(SUFFIX2));(SUFFIX2)n-(SUFFIX2)c=(SUFFIX2)c-(SUFFIX2)s=(0,(SUFFIX2)dy)+0.5*(ulcorner.boxes_pic(SUFFIX2)-llcorner.boxes_pic(SUFFIX2));boxes_end(boxes_clear_circle,(SUFFIX2));endgroup
metafun > log >
metafun > log > I couldn't find an '=' or ':=' after the expression that is shown above this
error message, so I guess I'll just ignore it and carry on.
metafun > log >
metapost > trace > <direct> circleit.a(textext("$X$")); drawboxed(a); ;
metapost > trace >
Cheers,
Jacob
[-- Attachment #1.2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-24 12:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22 13:33 Bug in mp-xbox.mpxl (circleit) Jacob Kauffmann via ntg-context
2021-12-24 12:02 ` Hans Hagen via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).