Re: [Groff] trap problem

2007-04-05 Thread Bill Ward
t. Hope this helps. Bill Ward > From: <[EMAIL PROTECTED]> > Date: Thu, 05 Apr 2007 06:46:08 -0600 > To: > Subject: [Groff] trap problem > > 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

Re: [Groff] trap problem

2007-04-05 Thread Clarke Echols
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 [EMAIL PROTECT

Re: [Groff] trap problem

2007-04-05 Thread Clarke Echols
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-process

[Groff] trap problem

2007-04-05 Thread janez . zemva
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