In Calibre, go to Preferences | Tweaks | Control formatting of title and series when used in templates
Under edit tweak, this is what you want to have in there...
Code:
# Control formatting of title and series when used in templates
save_template_title_series_sorting = 'strictly_alphabetic'
Then it will use the name as you want so titles that starts with an article such as The or A will come out with the articles in front for the title.
Quote:
Control how title and series names are formatted when saving to disk/sending to device. The behavior depends on the field being processed. If processing title, then if this tweak is set to 'library_order', the title will be replaced with title_sort. If it is set to 'strictly_alphabetic', then the title will not be changed. If processing series, then if set to 'library_order', articles such as 'The' and 'An' will be moved to the end. If set to 'strictly_alphabetic', the series will be sent without change. For example, if the tweak is set to library_order, "The Lord of the Rings" will become "Lord of the Rings, The". If the tweak is set to strictly_alphabetic, it would remain "The Lord of the Rings". Note that the formatter function raw_field will return the base value for title and series regardless of the setting of this tweak.
|