View Single Post
Old 12-30-2016, 05:50 AM   #4
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 chaot View Post
OK, context: I am writing a book! Both, the subject of the book (regular expressions) and the manual process to produce an EPUB is still largely unknown.
Sorry, I don't follow that statement. You are writing a book about a subject you don't understand? If so, why? And why would I, or anyone else, want to buy a book from someone who wasn't an expert?

Or do you think that "regular expressions" are little known? If so, really?
Quote:
Nevertheless, the progress I find remarkable - with confidence, I announce the presentation for Christmas 2017.

These regular expressions are very useful for text editing, HTML & CSS are mandatory anyway. Well, a secondary aspect is that the brain cells get trained.

I thought this had been sufficiently indicated →... (Smarten Punctuation) ...
You might think that was obvious, but it wasn't. How hard would it have been to say: "I ran the Smarten Punctuation tool and saw these results. I don't think this is correct." And then explain why you don't think that it is correct. Because I couldn't see any problem in the image you posted, I had read your original post several times to find out what you were complaining about.
Quote:

Yes, Boost's get transformed to Boosts (Typewriter apostrophe get transformed to an apostrophe. Correct!?)

That's the point: Even if it is what has been done in every punctuation smartener that you know. Here, this kind of smartening makes no sense: the text will be alienated.
Yes, that's the point. The Smarten Punctuation works like every other Smarten Punctuation out there. Otherwise people would be raising bug reports because things like two hyphens together did not get converted to an emdash. Unfortunately, you have a situation where the double-hyphen isn't supposed to be smartened, but that is probably rare.
Quote:
I have discovered the matter only by chance, the book has over 300 pages.
God knows what else has been 'smartened'?

Does there exist a list what kind of 'things' get smartened and how - before/after status!?
Sorry, I don't know. I assume that calibre uses a standard library but would have to hunt through the code to find it. I don't think there are any options to control it. You could try Diap's Editing Toolbag. This is an editor plugin and includes a different smarten punctuation tool. It does have options for handling double-hyphens.
davidfor is offline   Reply With Quote