From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81578 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: Hanging and Protrusion with Typescript Date: Tue, 09 Apr 2013 23:54:25 +0200 Message-ID: <878v4r4bfy.fsf@micropit.couberia.selfip.net> References: <5164132A.2020905@mmnetz.de> <51646A25.8090701@wxs.nl> <51646FDF.3060404@mmnetz.de> <650B69B5-F0E5-48AA-8684-A8CCC9090E83@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365544492 6588 80.91.229.3 (9 Apr 2013 21:54:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Apr 2013 21:54:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 09 23:54:54 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UPgV9-0007aK-Ut for gctc-ntg-context-518@m.gmane.org; Tue, 09 Apr 2013 23:54:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 295BF10315; Tue, 9 Apr 2013 23:54:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id W-0GrcMh+82R; Tue, 9 Apr 2013 23:54:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4BDF8102EB; Tue, 9 Apr 2013 23:54:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2F4C5102EB for ; Tue, 9 Apr 2013 23:54:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TpLZwtHX1MKg for ; Tue, 9 Apr 2013 23:54:26 +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 CFD1110290 for ; Tue, 9 Apr 2013 23:54:26 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp11.smtpout.orange.fr [80.12.242.133]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r39LsQir001277 for ; Tue, 9 Apr 2013 23:54:26 +0200 Original-Received: from micropit.couberia.selfip.net ([2.2.112.211]) by mwinf5d34 with ME id MxuR1l00B4ZiqJi03xuRnf; Tue, 09 Apr 2013 23:54:26 +0200 Original-Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id 67961A60660; Tue, 9 Apr 2013 23:54:25 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <650B69B5-F0E5-48AA-8684-A8CCC9090E83@gmail.com> (Wolfgang Schuster's message of "Tue, 9 Apr 2013 23:20:44 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (gnu/linux) X-Bayes-Prob: 0.0061 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.133; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QJlVSqCa - 449f6591beaa - 20130409 (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.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81578 Archived-At: On Tue, Apr 09 2013, Wolfgang Schuster wrote: > \starttypescript [serif] [nimbus] > \definefontsynonym [Serif] [file:AGaramondPro-Regular.otf] > \definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf] > \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf] > \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf] > \stoptypescript > > \definefontfeature[default][default][protrusion=quality,expansion=quality] > > \definetypeface [nimbus] [rm] [serif] [nimbus] [features=default] > > \setupbodyfont[nimbus,rm,12pt] > > \setupalign[hz,hanging] > > \starttext > \input tufte > \stoptext Or with the marvelous simplefonts module: \usemodule[simplefonts] \setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold, italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic, protrusion=quality, expansion=quality] \setupalign[hz, hanging] \starttext \input tufte \stoptext ;) -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________