PTPi pushed a commit to branch master in repository groff. commit c6201c82a98751abb191249b963d0327586a34f7 Author: Peter Schaffter <pe...@schaffter.ca> AuthorDate: Fri Nov 4 12:07:46 2022 -0400
[mom]: Restore user sentence spacing after terminating call to REF. --- contrib/mom/BUGS | 3 +++ contrib/mom/om.tmac | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/contrib/mom/BUGS b/contrib/mom/BUGS index bc686cbeb..376b29b58 100644 --- a/contrib/mom/BUGS +++ b/contrib/mom/BUGS @@ -23,6 +23,9 @@ the Subject line or you risk my spam filters nuking your message. Version 2.5_b ============= +Sentence space not being restored after a terminating REF. +---Fixed--- + CODE <OFF> not always correctly restoring point size of text afterwards. ---Fixed--- diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac index 83a23cafe..a9365ff18 100644 --- a/contrib/mom/om.tmac +++ b/contrib/mom/om.tmac @@ -22284,10 +22284,8 @@ does not fit on page \\n[pgnum]\\*[col-num]. \# up to +8. User's sentence spacing is reset in FOOTNOTES and ENDNOTES. \# .de ref*build -.if \\n[#PRINT_STYLE]=2 \{\ -. ds $RESTORE_SS_VAR \\*[$SS_VAR] -. SS +8 -.\} +.if \\n[#PRINT_STYLE]=2 \ +. if (\\n[#FN_REF]+\\n[#EN_REF])>0 .SS +8 .rm ref*string .while \\n[.$] \{\ . if d [\\$1 \{\ _______________________________________________ Groff-commit mailing list Groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit