bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61675] [me] troff warns if footnote separator wider than column


From: G. Branden Robinson
Subject: [bug #61675] [me] troff warns if footnote separator wider than column
Date: Thu, 6 Oct 2022 00:19:41 -0400 (EDT)

Follow-up Comment #4, bug #61675 (project groff):

[comment #2 comment #2:]
> [comment #0 original submission:]
> > (There are other problems with footnotes in multi-column mode; as
> > can be seen above, the bottom of the column retreats up the page.
> ...
> > These issues are distinct and should be filed as separate tickets.)
> 
> I was going to do just that, but before/after comparisons show that this
particular issue was fixed as a side effect of the commit cited in comment #1.
 It's not clear _how_, based on the code changes of this commit, which appear
to have no effect on the root cause of this as explained over in bug #58736:
"when a trap is set in multi-column mode for placement of the footnote, that
trap is not cleared after the footnote is rendered.  The result is that the
bottoms of your columns creep up the page as you go from left to right."  And
the commit log talks only about the width of the footnote separator, so the
fix to the column height might be a surprise to the commit's author as well. 
But I won't argue with success.

I can confirm that this "footnote retreat" problem appears to be resolved. 
With the same input it shows up with groff 1.22.4 and not with groff Git
HEAD.

Most likely my hypothesized RCA of the cause of the retreat was simply wrong. 
A new hypothesis is that an excessively long footnote separator caused advance
of the vertical position, albeit not in a way visible to the naked eye (since
there was no text after it to format), and that this threw off the extensive
arithmetic _me_(7) uses to compute the placement of the footnote ejection
trap.


$ ./build/test-groff -Tascii -me EXPERIMENTS/separatrix2.me







     Jackdaws  love    quartzK.[2]   Jack-
my  big  sphinx  of    daws  love  my  big
quartzAE.  Jackdaws    sphinx  of quartzJ.
love  my big sphinx    Jackdaws  love   my
of quartzAD.  Jack-    big    sphinx    of
daws  love  my  big    quartzI.   Jackdaws
sphinx of quartzAC.    love  my big sphinx
Jackdaws   love  my    of quartzH.   Jack-
big    sphinx    of    daws  love  my  big
quartzAB.  Jackdaws    sphinx of  quartzG.
love  my big sphinx    Jackdaws   love  my
of quartzAA.  Jack-    big    sphinx    of
daws  love  my  big    quartzF.   Jackdaws
sphinx  of quartzZ.    love my big  sphinx
Jackdaws  love   my    of  quartzE.  Jack-
big    sphinx    of    daws  love  my  big
quartzY.   Jackdaws    sphinx  of quartzD.
love  my big sphinx    Jackdaws  love   my
of quartzX.   Jack-    big    sphinx    of
daws  love  my  big    quartzC.   Jackdaws
sphinx of  quartzW.    love  my big sphinx
Jackdaws   love  my    of quartzB.   Jack-
big    sphinx    of    daws  love  my  big
quartzV.[1]   Jack-    sphinx of quartzA.
daws  love  my  big
sphinx  of quartzU.
Jackdaws  love   my
big    sphinx    of
quartzT.   Jackdaws
love  my big sphinx
of quartzS.   Jack-
daws  love  my  big
sphinx of  quartzR.
Jackdaws   love  my
big    sphinx    of
quartzQ.   Jackdaws
love my big  sphinx
of  quartzP.  Jack-
daws  love  my  big
sphinx  of quartzO.
Jackdaws  love   my
big    sphinx    of
quartzN.   Jackdaws
love  my big sphinx
of quartzM.   Jack-
daws  love  my  big
sphinx of  quartzL.
Jackdaws   love  my
big    sphinx    of
___________________    ___________________
   [1] Sometimes.         [2] Sometimes.











    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61675>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]