From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38296 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: Re: \sh@ft in luatex Date: Wed, 26 Dec 2007 13:24:03 -0700 Organization: Colorado State University Message-ID: References: <4772AC62.60507@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=----------t1YqyWgYsp0voaG0hcMY83 X-Trace: ger.gmane.org 1198700754 4215 80.91.229.12 (26 Dec 2007 20:25:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Dec 2007 20:25:54 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 26 21:26:06 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J7cpG-0000fE-20 for gctc-ntg-context-518@m.gmane.org; Wed, 26 Dec 2007 21:26:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 24A5E1FB39; Wed, 26 Dec 2007 21:25:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24351-01-3; Wed, 26 Dec 2007 21:25:04 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 236961FADB; Wed, 26 Dec 2007 21:25:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F152E1FACB for ; Wed, 26 Dec 2007 21:25:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24351-01-2 for ; Wed, 26 Dec 2007 21:24:28 +0100 (CET) Original-Received: from trueband.net (director.trueband.net [216.163.120.8]) by ronja.ntg.nl (Postfix) with SMTP id F011B1FB5A for ; Wed, 26 Dec 2007 21:24:25 +0100 (CET) Original-Received: (qmail 23488 invoked by uid 1006); 26 Dec 2007 20:24:22 -0000 Original-Received: from ishamid@colostate.edu by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(2.0/100.0):. Processed in 10.67665 secs); 26 Dec 2007 20:24:22 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.4) by -v with SMTP; 26 Dec 2007 20:24:12 -0000 Original-Received: (qmail 14742 invoked from network); 26 Dec 2007 20:24:09 -0000 Original-Received: from unknown (HELO your-b27fb1c401) (75.104.84.217) by -v with SMTP; 26 Dec 2007 20:24:09 -0000 In-Reply-To: <4772AC62.60507@wxs.nl> User-Agent: Opera Mail/9.24 (Win32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38296 Archived-At: ------------t1YqyWgYsp0voaG0hcMY83 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, 26 Dec 2007 12:32:50 -0700, Hans Hagen wrote: > Idris Samawi Hamid wrote: > >> Two things: >> >> 1. The \sh@ft macro (from TeXBook, p.~356) does not work in luatex (se= e >> test file, pdftex works); >> >> 2. In any case: Is there a better way to do this (see test file)? > > as taco mentioned ... most open type fonts have no italic correction > > automatically figuring it out is not always an option, compare (in > pdftex): > > \sl \the\fontdimen1\font\the\dimexpr1em\relax \`A \'A > > \bs \the\fontdimen1\font\the\dimexpr1em\relax \`A \'A > > \it \the\fontdimen1\font\the\dimexpr1em\relax \`A \'A > > i can imagine that we start building a database with additional font > parameters I spent a few hours on a workaround. Attached is my temporary code for =20 Arabic transliteration. I found a way to define U-02BE and U-02BF for =20 Latin Modern (thanks to Wolfgang and Peter for helping me with \ifx). It = =20 does work well but feel free to suggest improvements! (A bug: \defineactivecharacter =E1=B8=BB {\~l} does not work if \showboxe= s is =20 invoked; weird) Best wishes Idris --=20 Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------t1YqyWgYsp0voaG0hcMY83 Content-Disposition: attachment; filename=ayn-hamzah.tex Content-Type: application/x-tex; name=ayn-hamzah.tex Content-Transfer-Encoding: Base64 77u/JSBlbmdpbmU9bHVhdGV4IA0KDQpcbm9oZWFkZXJhbmRmb290ZXJsaW5lcw0K JSBcc2hvd2JveGVzDQoNCg0KXHN0YXJ0dGV4dCANClx1bnByb3RlY3QgDQoNClxk ZWZcQ0lOVntcYmdyb3VwDQpcaWZ4XGZvbnRhbHRlcm5hdGl2ZVxjIXRmDQpcbGVh dmV2bW9kZVxyb3RhdGVbcm90YXRpb249MTgwLGxvY2F0aW9uPWhpZ2hdDQp7XGtl cm4tLjAwZW1cdHh4IGN7fVxrZXJuLjAwZW19JQ0KXGVsc2UNClxpZnhcZm9udGFs dGVybmF0aXZlXGMhaXQNClxsZWF2ZXZtb2RlXHJvdGF0ZVtyb3RhdGlvbj0xODAs bG9jYXRpb249aGlnaF0NCntca2Vybi0uMDVlbVx0eHggY3t9XGtlcm4uMDVlbX0l DQpcZWxzZQ0KJVxpZnhcZm9udGFsdGVyYW50aXZlXGMhYmYgDQpcbGVhdmV2bW9k ZVxyb3RhdGVbcm90YXRpb249MTgwLGxvY2F0aW9uPWhpZ2hdDQp7XGtlcm4tLjAw ZW1c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g4binIHtcIiBofQ0KXGRlZmlu ZWFjdGl2ZWNoYXJhY3RlciDKvyB7XEF5bn0NClxkZWZpbmVhY3RpdmVjaGFyYWN0 ZXIgyr4ge1xIYW16YWh9DQpcZGVmaW5lYWN0aXZlY2hhcmFjdGVyIOG4uiB7XH5M fQ0KXGRlZmluZWFjdGl2ZWNoYXJhY3RlciDhuLsge1x+bH0NCg0KXENJTlYgXENF RSB7XGl0IFxDSU5WIFxDRUV9DQoNClxIYW16YWhcaGJveHtCQUJDfVxIYW16YWhc aGJveHtBQkN9ICVcSGFtemFoIEFCQw0KDQp7XGl0IFxIYW16YWhcaGJveHtCQUJD fVxIYW16YWhcaGJveHtBQkN9fSAlXEhhbXphaCBBQkMNCg0KXHRmDQoNClxBeW5c aGJveHtCQUJDfVxBeW5caGJveHtBQkN9ICVcQXluIEJBQkMNCg0Ke1xpdCBcQXlu XGhib3h7QkFCQ31cQXluXGhib3h7QUJDfX0NCg0K4bmixIFkaXEgYeG4uyBB4bi7 IFx+bA0KDQrKv8q+DQrhua7hua8NCuG4pOG4pQ0K4biq4birDQrhuI7huI8NCsWg xaENCuG5ouG5ow0K4biM4biNDQrhuazhua0NCuG6kuG6kw0KxKDEoQ0Kw4PDow0K xKjEqQ0KxajFqQ0K4bqXDQrhuKcNCsSAxIENCsSqxKsNCsWqxasNCg0KXHN0b3B0 ZXh0IA== ------------t1YqyWgYsp0voaG0hcMY83 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ------------t1YqyWgYsp0voaG0hcMY83--