How do I turn of hyphenation?

in the epub. The file itself doesn’t show any hyphens but when I compile to an epub, I’m getting hyphens. How do I turn that off?

A search brings up how to turn it off on Mac, but I can’t find a preference option on the windows version. :confused:

p { hyphens: none; } in your Stylesheet?

Actually, you need hyphens. :wink:

1 Like

I don’t know what that means.

When I put in hyphens, yes, I want them, but I don’t want auto-hyphens pulling my words apart when it’s formatting for an epub. (When it breaks up a word like hyphen to hy-phen to fit the line.)

You’ll want to justify your body text, so your book doesn’t look amateuristic. To prevent large word spacing, making normal reading difficult, you’ll need hyphenation.
When the hyphens are at the wrong place, the logical reason is that your language settings for your book are incorrect.

In the CSS pane in the Compile Format Designer for an e-book Format, you can add the markup above to prevent your text from using hyphens.

I prefer to insert soft-hyphen characters, because the are invisible but work flawlessly.

2 Likes

I’m pretty sure the hyphenation is happening because it’s justified. They aren’t in the wrong place. I just don’t want them. I’m in the group that finds “soft hyphens” difficult to parse, so I’d like to turn them off.

I don’t see how to get to the CSS pane, but I don’t think I want to go in and add markup. I was just oping there was a way to turn it off.

Thanks for trying.

The way to turn it off is by adding the CSS markup to the Stylesheet.

The CSS pane is in the Compile Format Designer reached by double-Clicking the Compile Format you’re using in the left column of the Compile Overview window.

Copy and Edit the Format if you haven’t changed it before.

When the Compile Format Designer window opens, the CSS pane is opened by the CSS menuitem halfway the menu on the left side…

Hope this helps

1 Like

Given that, with ePub, the reader has control over font, font size, justification etc., spending time and energy over hyphenation vs non-hyphenation is a total waste.

Furthermore, since if the reader wants to use justified text in a font size different to the one you prefer, turning off hyphenation is doing your reader a disservice.

If the hyphenation you are getting is wrong (and you don’t say what language is at issue), that is a problem with the dictionary on your device(s) and you should look for a solution there, rather than turning the hyphenation off through a line in the CSS to the potential annoyance of your target readership.

That’s just my take on this.

Mark

2 Likes

Thank you kindly for taking the time!

Cheers.

Well, font size and font yes, but alignment no. Turning off hyphenation is a disservice whatever font the reader sets, especially using justified text.

2 Likes

I only have a basic Kobo Touch (original version, 15 or so years old, non-backlit!), but I also read using Apple Books, Kindle and Kobo Reader apps on iPad and iPhone and justification setting is available on all those, including the Kobo Touch.

Wow, good to know. It’s worse than I expected. :woozy_face: