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 02-09-2013, 08:47 AM   #91
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 658
Karma: 2018502
Join Date: Jan 2013
Location: San Francisco Bay Area
Device: Kindle Paperwhite 2
I wonder if that's a bug in the kepub renderer or if it's by design? I had thought that CSS is the preferred way to do all ePub styling and formatting, but if some of it is being ignored...

I wonder if there's some really specific selectors in the CSS that the koboSpan tags are breaking? When you added text-align:center did you add that in the CSS or on the tag itself?
jgoguen is offline   Reply With Quote
Old 02-09-2013, 11:04 AM   #92
Terisa de morgan
Wizard
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 2,347
Karma: 1996742
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Aura, Kobo Mini, iPhone, iPad, Galaxy Tab3 8
In the css, never at the tag.

Last edited by Terisa de morgan; 02-10-2013 at 04:44 AM.
Terisa de morgan is online now   Reply With Quote
Old 02-09-2013, 04:48 PM   #93
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 1,352
Karma: 353320
Join Date: Jun 2012
Device: kobo touch
I just tried myself to user text-align: center on paragraphs in kepub.epub. It works without problem. The kobo span tags do not break anything, it seems.

Terisa de morgan, I think in your user settings, "Justification" is not set to "OFF".
tshering is offline   Reply With Quote
Old 02-10-2013, 04:46 AM   #94
Terisa de morgan
Wizard
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 2,347
Karma: 1996742
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Aura, Kobo Mini, iPhone, iPad, Galaxy Tab3 8
tshering, you are right I didn't remember this setting because it does nothing when you're reading a ePub book.
Terisa de morgan is online now   Reply With Quote
Old 02-10-2013, 05:38 AM   #95
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,881
Karma: 5704349
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo Touch, Kobo Glo
Yes it does. But only if the text alignment is not set in the styles.
davidfor is offline   Reply With Quote
Old 02-10-2013, 06:12 AM   #96
Terisa de morgan
Wizard
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 2,347
Karma: 1996742
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Aura, Kobo Mini, iPhone, iPad, Galaxy Tab3 8
So, that's the reason it did nothing. After my Sony (which always used left-aligned if not set), I always set my text alignment in the styles. So, the same rule doesn't apply to kepub. Anyway, thank you very much to all of you for helping my to fix my novice mistake.
Terisa de morgan is online now   Reply With Quote
Old 02-10-2013, 01:27 PM   #97
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 1,352
Karma: 353320
Join Date: Jun 2012
Device: kobo touch
Terisa de morgan,
it was fun for me. It gave me another opportunity to give some hypotheses that turned out to be wrong.
tshering is offline   Reply With Quote
Old 02-10-2013, 01:39 PM   #98
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 1,352
Karma: 353320
Join Date: Jun 2012
Device: kobo touch
Edit: I removed my irrelevant remark

Last edited by tshering; 02-10-2013 at 05:12 PM.
tshering is offline   Reply With Quote
Old 02-15-2013, 01:03 PM   #99
mapline
Enthusiast
mapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the end
 
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
Hi jgoguen
Using your plugin - really great many thank.
Only problem was when I upgraded to latest calibre 64bit
Version: 0.9.19 IT removed plugin and when I tried to load it got this error:
calibre, version 0.9.19
ERROR: Unhandled exception: <b>ImportError</b>:cannot import name KOBOTOUCHEXTENDED
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 310, in add_plugin
File "site-packages\calibre\customize\ui.py", line 361, in add_plugin
File "site-packages\calibre\customize\ui.py", line 53, in load_plugin
File "site-packages\calibre\customize\zipplugin.py", line 167, in load
File "site-packages\calibre\customize\zipplugin.py", line 150, in load_module
File "calibre_plugins.kobotouch_extended.__init__", line 8, in <module>
ImportError: cannot import name KOBOTOUCHEXTENDED
Went back to .18 no problems.
Any comment?
Thanks Michael
mapline is offline   Reply With Quote
Old 02-15-2013, 05:16 PM   #100
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 658
Karma: 2018502
Join Date: Jan 2013
Location: San Francisco Bay Area
Device: Kindle Paperwhite 2
Please submit a bug report on Github? I haven't gotten home from work yet and I have a lot of things I have to do tonight; my memory sometimes isn't so hot If it also blows up for me I'll of course remember, but a Github bug report is the best reminder since my browser always loads Github.

EDIT:
So, on the way home I was doing some poking around and it looks like in 0.9.19 the calibre.ebooks.epub.fix package was removed. I depend on the Container class within that package, so I'll need to spend some time to figure out the best way to proceed. Either to copy the Container from 0.9.18 and modify it for my own local copy, use another Container if that class was just moved somewhere, or something more radical. Unfortunately this won't be a quick fix, so definitely no solution tonight, but if things go well by the end of the weekend maybe. Still put in a Github bug report though please

