"Brendan Caluneo" <caluneo.bren...@gmail.com> wrote: |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.
It is event-driven, and you set "traps", which then get evaluated at appropriate times. Unfortunately the manual is a bit spread, and you will find yourself jumping around like grazy before you get the glue and only need to look up details. I think reading the original document from Joseph F. Ossanna and Brian W. Kernighan is a better starter than the GNU troff manual. Search the internet for cstr#54-troff-revised.pdf -- some members of this list have revised the original, and i think for the better. Ciao, --steffen