groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mom] R_MARGIN ignored


From: G. Branden Robinson
Subject: Re: [mom] R_MARGIN ignored
Date: Fri, 28 Apr 2023 00:36:45 -0500

At 2023-04-27T21:18:52-0400, Peter Schaffter wrote:
> On Thu, Apr 27, 2023, Frederic Chartier wrote:
> > I'm having trouble controlling the margins with -mom...  L_MARGIN
> > is honoured but R_MARGIN is ignored.  I must be doing something
> > wrong, but what ?
> 
> You're not doing anything wrong.  It's a bug.  Not sure when it
> crept in, but the fix is simple.  Replace the PAGEWIDTH macro in
> your om.tmac with
> 
> .MAC PAGEWIDTH END
> .    br
> .    nr #PAGE_WIDTH \\$1
> .    if !r#L_MARGIN .L_MARGIN \\n[.o]
> .    if !r#R_MARGIN .R_MARGIN 1i
> .    if '\\*[.T]'pdf' \X'papersize=\\n[#PAGE_WIDTH]z,\\n[#PAGE_LENGTH]z'\c
> .END

Hi Peter,

Looks like it was this one:

https://git.savannah.gnu.org/cgit/groff.git/commit/?id=ac1fbe277660750e8caaf3f2b38a1149cf79aabc

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]