![](https://secure.gravatar.com/avatar/a5cd60098cd767332ac751c0ccd8091e.jpg?s=120&d=mm&r=g)
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 stays on thereafter or the breathings get messed up with initial spaces. Still no Greek in the footnotes, though. Alan On Jan 19, 2005, at 7:05 AM, Giuseppe Bilotta wrote:
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,
I'll be too bust the next three weeks to look into this, but would love to correct my quick and dirty hack. Can you give me a hint where I can learn more about \scantoken and how I can implement it for my Greek stuff?
Ehehehe. The reason why I was so generic in my answer is precisely the same :)
Something like
\def\localgreek#1{\scantokens{\Gf\enablegreek#1}}
could work.
-- Giuseppe "Oblomov" Bilotta
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context