[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:09:24 -0600 |
User-agent: |
Thunderbird 1.5.0.10 (Windows/20070221) |
Another possibility:
.wh 0 \" When at top of page
if-else % is odd or even
.po \" set page offset to desired setting.
The macros probably already have a .wh 0 trap, so you may need to
work around that problem. That's why I prefer hacking the actual
top-of-page macro.
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.