ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Greek font in Footnote problem
@ 2005-01-17 12:31 Alan Bowen
  2005-01-17 15:54 ` Giuseppe Bilotta
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Bowen @ 2005-01-17 12:31 UTC (permalink / raw)


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}}

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-01-22  8:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-17 12:31 Greek font in Footnote problem Alan Bowen
2005-01-17 15:54 ` Giuseppe Bilotta
2005-01-19  9:52   ` Thomas A.Schmitz
2005-01-19 12:05     ` Re[2]: " Giuseppe Bilotta
2005-01-20 23:01       ` Alan Bowen
2005-01-21 19:29       ` h h extern
2005-01-22  8:18         ` Thomas A.Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).