From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87901 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: underbraces get progressively more misaligned (w/ minimal example) Date: Sun, 29 Jun 2014 06:13:57 -0400 Message-ID: <87d2dsnhui.fsf@approx.mit.edu> 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 1404036880 19026 80.91.229.3 (29 Jun 2014 10:14:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2014 10:14:40 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 29 12:14:35 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 1X1C83-0001Id-0m for gctc-ntg-context-518@m.gmane.org; Sun, 29 Jun 2014 12:14:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F54810283 for ; Sun, 29 Jun 2014 12:14:34 +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 JiFqsPSm-2TW for ; Sun, 29 Jun 2014 12:14:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D28B610224 for ; Sun, 29 Jun 2014 12:14:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F984101E9 for ; Sun, 29 Jun 2014 12:14: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 FJ6VNVWJkSCb for ; Sun, 29 Jun 2014 12:14:20 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id B0FCB101E6 for ; Sun, 29 Jun 2014 12:14:14 +0200 (CEST) Original-Received: from dmz-mailsec-scanner-5.mit.edu (dmz-mailsec-scanner-5.mit.edu [18.7.68.34]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s5TAE714020964 for ; Sun, 29 Jun 2014 12:14:13 +0200 X-AuditID: 12074422-f79be6d000007518-8a-53afe6ee4911 Original-Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP id 81.AD.29976.EE6EFA35; Sun, 29 Jun 2014 06:14:06 -0400 (EDT) Original-Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s5TAE5PF027463 for ; Sun, 29 Jun 2014 06:14:06 -0400 Original-Received: from approx.mit.edu (pool-71-126-238-231.bstnma.east.verizon.net [71.126.238.231]) (authenticated bits=0) (User authenticated as sanjoy@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s5TAE3eG000971 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Sun, 29 Jun 2014 06:14:05 -0400 Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1X1C7R-0003Vw-78 for ntg-context@ntg.nl; Sun, 29 Jun 2014 06:13:57 -0400 User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1 (i486-pc-linux-gnu) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLIsWRmVeSWpSXmKPExsUixCmqrPvu2fpgg02LNCzWzl/E5MDocWzV YsYAxigum5TUnMyy1CJ9uwSujPOv5rAWHOWq+P5uP2sD4xmOLkZODgkBE4klc78wQthiEhfu rWfrYuTiEBKYzSSxeeEMZgjnFKPEhK1NLBDOSyaJi/fOM0I4+xgl/n1eD1TGwcEmoCrx938g iCkCNOr1xGCQqcIC3hI/lpwA2yAqECRxtuE9C4jNAlT94v9xRpByXgFtiWXHuUHCvAKCEidn PgErYRaQkDj44gXzBEa+WUhSs5CkFjAyrWKUTcmt0s1NzMwpTk3WLU5OzMtLLdI11cvNLNFL TSndxAgKJXYXpR2MPw8qHWIU4GBU4uFtMFwfLMSaWFZcmXuIUZKDSUmU9+BtoBBfUn5KZUZi cUZ8UWlOavEhRgkOZiUR3quPgHK8KYmVValF+TApaQ4WJXHet9ZWwUIC6YklqdmpqQWpRTBZ GQ4OJQnejqdAjYJFqempFWmZOSUIaSYOTpDhPEDD14DU8BYXJOYWZ6ZD5E8xKkqJ82aCJARA EhmleXC9sFh/xSgO9Iow7yaQKh5gmoDrfgU0mAlocE72OpDBJYkIKakGRv51plVWpevKWzqf XF2j05mpWsXR4mLmcp/7t33CDqWzf7x2vJpf2yTxVyLAIt/b2vC9ESur6IytWy53XVHTYrV6 2tLWmGl7T4xlff3X7frP6jdqxwtfZqxe1Ns3b96cTzEb7n1k4uLqkv/+vDB6kebFxYFuXCpX K49oy4u7KNn1zGexL9BWYinOSDTUYi4qTgQAofzvq9ACAAA= X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=18.7.68.34; country=US; region=Massachusetts; city=Cambridge; latitude=42.3931; longitude=-71.1345; http://maps.google.com/maps?q=42.3931,-71.1345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QMkae7br - 6256200987a3 - 20140629 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:87901 Archived-At: Dear list, As I copyedited my book, I noticed examples where the underbraces in math formulas were not aligned vertically, especially toward the end of the book. Eventually I realized it was not due to my growing copyediting skill, and I have made the following minimal example showing the problem (I am using 2014.05.17 MkIV): \setupformulas[indentnext=auto, spacebefore=none, spaceafter=none] \starttext \dorecurse{3000}{ \placeformula\startformula \underbrace{\hbox{yyyy}}_{\rho} = \underbrace{\hbox{yyyy yyyy yyyy}}_{\rho} \stopformula } \stoptext It'll produce a 162-page file. On the formulas on page 1, the two underbraces in each equation are aligned. But there seems to be some kind of slow leak, because the underbraces become ever more misaligned. By page 162, they are visibly misaligned by maybe 3pt. If I increase the recursion count to 30000, on page 2129 the misalignment is about 30pt. Taking out the \placeformula makes the misalignment go away. I tried to reproduce the problem with plain LuaTeX, using the tex file below, but the underbraces came out aligned. \newcount\foo \foo=3000 \loop $$ \underbrace{\hbox{yyyy}}_{\rho} = \underbrace{\hbox{yyyy yyyy yyyy}}_{\rho} $$ \advance \foo -1 \ifnum \foo>0 \repeat \end Any thoughts on this very strange issue? -Sanjoy ___________________________________________________________________________________ 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 ___________________________________________________________________________________