Member
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: none
|
Thanks all for your attention.
Quote:
Originally Posted by BetterRed
|
Yes, you are right.
I think a more detailed example will help.
This is my list of authors (see attachment to copy):
Many names are as simple as last one "Elmira Abootorabi": a one-word firstname and a one-word lastname, but there are some names with compound parts and because in many compound lastnames that consist of two parts, the second part is the same, I want to Calibre treat the first and second part of lastname as a whole lastname.
And this is my current calibre tweak:
Spoiler:
Code:
# Author sort name algorithm
author_sort_copy_method = 'comma'
author_name_suffixes = ('Jr',
'Sr',
'Inc',
'Ph.D',
'Phd',
'MD',
'M.D',
'I',
'II',
'III',
'IV',
'Junior',
'Senior')
author_name_prefixes = ['Mr',
'Mrs',
'Ms',
'Dr',
'Prof',
'آقای',
'خانم',
'دکتر',
'مهندس',
'پروفسور',
'پرفسور',
'جناب آقای',
'جناب خانم',
'سرکار خانم']
author_name_copywords = ['Agency',
'Corporation',
'Company',
'Co.',
'Council',
'Committee',
'Inc.',
'Institute',
'National',
'Society',
'Club',
'Team',
'سازمان',
'موسسه',
'مؤسسه',
'شرکت',
'نهاد',
'گروه',
'کمیته',
'مرکز',
'مدیریت',
'نشر',
'آموزش',
'ترویج',
'آثار',
'اداره',
'اتحادیه',
'شرکت\u200cها',
'کارگروه']
author_use_surname_prefixes = False
author_surname_prefixes = ['da', 'de', 'di', 'la', 'le', 'van', 'von']
|