From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17887 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re: Greek font in Footnote problem Date: Mon, 17 Jan 2005 16:54:40 +0100 Message-ID: <741818970.20050117165440@iol.it> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106087178 30487 80.91.229.6 (18 Jan 2005 22:26:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jan 2005 22:26:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 18 23:26:12 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 1Cr1ng-0002xo-00 for ; Tue, 18 Jan 2005 23:26:12 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EC72312795; Tue, 18 Jan 2005 23:26:11 +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 20032-04-2; Tue, 18 Jan 2005 23:26:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EDDFF1278F; Tue, 18 Jan 2005 23:26:10 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A1A4112777 for ; Tue, 18 Jan 2005 23:26:09 +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 20089-01-2 for ; Tue, 18 Jan 2005 23:26:08 +0100 (CET) Original-Received: from vsmtp3.tin.it (unknown [212.216.176.143]) by ronja.ntg.nl (Postfix) with ESMTP id 3AEC81276C for ; Tue, 18 Jan 2005 23:26:08 +0100 (CET) Original-Received: from [192.168.0.68] (82.53.91.118) by vsmtp3.tin.it (7.0.027) id 41EC0823000A84A5 for ntg-context@ntg.nl; Tue, 18 Jan 2005 23:26:08 +0100 X-Priority: 3 (Normal) Original-To: mailing list for ConTeXt users In-Reply-To: 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:17887 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17887 Monday, January 17, 2005 Alan Bowen wrote: > 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} 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 "Oblomov" Bilotta