From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17902 Path: main.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Re[2]: Greek font in Footnote problem Date: Thu, 20 Jan 2005 18:01:47 -0500 Message-ID: <42FE5D22-6B37-11D9-831D-00306544E64E@princeton.edu> References: <741818970.20050117165440@iol.it> <1156143079.20050119130558@iol.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1106262337 13543 80.91.229.6 (20 Jan 2005 23:05:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2005 23:05:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 21 00:05:31 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CrlMp-0007hj-00 for ; Fri, 21 Jan 2005 00:05:31 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3B3C51278D; Fri, 21 Jan 2005 00:05:31 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03783-03; Fri, 21 Jan 2005 00:05:31 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 65FAB1277C; Fri, 21 Jan 2005 00:02:07 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 254491277C for ; Fri, 21 Jan 2005 00:02:03 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03783-02 for ; Fri, 21 Jan 2005 00:01:57 +0100 (CET) Original-Received: from out014.verizon.net (unknown [206.46.170.46]) by ronja.ntg.nl (Postfix) with ESMTP id 76B4A1277B for ; Fri, 21 Jan 2005 00:01:54 +0100 (CET) Original-Received: from [192.168.0.3] ([70.106.99.28]) by out014.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050120230150.SPIH28388.out014.verizon.net@[192.168.0.3]> for ; Thu, 20 Jan 2005 17:01:50 -0600 In-Reply-To: <1156143079.20050119130558@iol.it> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619) X-Authentication-Info: Submitted using SMTP AUTH at out014.verizon.net from [70.106.99.28] at Thu, 20 Jan 2005 17:01:50 -0600 X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17902 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17902 Guiseppe and Thomas=97 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=20= double braces as follows: {\localgreek{Greek code}} With single braces either the Greek turns on and stays on thereafter or=20= 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=20 >> 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. > > --=20 > Giuseppe "Oblomov" Bilotta > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >