From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29612 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Margin Kerning Problem Date: Sun, 23 Jul 2006 11:39:59 -0400 Message-ID: References: <6EA45393-196D-4E64-92E6-F8946A253ACF@duke.edu> <0012BDF1-600A-474C-88D1-20474901A9D5@princeton.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1153669229 7517 80.91.229.2 (23 Jul 2006 15:40:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Jul 2006 15:40:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 23 17:40:23 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G4g46-0007d5-1I for gctc-ntg-context-518@m.gmane.org; Sun, 23 Jul 2006 17:40:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 32A74127B9; Sun, 23 Jul 2006 17:40:22 +0200 (CEST) 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 05761-06-9; Sun, 23 Jul 2006 17:40:16 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8BEDB12831; Sun, 23 Jul 2006 17:40:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 715CD12831 for ; Sun, 23 Jul 2006 17:40:13 +0200 (CEST) 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 05761-06-8 for ; Sun, 23 Jul 2006 17:40:06 +0200 (CEST) Original-Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by ronja.ntg.nl (Postfix) with SMTP id 18B7E127B9 for ; Sun, 23 Jul 2006 17:40:02 +0200 (CEST) Original-Received: from [70.106.92.59] by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J2V002KH4UJFGWB@vms040.mailsrvcs.net> for ntg-context@ntg.nl; Sun, 23 Jul 2006 10:39:56 -0500 (CDT) In-reply-to: Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29612 Archived-At: Colin=97 Sorry: what I indicated would work for any font but Latin/Computer = Modern. This works at my end. \enableregime[mac] \mainlanguage[en] %%%% Margin Kerning and Font Expansion \usetypescript[serif,sans,mono,mm][hanging][normal] \setupalign[hz,hanging] \setupfootnotes[align=3D{hz,hanging}] %%%% Default Encoding \setupencoding[default=3Dtexnansi] % install Latin Modern % install margin kerning before the font is loaded: since Latin is % loaded before font definitions, load it again \starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] \stoptypescript On Jul 23, 2006, at 10:43 AM, Helin Gai wrote: > Hi Alan, > > Thanks for the reply. But it doesn't seem to work either. > > Colin > > On Jul 23, 2006, at 10:40 PM, Alan Bowen wrote: > >> Colin=97 >> >> I think \setupalign has to come before \setupbodyfont is defined. Try >> >> \setupalign[hz,hanging] >> >> \usetypescript[cmr] >> >> \setupfontsynonym[cmr10][handling=3Dhz] >> >> \setupfontsynonym[Serif][handling=3Dhz] >> >> \setupbodyfont[cmr,10pt] >> >> Alan >> >> >> On Jul 23, 2006, at 9:54 AM, Helin Gai wrote: >> >>> Hi, >>> >>> I used the following code to set up margin kerning: >>> >>> \setupfontsynonym[cmr10][handling=3Dhz] >>> \setupfontsynonym[Serif][handling=3Dhz] >>> \usetypescript[cmr] >>> \setupbodyfont[cmr,10pt] >>> \setupalign[hz,hanging] >>> >>> Can someone please tell me what is going wrong? >>> Thanks!! >>> >>> Colin >>> _______________________________________________ >>> ntg-context mailing list >>> ntg-context@ntg.nl >>> http://www.ntg.nl/mailman/listinfo/ntg-context >> >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context