9front - general discussion about 9front
 help / color / mirror / Atom feed
From: sirjofri <sirjofri+ml-9front@sirjofri.de>
To: Alexander Shendi <9front@9front.org>
Subject: Re: [9front] [NOOB ALERT] Actually using 9front to write things
Date: Fri, 4 Feb 2022 21:30:20 +0000 (UTC)	[thread overview]
Message-ID: <f5055aa7-9ee3-4c70-a711-ab3e85cb4be8@sirjofri.de> (raw)
In-Reply-To: <f0c66dc2-1e03-41b7-adf3-710e7d5db2cb@sirjofri.de>

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.


  reply	other threads:[~2022-02-05  0:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 20:41 Alexander Shendi
2022-02-04 21:20 ` sirjofri
2022-02-04 21:30   ` sirjofri [this message]
2022-02-04 22:07 ` umbraticus
2022-02-04 22:59   ` Alexander Shendi
2022-02-04 23:23     ` umbraticus
2022-02-04 22:12 ` umbraticus
2022-02-05  7:25 ` tlaronde
2022-02-05 16:03 ` Humm
2022-02-12  4:23   ` Stanley Lieber
2022-02-13 11:33   ` Alexander Shendi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f5055aa7-9ee3-4c70-a711-ab3e85cb4be8@sirjofri.de \
    --to=sirjofri+ml-9front@sirjofri.de \
    --cc=9front@9front.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).