Hi everyone, I've been trying to figure out how to create A4 documents with Plan 9 troff. Looking at the source of dpost and the PostScript output of GNU troff, I found a very easy solution.
1. Call dpost with -P to set the correct page size: dpost -P '<< /PageSize [ 595 842 ] /ImagingBBox null >> setpagedevice' 2. Use .pl to set the page length: .pl 29.7c 3. Use .ll (.nr LL with ms) to set the line length: .nr LL 15.92c \" assuming PO = 1i This seems to work properly with ms footers, too. The last two steps have been mentioned on the mailing list before, but I think the first step is new. Best regards John ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T529d24fea0ba8e21-Mc36efd1fabd3853324e659b6 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription