View Single Post
Old 09-29-2022, 11:12 AM   #15
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,037
Karma: 2006208
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Quote:
Originally Posted by chaley View Post
Why? Because the kobo treats the part after the last space as the last name and sorts on that. Is that really what you want?
Yes, its exactly what I wanted. Kobo has a funny way to sort. Take for instance a name as A C Whatever Kobo does not treat the "A" as an initial, so will not sort on it. I had to add explicitly a dot as "A." to force that. In that way I should have change my whole calibre DB to make everything work.

I decided therefore to make the Authors send to Kobo as LN, FN. My sorting is now fixed on "First Name". Effectively, Kobo sorts on the first word which now happen to be LN. So I see now listed "Whatever, A C 5 books", which is fine.

And you were right, cedilla is U+00B8. I just need new glasses

And because I have any books in multiple languages, I also added a feature to express that as well per Author. For interested ones the code is now:
Code:
program:strcat(re(list_item($author_sort, '0', '&'),',', '¸'), ' [', $languages, ']')
Many thanks for helping me in my quest to force Kobo to behave as I preferred

Addition: FWIW, I found that the single low-9 quotation mark (U+201A) '‚' is even a better choice instead of the cedille as it resembles the comma completely (see 2nd attachment).

Code:
program:strcat(re(list_item($author_sort, '0', '&'),',', '‚'), ' [', $languages, ']')
Attached Thumbnails
Click image for larger version

Name:	screen_001.png
Views:	122
Size:	116.5 KB
ID:	196868   Click image for larger version

Name:	screen_002.png
Views:	112
Size:	116.5 KB
ID:	196882  

Last edited by DrChiper; 09-30-2022 at 10:53 AM.
DrChiper is offline   Reply With Quote