# [NTG-context] Greek font in Footnote problem

Alan Bowen acbowen at princeton.edu
Mon Jan 17 13:31:09 CET 2005

I am having trouble getting Greek in footnote environment. The Greek
appears as it should in the text body, but in a footnote all I get is
the input. In short, ConTeXt \footnote seems to ignore the \localgreek
command. I attach a brief test file that should produce the problem as
well as the input file defining the Greek font in the first place.

Any suggestions would be very much appreciated.

By the way, there is no message in the log file to the effect that the
Greek font is unavailable at a given font size. And I am using ConTeXt
ver: 2004.10.26  fmt: 2005.1.3.

Alan
___________________________
\enableregime[mac]
\input Oxonia
\usetypescript [all] [latin-modern] [texnansi]
\setupbodyfont[reset]
\setupbodyfont[cmr, 10.5pt]

\starttext

The cat is on the mat. The cat is on the mat. \localgreek{a>utopt'ew}
is not a compound of \localgreek{a>ut'oc} and \localgreek{>opte'uw}.
The cat is on the mat.
%
\footnote{The etymology proposed on p.\ 136 is mistaken:
\localgreek{a>utopt'ew} is not a compound of \localgreek{a>ut'oc} and
\localgreek{>opte'uw}.}\ %
%
The cat is on the mat.

\stoptext
__________________________________________
% Oxonia.tex

\definebodyfont[10pt,10.5pt,11pt,12pt,14pt][rm][Gf=greeoxon sa 1.08]

\def\enablegreek{\language[greek]\catcode~=\other\catcode|=\other\catc
ode'=\other}

\def\startgreek{\par\begingroup\Gf\enablegreek}

\let\stopgreek\endgroup

\def\localgreek{\groupedcommand{\Gf\enablegreek}{}}
\define\sampi{\getglyph{greeoxon}{\char34}}
\define\digamma{\getglyph{greeoxon}{\char35}}
\define\stigma{\getglyph{greeoxon}{\char36}}
\define\koppa{\getglyph{greeoxon}{\char37}}
\define\lunars{\getglyph{greeoxon}{\char1}}
\define\lunarS{\getglyph{greeoxon}{\char13}}
\define\brcl{\getglyph{greeoxon}{\char8}}
\define\brcr{\getglyph{greeoxon}{\char9}}
\define\hbrl{\getglyph{greeoxon}{\char123}}
\define\hbrr{\getglyph{greeoxon}{\char125}}
\define\crux{\getglyph{greeoxon}{\char43}}

`