View Single Post
Old 09-29-2022, 07:16 AM   #5
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,035
Karma: 2006208
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
My brain needed some time to apsorb the above.
The short conclusion: it will not work for me.

In my case I have already in the calibre DB:
Code:
FN LN & FN LN & ...
Hence, this gives automagically in calibre for author_sort:
Code:
LN, FN & LN, FN & ...
Kobo, however, regards ',' (=comma) as an author separation and thus splits any author_sort string into 2 entries: which we (I) do not want.

Conclusion: unsolvable problem... or is it?

Can we perhaps via plugboard substitute the ',' (=comma) from author_sort into something else (a kind of comma resembling character), like for instance a cedilla (U+0088) ?
I tried this with my non-existant calibre template language knowledge and produced something like this (don't laugh):
Code:
{program:re(author_sort:list_item(0,&),',', 'U+0088')}

(This would try to replace only in the very first author_sort list entry the comma by something else.)
I got nowhere.
But, when this is still feasible, what would be the proper replacement template construct?
DrChiper is offline   Reply With Quote