On Mon, Feb 19, 2024, Samuel Stoddard wrote: > Hi! I'm having a problem using the .RECTO_VERSO macro, namely that for all > of the verso pages the left margin is about 3 inches more than it should > be, and the page content is shifted off the physical dimensions of the > page.
Update to the latest version of mom (2.6_b, soon to be _c) https://www.schaffter.ca/mom/mom-2.6_b.tar.gz That should fix the recto/verso problem. > ==== Commands I use to generate a PDF: ==== > > groff -mom -dpaper=6i,9i -P-p9i,6i < test.t > test.ps > > /usr/bin/ps2pdf -dDEVICEWIDTHPOINTS=432 -dDEVICEHEIGHTPOINTS=648 > -dPDFFitPage - - < test.ps > test.pdf If you want pdf output from mom, use the wrapper script pdfmom(1). It's much easier. pdfmom test.t > test.pdf produces a pdf file with the page dimensions you give in your source file. No need for giving the paper size at the command line, and no need to convert .ps to .pdf. -- Peter Schaffter https://www.schaffter.ca