Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 05-07-2014, 07:17 AM   #1
samy2
Ebook-Fan
samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.
 
Posts: 398
Karma: 698564
Join Date: Feb 2011
Device: PRS T1
Bug?: webkit-hyphens?

Calibre doesn't recognize webkit-hyphens as correct in CSS and say it is invalid, but it seems but be correct for EPUB. Does it? If so it should be not listens in the check with with the editor. What do you think?

Last edited by samy2; 05-07-2014 at 07:22 AM.
samy2 is offline   Reply With Quote
Old 05-07-2014, 07:37 AM   #2
JLius
Village idiot
JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.JLius ought to be getting tired of karma fortunes by now.
 
JLius's Avatar
 
Posts: 157
Karma: 519566
Join Date: Mar 2014
Location: Belgium
Device: sony PRS T-1
It's not a bug, webkit-hyphen is not supported by epub specs.
Why would you use it for epubs? Just put in hyphens: none if you don't want hyphenation (not sure if that works for all devices though.
JLius is offline   Reply With Quote
Advert
Old 05-07-2014, 04:14 PM   #3
samy2
Ebook-Fan
samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.
 
Posts: 398
Karma: 698564
Join Date: Feb 2011
Device: PRS T1
Quote:
Originally Posted by JLius View Post
It's not a bug, webkit-hyphen is not supported by epub specs.
It is not? Why does mobileread-wiki says it is supported?

https://wiki.mobileread.com/wiki/Stan...for_Epub_Files

Quote:
Originally Posted by JLius View Post
Just put in hyphens: none if you don't want hyphenation (not sure if that works for all devices though.
Than the editor shows "unknown property name"...

Last edited by samy2; 05-07-2014 at 04:17 PM.
samy2 is offline   Reply With Quote
Old 05-07-2014, 04:52 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by samy2 View Post
It is not? Why does mobileread-wiki says it is supported?

https://wiki.mobileread.com/wiki/Stan...for_Epub_Files



Than the editor shows "unknown property name"...
"Working", "supported," and "part of the epub spec" are all different things.

-webkit-hyphens, adobe-hyphens, and -moz-hyphens may very well "work" to achieve what you want in a cross-platform manner. You just have to be willing to accept the fact that any "official" validators (based on actual IDPF ePub specifications) are probably going to bark about their inclusion.

Last edited by DiapDealer; 05-07-2014 at 04:54 PM.
DiapDealer is online now   Reply With Quote
Old 05-07-2014, 06:12 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,808
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That 'bark' is only a yellow caution.
Do worry about any Red flags
theducks is online now   Reply With Quote
Advert
Old 05-08-2014, 02:56 AM   #6
samy2
Ebook-Fan
samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.
 
Posts: 398
Karma: 698564
Join Date: Feb 2011
Device: PRS T1
Thank you for your explanation ;-)
samy2 is offline   Reply With Quote
Old 05-08-2014, 03:39 AM   #7
DigitEditLab
Member
DigitEditLab began at the beginning.
 
DigitEditLab's Avatar
 
Posts: 21
Karma: 10
Join Date: Feb 2014
Device: Kobo Aura HD, Samsung Note II, Kindle and a few more
hyphens:none;

Quote:
Originally Posted by JLius View Post
It's not a bug, webkit-hyphen is not supported by epub specs.
Why would you use it for epubs? Just put in hyphens: none if you don't want hyphenation (not sure if that works for all devices though.
Few days ago, I experimented it tough:
  • hyphens:none; was not accepted by the internal bug-check (Calibre release 1.35).
  • EPUBCheck3.0.1 validated my EPUB nonetheless.

The property hyphens is not lisedt in the various O'Reilly reference books, but it is worthy to note that the IDPF specs accept it.
DigitEditLab is offline   Reply With Quote
Old 05-08-2014, 03:40 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre validates CSS against the CSS 2.1 spec. hyphens is not part of that spec. And you should not rely on it being supported by actual reading software.
kovidgoyal is offline   Reply With Quote
Old 05-08-2014, 03:42 AM   #9
DigitEditLab
Member
DigitEditLab began at the beginning.
 
DigitEditLab's Avatar
 
Posts: 21
Karma: 10
Join Date: Feb 2014
Device: Kobo Aura HD, Samsung Note II, Kindle and a few more
Quote:
Originally Posted by kovidgoyal View Post
calibre validates CSS against the CSS 2.1 spec. hyphens is not part of that spec. And you should not rely on it being supported by actual reading software.
Thanks, @kovidgoyal, for your (instant!) reply that is very important.
DigitEditLab is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
-webkit-hyphens: none; does it work in iBooks? Balaji Workshop 2 08-23-2011 10:18 AM
Any hope to get Webkit on the K2? travfar Amazon Kindle 4 01-02-2011 01:26 PM
Kindle 3 Webkit Browser toronado Amazon Kindle 3 09-06-2010 02:08 AM
Using webkit browser in PB 302 JimMcLaren PocketBook 14 06-10-2010 07:31 PM
WebKit Jacques_N PocketBook 11 04-09-2010 05:27 PM


All times are GMT -4. The time now is 06:44 PM.


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