View Single Post
Old 02-15-2012, 09:32 AM   #16
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,471
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by cybmole View Post
I also had a quick look for a preferences tweak that would change how those 37 titles are sorted, ( without changing how "The" cases are handled) but could not immediately find one.
The tweak is title_sort_articles in the tweak category "Set the list of words considered to be "articles" for sort strings". My guess is that you want to remove 'A' and 'An' to arrive at
Code:
title_sort_articles = '^The\\s+'
Note that after you change the tweak (and restart calibre) you must recalculate the title sort values. Select the books in your library you want to change (perhaps all books), E for bulk metadata edit, check the "Update title sort" box, then press OK.
chaley is offline   Reply With Quote