Hi,
Thank you Hans for the new upload!
I just tried updating and encountered an unexpected behaviour with
overlaying a MetaPost graphic. The example below shows the issue:
______________________________________________
\startuseMPgraphic{CodeOverlay}
z1 = (0, 0) ;
z2 = (OverlayWidth, 0) ;
z3 = (OverlayWidth, OverlayHeight) ;
z4 = (0, OverlayHeight) ;
path p ;
p = (z1--z2--z3--z4--cycle) cornered .5cm ;
draw p;
setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic
\defineoverlay[CodeOverlay][\useMPgraphic{CodeOverlay}]
\definetyping
[Code]
[strip=yes,
before={\startframedtext[width=\makeupwidth,
offset=0.5em,
frame=none,
background=CodeOverlay,
]},
after={\stopframedtext}]
\starttext
\startCode
test
test2
\stopCode
\stoptext
_________________________________________________
With the previous version (2025.11.24 17:55), the output looks correct; but
with the new version the frame does not seem to appear. (Interestingly, it
does appear if I delete `cornered .5cm`.)
Was there a change in how `cornered` works?
Cheers,
Florent
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________