From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81588 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Hanging and Protrusion with Typescript Date: Wed, 10 Apr 2013 10:06:15 +0200 Message-ID: References: <51651C1F.1000200@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: multipart/mixed; boundary="===============2132262104==" X-Trace: ger.gmane.org 1365581212 1566 80.91.229.3 (10 Apr 2013 08:06:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Apr 2013 08:06:52 +0000 (UTC) Cc: =?iso-8859-1?Q?=22H=2E_=D6zoguz=22?= To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 10 10:06:53 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 1UPq3M-0008RJ-9e for gctc-ntg-context-518@m.gmane.org; Wed, 10 Apr 2013 10:06:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CFA1110376; Wed, 10 Apr 2013 10:06:27 +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 y3ND+xkmYKSN; Wed, 10 Apr 2013 10:06:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AAF5B10364; Wed, 10 Apr 2013 10:06:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4696D10364 for ; Wed, 10 Apr 2013 10:06:22 +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 f5NeOGRBrami for ; Wed, 10 Apr 2013 10:06:18 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 66F7910360 for ; Wed, 10 Apr 2013 10:06:18 +0200 (CEST) Original-Received: from mail-bk0-x22d.google.com (mail-bk0-x22d.google.com [IPv6:2a00:1450:4008:c01::22d]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3A86Hh0027747 for ; Wed, 10 Apr 2013 10:06:17 +0200 Original-Received: by mail-bk0-f45.google.com with SMTP id j10so74901bkw.4 for ; Wed, 10 Apr 2013 01:06:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:message-id:references:to:x-mailer; bh=9u1N+x58AkWn6eUEjQa4q+tdJbQhFoRAB5X2crjVLFo=; b=EmlmxFudj4f0LR7klD0lQSlF+Lmfuz+4uimbDfddrQ9T6zizHUuyIYMgamTmYFwfSU 0YZoPAOOovC7NT0aIJXgxn6+Km9Ea57mVQIcy/Nz4NCOs3pnghjpHV0kpzK6sdQ5+Cqj jI02yfMTtrBUTJTe5rfXh6/bzcbjEV1WDzoA7r11KWtj8AGkIdCCh94dJBsAhOYUfcoL gI0pp/HffslHcnEk8+L2PJ7Z0MFtNbJ7QiiZesOxzkcUXnyyyKHqZi4SO17nq3wd16+d 0+bDH8MpIHm87HyHzRMkzD3KHEBv+3ryydBveKh+iBuauo38/mixVZHK6ldPg907syAx qNkw== X-Received: by 10.205.13.66 with SMTP id pl2mr332365bkb.33.1365581176949; Wed, 10 Apr 2013 01:06:16 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe57bc.pool.mediaWays.net. [77.190.87.188]) by mx.google.com with ESMTPS id gm14sm15214992bkc.7.2013.04.10.01.06.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Apr 2013 01:06:16 -0700 (PDT) In-Reply-To: <51651C1F.1000200@mmnetz.de> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Jm86h52 - 0984e81eef55 - 20130410 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:81588 Archived-At: --===============2132262104== Content-Type: multipart/alternative; boundary="Apple-Mail=_3D9DF56A-DCBD-4B4C-BB7A-CEB86B3A5D5A" --Apple-Mail=_3D9DF56A-DCBD-4B4C-BB7A-CEB86B3A5D5A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Am 10.04.2013 um 10:00 schrieb "H. =D6zoguz" : > Am 10.04.2013 00:44, schrieb ntg-context-request@ntg.nl: >> I corrected your example above: >>=20 >> \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 >>=20 >> = \definefontfeature[default][default][protrusion=3Dquality,expansion=3Dqual= ity] >>=20 >> \definetypeface [nimbus] [rm] [serif] [nimbus] [features=3Ddefault] >>=20 >> \setupbodyfont[nimbus,rm,12pt] >>=20 >> \setupalign[hz,hanging] >>=20 >> \starttext >> \input tufte >> \stoptext >>=20 >> Wolfgang > Hi Wolfgang, >=20 > thank you. But your correction does not work, too. With your code the = font AGaramondPro is not used, and no hanging either (even not with the = then used Standard-Font). If I remove >=20 > [features=3Ddefault] >=20 > then again Garamond is used, but still without hanging. It seems very = tricky to define these things correctly, at least for me... :) I missed a parameter for \definetypeface, replace the defintion above = with this one: \definetypeface [nimbus] [rm] [serif] [nimbus] [default] = [features=3Ddefault] Wolfgang= --Apple-Mail=_3D9DF56A-DCBD-4B4C-BB7A-CEB86B3A5D5A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 h.oezoguz@mmnetz.de>:
Am = 10.04.2013 00:44, schrieb ntg-context-request@ntg.nl:=
I corrected your example = above:

\starttypescript [serif] [nimbus]
=   \definefontsynonym [Serif] =           [file:AGaramon= dPro-Regular.otf]
  \definefontsynonym [SerifBold] =       [file:AGaramondPro-Bold.otf]
=   \definefontsynonym [SerifItalic] =     [file:AGaramondPro-Italic.otf]
=   \definefontsynonym [SerifBoldItalic] = [file:AGaramondPro-BoldItalic.otf]
\stoptypescript

\definefontfe= ature[default][default][protrusion=3Dquality,expansion=3Dquality]

\= definetypeface [nimbus] [rm] [serif] [nimbus] = [features=3Ddefault]

\setupbodyfont[nimbus,rm,12pt]

\setupal= ign[hz,hanging]

\starttext
\input = tufte
\stoptext

Wolfgang
Hi = Wolfgang,

thank you. But your correction does not work, too. With = your code the font AGaramondPro is not used, and no hanging either (even = not with the then used Standard-Font). If I = remove

[features=3Ddefault]

then again Garamond is used, = but still without hanging. It seems very tricky to define these things = correctly, at least for me... = :)

I missed a parameter for = \definetypeface, replace the defintion above with this = one:

\
Wolfgang
= --Apple-Mail=_3D9DF56A-DCBD-4B4C-BB7A-CEB86B3A5D5A-- --===============2132262104== 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 ___________________________________________________________________________________ --===============2132262104==--