Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-07 Thread Sanjoy Mahajan
Wolfgang Schuster schuster.wolfg...@gmail.com writes: math-stc.mkvi: % - \ifx\currentmathtext\empty + \ifx\m_math_stackers_text_middle\empty \setbox\scratchboxthree\emptyhbox Is this change still also needed (in addition to the luatex fix)? -Sanjoy

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-07 Thread Sanjoy Mahajan
Sanjoy Mahajan san...@mit.edu writes: I've been finding many unexplained 0.5pt or so differences, which may be related to the underbrace problem. ... What I keep finding is that pages long after where I make a small change somehow get changed, with roughly one-pixel shifts to parts of the

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-07 Thread Sanjoy Mahajan
luigi scarso luigi.sca...@gmail.com writes: Under linux you can also try diffpdf Thanks -- I'd forgotten about that and just tried it. If you are looking for pixel-level changes, my script makes it easier to see exactly what the changes are. On the other hand, diffpdf is more polished than my

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-06 Thread Sanjoy Mahajan
Hans Hagen pra...@wxs.nl writes: After a day of testing, tracing, wondering etc Luigi and I figured out what was the problem it tooks us lots of debug prints -). Indeed there is a bug in luatex. Great detective work! So, some random value (not entirely random as it depends on what mem

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-06 Thread Sanjoy Mahajan
Once it in the luatex trunk, I will check it right away. I just compiled and installed luatex 0.79.1 r5033, remade the formats, and the result passes my underbrace tests (the 30,000 iterations and the examples in my book mss). Thank you for the great debugging. -Sanjoy

[NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-04 Thread Akira Kakuto
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. An experiment: width = 48.0719985pt height = 4.968pt (constant) width = 48.0719986pt height =

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-04 Thread Hans Hagen
On 7/4/2014 9:12 AM, Akira Kakuto wrote: 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. An experiment: width = 48.0719985pt height = 4.968pt

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-04 Thread Hans Hagen
On 7/4/2014 6:58 AM, Wolfgang Schuster wrote: Am 04.07.2014 um 00:51 schrieb Hans Hagen pra...@wxs.nl mailto:pra...@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

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-04 Thread Sanjoy Mahajan
Wolfgang Schuster schuster.wolfg...@gmail.com writes: 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. An interesting bug. That's also consistent with

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-04 Thread Hans Hagen
On 7/4/2014 11:34 AM, Sanjoy Mahajan wrote: Wolfgang Schuster schuster.wolfg...@gmail.com writes: 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. An

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Sanjoy Mahajan
I thought the problem might lie with the general \definemathunderextensible (math-stc.mkvi), because underbrace is defined as \definemathunderextensible [vfenced] [underbrace][FE3DF] % [023DF] Other underextensibles include \underbar: \definemathunderextensible [vfenced]

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Wolfgang Schuster
Am 03.07.2014 um 12:49 schrieb Sanjoy Mahajan san...@mit.edu: I thought the problem might lie with the general \definemathunderextensible (math-stc.mkvi), because underbrace is defined as \definemathunderextensible [vfenced] [underbrace][FE3DF] % [023DF] Other

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Sanjoy Mahajan
math-stc.mkvi: \unexpanded\def\math_stackers_make_double#top#bottom#category#codepoint#codeextra#text% ... - \ifx\currentmathtext\empty + \ifx\m_math_stackers_text_middle\empty \setbox\scratchboxthree\emptyhbox \else Thanks for looking into this, Wolfgang. I

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Hans Hagen
On 7/3/2014 11:03 PM, Sanjoy Mahajan wrote: math-stc.mkvi: \unexpanded\def\math_stackers_make_double#top#bottom#category#codepoint#codeextra#text% ... - \ifx\currentmathtext\empty + \ifx\m_math_stackers_text_middle\empty \setbox\scratchboxthree\emptyhbox \else

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Sanjoy Mahajan
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

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread luigi scarso
On Fri, Jul 4, 2014 at 12:37 AM, Sanjoy Mahajan san...@mit.edu 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

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread 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) So 'context --make' is all one needs? I'll update the wiki. we get a .5pt height difference somewhere (nothing else

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Wolfgang Schuster
Am 04.07.2014 um 00:51 schrieb Hans Hagen pra...@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

[NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-06-29 Thread Sanjoy Mahajan
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

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-06-29 Thread Sanjoy Mahajan
Here is a 72dpi rendering of the last page (with recursion count=3). -Sanjoy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /