View Single Post
Old 11-18-2017, 11:32 PM   #12
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
AlanHK said:
Quote:
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.
If I tried to fulfil your requests I would either have to create separate large lists for roman numerals and acronyms or create extra dialogs to gather that information from the user or create two more plugin prefs entries. Any way you look at this, doing that would make the plugin code more complicated and make the plugin much more difficult to use. My policy has always been to make all my plugins as simple as possible to use to allow as many people as possible to easily use the plugin. But if I also implemented the changes you request for acronyms and roman numerals this might well make the plugin less usable for the average plugin user.

As far as I'm concerned the current plugin should now satisfy the needs of the average user who uses standard headings like "Chapter 1" or "CHAPTER 12" or "Chapter Six" or "Across the Dark Street"etc. I cannot possibly satisfy every request from people who use highly individual, non-standard headings that contain acronyms as well as roman numerals in allcaps within titlecased headings.

Quote:
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.
My LogicalTOCStyler should really do nothing to the HTML TOC or docTOC in the epub(TOC.xhtml). It's only used to style the Logical TOC in the toc.ncx and that's all.

If the TOC pages look ugly then perhaps you could change the TOC page styling to a more standard format for a better look.

Still a no I'm afraid.

Last edited by slowsmile; 11-19-2017 at 12:02 AM.
slowsmile is offline   Reply With Quote