groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vim :hardcopy equivalent


From: Jan Eden
Subject: Re: vim :hardcopy equivalent
Date: Mon, 22 Jul 2024 08:45:03 +0100

Hi Marcus,

On 2024-07-21 20:33, me.groff@mro.name wrote:

> Hi list,
> 
> after years of doing my administrative letters with vim :hardcopy plus some 
> settings[1], I'd like to move on to groffing them with identical look and be 
> indepenent of the editor.
> 
> So, typewriter look, significant whitespace, page number/total heading.
> 
> Being new to groff and a bit lost in macro packages as well as the docs - how 
> would I do that, or where has such been documented before?

I had the same question (coming from LaTeX’ scrlttr2 document class) a
few months ago. Both mm[1] and mom[2] provide options for setting
business letters, but not according to DIN 5008.

Fortunately, Matthias Schmidt and Christian Schaller provided starting
points for DIN-compliant letters, and I used these to create my own
macro file[3].

[1] https://tkurtbond.github.io/troff/mm-all.pdf (Appendix D)
[2] https://www.schaffter.ca/mom/momdoc/letters.html#top
[3] https://eden.one/2024/4/din-briefe-mit-groff

Cheers,
Jan

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]