Wednesday, January 19, 2005 Thomas A.Schmitz wrote:
On Jan 17, 2005, at 4:54 PM, Giuseppe Bilotta wrote:
enablegreek relies on catcode changes, so it cannot work inside
commands. It should be redefined to make use of e-TeX's
\scantoken feature so that it can re-parse its input.
Giuseppe,
Guiseppe and Thomas
A quick run though with my test file indicates that
\def\localgreek#1{\scantokens{\Gf\enablegreek#1}}
will work in the body text, but only if one enters the Greek code using
double braces as follows:
{\localgreek{Greek code}}
With single braces either the Greek turns on and