groff
[Top][All Lists]
Advanced

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

Re: A version of fmt for troff files


From: John Gardner
Subject: Re: A version of fmt for troff files
Date: Fri, 17 Feb 2023 21:58:06 +1100

>
> https://en.roquesor.com/Downloads/fmtroff.c
>

Missed opportunity to call it "roffmt". ;-)

Anyway, I fed the program a macro package with the -n switch passed, and
it... basically mangled the entire file. I take it that fmtroff is only
designed to format prose, rather than Roff code (macros, et al)?

Tested under OpenBSD and Linux.  You should be able to compile it under any
> of these OSs.
>

Compiles without a hitch on macOS too, FYI.

On Fri, 17 Feb 2023 at 20:58, Walter Alejandro Iglesias <wai@roquesor.com>
wrote:

> Hello everyone,
>
> I've been using groff to format my novels since years.  Lately I wrote
> my own version of fmt with some feature added to format troff files (in
> the head comment of the code I explain its features in more detail.)  I
> decided to share it here, perhaps some of you find it useful:
>
>   https://en.roquesor.com/Downloads/fmtroff.c
>
> Tested under OpenBSD and Linux.  You should be able to compile it under
> any of these OSs.
>
> I take this opportunity to thank developers for maintaining this great
> software!
>
>
> --
> Walter
>
>


reply via email to

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