Last edited by jgoguen; 02-15-2013 at 05:31 PM. Reason: Found some more info
jgoguen is offline   Reply With Quote
Old 02-15-2013, 06:23 PM   #101
mapline
Enthusiast
mapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the end
 
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
Completed report 10 on Github as you requested.
Glad it wasn't my error but sorry it's caused you extra work.
Many thanks
Michael
mapline is offline   Reply With Quote
Old 02-15-2013, 07:40 PM   #102
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,881
Karma: 5704349
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by jgoguen View Post
EDIT:
So, on the way home I was doing some poking around and it looks like in 0.9.19 the calibre.ebooks.epub.fix package was removed. I depend on the Container class within that package, so I'll need to spend some time to figure out the best way to proceed. Either to copy the Container from 0.9.18 and modify it for my own local copy, use another Container if that class was just moved somewhere, or something more radical. Unfortunately this won't be a quick fix, so definitely no solution tonight, but if things go well by the end of the weekend maybe. Still put in a Github bug report though please
I was wondering if that was the case. I had the same problem for a hacked version of Modify ePub I have. You probably have the solution by now, but...

You need definitions for InvalidEpub and ParseError. Get the latest Modify ePub. I assume that is where you got your original container.py from. The appropriate definitions are at the top of container.py.
davidfor is offline   Reply With Quote
Old 02-15-2013, 07:47 PM   #103
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 658
Karma: 2018502
Join Date: Jan 2013
Location: San Francisco Bay Area
Device: Kindle Paperwhite 2
Quote:
Originally Posted by mapline View Post
Completed report 10 on Github as you requested.
Glad it wasn't my error but sorry it's caused you extra work.
Many thanks
Michael
Hey, not your fault I didn't keep up on what was happening

Quote:
Originally Posted by davidfor View Post
I was wondering if that was the case. I had the same problem for a hacked version of Modify ePub I have. You probably have the solution by now, but...

You need definitions for InvalidEpub and ParseError. Get the latest Modify ePub. I assume that is where you got your original container.py from. The appropriate definitions are at the top of container.py.
I just imported what was already in use, added some methods I found useful, and overrode write(). I'm perfectly happy to poach what kiwidude has already done if it's already solved there
jgoguen is offline   Reply With Quote
Old 02-16-2013, 08:53 AM   #104
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 658
Karma: 2018502
Join Date: Jan 2013
Location: San Francisco Bay Area
Device: Kindle Paperwhite 2
Quote:
Originally Posted by mapline View Post
Completed report 10 on Github as you requested.
Glad it wasn't my error but sorry it's caused you extra work.
Many thanks
Michael
I just pushed up a new version that copies and modifies the old Container class from calibre 0.9.18. I noticed that I couldn't just update from calibre for whatever reason; I had to shut down calibre, go to the plugins directory (inside the configuration directory; if you don't know where this is you can open calibre's preferences, choose Miscellaneous, and click the "Open calibre configuration directory" button before you close calibre) and replace the ZIP file with one built according to the README directions.
jgoguen is offline   Reply With Quote
Old 02-18-2013, 12:25 PM   #105
demondog
Enthusiast
demondog has exceeded all limitations known to mankinddemondog has exceeded all limitations known to mankinddemondog has exceeded all limitations known to mankinddemondog has exceeded all limitations known to mankinddemondog has exceeded all limitations known to mankinddemondog has exceeded all limitations known to mankinddemondog has exceeded all limitations known to mankinddemondog has exceeded all limitations known to mankinddemondog has exceeded all limitations known to mankinddemondog has exceeded all limitations known to mankinddemondog has exceeded all limitations known to mankind
 
Posts: 27
Karma: 17282
Join Date: Oct 2011
Device: kobo touch
me too

i also have the same problem cant install the pluing on calibre 0.9.19

Quote:
Originally Posted by jgoguen View Post
I just pushed up a new version that copies and modifies the old Container class from calibre 0.9.18. I noticed that I couldn't just update from calibre for whatever reason; I had to shut down calibre, go to the plugins directory (inside the configuration directory; if you don't know where this is you can open calibre's preferences, choose Miscellaneous, and click the "Open calibre configuration directory" button before you close calibre) and replace the ZIP file with one built according to the README directions.
demondog is offline   Reply With Quote
Reply

Tags
epub, kepub, kobo

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading kepub to ADE scr212 Kobo Reader 14 10-14-2012 03:37 PM
KePub Toolbox Thasaidon Kobo Reader 1 08-08-2012 08:49 AM
What will happen/I gain if I forced an ePub book to a KePub book? andsoitgoes Kobo Reader 4 04-04-2012 05:33 PM
Touch Any hack/work-around to sync bookmarks of non Kobo ePub (kepub) andsoitgoes Kobo Reader 3 04-03-2012 04:56 PM
Kobo Adobe Epub is a Kepub instead rashkae Kobo Reader 61 01-13-2012 07:15 AM


All times are GMT -4. The time now is 01:26 PM.


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