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