From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87998 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: underbraces get progressively more misaligned (w/ minimal example) Date: Fri, 4 Jul 2014 06:58:44 +0200 Message-ID: References: <87d2dsnhui.fsf@approx.mit.edu> <877g40nhcl.fsf@approx.mit.edu> <87k37u7m4e.fsf@approx.mit.edu> <66D45391-7643-4952-BF98-7439FCEC856B@gmail.com> <87a98q40ks.fsf@approx.mit.edu> <53B5D497.1040108@wxs.nl> <871tu23w7e.fsf@approx.mit.edu> <53B5DE6B.8040104@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============0142791931==" X-Trace: ger.gmane.org 1404449960 20117 80.91.229.3 (4 Jul 2014 04:59:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2014 04:59:20 +0000 (UTC) Cc: mailing list for ConTeXt users , Sanjoy Mahajan To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 04 06:59:14 2014 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 1X2vab-0007pg-UX for gctc-ntg-context-518@m.gmane.org; Fri, 04 Jul 2014 06:59:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2545410224 for ; Fri, 4 Jul 2014 06:59:13 +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 LAf-KpMkpegw for ; Fri, 4 Jul 2014 06:59:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5850710225 for ; Fri, 4 Jul 2014 06:59:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D5DAC101E8 for ; Fri, 4 Jul 2014 06:59:00 +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 pBzIqQi-1HBk for ; Fri, 4 Jul 2014 06:58:56 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 8FAEF101E7 for ; Fri, 4 Jul 2014 06:58:51 +0200 (CEST) Original-Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s644won6015383 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Fri, 4 Jul 2014 06:58:50 +0200 Original-Received: by mail-we0-f175.google.com with SMTP id k48so1069281wev.34 for ; Thu, 03 Jul 2014 21:58:49 -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:cc :message-id:references:to; bh=eRxK2FUHAhzzSU5MqNIqEePndTkhHTPM48tdPSccquQ=; b=gTf0DHZat9oca3hXYzz5qbZzirKGqi867HPOoX7E8sawtQfKQz/K8KeKLDcpF479mU msZBWLBeGiLTu3i4DVKbnTHfPHlJ7vyNOW8kk2LhvKQPyrYt8ZIAnTeDDlwsxri3GFex e/au3t8Tdq+6Pk1ZTvmRBt3Pj9sC4JIqm2TJllhKl8mQLvnwSj8rzIWr2wZi1XK8+H1n Ly/o0JBJ20kJyDYj9hHDa2Nk2GzbGzHJL1CI80u2twRyA0Ob2rReV6+cBkRjbXldVOxx F07Filep+2Esw8EG0Dc2PjELuIwcGvKMSXwqxLi+t5/Xs6osGPvIUVm6CazWkMDixqo+ hoDQ== X-Received: by 10.194.62.140 with SMTP id y12mr9574517wjr.27.1404449929936; Thu, 03 Jul 2014 21:58:49 -0700 (PDT) Original-Received: from keima.localdomain (x2f2ade6.dyn.telefonica.de. [2.242.173.230]) by mx.google.com with ESMTPSA id dj11sm74752266wid.21.2014.07.03.21.58.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Jul 2014 21:58:46 -0700 (PDT) In-Reply-To: <53B5DE6B.8040104@wxs.nl> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Mm4WOhE - b5b3bc410b9a - 20140704 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:87998 Archived-At: --===============0142791931== Content-Type: multipart/alternative; boundary="Apple-Mail=_7BE6B409-252E-4AF9-A1FF-0DB21E6B1748" --Apple-Mail=_7BE6B409-252E-4AF9-A1FF-0DB21E6B1748 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 04.07.2014 um 00:51 schrieb Hans Hagen : > On 7/4/2014 12:37 AM, Sanjoy Mahajan wrote: >>> context --make does a --generate so you can skip that and the = luatools >>> run is not needed either (selfupdate is seldom needed too) >>=20 >> So 'context --make' is all one needs? I'll update the wiki. >>=20 >>> we get a .5pt height difference somewhere (nothing else different in = a >>> trace) ... smells like a luatex bug (testing that now) >>=20 >> That is my suspicion as well. But I couldn't reproduce it with plain >> luatex. Though maybe I needed to use equation numbers, however that = is >> done in plain tex (the context run doesn't show the problem without = the >> \placeformula). >>=20 >> I suspect some internal state is getting slightly corrupted and = getting >> progressively worse with the 30,000 repetitions. >=20 > here it happens after a pagebreak (a few lines overflow are ok) It does also depend on the width of the text because when I use 48pt in = the example below the height of the brace is always the same but with 49pt the height = increases after the first page. \starttext \dorecurse{100} {\startformula \mathord = {%\setbox\scratchbox\mathstylehbox{\Umathaccent\fam\zerocount"FE3DF{\hskip= 48pt}}% = \setbox\scratchbox\mathstylehbox{\Umathaccent\fam\zerocount"FE3DF{\hskip49= pt}}% \the\userpageno:\the\ht\scratchbox}% \stopformula} \stoptext Wolfgang= --Apple-Mail=_7BE6B409-252E-4AF9-A1FF-0DB21E6B1748 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Am 04.07.2014 um 00:51 schrieb Hans = Hagen <pragma@wxs.nl>:
On 7/4/2014 12:37 AM, Sanjoy Mahajan = wrote:
context = --make does a --generate so you can skip that and the luatools
run is = not needed either (selfupdate is seldom needed = too)

So 'context --make' is all one needs? =  I'll update the wiki.

we get a = .5pt height difference somewhere (nothing else different in a
trace) = ... smells like a luatex bug (testing that now)

That = is my suspicion as well.  But I couldn't reproduce it with = plain
luatex.  Though maybe I needed to use equation numbers, = however that is
done in plain tex (the context run doesn't show the = problem without the
\placeformula).

I suspect some internal = state is getting slightly corrupted and getting
progressively worse = with the 30,000 repetitions.

here it happens after a = pagebreak (a few lines overflow are = ok)

It does also depend on = the width of the text because when I use 48pt in the example = below
the height of the brace is always the same but with 49pt the = height increases after the first = page.

\starttext

\dorecurse{100}
  {\startformula
  =  \mathord
    =  {%\setbox\scratchbox\mathstylehbox{\Umathaccent\fam\zerocount"FE3DF{= \hskip48pt}}%
      = \setbox\scratchbox\mathstylehbox{\Umathaccent\fam\zerocount"FE3DF{\hskip49= pt}}%
      = \the\userpageno:\the\ht\scratchbox}%
  =  \stopformula}

\stoptext

Wolfgang
= --Apple-Mail=_7BE6B409-252E-4AF9-A1FF-0DB21E6B1748-- --===============0142791931== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0142791931==--