Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 09-20-2024, 06:20 AM   #1
repilo
Connoisseur
repilo began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
How to have hyphenation without breaking h1, h2...?

How can I enable hyphenation in kepub while ensuring that it respects the CSS rules not to hyphenate headings like h1, h2, etc.?
I convert epub to kepub with Calibre and send them to the Kobo.
With kobopatch I activate “Set KePub hyphenation: yes”.
And yes, I get hyphenation.
The doubt I have is why there are word divisions also in the headers (h1, h2, ...), even though in style.css I have all this:
Code:
    adobe-hyphenate: none;
    -ms-hyphens: none;
    -moz-hyphens: none;
    -webkit-hyphens: none;
    -epub-hyphens: none;
    hyphens: none;
The same thing happened to me without activating that patch and activating hyphenation in Calibre during conversion to kepub.
repilo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Better Hyphenation in EN, FR, and HU JSWolf Kobo Reader 0 11-26-2019 06:20 PM
Hyphenation Simboubou PocketBook 9 09-15-2014 05:21 AM
Hyphenation - again.. ItsMee Conversion 2 07-31-2012 03:00 PM
Hyphenation Jini ePub 3 04-05-2012 11:48 AM
Calibre breaking Nook Touch hyphenation? jclim00 Calibre 8 09-04-2011 06:28 PM


All times are GMT -4. The time now is 10:13 PM.


MobileRead.com is a privately owned, operated and funded community.