View Single Post
Old 11-18-2017, 10:56 PM   #11
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by slowsmile View Post
So for acronyms or allcap abbreviations as well as roman numerals as allcaps within titlecase headings are both a no I'm afraid.
I didn't ask you to determine if any given string is an acronym. That is obviously impossible.

What I meant was that your exclusion list could be not just words that should be in lower case; but made more general, so that words in the list did not have their case changed. So adding a word in all caps (e.g. acronyms, Roman numerals) means it would not be lowercased.
So I could, e.g., include the first 100 Roman numerals myself if I wanted to protect them.
Or have a separate all caps list if that's easier to do.


Quote:
Originally Posted by slowsmile View Post
You also appear to be using en dash or em dash in your Logical TOC titles which is also quite dangerous(UNICODE not ASCII ???).
Actually, those were from a Library Gutenberg edition of Robinson Crusoe; so while ugly, it was surely syntactically correct. And it tested OK with ePubCheck.
Also, that's how Sigil would generate them if you used dashes in the chapter heads.

While your tool only affects the logical TOC, that is used to generate the HTML TOC (which this book didn't have as I got it), and if it's correct grammatically it makes the TOC page right without further tweaking.
That's why I was using this as while having each chapter title as all caps looks OK individually, all together on a TOC page they are pretty ugly.

Last edited by AlanHK; 11-18-2017 at 11:02 PM.
AlanHK is offline   Reply With Quote