Re: deroff availability
Am Wed, Aug 17, 2022 at 03:47:31AM + schrieb DJ Chase: > Does anyone know how I could get a copy of deroff(1) on my machine > (Fedora Linux 36)? It’s not in the repos — or seemingly any Linux repos > for that matter — and I can’t seem to find the source for it. The Arch Linux User Repository (AUR) is a valuable source here. I found https://aur.archlinux.org/packages/deroff which in turn points to http://www.moria.de/~michael/deroff/ et voilà! That said, I was facing the same problem on my Arch system, and will try to compile deroff from the sources, now. Cheers, lkh -- https://octodon.social/web/@lkh xmpp: l...@jabber.de IRC: lkh on Libera.chat and others Signal: +491627291956 Discord: lkh#2319
Re: deroff availability
On Wed Aug 17, 2022 at 1:27 AM EDT, Jeff Conrad wrote: > Oops ... > > Scratch what I was going to suggest ... > > I only asked because you mentioned that roff2text(1) does a poor job of > formatting. Reading more carefully, formatting wasn’t your objective. I suppose I could have been clearer there, sorry. > I assume you’ve tried something like > > roff2text | tr -cs "[:alpha:]" "[\n*]" > > or > > nroff | tr -cs "[:alpha:]" "[\n*]" > > But this obviously won’t work for diction or style. It works for style, but it’s really a problem with diction. Diction outputs line numbers of problematic sentences, which obviously don’t corrispond to the source line-numbers. Cheers, -- DJ Chase They, Them, Theirs
Re: deroff availability
On Wed, 17 Aug 2022, DJ Chase wrote: It works for style, but it?s really a problem with diction. Diction outputs line numbers of problematic sentences, which obviously don?t corrispond to the source line-numbers. I have never refered to the line number in over 30 years of using diction. Stay safe - Damian Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037 Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here Views & opinions here are mine and not those of any past or present employer
Re: deroff availability
On Wed Aug 17, 2022 at 1:16 AM EDT, Laurens Kils-Hütten wrote: > The Arch Linux User Repository (AUR) is a valuable source here. > > I found https://aur.archlinux.org/packages/deroff > which in turn points to http://www.moria.de/~michael/deroff/ > et voilà! Thank you. I’ll try compiling this later. If it works, I’ll try packaging it for Fedora in case other users have the same problem. Cheers, -- DJ Chase They, Them, Theirs
Re: deroff availability
On Wed Aug 17, 2022 at 7:44 AM EDT, Damian McGuckin wrote: > On Wed, 17 Aug 2022, DJ Chase wrote: > > > It works for style, but it?s really a problem with diction. Diction > > outputs line numbers of problematic sentences, which obviously don?t > > corrispond to the source line-numbers. > > I have never refered to the line number in over 30 years of using diction. Interesting. What do you do for really long files that aren’t split into chapters? Cheers, -- DJ Chase They, Them, Theirs
Re: deroff availability
On Wed, 17 Aug 2022, DJ Chase wrote: I have never refered to the line number in over 30 years of using diction. Interesting. What do you do for really long files that aren?t split into chapters? Split them into chapters. How do you handle a program with 1 lines. Hopefully you split into modules and indivual routines. A document is a program. Stay safe - Damian Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037 Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here Views & opinions here are mine and not those of any past or present employer