Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-06-2018, 12:13 PM   #1
drawson1
Enthusiast
drawson1 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Device: Kobo Aura
Tweaking the author_sort . . . .

I'm wondering if this is possible :-)

Currently, if for example, the author name is "Antoine de Saint Exupery", Calibre will sort this as "Saint Exupery, Antoine de".

This particular example matches our common expectations (we ask for books by "Saint Exupery"), but does NOT match the library sort which (at least in English) would produce "de Saint Exupery, Antoine) as the author sort.

The Chicago Manual of Style offers the following examples:
Code:
Alfonse D’Amato;   D’Amato
Diana DeGette;   DeGette
Walter de la Mare;   de la Mare
Paul de Man;   de Man
Thomas De Quincey;   De Quincey
Page duBois;   duBois
W. E. B. DuBois;   DuBois 
Daphne du Maurier;   du Maurier
In general, the particle is part of the last name, not the first name.

I'm not clear how I might tweak the author sort to accomplish this; can someone point me at a sample or guide that I might start from? It doesn't appear that the author sorts also affected by per_language_title_sort_articles.

Thanks!

Dan
drawson1 is offline   Reply With Quote
Advert
Old 02-06-2018, 12:19 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,361
Karma: 20890066
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
In the Tag Browser: Right click: Manage Authors. (fix it in the 'Sort') column. That applies to all (and future) uses of that name.
AFAIK there is no automatic adjustment.
theducks is offline   Reply With Quote
Old 02-06-2018, 12:25 PM   #3
drawson1
Enthusiast
drawson1 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Device: Kobo Aura
Darn . . . thanks!

As an FYI, I did try adding one of those articles ("de") to the per_language_title_sort list - as I thought, no change in the author_sort behavior.

Dan
drawson1 is offline   Reply With Quote
Old 02-06-2018, 07:36 PM   #4
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 82,849
Karma: 77418299
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Hmmm. The normal convention is to ignore words such as “de”, “van”, etc, when sorting names. Eric van Lustbader would be sorted under “L”, not “V”, for example.
HarryT is offline   Reply With Quote
Old 02-07-2018, 05:46 PM   #5
DaltonST
Deviser
DaltonST rocks like Gibraltar!DaltonST rocks like Gibraltar!DaltonST rocks like Gibraltar!DaltonST rocks like Gibraltar!DaltonST rocks like Gibraltar!DaltonST rocks like Gibraltar!DaltonST rocks like Gibraltar!DaltonST rocks like Gibraltar!DaltonST rocks like Gibraltar!DaltonST rocks like Gibraltar!DaltonST rocks like Gibraltar!
 
DaltonST's Avatar
 
Posts: 1,019
Karma: 100454
Join Date: Aug 2013
Location: Texas
Device: 8" Win10 Tablet w/Calibre64
Job Spy Tool: 'Update Author Sort for Complex Surnames'

Yes. The Job Spy plug-in has a GUI Tool named 'Update Author Sort for Complex Surnames' that can do what you describe.

https://www.mobileread.com/forums/sh...2&postcount=25




DaltonST
DaltonST is offline   Reply With Quote
Old 02-09-2018, 06:35 AM   #6
drawson1
Enthusiast
drawson1 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Device: Kobo Aura
VERY cool - thanks, exactly what I'm looking for! Much more than a simple "tweak"!

Dan
drawson1 is offline   Reply With Quote
Old 02-09-2018, 06:50 AM   #7
drawson1
Enthusiast
drawson1 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Device: Kobo Aura
Quote:
Originally Posted by HarryT View Post
Hmmm. The normal convention is to ignore words such as “de”, “van”, etc, when sorting names. Eric van Lustbader would be sorted under “L”, not “V”, for example.
Harry -

The sorting conventions are heavily language-centric; if you look in the on-line manual, there's a link to a excellent article about how names are written in various languages.

What I'm used to in English matches my original example AND matches the "library" sorting conventions that I'm familiar with. AFAIK the Chicago Manual of Style is a common reference for this type of question.

In that case, words like "de" and "van" are sorted as part of the last name. I'd be the first to admit that this does NOT match every-day usage in many cases; we expect to find Ludwig van Beethoven under "B", not "v". It's definitely a mixed bag; "John le Carre" is commonly referred to as "le Carre", and "Walter de la Mare" is commonly "de la Mare", but there are MANY other examples where the Engish common usage is without the particle. I'm just glad that I don't have to write the final algorithm.

But the plugin authored by DaltonT allows me to have my cake and eat it too

Dan
drawson1 is offline   Reply With Quote
Old 02-09-2018, 07:03 AM   #8
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 82,849
Karma: 77418299
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by drawson1 View Post
Harry -

The sorting conventions are heavily language-centric; if you look in the on-line manual, there's a link to a excellent article about how names are written in various languages.
Absolutely. Which I why I think that setting the sort order on a "per name" basis manually for each author is the best solution.
HarryT is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tweaking pchrist7's kindle_read_status rszasz Library Management 0 06-25-2016 12:20 PM
Tweaking Text Changes Font Jimbo724 Calibre 7 05-03-2013 05:23 AM
Help needed in tweaking my recipe Steven630 Recipes 0 02-11-2013 06:06 AM
Trouble tweaking trow125 Conversion 3 10-04-2012 12:44 AM
Tweaking Samsung E65 Sidd Which one should I buy? 1 07-14-2011 07:48 AM


All times are GMT -4. The time now is 10:29 PM.


MobileRead.com is a privately owned, operated and funded community.