From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17909 Path: main.gmane.org!not-for-mail From: h h extern Newsgroups: gmane.comp.tex.context Subject: Re: Greek font in Footnote problem Date: Fri, 21 Jan 2005 20:29:48 +0100 Message-ID: <41F1582C.7020606@wxs.nl> 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106345207 2654 80.91.229.6 (21 Jan 2005 22:06:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Jan 2005 22:06:47 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 21 23:06:41 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 1Cs6vR-0007W7-00 for ; Fri, 21 Jan 2005 23:06:41 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 62FC2127A6; Fri, 21 Jan 2005 23:06:40 +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 13163-01; Fri, 21 Jan 2005 23:06:38 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1438B1279A; Fri, 21 Jan 2005 23:06:38 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 250BD1279A for ; Fri, 21 Jan 2005 23:06:36 +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 13117-07 for ; Fri, 21 Jan 2005 23:06:35 +0100 (CET) Original-Received: from mailrelay02.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 560B812798 for ; Fri, 21 Jan 2005 23:06:35 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j0LM6UUD002618 for ; Fri, 21 Jan 2005 23:06:30 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 1BA9117B53; Fri, 21 Jan 2005 22:59:54 +0100 (CET) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 8FC655722 for ; Fri, 21 Jan 2005 21:59:51 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <1156143079.20050119130558@iol.it> X-Virus-Scanned: ClamAV 0.80/540/Tue Oct 19 14:59:23 2004 clamav-milter version 0.80j on mailrelay02 X-Virus-Status: Clean 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:17909 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17909 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. more precisely: \starttext \def\rescan#1{\scantokens{#1}} [\rescan{oeps}] \def\rescan#1{\scantokens{#1\ignorespaces}} [\rescan{oeps}] \stoptext and therefore: \def\localgreek#1{\rescan{\Gf\enablegreek#1}} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------