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

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-01-2012, 02:47 PM   #1
bcrowell
Junior Member
bcrowell began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2011
Device: none
Does calibre support epub switch/case?

Does calibre support the switch/case feature in epub? I tried to create an epub that uses the feature, but it doesn't seem to work right when I view it in calibre. There are two cases, and it should only display one of them, but both are displayed. I can't tell whether I messed up creating the epub, or calibre just doesn't support the feature. This seems to be an EPUB 2 feature: http://idpf.org/epub/20/spec/OPS_2.0...m#Section2.6.3
bcrowell is offline   Reply With Quote
Old 01-01-2012, 09:28 PM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,569
Karma: 12369681
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by bcrowell View Post
Does calibre support the switch/case feature in epub? I tried to create an epub that uses the feature, but it doesn't seem to work right when I view it in calibre. There are two cases, and it should only display one of them, but both are displayed. I can't tell whether I messed up creating the epub, or calibre just doesn't support the feature. This seems to be an EPUB 2 feature: http://idpf.org/epub/20/spec/OPS_2.0...m#Section2.6.3
Try viewing it in another ePub viewer. Adobe Digital Editions might be a good test to see if you have it right. Sigil may also give you some idea if you have it correct.

Good Reading.
DoctorOhh is offline   Reply With Quote
 
Enthusiast
Old 01-01-2012, 10:37 PM   #3
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: 24,813
Karma: 4369673
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre doesn't support any ops: namespaced features.
kovidgoyal is offline   Reply With Quote
Old 01-01-2012, 11:27 PM   #4
bcrowell
Junior Member
bcrowell began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2011
Device: none
Good suggestion, dwanthny, thanks. Sigil does show signs of understanding the switch/case construct, but it doesn't seem to handle it correctly. (It modifies the html by stripping the <case> and <default> tags while leaving the <switch> tags there.) Unfortunately I can't run Adobe DE, since they don't have a linux version, and I don't own an epub-capable device.
bcrowell is offline   Reply With Quote
Old 01-01-2012, 11:28 PM   #5
bcrowell
Junior Member
bcrowell began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2011
Device: none
Ah, I see -- thanks for the info, Kovid!
bcrowell is offline   Reply With Quote
Old 01-02-2012, 08:00 AM   #6
opitzs
Avid Reader
opitzs can successfully navigate the Paris bus system.opitzs can successfully navigate the Paris bus system.opitzs can successfully navigate the Paris bus system.opitzs can successfully navigate the Paris bus system.opitzs can successfully navigate the Paris bus system.opitzs can successfully navigate the Paris bus system.opitzs can successfully navigate the Paris bus system.opitzs can successfully navigate the Paris bus system.opitzs can successfully navigate the Paris bus system.opitzs can successfully navigate the Paris bus system.opitzs can successfully navigate the Paris bus system.
 
opitzs's Avatar
 
Posts: 161
Karma: 36472
Join Date: Sep 2008
Location: Look for rain, hail and snow...
Device: PRS-505, PRS-600, PRS T1, Kobo Glo
@bcrowell:
ADE runs absolutely fine under wine! If you are not sure how to best install and run it with wine, just use PlayOnLinux...
opitzs 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
Gen3 Can you really switch back and forth between Mobi and ePub? FizzyWater Bookeen 13 09-30-2011 02:44 AM
when will calibre support vector graphics in pdf to epub conversion smith9 Calibre 5 11-13-2010 05:03 AM
Switch Calibre to english Cleonis Calibre 0 07-08-2010 02:37 PM
Does K2 now support (non-DRM) ePub??? delphidb96 Amazon Kindle 7 02-05-2010 06:26 PM
Support EPub Pumba Cybook 5 03-01-2009 06:48 AM


All times are GMT -4. The time now is 09:17 PM.


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