01-26-2023, 03:05 PM | #1 |
Guru
Posts: 751
Karma: 1537886
Join Date: Sep 2013
Device: Kobo Forma
|
Title-case text (ignore tags) Not Necessarily Working
Another weird one. Sometimes, the Calibre Editor's Regex-Function mode of "Title-case text (ignore tags)" doesn't completely change the case of the text. I haven't been able to find a reason why. For instance, just now, I had it look for:
Code:
<h2>(.+?)</h2> Code:
<h2>Introduction: CARLA LEMARCHANT</h2> Then, I manually changed it back to its original, and Title-case didn't work again. The Lower-case function worked and then Title-case on that also worked. If I use the "Upper-case text (ignore tags)" mode and back to Title-case, that also works. EDIT: I should have been more specific about "didn't work." The stuff before the colon (":") converts fine (even with more than one word). The stuff after the colon is where the problem always seems to happen. Last edited by enuddleyarbl; 01-26-2023 at 03:30 PM. |
01-26-2023, 04:09 PM | #2 |
Grand Sorcerer
Posts: 12,032
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
calibre's title case function won't change a string that contains uppercase letters. Reason: acronyms. The workaround if you really want the case changes is the one you found: convert to lower case first.
|
01-26-2023, 04:11 PM | #3 |
Wizard
Posts: 1,357
Karma: 6794938
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Yes, I have noticed that also. They have problems with mixed cases. So either convert to all upper or all lower case, then use the Title case or Capitalise text
|
01-26-2023, 04:29 PM | #4 |
the rook, bossing Never.
Posts: 12,359
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Also Title case needs manually reviewed anyway as there are at least two sets of rules.
Best to convert all headings to lower case and then convert headings one at a time to title case. |
01-26-2023, 09:57 PM | #5 |
Guru
Posts: 751
Karma: 1537886
Join Date: Sep 2013
Device: Kobo Forma
|
Thanks. I never would have thought of acronyms. That makes sense.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Importing Books: Ignore tags in metadata | ownedbycats | Library Management | 3 | 02-03-2019 04:07 PM |
Plugin to ignore tags when searching? | Vanguard3000 | Plugins | 5 | 06-07-2018 03:36 AM |
Ignore tags when downloading metadata? | rockola | Library Management | 2 | 12-09-2017 11:11 AM |
Bulk change all tags to title case | wrbriant@gmail.c | Library Management | 5 | 04-07-2017 04:02 AM |
[AWOL] Context menu: Alter title text case | Sabardeyn | Calibre | 8 | 06-26-2014 01:04 AM |