View Single Post
Old 08-29-2020, 06:21 AM   #7
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 davidfor View Post
This has been extensively discussed here and in the Kobo forum. The general recommendations are:
  • Use "FN LN" for the authors in calibre.
  • If you want to display "LN, FN", use the author sort for this
  • For archiving the books elsewhere, use the author sort.
  • For Kobo devices, use a metadata plugboard to set the author in a way the device will understand. Assuming you have done the first item above, the following template does this:
    Code:
    program: raw_list('authors', ', ')
You can keep "LN, FN & LN, FN" in calibre and convert it to "FN LN,FN LN" for Kobo using this template in the plugboard.
Code:
program:
	re(list_re_group(field('authors'), '&', '.', '(.*)', "program: swap_around_comma($)"), '&', ', ')
chaley is offline   Reply With Quote