💾 Archived View for bbs.geminispace.org › u › fab › 18793 captured on 2024-08-19 at 01:01:23. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2024-08-31)

-=-=-=-=-=-=-

Comment by 👾 fab

Re: "Is there a tool that can take a text file, wrap it at a..."

In: u/jsreed5

Forgot to mention that to my knowledge it doesn't hyphenate words. It just adds spaces to justify.

👾 fab

Jul 23 · 4 weeks ago

2 Later Comments ↓

🚀 jsreed5 [OP] · Jul 23 at 12:37:

@fab Thanks, I'll give that a try!

🎲 dozens · Jul 25 at 23:59:

groff! i used it to format my .project file which you can see at `finger dozens@tilde.town`. if you just have paragraphs, you should be able to `cat file.txt | nroff -ms -Tascii`

Original Post

🚀 jsreed5

Is there a tool that can take a text file, wrap it at a given maximum width, add spaces to justify the text, and hyphenate words if it has to add too many spaces, à la LaTeX? I'm sure there are tools that will wrap and even justify, but I'm not sure about hyphenation.

💬 4 comments · Jul 23 · 4 weeks ago