View Single Post
Old 08-06-2015, 10:40 AM   #1350
anavin
Enthusiast
anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.
 
Posts: 34
Karma: 67986
Join Date: Feb 2014
Device: Kobo Glo, Kobo Aura H2O
Quote:
Originally Posted by jgoguen View Post
Ah, my mistake, I was thinking you'd fixed that bug
So I guess I don't need to learn how to use github for now...

Anyway, here's what I had done to my container.py:

Spoiler:
Code:
...
    def __append_kobo_spans_from_text(self, node, text):
        if node.tag.endswith('span') or node.tag.endswith('a'):
            return False
        if text is not None:
...


...as you can see, I don't even know how to recognize the node tag properly

Quote:
Originally Posted by norbusan View Post
Hi everyone,
...
Hi Norbert,

I have the same plugin sets on my calibre too (except my KTE hack), but my books transferred to my kobo display as my expect: rtl + vertical-rl.

Just did a test on my Glo (3.2.0; a rather old version): copy an vertical layout book to my kobo, without rename it.
It seems that RMSDK engine won't recognize page-progression-direction="rtl" property on the opf file.
So, since the pagination goes from right-to-left, I think the book is, at least, renamed as .kepub.epub on device and is using Access engine.
On the other hand, since the text becomes left to right, there might be some modification on the CSS, making the text flow setting invalid.

I guess you can try:
1. copy-paste the book to the device, rename it as .kepub.epub, and see if the text flow is as the expect.
2. Then, check the book transferred on the device by calibre, and see what modification were done on it.
anavin is offline   Reply With Quote