From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78388 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: tolerance and whitespace settings inside a TEXpage Date: Thu, 20 Sep 2012 15:50:11 +0200 Message-ID: <73F3666C-8AF9-44B8-8A3C-2C43567A5B2E@gmail.com> References: <20120920115603.7602f60f@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1348149039 10123 80.91.229.3 (20 Sep 2012 13:50:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2012 13:50:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 20 15:50:42 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 1TEh9J-0000nz-UU for gctc-ntg-context-518@m.gmane.org; Thu, 20 Sep 2012 15:50:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EA902101E5; Thu, 20 Sep 2012 15:50:30 +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 4xrhJI0P6cDH; Thu, 20 Sep 2012 15:50:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2A770101E6; Thu, 20 Sep 2012 15:50:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C909F101E6 for ; Thu, 20 Sep 2012 15:50: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 X+zq7SxFkLGT for ; Thu, 20 Sep 2012 15:50:22 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id C6917101E5 for ; Thu, 20 Sep 2012 15:50:22 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8KDltbJ023956 for ; Thu, 20 Sep 2012 15:48:01 +0200 Original-Received: by bkcjc3 with SMTP id jc3so1284327bkc.14 for ; Thu, 20 Sep 2012 06:50:14 -0700 (PDT) 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=D0qVleE1DNGrcpvjhZ6Vvf9Q8i5liuweIYCpNrZBfsw=; b=IY37r2C5DMDZtBY9Uli/zDhYhbOQF4UUq0OPqjF2s6O3+ueAioF46a6w9Hm/xuBD1a HlAZuPi2mzYyie6GEO9kVkOXxxwQypQkjl/N5P6cZFebH7/GHJmR89tm452FsuwDf3wv kotgKBA382C6dV6qCkVIdnMiUVUtnwWaw9mMqSgyVLdWGYgj2d3K2bclycEuDbC4qJeG TZDy9k9VmXgB52nytJ/z+UiiSDmd+NMSKEkd6PoonAtch3I9Qdgrki91ymF9o7I1L+uS rOLEQuhPtAwSSILyJ5svoLvTGZNgps25wx2c8R9Fgfa2JKOt1Jr6YQBB5v7WpuAe0Qjc oamA== Original-Received: by 10.204.130.151 with SMTP id t23mr735503bks.94.1348149014059; Thu, 20 Sep 2012 06:50:14 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe4ed6.pool.mediaWays.net. [77.190.78.214]) by mx.google.com with ESMTPS id n17sm4353290bks.6.2012.09.20.06.50.12 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 06:50:13 -0700 (PDT) In-Reply-To: <20120920115603.7602f60f@homerow> X-Mailer: Apple Mail (2.1498) X-Bayes-Prob: 0.5 (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: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:78388 Archived-At: Am 20.09.2012 um 11:56 schrieb Marco Patzer : > Hi, > = > inside a TEXpage the tolerance and the whitespace settings are not > applied. The whitespace can be set in a setup and the tolerance can > be set directly with \spaceskip, but that seems a bit hackish. > = > Is that intended and is there a cleaner solution? Example: > = > \setuplayout [width=3D8cm] > \setupbodyfont [mono] > \startsetups [myset] > \setupwhitespace [big] > \setuptolerance [space] > \stopsetups > \setups{myset} > = > \starttext > \startTEXpage [setups=3Dmyset] > %% \spaceskip .5em plus .25em minus .25em > \input knuth > \stopTEXpage > = > \input knuth > \stoptext The problem here is that your setups are used but the value from the align key overwrite them which can=92t be changed. One solution is to put \texset= up{myset} after \startTEXpage but this has to be done for each page, the better solut= ion is to misuse the command key to flush the setups content. \setuplayout [width=3D8cm] \setupbodyfont [mono] \startsetups [myset] \setupwhitespace [big] \setuptolerance [space] \stopsetups \setupfittingpage[TEXpage][command=3D\texsetup{myset}] \starttext \startTEXpage \input knuth \stopTEXpage \input knuth \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________