Thread: Author sort
View Single Post
Old 08-19-2014, 02:27 PM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Yes, replacing spaces with non-breaking spaces works, and it can be done with a plugboard:

Format: any format
Device: KOBOTOUCH (check which one is correct with your device connected)
Input template: {author_sort:'re($, ' ', '_')'}
Target field: authors

Note that the '_' in the template should be a non-breaking space, but apparently I cannot write it in the forum (it is automatically replaced by *). You'd probably have to copy-paste it from somewhere else, or find a way to input it.

With this, if I got it right, the Kobo should sort the authors exactly as your author_sort field in calibre is displayed. You can also modify the database on the device with the Kobo Utilities plugin, make sure to check the "use plugboard" option.

(By the way, the Kobo does something similar with the titles, it automatically sorts them by removing the article "The". A similar trick could be used to make sure the titles are sorted as they are written)

Last edited by Jellby; 08-19-2014 at 02:34 PM.
Jellby is offline   Reply With Quote