Trick to disable epub hyphens for Zotero 7

Sadly, this info is sometimes embedded in the .epub file, and I hate hyphens.

No idea if there is a better way. There is nothing in epub.js that handles hyphens.

Unzip epub file, open possible stylesheet.css, then drop this at the top of it.

```css
* {
hyphens: none !important;
-webkit-hyphens: none !important; /* Disable it in ibook too. */
-moz-hyphens: none !important;
}
```
  • Some ebooks do indeed enable hyphens in their embedded CSS, but we also force-enable them for all EPUBs in Zotero. My apologies to the hyphen haters! We'll consider adding a way to disable them via a preference in a future release.
  • edited July 1, 2024
    @AdamSwanson1: We've added a setting for this in beta 93, along with new per-file text-appearance options.
Sign In or Register to comment.