View Single Post
Old 05-26-2019, 09:54 AM   #97
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: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Gorcsev View Post
I just tried to explain in which situation KTE converts "endash" to "minus sign".

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.
Firstly, yes, explain what is happening and what you think should happen. But, supplying an example of the code means that others don't have to create it. Especially if you are doing something unusual. For example, are you using a unicode character, or an HTML entity? It also means anyone testing will be starting from the same point.

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.
davidfor is offline   Reply With Quote