From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25013 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: some small questions Date: Sat, 07 Jan 2006 10:30:52 -0500 Message-ID: <02E59A3F-2A39-4304-B22E-FE9728EBC125@princeton.edu> References: <93C096C7-0C1D-48D4-832A-23FDD5F7BA28@princeton.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: multipart/mixed; boundary="===============1773529736==" X-Trace: sea.gmane.org 1136647881 21563 80.91.229.2 (7 Jan 2006 15:31:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2006 15:31:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 07 16:31:17 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 1EvG27-0001Bv-4l for gctc-ntg-context-518@m.gmane.org; Sat, 07 Jan 2006 16:31:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5728C1276B; Sat, 7 Jan 2006 16:31:06 +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 17613-03; Sat, 7 Jan 2006 16:31:03 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 641811279F; Sat, 7 Jan 2006 16:31:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2AAE31279F for ; Sat, 7 Jan 2006 16:31:02 +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 17576-04-3 for ; Sat, 7 Jan 2006 16:31:01 +0100 (CET) Original-Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by ronja.ntg.nl (Postfix) with SMTP id A37B61276B for ; Sat, 7 Jan 2006 16:30:58 +0100 (CET) Original-Received: from [10.0.0.145] ([70.17.55.165]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0ISQ00KT3B3HH2J0@vms040.mailsrvcs.net> for ntg-context@ntg.nl; Sat, 07 Jan 2006 09:30:54 -0600 (CST) In-reply-to: Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25013 Archived-At: --===============1773529736== Content-type: multipart/alternative; boundary=Apple-Mail-1--573137825 --Apple-Mail-1--573137825 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Peter=97 You must put \usetypescript[serif,sans,mono,mm][hanging][normal] \setupalign[hz,hanging] before you define the font. In your example, these commands are =20 coming after the default is identified. This means that if you want =20 to get margin kerning and so forth with Latin Modern, you must =20 actually re-specify Latin Modern. In your preamble, try %%%% Margin Kerning and Font Expansion \usetypescript[serif,sans,mono,mm][hanging][normal] \setupalign[hz,hanging] \setupfootnotes[align=3D{hz,hanging}] % install Latin Modern % we must install margin kerning before the font is loaded: since =20 Computer Modern is % loaded before our definitions, we must load it again \usetypescript [all] [latin-modern] [texnansi] \setupbodyfont[reset] \definebodyfont [10.5pt,9.5pt] [rm,ss,tt,mm] [default] \setupbodyfont[lm,10.5pt] This works for me. I hope it does for you too. Cheers, Alan On Jan 7, 2006, at 9:10 AM, Peter M=FCnster wrote: > On Sat, 7 Jan 2006, Alan Bowen wrote: > >> On your second question, I use >> \usetypescript[serif,sans,mono,mm][hanging][normal] >> \setupalign[hz,hanging] >> and place this in the preamble before the particular fonts are >> introduced/defined, > > Could you please send a minimal example? > I tried > > \starttext > \input tufte > \stoptext > > and > > \usetypescript[serif,sans,mono,mm][hanging][normal] > \setupalign[hz,hanging] > \starttext > \input tufte > \stoptext > > But I see no difference... > Cheers, Peter > > --=20 > http://pmrb.free.fr/contact/ > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context --Apple-Mail-1--573137825 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=WINDOWS-1252 Peter=97

You must=A0put=A0
= \usetypescript[serif,sans,mono,mm][hanging][normal]
= \setupalign[hz,hanging]
before you define the font. = In your example, these commands are coming=A0after the=A0default = is identified. This means that if you want to get margin kerning = and so forth with Latin Modern, you must actually=A0re-specify Latin = Modern.

In your preamble, = try

%%%% =A0 = Margin Kerning and Font = Expansion
\usetypescript[serif,sans,mono,mm][hanging][normal]
\setupalign[hz,hanging]
\setupfootnotes[align=3D{hz,hang= ing}]

% = install Latin Modern
% we must install margin kerning before = the font is loaded: since Computer Modern is
% loaded before = our definitions, we must load it again=A0

\usetypescript [all] = [latin-modern] = [texnansi]
\setupbodyfont[reset]
\definebodyfont = [10.5pt,9.5pt] [rm,ss,tt,mm] = [default]
\setupbodyfont[lm,10.5pt]


This works for me. I hope = it does for you too.

Cheers, = Alan



On Jan 7, 2006, at = 9:10 AM, Peter M=FCnster wrote:

On Sat, 7 Jan 2006, Alan Bowen wrote:

On your second question, I = use
= \usetypescript[serif,sans,mono,mm][hanging][normal]
\setupalign[hz,hanging]
and place this in the preamble before the particular = fonts are =A0
introduced/defined,

Could = you please send a minimal example?
I = tried

\starttext
\input = tufte
\stoptext


\setupalign[hz,hanging]
\input tufte
\stoptext

But I see no = difference...
Cheers, Peter

--=A0

= --Apple-Mail-1--573137825-- --===============1773529736== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============1773529736==--