![]() |
#841 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,785
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I like the smaller reorganized windows that can also have scroll bars. Thank you both.
|
![]() |
![]() |
![]() |
#842 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Quote:
In case anyone's curious about the need (or lack thereof) for the self-closing BR/HR enhancement, here's my reasoning: Some software, such as LibreOffice Writer, treats those two elements as being standalone with no closing tag. That is, when saving a document as HTML, it will render a line break as <br> instead of the <br/> required by XHTML (and therefore EPUB). The fix I came up with is to always remove </br> and </hr> tags (to address the rare but valid <br></br> construction in the even rarer event that there is a LF between the open and close), then always force BR and HR to end with /> instead of >. If you gather from the above that I may have wrangled with that issue recently, you just might be on to something... ![]() |
||
![]() |
![]() |
Advert | |
|
![]() |
#843 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
As noted immediately above, since I had to patch a couple of bugs anyway, I've fixed this oversight in the newest beta. (I didn't forget...)
|
![]() |
![]() |
![]() |
#844 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 94
Karma: 118402
Join Date: Jul 2009
Device: Cybook Gen3
|
![]() ![]() ![]() It looks great and works even better |
![]() |
![]() |
![]() |
#845 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2015
|
Hi,
I am new to this forum and ebook readers world, just bought a Kobo Glo, and already have a few issues with css rules. When converting to kepub, things like text-align center on <div> or <p> tags just don't work anymore, and a few others rules. So I searched this forum and found this plugin, and some people talking about the kobo hacking style code that it adds to the kepub and mess with our css rules, and this plugin can remove it, so the kepub works more like the epub version. I tried the plugin, but my book still fail to recognize simple rules like text-align center on <div> or <p>. I must admit that I still don't understand all the options in the plugin, and don't know if I am doing something wrong, or if I didn't understand the functionality of it. As I said, I am new to all of this, still learning about all those tweaks. I appreciate any advice you can give. Thank you very much |
![]() |
![]() |
Advert | |
|
![]() |
#846 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#847 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Check that you have the justification button set to "Off" in the device's font menu, otherwise the kepub reader sets the text-alignment for <div> and <p> elements to left/justify in the device's built-in stylesheet, which overrides the book's stylesheet.
|
![]() |
![]() |
![]() |
#848 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,730
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.3.12 Released
I have uploaded Rev. Bob's version to the first post - all thanks to him for making the changes.
|
![]() |
![]() |
![]() |
#849 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,785
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#850 | ||
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2015
|
Quote:
Yes, I am using a plugin on Calibre to conver to kepub. But the tip from GeoffR on the next quote below solved the problem partially. Don't know if it is kobo related, or the convert plugin, as you said. Quote:
The only catch is that I can't change alignments for the whole text when I want, without messing up with specific parts of text that are aligned center. If someone likes left and someone likes full justify, when they set the alignment, the parts which were centered, reset again. But like Rev. Bob said, probably it's not related with Modify ePub plugin, maybe it's an issue with kobo rendering the css. Thanks both of you for the answers ![]() |
||
![]() |
![]() |
![]() |
#851 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Last edited by GeoffR; 10-14-2014 at 04:40 AM. Reason: doesn't work. |
|
![]() |
![]() |
![]() |
#852 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2015
|
Quote:
With ePubs, a lot of the formatting that works on iPad's iBooks (I used to have one) and works on Sigil book view, when converted to kepub, does not work anymore. It is making me have a hard time, because I have to modify a lot of things that usually works fine with other readers. The only thing that is making me use kepub right now, is because of title bar and bottom page numbers, which seems not to work with ePub the way I wanted. |
|
![]() |
![]() |
![]() |
#853 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Consider this a public service non-announcement...
I'm still making some touch-ups and tweaks to the "unpretty" function, but I'm deliberately dragging my feet on releasing those changes. Part of it is that I want to run some more tests, but I also don't consider this enough of an improvement to justify an update. Now, if a bug needs fixed or some other enhancement comes along and an update is justified on those grounds, naturally I'm prepared to bundle these changes in at the same time...but otherwise, my stance is that 1.3.12 works fine and I don't want to bug kiwidude (or the rest of the community) over such a minor change. One such change is something that's been brought up to me: one user has reported that some of the older code in the plugin doesn't seem to do anything, and he speculates that it may be legacy code that could be safely stripped out. I can't properly assess that, as I haven't studied all the dependencies...but if it's true and kiwi (or one of the other devs here) wants to look into that, I would ask that they give me a heads-up before releasing an update, so the unpretty update can tag along. |
![]() |
![]() |
![]() |
#854 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82
Karma: 9402
Join Date: Jul 2009
Location: Adelaide, South Australia
Device: Kobo Libra Colour
|
@Rev. Bob I've installed the [deleted] and modify ePub plugins. There are a lot of settings in the modify ePub plugin - which do you recommend to fix kepubs as a general rule?
Last edited by pdurrant; 10-28-2014 at 05:08 AM. |
![]() |
![]() |
![]() |
#855 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
When I'm cleaning my own, I apply stripkobo and stripspans, as well as unpretty and a few other bits...but stripkobo alone is the "surgical" option. That's exactly what that routine exists to do; anything else is gravy.
Last edited by pdurrant; 10-28-2014 at 05:08 AM. |
![]() |
![]() |
![]() |
Tags |
modify epub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1251 | 07-07-2025 09:13 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Manage Series | kiwidude | Plugins | 167 | 07-28-2024 03:07 PM |
Modify ePub plugin dev thread | kiwidude | Development | 346 | 09-02-2013 05:14 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |