Update of bug #66758 (group groff):
Status: Confirmed => In Progress
_______________________________________________________
Follow-up Comment #4:
[comment #3 comment #3:]
> I attached a suggested patch. Feel free to adjust the commit message per
> local style.
You got it. It works. Thank you so much!
I've been looking at this, even in exactly the right place, for a couple of
hours spread over a couple of days and couldn't see it.
I went blind in two different ways.
1. As often happens to programmers and people proofreading their own writing,
I knew where the conditional braces "should" be, so I hallucinated the
presence of one that was actually missing.
2. I wasn't paying such close attention to that branch of the conditional,
because it's for cases where no user-defined `EOP` macro exists. But
"present.tmac" _does_ define one. ...but that doesn't matter because the
formatter still parses its way through the "else" branch, keeping track of the
brace-escape nesting level.
Argh!
Anyway, here's the record of triumph:
$ ./build/test-groff -b -ww -Tps -rD5 -mm -pet -M ATTIC -mpresent
ATTIC/66758.mm -P-pa4 -P-l | okular -
Initialization
initialization: @ps=10000u, @vs=12000u
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use
QT_QPA_PLATFORM=wayland to run on Wayland anyway.
ND: no arguments
S: "+8"
PGFORM: "8.5i" "7.74i" "1.5i" "1"
Page #1 (ATTIC/66758.mm:25)
S: "+8"
S: "-8"
Starting diversion "ds*div!1"
Closing diversion "ds*div!1"
Emitting diversion "ds*div!1"
End of page #1 (ATTIC/66758.mm:52)
pg@print-footer: calling user-defined EOP macro
Page #2 (ATTIC/66758.mm:52)
S: "+8"
S: "-8"
pg@end-of-text: end-of-input macro: shutting down
End of document text
End of page #2
pg@print-footer: calling user-defined EOP macro
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66758>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
