From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79502 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: disable expansion for one single component Date: Sat, 24 Nov 2012 17:53:14 +0100 Message-ID: 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 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353776006 20934 80.91.229.3 (24 Nov 2012 16:53:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2012 16:53:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 24 17:53:38 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 1TcIz3-0001IH-2j for gctc-ntg-context-518@m.gmane.org; Sat, 24 Nov 2012 17:53:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A37801020C; Sat, 24 Nov 2012 17:53:25 +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 261lo8iAcO2L; Sat, 24 Nov 2012 17:53:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id F1C8A101F7; Sat, 24 Nov 2012 17:53:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 37CC2101F7 for ; Sat, 24 Nov 2012 17:53:21 +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 1OuQ6FOzoCgc for ; Sat, 24 Nov 2012 17:53:20 +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 78F4D101E7 for ; Sat, 24 Nov 2012 17:53:20 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAOGrJ7U030169 for ; Sat, 24 Nov 2012 17:53:19 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jg9so4871775bkc.14 for ; Sat, 24 Nov 2012 08:53:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=5y9wjW0zynXzqh/iPwx6+MXi8CvxeceSEZNmCb8dVGc=; b=XaJIT8GZKkN5pMhp+6oQHrAGjxWavfSVA9uBxF+04Ml7DllgOTR9Vvtd0h8vQU2aEr hJ6BYSuRxE/KZNcM7lobd4qR0CHuM91HxGyqP48ebIR2P6vLyyaW8Tj6Ciki1luIoxSL ZypJnSb5ZM7k6j/IIJ6j/vqEXX5DDI3n4gHTwY6xswUgNdNMWFYqvN5pX+ow1iHSdd4U v2+TI6u3ExSQS9qMkRU21wtPML9ZHyhOVr4mcmL6xLK7ea/8CbwFxXmTQOdfPvUZ0frO jfGwnt5+0ArJ73jl/KMBN3WeJqneOCNYIbb6iWED1HcExP/yCphMiBHiFpK65XhPHLPQ 3X+w== Original-Received: by 10.204.151.136 with SMTP id c8mr2130207bkw.70.1353775999240; Sat, 24 Nov 2012 08:53:19 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4dbe68bc.pool.mediaWays.net. [77.190.104.188]) by mx.google.com with ESMTPS id y11sm5841077bkw.8.2012.11.24.08.53.17 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Nov 2012 08:53:18 -0800 (PST) In-Reply-To: <50AFF796.9060302@uni-bonn.de> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RIrsRjFx - 327fae5dcb4f - 20121124 (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:79502 Archived-At: Am 23.11.2012 um 23:24 schrieb Thomas A. Schmitz : > 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? The paragraph has to end before the group is closed. \definefontfeature[default][default][expansion=quality,protrusion=quality] \starttext \showframe \input tufte \blank \start \setupalign[hanging,hz] \input tufte \stop \blank \start \setupalign[hanging,hz] \input tufte\par \stop \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________