From: Hans Hagen <pragma@wxs.nl>
To: Wolfgang Schuster <schuster.wolfgang@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Sanjoy Mahajan <sanjoy@MIT.EDU>
Subject: Re: underbraces get progressively more misaligned (w/ minimal example)
Date: Fri, 04 Jul 2014 10:22:03 +0200 [thread overview]
Message-ID: <53B6642B.9000108@wxs.nl> (raw)
In-Reply-To: <F1DF19FD-B29C-44D0-82A6-FCE7EEAA2589@gmail.com>
On 7/4/2014 6:58 AM, Wolfgang Schuster wrote:
>
> Am 04.07.2014 um 00:51 schrieb Hans Hagen <pragma@wxs.nl
> <mailto: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{\hskip49pt}}%
> \the\userpageno:\the\ht\scratchbox}%
> \stopformula}
>
> \stoptext
\starttext
\dorecurse{1000}
{\setbox\scratchbox\hbox{$\Umathaccent\fam\zerocount"FE3DF{\hskip49pt}$}%
\the\ht\scratchbox\par}
\stoptext
that was the one i used when seeing some trigger from the page break
(the two at the top of page 2 are the overshoot before tex triggers the
page)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-07-04 8:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-29 10:13 Sanjoy Mahajan
2014-06-29 10:24 ` Sanjoy Mahajan
2014-07-03 10:49 ` Sanjoy Mahajan
2014-07-03 19:21 ` Wolfgang Schuster
2014-07-03 21:03 ` Sanjoy Mahajan
2014-07-03 22:09 ` Hans Hagen
2014-07-03 22:37 ` Sanjoy Mahajan
2014-07-03 22:47 ` luigi scarso
2014-07-07 13:59 ` Sanjoy Mahajan
2014-07-03 22:51 ` Hans Hagen
2014-07-04 4:58 ` Wolfgang Schuster
2014-07-04 8:22 ` Hans Hagen [this message]
2014-07-04 9:34 ` Sanjoy Mahajan
2014-07-05 0:30 ` Hans Hagen
2014-07-07 2:16 ` Sanjoy Mahajan
2014-07-07 3:48 ` Sanjoy Mahajan
2014-07-07 13:56 ` Sanjoy Mahajan
2014-07-07 13:53 ` Sanjoy Mahajan
2014-07-04 7:12 Akira Kakuto
2014-07-04 8:17 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53B6642B.9000108@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
--cc=sanjoy@MIT.EDU \
--cc=schuster.wolfgang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).