[Groff] Applying commands to all pages

2016-11-09 Thread Brendan Caluneo
So I decided to experiment a little with my own macro package. A problem I am having right now is how to make commands, such as ".sp x" to set the top margin, apply to all pages, not just the first one. I'm completely lost and would appreciate any help with solving this problem. Thanks.

Re: [Groff] Applying commands to all pages

2016-11-09 Thread Ralph Corderoy
Hi Brendan, > how to make commands, such as ".sp x" to set the top margin, apply to > all pages, not just the first one. $ printf '%s\n' '.pl 1i' '.wh 0 HD' '.de HD' foo .. .nf `seq 13` | > nroff foo 1 2 3 4 5 foo 6 7 8 9 10 foo 11