On Tue, 2024-05-28 at 08:17 +0200, Henning Hraban Ramm wrote: > Am 27.05.24 um 19:20 schrieb Kip Warner: > > On Mon, 2024-05-27 at 07:09 +0200, Ryszard Kubiak wrote: > > > Hi Kip, > > > > > > You may try characters with Unicode slots from U+2460 upto > > > U+2469. > > > They mean circled digits and are available in many fonts. > > > > Thanks Ryszard. Those would be perfect, except I can't get them to > > work > > in ConTeXt. I tried using the \utfchar{0x2460} but it just displays > > the > > number 1. > > > > I am assuming it needs a font that supports it, but I'm not sure > > how to > > switch to a supporting font just to typeset that character and then > > revert back. Is there some way to define a macro? > > You could just define a fallback font, like: > > \definefontfallback[SymbolFB] >    [file:symbola.otf] >    [0x00300-0x003FF,0x02100-0x02800,0x1F000-0x20000] % look up the > right > Unicode ranges! >    [check=no,force=no] > > \definetypeface [myfonts] [rm] [serif] [times] [default] > [fallbacks=SymbolFB] > > And then copy the character from a symbol table, no need for a macro. Hmm, that's a great idea. But I can't seem to get a minimal to work with https://context-on-web.eu: \definefontfallback[SymbolFB] [file:symbola.otf] [0x00300-0x003FF,0x02100-0x02800,0x1F000-0x20000] % look up the right Unicode ranges! [check=no,force=no] \definetypeface [myfonts] [rm] [serif] [times] [default] [fallbacks=SymbolFB] \starttext \utfchar{0x02460} \stoptext The above just prints the vanilla character '1'. That might be because the online editor doesn't have access to the font. So I tried compiling the above locally with the Symbola.otf file in the same directory and same problem. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com