Hello!
I am very sorry for posting this off-topic question,
but there seems to be no active groff-related group.
My question is simple: How do I completely disable
groff's hyphenation? I am writing a document in Finnish
using this command:
groff -me -Kutf8 -Tpdf proto > proto.pdf
Everything works fine, but the hyphenation is making
mistakes and I want it. ChatGPT told me
to insert these at the top of the document:
.nh
.hy 0
It seems to work for a while, but then hyphenation
is suddenly active again! Can anyone here help me?
br,
KK
On Thu, 26 Mar 2026 14:08:23 +0000, Kalevi Kolttonen wrote:
Hello!
I am very sorry for posting this off-topic question,
but there seems to be no active groff-related group.
My question is simple: How do I completely disable
groff's hyphenation? I am writing a document in Finnish
using this command:
groff -me -Kutf8 -Tpdf proto > proto.pdf
Everything works fine, but the hyphenation is making
mistakes and I want it. ChatGPT told me
Remember, ChatGPT is a text-prediction program, and has no
experience or intrinsic knowledge of groff. If you use it,
you have to audit it's advice, which usually means that you
have to have experience or intrinsic knowledge of the subject
matter.
to insert these at the top of the document:
.nh
.hy 0
According to the Nroff/Troff User's Manual by Ossanna & Kernighan,
both of these macros do the same thing; turn off hyphenation (the
.nh
macro explicitly turns off hyphenation, while the
.hy 0
macro selects a hyphenation mode, with "0" representing "OFF").
Using both seems to me to be overkill; you only need one.
It seems to work for a while, but then hyphenation
is suddenly active again! Can anyone here help me?
With hyphenation explicitly turned off, it's likely that your
document uses a macro that turns it back on, either explicitly,
or as a side effect.
I don't often use groff, so I can't tell you which macros might
do that. Take a look at your document, comparing the pdf with
the input, to see /where/ in the input the hyphenation turns back
on. That way, you can see what macros/commands/etc that you've used
before that point that might turn hyphenation back on.
br,
KK
Sorry I couldn't be of more help
Sorry I couldn't be of more help
On Thu, 26 Mar 2026 14:08:23 +0000, Kalevi Kolttonen wrote:
Hello!
I am very sorry for posting this off-topic question,
but there seems to be no active groff-related group.
My question is simple: How do I completely disable
groff's hyphenation? I am writing a document in Finnish
using this command:
groff -me -Kutf8 -Tpdf proto > proto.pdf
Everything works fine, but the hyphenation is making
mistakes and I want it. ChatGPT told me
Remember, ChatGPT is a text-prediction program, and has no
I don't often use groff ...
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 10:01:12 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
3 files (7,546K bytes) |
| Messages: | 265,184 |