![]() |
#91 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
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? |
![]() |
![]() |
![]() |
#92 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,596
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
In the css, never at the tag.
Last edited by Terisa de morgan; 02-10-2013 at 03:44 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#93 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
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". |
![]() |
![]() |
![]() |
#94 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,596
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
tshering, you are right
![]() |
![]() |
![]() |
![]() |
#95 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Yes it does. But only if the text alignment is not set in the styles.
|
![]() |
![]() |
Advert | |
|
![]() |
#96 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,596
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
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.
|
![]() |
![]() |
![]() |
#97 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
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. |
![]() |
![]() |
![]() |
#98 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Edit: I removed my irrelevant remark
Last edited by tshering; 02-10-2013 at 04:12 PM. |
![]() |
![]() |
![]() |
#99 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#100 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
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
![]() 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 04:31 PM. Reason: Found some more info |
![]() |
![]() |
![]() |
#101 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#102 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#103 | ||
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Quote:
![]() Quote:
![]() |
||
![]() |
![]() |
![]() |
#104 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
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.
|
![]() |
![]() |
![]() |
#105 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
|
|
![]() |
![]() |
![]() |
Tags |
epub, kepub, kobo |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Downloading kepub to ADE | scr212 | Kobo Reader | 14 | 10-14-2012 02:37 PM |
KePub Toolbox | Thasaidon | Kobo Reader | 1 | 08-08-2012 07:49 AM |
What will happen/I gain if I forced an ePub book to a KePub book? | andsoitgoes | Kobo Reader | 4 | 04-04-2012 04:33 PM |
Touch Any hack/work-around to sync bookmarks of non Kobo ePub (kepub) | andsoitgoes | Kobo Reader | 3 | 04-03-2012 03:56 PM |
Kobo Adobe Epub is a Kepub instead | rashkae | Kobo Reader | 61 | 01-13-2012 06:15 AM |