On 2/4/2023 1:42 PM, Bruce Horrocks via ntg-context wrote:
In the Wiki https://wiki.contextgarden.net/Command/setupframed the examples for corner styles 00 - 09 no longer work and the single digit values 0 - 9 need to be used instead. (Styles 10 upwards continue to work as per the page.)
Is this a deliberate change and the Wiki needs to be updated or should the change be reverted for backwards compatibility? yes and no ... we not handle them as strings (because we have more variants) but i can catch it
(i'll send you a test) % corners-001.tex \setupbodyfont[dejavu] \starttext % corner options (with radius=0pt rectangular): % % 0 round ltrb trbl rblt bltr % 1 2 3 4 5 6 7 8 ltrb % 9 lbr rbl / 10 tlb blt / 11 ltr rtl / 12 lbr rbl % 13 rt tr / 14 rb br / 15 bl lb / 16 tl lt % 32 lr rl / 33 tb bt % 28 l / 29 r / 30 b / 31 t \dostepwiserecurse{0}{33}{1}{ \startTEXpage[offset=1dk] \dontleavehmode\ruledhbox{\framed [framecolor=red, framecorner=#1, frameradius=\zeropoint] {TEST #1}} \ruledhbox{\framed [framecolor=red, framecorner=#1, frameradius=5pt] {TEST #1}} \stopTEXpage } \stoptext esp the tb and lr ones are more efficient than using the other frame methods (off + l/r on) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------