View Single Post
Old 10-27-2015, 07:28 PM   #84
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by Nick_1964 View Post
Thanks for the example, now I know where to look for it..
in 3.17.3 I found the last part of the patch a bit strange.
Because I want to use fixed margins, I commented out the replace value of the adjustable. is that correct ??

#
# Replacement value: Sets the value of the ADJUSTABLE top/bottom margin (if any)
# to a multiple of readingLeftMargin, in pixels. Suggested values are:
# Normal reading mode: 5px (Touch/Mini), 6px (Glo/Aura), 8px (AuraHD/H2O/GloHD)
# Full-screen mode: 6px (Touch/Mini), 7px (Glo/Aura), 10px (AuraHD/H2O/GloHD)
#replace_int = 45985E, 1, 6
It doesn't matter, if you are not using adjustable top or bottom margin then that line will have no effect either way.

Quote:
I found the patch for kepubs to put off hyphenation.
Is there anything to prevent to do the same with epubs ??
Hyphenation on epubs in Dutch keep going wrong..
I tried the following to add to an extra css
p {
hyphens: none !important;
}
Only to see that another one does it in the div tags...
No, KePub and ePub hyphenaion are completely different. If you want to turn off hyphenation altogether then adding something like this to the book's stylesheet will work for most books:
Code:
body,div,p {
 hyphens: none !important;
 adobe-hyphenate: none !important;
 -webkit-hyphens: none !important;
}
but it is always possible for the publisher to override the hyphenation settings in ePubs if they choose to, because the way !important works in ePubs is different than in KePubs. The only way to be be 100% sure is to strip all of the publisher's hyphenation styles from the ePub as well.
GeoffR is offline   Reply With Quote