From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=DATE_IN_PAST_03_06, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 2284 invoked from network); 5 Feb 2022 00:51:11 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 5 Feb 2022 00:51:11 -0000 Received: from sirjofri.de ([5.45.105.127]) by 4ess; Fri Feb 4 17:10:05 -0500 2022 Received: from sirjofri.de ([95.90.218.152]) by sirjofri.de; Fri Feb 4 22:30:20 +0100 2022 Date: Fri, 4 Feb 2022 21:30:20 +0000 (UTC) From: sirjofri To: Alexander Shendi <9front@9front.org> Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Correlation-ID: List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: extended AJAX cloud content-driven-scale module self-signing-based backend Subject: Re: [9front] [NOOB ALERT] Actually using 9front to write things Reply-To: 9front@9front.org Precedence: bulk Yeah, I found something In your building pipeline you have to convert the troff to some postscript using 'lp -dstdout' (warning, it's possible you have to create a world writable file somewhere as hostowner the first time), then you feed it through ps2pdf to get a pdf page. troff ... | lp -dstdout | ps2pdf '-sPAPERSIZE=a4' >output.pdf (Note the quotes around the = sign) As an extra bonus, some time ago I wrote a letter, and here are my troff -ms settings for the page layout .pl 29.7c .po 2.5c .ll 17c .lt 17c .ps 12 (optional) Good luck, and I hope it helps. sirjofri