Tadziu Hoffmann:
> [...]
>
> > .am p...@set-new-trap
> > . if n \{\
> > . if \\n[ft*note-size]>0 .nr pg*foot-trap -1v
> > . \}
> > ..
>
> I think that leaves you with more space before the footnotes
> than necessary in nroff (but the bottom margin is okay),
> but in troff you still have the problem that the footnotes
> get printed 1v into the bottom margin.
Thanks for the explanation, Tadziu.
In nroff mode, both modified and unmodifed ver-
sions leave one line between text end and footnote
start (the ________ separator), but I have found a
way to affect that as well:
.am p...@set-new-trap
. if \\n[ft*note-size]>0 \{\
. nr pg*foot-trap -1v
. \}
..
.am p...@enable-trap
. if \\n[ft*note-size]>0 \{\
. ch p...@footer (\\n[pg*foot-trap]u+1v)u
. \}
..
Again, I have only tested it in nroff mode. The
second 'append' causes the trap to fire one line
later thereby eliminating the abovementioned 1v
space.