Hello! I was trying to set up an ms-document with small page margins (see attachment), but I don't seem to get below a certain limit (especially on the bottom side). In one-column mode, the bottom border is a bit smaller, but still larger than 1cm. I also cannot explain the spacing introduced by the .2C request (between BEFORE and AFTER). Build with
pdfroff -ms margins.ms >margins-ms.pdf Does anybody understand what's going on? I've tried something similar with mm (margins.mm), trying to set 1cm margins on all sides. This doesn't work as well when built with: pdfroff -mm -P-pa4 -rW=19c -rO=1c -rL=27.7c margins.mm >margins-mm.pdf Although, here we can at least set the page length to something oversized like 31c to get close to what we want. A4 has a height of 29.7cm, so this is also strange. For my particular task, I will probably just switch from ms to mm. But it would be nice to understand why they behave this way. Yours sincerely, Robin
\# pdfroff -mm -P-pa4 -rW=19c -rO=1c -rL=27.7c margins.mm >margins.pdf .PGNH .SP 1c BEFORE .2C AFTER . .nr i 0 1 .while \n+i<=100 \{\ . br . nop \ni .\}
\# pdfroff -ms margins.ms >margins.pdf .nr PO 1c .nr LL 21c-\n(PO-1c .nr HM 1c .\" FIXME: The actual bottom border is much larger. .nr FM 1c .nr PI 0 .\" Disable headers and footers .ds CH .ds CF . BEFORE .2C AFTER . .nr i 0 1 .while \n+i<=100 \{\ . br . nop \ni .\}
margins-ms.pdf
Description: Adobe PDF document
margins-mm.pdf
Description: Adobe PDF document