From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79487 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: disable expansion for one single component Date: Fri, 23 Nov 2012 23:44:46 +0100 Message-ID: <50AFFC5E.3060001@wxs.nl> References: <506AEAF9.2070200@uni-bonn.de> <50AFF796.9060302@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353710702 24590 80.91.229.3 (23 Nov 2012 22:45:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2012 22:45:02 +0000 (UTC) Cc: "Thomas A. Schmitz" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 23 23:45:13 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tc1zg-0002PR-Dv for gctc-ntg-context-518@m.gmane.org; Fri, 23 Nov 2012 23:45:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ED9441031C; Fri, 23 Nov 2012 23:44:54 +0100 (CET) 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 m+bhXartobXo; Fri, 23 Nov 2012 23:44:52 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3F2B31030D; Fri, 23 Nov 2012 23:44:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46AA01030D for ; Fri, 23 Nov 2012 23:44:51 +0100 (CET) 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 fXT32RgYjJld for ; Fri, 23 Nov 2012 23:44:49 +0100 (CET) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id A0BF0101EF for ; Fri, 23 Nov 2012 23:44:49 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qANMimbn011670 for ; Fri, 23 Nov 2012 23:44:48 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 4276-1713362 for multiple; Fri, 23 Nov 2012 23:44:43 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: <50AFF796.9060302@uni-bonn.de> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=16; city=Zeewolde; latitude=52.3302; longitude=5.5364; http://maps.google.com/maps?q=52.3302,5.5364&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04IraIM2i - 9cf4474e2178 - 20121123 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:79487 Archived-At: On 11/23/2012 11:24 PM, Thomas A. Schmitz wrote: > On 10/02/2012 03:31 PM, Wolfgang Schuster wrote: >>> > Hi all, >>> > >>> > for a book I'm typesetting, I use adobe minion and have enabled >>> protrusion=pure,expansion=quality in the typescript and then >>> > >>> > \setupalign[hanging,hz] >>> > >>> > in the main environment. Now it turns out that in one of the >>> components/chapters of the book, this messes up the spacing of some >>> characters. Is there a way to disable expansion (but not of course >>> protrusion) for one single chapter? >> Put \setupalign[nohz] before and \setupalign[hz] after your chapter. >> >> Wolfgang > > Hi all, Wolfgang, > > coming back to a pretty old question because it doesn't appear to work. > For the book I'm currently typesetting, I had to disable expansion for > the entire document because it messed up spacing with Greek letters and > certain accents. Now the question is the other way round: can I enable > expansion only for certain passages? I'm in the final revision, and > expansion would help me take care of a few overfull hboxes. But while > setting \setupalign[hanging,hz] for the entire document does take care > of those, doing something like > > \start > \setupalign[hanging,hz] > blablabla > \stop > > doesn't have any effect. Is this possible at all, or am I barking up the > wrong tree? You need to load a font with the expension feature enabled. After that you can enable/disable it using setupalign. ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________