From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79486 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: disable expansion for one single component Date: Fri, 23 Nov 2012 23:24:22 +0100 Message-ID: <50AFF796.9060302@uni-bonn.de> References: <506AEAF9.2070200@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 1353709478 15760 80.91.229.3 (23 Nov 2012 22:24:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2012 22:24:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 23 23:24:48 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 1Tc1fv-00066k-0u for gctc-ntg-context-518@m.gmane.org; Fri, 23 Nov 2012 23:24:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D544710326; Fri, 23 Nov 2012 23:24:31 +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 19A4rhfM-Hrk; Fri, 23 Nov 2012 23:24:29 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0069F1030D; Fri, 23 Nov 2012 23:24:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8CCE21030D for ; Fri, 23 Nov 2012 23:24:27 +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 trejWaxqGSJn for ; Fri, 23 Nov 2012 23:24:26 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 950BB10226 for ; Fri, 23 Nov 2012 23:24:26 +0100 (CET) Original-Received: from uni-bonn.de (x23.rhrz.uni-bonn.de [131.220.15.155]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qANMON5a024134 for ; Fri, 23 Nov 2012 23:24:23 +0100 Original-Received: from [87.178.25.243] (account tschmit1@uni-bonn.de HELO [192.168.0.36]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.4.4) with ESMTPSA id 30890400 for ntg-context@ntg.nl; Fri, 23 Nov 2012 23:24:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.10) Gecko/20121027 Thunderbird/10.0.10 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.155; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RIraonnO - 615bf8f90316 - 20121123 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:79486 Archived-At: 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? Thanks Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________