From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84676 Path: news.gmane.org!not-for-mail From: hwitloc@gmail.com Newsgroups: gmane.comp.tex.context Subject: Anomaly in stretch framed text to width Date: Wed, 09 Oct 2013 14:11:47 +0900 Message-ID: <20131009141147.3660@binki> References: <52544942.8010704@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1381295513 12736 80.91.229.3 (9 Oct 2013 05:11:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2013 05:11:53 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 09 07:11:58 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VTm3v-00006U-Nz for gctc-ntg-context-518@m.gmane.org; Wed, 09 Oct 2013 07:11:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 774FD101E7; Wed, 9 Oct 2013 07:09:23 +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 DbQwRhc2mouP; Wed, 9 Oct 2013 07:09:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6B600101DE; Wed, 9 Oct 2013 07:09:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A3556101DE for ; Wed, 9 Oct 2013 07:09:19 +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 hATnOrA4l9wp for ; Wed, 9 Oct 2013 07:09:18 +0200 (CEST) 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 A10CD10193 for ; Wed, 9 Oct 2013 07:09:18 +0200 (CEST) Original-Received: from mail1.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r995BldA013988 for ; Wed, 9 Oct 2013 07:11:48 +0200 Original-Received: from binki (x065037.dynamic.ppp.asahi-net.or.jp [122.249.65.37]) by mail1.asahi-net.or.jp (Postfix) with ESMTP id 8973941E68 for ; Wed, 9 Oct 2013 14:11:42 +0900 (JST) In-reply-to: Your message of Tue, 8 Oct 2013 20:15:36 +0200 X-Mailer: MH-E 8.3.1; GNU Mailutils 2.99.98; GNU Emacs 24.3.2 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=202.224.39.197; country=JP; latitude=35.6900; longitude=139.6900; http://maps.google.com/maps?q=35.6900,139.6900&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RKyRbM4W - 1656e966e659 - 20131009 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:84676 Archived-At: Wolfgang Schuster wrote: > .... snipped .. > > \starttext > \framed[width=40mm]{word} > \framed[width=40mm]{\stretched[features=none,width=\framedwidth]{word}} > \stoptext > I also appreciate the example provided by Wolfgang. I have found an anomaly which produces incorrect results on my system. Versin: mtx-context | current version: 2013.09.03 16:23 Not so minimal, minimal example. I did a range of values for comparison. Problem is: 1. I expect a one character word to be centered. Not necessary but I expected this, because all words >1 character do center alignment. 2. The letter 'w' for some reason binds to the next character and produces an incorrect result. 3. In the last table the letters 'db' seem to be stuck together when the word is seven characters or more. This anomalous unsymmetric binding also occurs in the 2nd and 3rd tables, as well. \starttext \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{1}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{12}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{123}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{1234}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{12345}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{123456}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{1234567}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{12345678}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{123456789}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{1234567890}} \blank[big] \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{w}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wo}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wor}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{word}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordw}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordwo}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordwor}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordword}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordwordw}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordwordwo}} \blank[big] \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{w}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wa}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{war}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{ward}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardw}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardwa}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardwar}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardward}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardwardw}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardwardwa}} \blank[big] \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{b}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{ba}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bar}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bard}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardb}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardba}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardbar}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardbard}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardbardb}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardbardba}} \stoptext Is this a caculation / rouding / logic error ? ___________________________________________________________________________________ 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 ___________________________________________________________________________________