View Single Post
Old 06-20-2011, 02:17 AM   #5
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by encapuchado View Post
This problem arises a second question: where does Calibre takes the fields values from? As I said in the first post. I edited the "Author" field in each epub file to "LN, FN" using Sigil. However, Calibre have two fields, one called "Author(s)", the other called "Author sort". For the books displayed as I want, the two fields have the same value ("LN, FN"). But for the rest, "Author(s)" field is "FN LN", while "Author sort" is "LN, FN". Why is this?
The key point to realize is that the 'authors' field is the value that is displayed in the Calibre GUI for the author, while the 'author_sort' field controls how it is sorted if you click on the authors column header.

The 'tweak' mentioned controls the logic to be applied for a new author when generating the author_sort field from the value supplied as 'authors'. The default rule assumes FN LN in author and LN, FN in author_sort which matches my (and many others) personal preferences. However other logic options are available for those who want different relationships between the contents of these two fields. One of the options allows for them being the same, while another apples logic dependant on whether the authors field contains a comma.

Another point is that you can always find an author entry in the tag browser and from there directly edit both these fields. This allows you to se them to value combinations that are unique for this particular author. Doing it this way is more efficient than doing it at an individual book level as a change made there shows up on every book referencing that author. If you want special treatment of the author fields on one particular book then you can change it for just that book instead.
itimpi is offline   Reply With Quote