[Top][All Lists]

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

Re: [mom] R_MARGIN ignored

From: Peter Schaffter
Subject: Re: [mom] R_MARGIN ignored
Date: Thu, 27 Apr 2023 21:18:52 -0400

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

.    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

Peter Schaffter

reply via email to

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