vim :hardcopy equivalent

2024-07-21 Thread me . groff


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?

Greetings,
Marcus

[1]: https://mro.name/2022/brief-dina4.txt



Re: vim :hardcopy equivalent

2024-07-24 Thread me . groff


to keep it simple I went without macros and figured out the commands from 
https://www.gnu.org/software/groff/manual/groff.html without further help.

For now I may go with https://mro.name/2024/brief-dina4.roff

Having an automatic header line on subsequent pages would be a plus, but isn't 
worth to RTFM e2e.

/Marcus



Re: vim :hardcopy equivalent

2024-07-25 Thread me . groff


Good morning Branden,

On Wed, 24 Jul 2024 13:28:04 -0500
"G. Branden Robinson"  wrote:

> The subsection/node "Page Location Traps" discusses how to do this and
> offers a simple example of the setup and use of header and footer traps.

frankly I am usually hesitant to engage with traps, but your nudge encouraged 
me to do so and it turned out quite fruitful. See 
https://mro.name/2024/brief-dina4.roff

Thanks a lot!
/Marcus

P.S.: I wonder why there's a single word on the page's last line, but I can 
live with that.



Re: PDF as default output device

2025-03-25 Thread me . groff


Hi Douglas,

On Mon, 24 Mar 2025 11:33:53 -0400
Douglas McIlroy  wrote:

> So I'd welcome palliative advice about my worries.

I'm sorry to say that I share them. With a tool as widely deployed as groff, 
compatibility with legacy is huge, and breaking it should merit considerable 
benefits above convenient adoption and onboarding.

What are they?

Marcus