|
|
#1 |
|
Connoisseur
![]() Posts: 83
Karma: 78
Join Date: Nov 2009
Location: Germany
Device: Sony PRS-600, iPad 2
|
I noticed that Calibre is msart enough to detect an article at the beginning of the title. This way, 'The Client' is sorted correctly under 'C'. However, things are not that clear when it comes to other languages - for example, Nietsche's book Der Antichrist appears under 'D'. Is there a way to alter the setting and add der/die/das for German, so that books in this language appear in the right order? Thanks a lot for your answer. Laurentiu |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,853
Karma: 285886
Join Date: Jan 2010
Location: France
Device: Sony PRS-300, HTC WM6.5, Samsung Galaxy Nexus, HTC Sensation
|
Sorry, but no. And don't forget de, du, di, un/une/una (in the sense of 'a', not 'one'), etc.
![]() However, this is prime tweak territory. Perhaps someone is willing to contribute the code?
__________________
Support calibre developers at no cost to you by using calibre's get books feature. Use Calibre Companion to wirelessly connect your Android phone or tablet to calibre charles.haleys.org/calibre |
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Connoisseur
![]() Posts: 83
Karma: 78
Join Date: Nov 2009
Location: Germany
Device: Sony PRS-600, iPad 2
|
Quote:
This should be flexible enough, so that the user can create/edit it's own list, as needed.
|
|
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,991
Karma: 79999
Join Date: Apr 2010
Location: Tempe, AZ, USA, Earth
Device: JetBook Lite (away from home) + 1 spare, 32" TV (at home)
|
Until someone does come up with code for it, a kludge would be to list it as Antichrist, Der.
We have author sort in the metadata screen; why not one for book titles? The entry in that field could automatically default to the exisiting title. (And, please, don't suggest I write code for it; I have no clue how to do so.)
__________________
Jeannie XP Pro SP3, IE 8 |
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,994
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
|
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,991
Karma: 79999
Join Date: Apr 2010
Location: Tempe, AZ, USA, Earth
Device: JetBook Lite (away from home) + 1 spare, 32" TV (at home)
|
News to me. Where does one find that?
__________________
Jeannie XP Pro SP3, IE 8 |
|
|
|
|
|
#7 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,994
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Can I be snarky (with a smile) and say:
It's the "sort" field in the "books" table of metadata.db. ![]() If not, I'll point to the tweaks: Quote:
|
|
|
|
|
|
|
#8 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,713
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
I don,t believe you can without being places that only the Guru's should even think about
![]() SQLite Database browser will let you "peek", but it is best to keep your hands off
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#9 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,994
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
|
|
|
|
|
#10 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,853
Karma: 285886
Join Date: Jan 2010
Location: France
Device: Sony PRS-300, HTC WM6.5, Samsung Galaxy Nexus, HTC Sensation
|
Title sort uses the RE
Code:
_title_pat = re.compile('^(A|The|An)\s+', re.IGNORECASE)
Adding read/write GUI access would require much more work, because the sort field is filled in by a DB trigger.
__________________
Support calibre developers at no cost to you by using calibre's get books feature. Use Calibre Companion to wirelessly connect your Android phone or tablet to calibre charles.haleys.org/calibre |
|
|
|
|
|
#11 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,991
Karma: 79999
Join Date: Apr 2010
Location: Tempe, AZ, USA, Earth
Device: JetBook Lite (away from home) + 1 spare, 32" TV (at home)
|
Uh, guys, there is a reason I chose the confused looking old lady avatar (besides the fact I'm a confused old lady). You have to keep in mind I need very, very simple explainations/ directions for pretty much everything. Fortunately, theducks (thank you) spelled it out that isn't something easily accessed by a fuddyduddy fogey like me.
__________________
Jeannie XP Pro SP3, IE 8 |
|
|
|
|
|
#12 |
|
Connoisseur
![]() Posts: 83
Karma: 78
Join Date: Nov 2009
Location: Germany
Device: Sony PRS-600, iPad 2
|
|
|
|
|
|
|
#13 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,591
Karma: 549131
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (stanza/iBooks/QuickReader)
|
|
|
|
|
|
|
#14 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,994
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
It's in the root of the Calibre Library. It is the Calibre database. You can't edit the sort field directly due to the trigger. For the adventurous, it's possible to DROP the trigger, change that field, then CREATE it back, but any change to the sort field would be overwritten during the following UPDATE, which starts the trigger. You'd have to change the code that Charles pointed to to keep the change. (I don't recommend this, but I was interested, so I wrote a bit of test code to do this, and I tried it manually. Both worked, but it's still possible that it has side effects I didn't notice.)
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Old Thread] Sorting folders by author/series/title | goodreader16 | Library Management | 15 | 05-06-2011 01:18 AM |
| Did sorting by title change in 7.19? | EricLandes | Calibre | 2 | 09-20-2010 04:08 PM |
| Title Sorting / Author Sorting | ahi | Sony Reader | 0 | 09-14-2009 01:51 PM |
| Sorting collections by author/title | Emily Hope | Sony Reader | 13 | 08-30-2009 12:12 AM |
| Sorting the books on the cybook | Emmanuel | Calibre | 2 | 02-27-2009 12:46 PM |