04-01-2019, 06:44 PM | #91 |
Nameless Being
|
Not familiar with that term, what is a 'format shift' and how does that differ from conversion? Do you mean just renaming the file extension, or are there additional steps it does?
|
04-01-2019, 08:09 PM | #92 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The only thing that Kobo put out about kepubs is https://github.com/kobolabs/epub-spec. And that is about how to produce good a good input epub for the processing they do. Everything else we know has come from examining the purchased kepubs and experimenting. |
|
Advert | |
|
04-01-2019, 08:24 PM | #93 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The KoboTouchExtended driver "simply" wraps spans around each sentence in the book. And adds a couple of divs around each chapter. It doesn't change the existing CSS, the internal file structure or the ToC. It shouldn't result in any difference in how the book looks like except what is inherent in using the kepub renderer instead of the Adobe RMSDK. I usually use the word "transform" to describe the action of the KoboTouchExtended driver to distinguish it from a calibre conversion. I can't decide if "Format shift" is a better term for this or not. |
|
05-26-2019, 06:29 AM | #94 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Mar 2019
Device: Kobo Clara HD
|
Hi,
I am using KTE sending books to kobo in kepub format. I found a strange behavior handling the "endash". The following happens by sending to the device (a=Lowercase, A=Uppercase): a – a not converted a – A not converted a. – a not converted a. - A endash => minus sign a! – a not converted a! - A endash => minus sign a? – a not converted a? - A endash => minus sign a: – a not converted a: - A endash => minus sign a… – a not converted a… - A endash => minus sign I have checked the container.py but I didn't find if that is happening there. I have checked the kepubify it doesn't do it. I would like to keep en-dashes wherever they exist in my original epub. Last edited by Gorcsev; 05-26-2019 at 06:52 AM. |
05-26-2019, 07:43 AM | #95 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Also, if you are reporting a bug against the KoboTouchExtended driver, there is a dedicated thread for discussion it in the calibre Plugin forum. It is better to report bugs there. |
|
Advert | |
|
05-26-2019, 09:06 AM | #96 | |
Enthusiast
Posts: 36
Karma: 10
Join Date: Mar 2019
Device: Kobo Clara HD
|
Quote:
I do not know whether it is a bug or it is a feature of the KTE. The chance: I am sending epub books to kobo with the help of KTE. I just demonstrated how KTE handling the "endash" in different situations. I thought is better so than sending here an HTML file and you should hunt for those places in flowing text. (in HTML you would see just endash(u2013) and minus where it is converted). My observation: KTE converts the endash to minus every time when it thinks it is a sentence end. On other cases, it not converts. As I said, I want to keep endashes, while they are in my epubs intentionally where they are. Last edited by Gorcsev; 05-26-2019 at 09:10 AM. |
|
05-26-2019, 09:54 AM | #97 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
And you still haven't said what you are actually doing. But, my guess is that you have turned on the "Smarten punctuation" option of the driver. Turning that off will probably fix things, but, means other punctuation isn't "smartened". But, if you have endashes in the book already, that has probably already been done. And the reason for suggesting you post elsewhere (specifically here) is because that is the thread for discussing the KoboTouchExtended driver. That is where the developer hangs out and hence more likely to get the attention of the person who can do something about it. |
|
05-26-2019, 11:28 AM | #98 | |
Enthusiast
Posts: 36
Karma: 10
Join Date: Mar 2019
Device: Kobo Clara HD
|
Quote:
2: testing: I gave several examples. Anyone who interested in it could be try. Questioning isn't shaming. Answering in offending style it is. Last edited by Gorcsev; 05-26-2019 at 11:34 AM. |
|
05-26-2019, 03:07 PM | #99 | |
Wizard
Posts: 1,147
Karma: 5061953
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
Quote:
The Smarten Punctuation option David Was referring to is a check box option of the KoboExtended Driver. For a second, I thought a good deed was about to go unpunished. Thank you for maintaining universe stability. |
|
05-26-2019, 11:15 PM | #100 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Firstly, as you are using the KoboTouchExtended driver, it isn't "just simple sideload epub". The driver is making changes to the book to transform it to a kepub. Then it seems you are converting from Word to ePub. I'm not completely sure if the endash is in the Word document, or you have edited the ePub to add them in. Then, I don't know how you know the endash has been changed to something else. Are you editing the kepub generated on the device? Or are you reading the book on the device and can tell the difference? Then my comment about the "Smarten punctuation" was because if you have that option turned on in the driver, then maybe that is what is causing the problem. And that the only times I ever see endashes in books are when the "smarter" punctuation is in use. Whether that is because the tool that was used to create the book did this automatically, the conversion to epub did it or it was done as a separate step, I don't know. But, because of that, I was suggesting that you turn the smarten punctuation option off in the driver if you had turned it on. And whether it was on or off is important for anyone trying to reproduce the problem. Now, to reproduce the problem, I have to create a test epub, send it to the device as an epub to see what happens. Then enable the KoboTouchExtended driver and send it to the device again to see what happens. Then examine the options available and see if there is a combination that trigger the fault. All that takes time. And I am willing to spend the time. And I have demonstrated that here many times. But, I also don't want to waste time if I am note sure what I am trying to achieve. I have just tried to reproduce the problem. But, I'm stuck as to what to put in the sample. Do I just cut-and-paste what you have above and wrap p tags around each line? That's what I have done in the attached test case. When I send that to one of my devices using the KoboTouchExtended driver and what I think are the likely options, I don't see any changes in whether the character is an endash or not. Or are the above what you see in the book when you send it to the device? Or is it in pairs? The first line is the input, the second line is the output? |
|
05-27-2019, 02:29 AM | #101 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Code:
[lower case letter][punctuation][space]endash[space][upper case letter] If so, it is not obvious from the above. And I cannot reproduce it. |
|
05-27-2019, 11:57 AM | #102 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Mar 2019
Device: Kobo Clara HD
|
thank you for the investigation
I will review all my settings, (including the language settings on windows and application level as well). I feel the problem is around there, or maybe in the word doc cleaning -> HTML procedure makes it. Next time when I have a problem I will try to be more precise. thank you again Last edited by Gorcsev; 05-27-2019 at 12:00 PM. |
05-29-2019, 12:20 PM | #103 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Mar 2019
Device: Kobo Clara HD
|
I have the following in my CSS:
.mono { display: block; font-family: monospace; text-align: justify; line-height: 130%; widows: 2; orphans: 2; } with the intention to display monospaced fonts in epub. It works in epub. Could it be reached in kebub as well without using embedded fonts? |
05-29-2019, 01:59 PM | #104 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Item 1 needs to be done only once per Kobo device. Item 2 needs to be done after every firmware update. Item 3 needs to be done for every book which needs a monospace font. |
|
05-29-2019, 03:01 PM | #105 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Mar 2019
Device: Kobo Clara HD
|
thank you
for item2: is it possible just to use "kobo_extra.css" in the device root directory (used by KTE) to override the CSS? (so I don't need patch) |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3.26.1 not converting Kepub format | RZetlin | Conversion | 2 | 06-26-2018 02:47 AM |
Aura H2O trying kepub and have questions | Shadowjack | Kobo Reader | 25 | 12-26-2017 04:30 AM |
Glo Question regarding kepub format | user2178319 | Kobo Reader | 18 | 05-14-2015 12:48 PM |
Kepub format and Koreader | gontofe | Kobo Reader | 4 | 08-20-2014 09:10 AM |
Harry Potter KePUB format | Gazella | Conversion | 19 | 04-13-2014 06:54 AM |