[NTG-context] greek items broken:

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed May 9 12:39:38 CEST 2012


Am 09.05.2012 um 11:54 schrieb Philipp Gesang:

> Hi Hans,
> On 2012-05-09 07:31, Meer, H. van der wrote:
>> Indeed, the greek lowercase appears with \setupbodyfont[postscript].
>> But not with the brandnew \setupbodyfont[lucidaot], which is
>> quite a nuisance. Can it be remedied with a more generic mkiv
>> solution?
> 
> if it’s generic enough for your purpose, you can take the glyphs
> from the Computer Modern Unicode font instead. They can be an
> appropriate match for LM.
> 
> ········································································
> \unprotect
> 
> \def\cmu_numerals#1#2{%
>  \bgroup
>  \setupbodyfont [computer-modern-unicode]
>  \csname #1reeknumerals\endcsname{#2}%
>  \egroup%
> }

Use \switchtobodyfont for local font switches.

\def\cmu_numerals#1#2%
  {\bgroup
   \switchtobodyfont[computer-modern-unicode]%
   \convertnumber{#1}{#2}%
   \egroup}

Wolfgang


More information about the ntg-context mailing list