[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] trap problem
From: |
Clarke Echols |
Subject: |
Re: [Groff] trap problem |
Date: |
Thu, 05 Apr 2007 09:02:30 -0600 |
User-agent: |
Thunderbird 1.5.0.10 (Windows/20070221) |
I'm not familiar with the MS macro package, but the man package
I worked with 15-20 years ago does a top-of-page routine. You
can take the page number, check for even/odd, and alter the page
offset accordingly. Just make sure you do it before anything
gets sent to output storage for post-processing (i.e. before
any vertical positioning occurs). This probably means putting
it at the start of the top-of-page macro, or redefining the macro
in your file(s) if you don't want to edit the ms macros themselves.
Clarke
address@hidden wrote:
Thanks to Raph and Ted for their help in my last question. Now I have
another one. I need different left and right margins on odd- and
even-numbered pages using the ms macros. This is dealt with PO and LL
number registers, but I somehow need to alter them according to whether
a page is odd- or even-numbered. I suppose I need to write a trap to do
this. Are there any implementations of this already available somewhere?
I am currently looking at macros used in production of the UTP book.
Thanks.