Alan Stone wrote:
> On Tue, Sep 30, 2008 at 1:37 PM, Taco Hoekwater <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     On Tue, 30 Sep 2008 12:23:56 +0200
>     "Alan Stone" <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to