![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
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 02:30 PM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
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
|
![]() |
![]() |
![]() |
#4 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,016
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
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. |
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
Thanks. I never would have thought of acronyms. That makes sense.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Importing Books: Ignore tags in metadata | ownedbycats | Library Management | 3 | 02-03-2019 03:07 PM |
Plugin to ignore tags when searching? | Vanguard3000 | Plugins | 5 | 06-07-2018 02:36 AM |
Ignore tags when downloading metadata? | rockola | Library Management | 2 | 12-09-2017 10:11 AM |
Bulk change all tags to title case | wrbriant@gmail.c | Library Management | 5 | 04-07-2017 03:02 AM |
[AWOL] Context menu: Alter title text case | Sabardeyn | Calibre | 8 | 06-26-2014 12:04 AM |