From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76070 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: greek items broken: Date: Wed, 9 May 2012 14:16:20 +0200 Message-ID: <20120509121620.GC18756@phlegethon> References: <77ECD880-10C6-4E69-A8C6-E7ED7C021FC9@uva.nl> <3FEC6871-2CE2-49B4-8206-86D09BBC45D6@uva.nl> <20120509095416.GA18756@phlegethon> <20120509103928.GB18756@phlegethon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1001648594==" X-Trace: dough.gmane.org 1336565725 26643 80.91.229.3 (9 May 2012 12:15:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 May 2012 12:15:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 09 14:15:22 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SS5ne-00016V-I3 for gctc-ntg-context-518@m.gmane.org; Wed, 09 May 2012 14:15:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59B1E101CF; Wed, 9 May 2012 14:15:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LRBjNH5uM2ak; Wed, 9 May 2012 14:15:20 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 381FF101E2; Wed, 9 May 2012 14:15:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B882101E2 for ; Wed, 9 May 2012 14:15:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gXWic4EydZ9N for ; Wed, 9 May 2012 14:15:17 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 33537101CF for ; Wed, 9 May 2012 14:15:17 +0200 (CEST) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q49CFEWE032198 for ; Wed, 9 May 2012 14:15:15 +0200 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id q49CFD8C002907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 May 2012 14:15:13 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id q49CFC2E027812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 May 2012 14:15:12 +0200 Original-Received: from localhost (dslb-188-104-146-144.pools.arcor-ip.net [188.104.146.144]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id q49CFBmN003148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 9 May 2012 14:15:12 +0200 Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: X-Operating-System: Linux phlegethon 3.3.2-1-ARCH X-Polite-Request: "Please try to be nice, don't send html mail." User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.100.212; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QH7Mffds - b8d9860249d6 - 20120509 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:76070 Archived-At: --===============1001648594== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GZVR6ND4mMseVXL/" Content-Disposition: inline --GZVR6ND4mMseVXL/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-05-09 13:50, Mojca Miklavec wrote: > On Wed, May 9, 2012 at 12:39 PM, Philipp Gesang wrote: > > On 2012-05-09 12:25, Mojca Miklavec wrote: > > > >> If he wants to use Lucida, this would look bad, but the Lucida font > >> does have greek glyphs, however they are in the "math range". > > > > With unicode I thought this was an archaism. >=20 > I'm sorry, I'm telling you nonsense. There are no Greek letters in > LucidaBrightOT, but they are present in LucidaBrightMathOT. The italic > version starts at 1D6FC and the regural one is in the "normal" Greek > range. >=20 > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 T= his is > >> the case for LM, Lucida and probably a few more fonts. (Another option > >> would be to define the counter to run through greek letters in math > >> font.) > > > > Or to leave the counter untouched and wrap it into a substitution > > function -- is there a chance you (or anyone else) could supply > > me with a mapping of the =E2=80=9Creal=E2=80=9D Greek code point to the= =E2=80=9Cmath > > Greek=E2=80=9D one? >=20 > See math-map.lua. If you need any help or explanation, please ask. I > believe that the following part might be relevant (but only if you > need italic): >=20 > lcgreek =3D { > [0x03B1]=3D0x1D6FC, [0x03B2]=3D0x1D6FD, [0x03B3]=3D0x1D6FE, > [0x03B4]=3D0x1D6FF, [0x03B5]=3D0x1D700, > [0x03B6]=3D0x1D701, [0x03B7]=3D0x1D702, [0x03B8]=3D0x1D703, > [0x03B9]=3D0x1D704, [0x03BA]=3D0x1D705, > [0x03BB]=3D0x1D706, [0x03BC]=3D0x1D707, [0x03BD]=3D0x1D708, > [0x03BE]=3D0x1D709, [0x03BF]=3D0x1D70A, > [0x03C0]=3D0x1D70B, [0x03C1]=3D0x1D70C, [0x03C2]=3D0x1D70D, > [0x03C3]=3D0x1D70E, [0x03C4]=3D0x1D70F, > [0x03C5]=3D0x1D710, [0x03C6]=3D0x1D711, [0x03C7]=3D0x1D712, > [0x03C8]=3D0x1D713, [0x03C9]=3D0x1D714, > [0x03D1]=3D0x1D717, [0x03D5]=3D0x1D719, [0x03D6]=3D0x1D71B, > [0x03F0]=3D0x1D718, [0x03F1]=3D0x1D71A, > [0x03F4]=3D0x1D6F3, [0x03F5]=3D0x1D716, > }, Yeah, appears to be the correct range. Couldn=E2=80=99t test with Lucida, though. > For regular variant of Lucida it should be enough to use Math font > instead of the normal one, but I didn't test or write any code for it. > For LM you would have to use the italic version since upright (without > resorting to cm-unicode) looks horrible anyway. But if there=E2=80=99s a math font, I=E2=80=99d go with the example that Wo= lfgang posted; alternatively just wrap the converter into \mathematics: =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7 \unprotect \def\math_greek_characters#1{\mathematics{\greeknumerals{#1}}} \defineconversion [mathgreek] [\math_greek_characters] \protect =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7 etc. It will depend on your choice of math font whether you get italics or upright glyphs. Philipp --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --GZVR6ND4mMseVXL/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAk+qYBQACgkQ02lYlJYWs9KMoQCcC23AmnQaUARle/MdHTZpR3s1 qB4An0HRAX93fdnmpLrl8hSBeGH9qB8g =BIXo -----END PGP SIGNATURE----- --GZVR6ND4mMseVXL/-- --===============1001648594== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1001648594==--