Alan Stone wrote:
On Tue, Sep 30, 2008 at 1:37 PM, Taco Hoekwater
mailto:taco@elvenkind.com> wrote: On Tue, 30 Sep 2008 12:23:56 +0200 "Alan Stone"
mailto:software.list.1es9s@gmail.com> wrote: > How do you typeset font characters by their ansi code number, ex. Alt+33 > (21h) ?
\char "21 % hex \char 33 % decimal
Thanks Taco.
It didn't work as expected. It outputs exclamation points.
OK, fetched the font.
\starttypescript [sans] [combinumerals] \setups [font:fallback:sans] \definefontsynonym [sans] [CombinumeralsRegular] \definefontsynonym [sansBold] [CombinumeralsBold] \stoptypescript
Two changes are needed here [Sans] instead of [sans] [SansBold] instead of [sansBold]
\starttext %\showcharacters %\page
Have to add a font switching command here: \switchtobodyfont[combinumerals,ss] Best wishes, Taco