10-26-2010, 12:02 PM | #1 |
Addict
Posts: 254
Karma: 834
Join Date: Oct 2010
Location: Sacramento, CA
Device: Samsung Galaxy s3 (Android 4.4.2), iPad 2, Win10 laptop
|
Conversion to title case
First, let me say I love Calibre. Very easy to use and does everything I need from it and then some.
I would like to respectfully suggest for future upgrades, though, that the bit that converts titles to title case be slightly tweaked, since it insists on capitalizing "of", "the", "and", and similar words not normally capitalized in titles unless the first word or occurring after a separator like a colon. I have no clue how feasible this may or may not be, just kind of throwing it out there to get whatever consideration it may or may not deserve. |
10-26-2010, 02:11 PM | #2 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Something like this was done last week, but isn't released yet.
The 'rules' are described at http://daringfireball.net/2008/05/title_case. |
Advert | |
|
10-26-2010, 09:29 PM | #3 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
It seems to be in the current release (0.7.24) and works as advertised. Maybe it will make it to the change log next release.
Update: Bulk edits still use the capitalize everything approach. Last edited by DoctorOhh; 10-26-2010 at 09:58 PM. |
10-26-2010, 09:41 PM | #4 |
Addict
Posts: 254
Karma: 834
Join Date: Oct 2010
Location: Sacramento, CA
Device: Samsung Galaxy s3 (Android 4.4.2), iPad 2, Win10 laptop
|
Having trouble finding my version number, but I just downloaded the software within the last week and am finding the oddity mentioned in my first post in the thread.
|
10-26-2010, 09:43 PM | #5 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
It uses the method described in rules linked previously to individual title case changes (see attached), but if you use the bulk title case changes it still uses the old capitalize everything rules. Hopefully the change to the bulk edit window will be in the next release.
Last edited by DoctorOhh; 10-26-2010 at 09:54 PM. |
Advert | |
|
10-26-2010, 10:00 PM | #6 | |
Addict
Posts: 254
Karma: 834
Join Date: Oct 2010
Location: Sacramento, CA
Device: Samsung Galaxy s3 (Android 4.4.2), iPad 2, Win10 laptop
|
Quote:
How in the world do you find your version number in Calibre, anyway? I tried everything I could think of. Last edited by Seanette; 10-26-2010 at 10:03 PM. |
|
10-26-2010, 10:26 PM | #7 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
As long as it is an individual Title Case change it is working for my Windows XP version of calibre 0.7.24. I wouldn't worry about it working or not until it is officially in the change log. Hopefully in the next release.
Version number is in the lower left status bar (see attached). Last edited by DoctorOhh; 10-26-2010 at 10:32 PM. |
10-26-2010, 11:17 PM | #8 |
Addict
Posts: 254
Karma: 834
Join Date: Oct 2010
Location: Sacramento, CA
Device: Samsung Galaxy s3 (Android 4.4.2), iPad 2, Win10 laptop
|
I'm on Vista with 0.7.24 (shrug). It's not a huge functionality issue, just a minor thing that probably only really bugs slightly OCD types.
As for finding the version number , my grandfather would have said "if that had teeth, it would have bitten you". Honest, I have a brain, and it even works most of the time. |
10-27-2010, 03:42 AM | #9 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Could you give an example where it fails? By 'example', I mean a series of steps and some before and after values?
I ask because as dwanthny said, my 'fixes' affect bulk and template functions. The 'correct' title case function has been in edit metadata (single) for months (and it isn't alleged). Therefore either a) you have found another pathway to title case, b) you have a title that the function thinks it shouldn't change, of c) you are running a different calibre than the rest of the world. |
10-27-2010, 04:27 AM | #10 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
One edge case that gets me now and again is when I'm navigating the actual filesystem via CLI - it's that the Title Case changes only affect the DB - they don't change the original filename like other metadata edits do. However newly created/converted files follow the case changes. That leads to confusion when I'm using tab completion from the command line and not finding the specific version of the file I wanted.
|
10-27-2010, 09:30 AM | #11 | |
Addict
Posts: 254
Karma: 834
Join Date: Oct 2010
Location: Sacramento, CA
Device: Samsung Galaxy s3 (Android 4.4.2), iPad 2, Win10 laptop
|
Quote:
|
|
10-27-2010, 10:01 AM | #12 | |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
10-27-2010, 10:41 AM | #13 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
No, I'm on OSX, case sensitive hfsplus. If it was case insensitive I don't think it would matter as the filenames would be equal regardless of case. I'm sure Windows users never notice this one.
It basically goes like this to be more clear. I add a book like this: "this IS my test title.lit" Tab completion works just by typing 't' in the directory and hitting tab. After adding the book and editing metadata etc, Calibre will change the book title in the DB to something like this: "This is my Test Title" Since the title didn't change other than case the file isn't renamed. Now if I convert the book to epub for example the new filename is: "This is my Test Title.epub" I'm often working with ebook-convert from the command line (but after I've done stuff from the GUI), and now tab completion doesn't work until I choose one case or the other(usually unconsciously) and then I spend a few seconds wondering why I get 'file not found' on whatever variant I thought I was converting from before realizing that I got bit by this behavior. |
10-27-2010, 10:52 AM | #14 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I can't replicate that behavior on case sensitive linux. If I change the case of a title, the folder the files are stored in as well as the files themselves are renamed with the new case.
I don't have a case sensitive OS X machine to test on, but as far as I know, there is no difference in the code path for OS X and linux. |
10-27-2010, 11:00 AM | #15 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
OK, well I've never looked into this in detail before, but I'll see if I missed something in how I'm doing it to myself (never worried about it much, but this thread prompted me to mention it).
When was this auto case changing function added? Would having books in the db from before the feature was added be part of it? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any chance of 'Title Case' being improved? | kiwidude | Calibre | 6 | 10-11-2010 12:40 PM |
conversion to FB2 error with & in title | tselling | Calibre | 2 | 01-07-2010 11:46 PM |
Title Case | Dopedangel | Calibre | 6 | 10-16-2009 08:01 AM |
Waterfield Slipcase, sleeve case, & Travel Case | albert1028 | Amazon Kindle | 5 | 03-27-2009 07:44 PM |
Sony's Premium Leather case v. M-edge 505 Case | thorswitch | Sony Reader | 23 | 12-16-2008 03:24 PM |