|
|
Thread Tools | Search this Thread |
01-04-2019, 08:50 AM | #1 |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
Automatically capitalise the first letter of tags when downloaded as metadata?
Is it possible to automatically capitalise the first letter of tags when they are downloaded as metadata? And also automatically capitalise the first letter of any tags in general?
I thought you could do this through preferences and create rules to filter/transform tags, but not sure what to use for regex pattern. Preferences > Create rules to filter/transform tags > add rule > Upper-case the tag, if it does not match pattern: ? Thanks, Inukami |
01-04-2019, 10:49 AM | #2 |
creator of calibre
Posts: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
use a pattern that matches any tag, such as
.+ |
Advert | |
|
01-05-2019, 04:30 AM | #3 |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
|
01-05-2019, 05:55 AM | #4 |
creator of calibre
Posts: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes, but note that uppercase will make the entire tag uppercase.
|
01-05-2019, 06:57 AM | #5 |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
If upper-case will make the entire tag uppercase/capital letters, what is the difference between upper-case and capitalize?
I only want the first letter of each tag to be capitalised, so the upper-case won't work for me if it capitalises the entire tag... I suppose another option would be to Search and Replace if I want all the tags to have a capital letter on the first letter? Thanks, Inukami |
Advert | |
|
01-05-2019, 10:25 AM | #6 |
creator of calibre
Posts: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
capitalise is first letter capital. Upper case is all letters capital
|
01-09-2019, 08:39 AM | #7 | |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
Quote:
One more question on search and replace. People have said that if you use Search and Replace, make sure you backup as you can't undo it. Why is that? Can't you just reverse the Search and Replace which would literally undo it and put it back where it originally came from? Inukami |
|
01-09-2019, 09:58 AM | #8 | |
Grand Sorcerer
Posts: 6,470
Karma: 84000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
|
|
01-09-2019, 11:11 AM | #9 |
Well trained by Cats
Posts: 29,688
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You want Titlecase , not Capitalize (first letter)
Also. Almost every case tools I have used (incl Calibre) wants lowercase to start with (will not lower letters if all caps) Note: bulk use of case tools can muck up specific tags with proper names or roman numerals |
01-09-2019, 04:20 PM | #10 | |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
jhowell and theducks, thanks for your input.
I will make sure I backup if I do any major searches and replaces. Quote:
I haven't run into that problem yet with bulk use of case tools and don't have any roman numerals in these tags that I wanted to use titlecase for. So should be okay for now. Usually the download feature isn't too bad for my books. It sometimes has way to many when I import though, although gives me a good idea where to start. Inukami |
|
01-09-2019, 05:20 PM | #11 | |
null operator (he/him)
Posts: 20,457
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
IMO a casing tool should offer the following at least: Titlecase - A star is born BR
Propercase - A Star is Born Capitalcase - A Star Is Born Lowercase - a star is born Uppercase - A STAR IS BORN Last edited by BetterRed; 01-09-2019 at 05:33 PM. |
|
01-09-2019, 06:32 PM | #12 | |
Well trained by Cats
Posts: 29,688
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
That 1 operation affect all usage of those tags. A bit of a PITA, but it does get the job done |
|
01-09-2019, 06:42 PM | #13 | |
null operator (he/him)
Posts: 20,457
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR Last edited by BetterRed; 01-09-2019 at 06:57 PM. Reason: typo |
|
Tags |
calibre, capitalise, metadata, regex, tags |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre fills automatically title and author metadata in books without any metadata? | thosedays | Library Management | 5 | 10-28-2016 03:33 PM |
How to customize tags from downloaded metadata | Mindful | Library Management | 7 | 06-03-2016 10:47 AM |
Set (user defined) metadata for downloaded news automatically | mjost | Library Management | 0 | 03-10-2013 11:45 AM |
Automatically populating metadata "tags" field from directory structure | battaglia01 | Calibre | 1 | 12-13-2012 09:23 PM |
Regular expression to capitalise the first letter of a word | Ahmad Samir | Sigil | 0 | 10-23-2010 02:33 AM |