![](https://secure.gravatar.com/avatar/e4119be23c6b43ebdb1041bb53ac9e67.jpg?s=120&d=mm&r=g)
On Mon, 2024-05-27 at 19:28 +0200, Wolfgang Schuster wrote:
TeX complains about the value ".5fw" for the radius key. Hans added last year the function to add new units to ConTeXt and I used it to set the radius to half of the width of the framed box.
Use the following version of the setup for the frame which works with older ConTeXt installations because it doesn't use the feature.
\defineframed [textcircled] [ width=1.5em, height=1.5em, location=low, corner=round, %radius=.5fw, radius=\dimexpr\framedwidth/2\relax, offset=none]
\starttext \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank} \stoptext
Thank you kindly, Wolfgang. That worked perfectly. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com