Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2011, 05:01 PM   #1
unboggling
Wizard
unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.
 
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
Question-How do I set globally author_sort=authors?

Is there a simple way to globally set author_sort equal to authors, in all cases of add book, send to disk, send to device, and edit-metadata author?
unboggling is offline   Reply With Quote
Old 01-04-2011, 05:23 PM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,341
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
A precise answer to your question is "no, there is no way, because the fields can be edited independently."

However, what I think you want is to set the tweak "author_sort_copy_method = 'copy'". This makes calibre copy the author's sort value to author_sort whenever it calculates author_sort, such as when adding a book.

Please note that there are 2 author sort values. There is one per book, author_sort, used to sort the book, and there is one per author, used to sort the author (e.g., in the tag browser) and to generate the default author_sort for a book. Be careful not to interchange these in your thoughts. You can see an author's sort value using the tag browser.

You can make a book's author sort different from the author's sort whenever you edit metadata. This is intentional. You can see you have done this by noting the pink display in edit metadata (single).

Setting the tweak doesn't change the values of author_sorts already set. You can do this with manage_authors. First set the tweak. Then right-click on an author, choose manage authors, push 'recalculate author sort', then push OK. Wait until done. All the author's values, and all the books author_sort values, will be recalculated.
chaley is offline   Reply With Quote
Advert
Old 01-04-2011, 06:09 PM   #3
unboggling
Wizard
unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.
 
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
Quote:
Originally Posted by chaley View Post
set the tweak "author_sort_copy_method = 'copy'"
Chaley, thx, that works great. I hadn't internalized what that tweak meant until you put it in context.
unboggling is offline   Reply With Quote
Old 01-04-2011, 08:34 PM   #4
JMikeD
Evangelist
JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.
 
JMikeD's Avatar
 
Posts: 475
Karma: 15000
Join Date: Jul 2008
Device: Various and sundry
How about automatically setting the Author name to FN LN and the Author sort to LN,FN when the book is imported with the format being LN,FN?
JMikeD is offline   Reply With Quote
Old 01-05-2011, 02:46 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,341
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JMikeD View Post
How about automatically setting the Author name to FN LN and the Author sort to LN,FN when the book is imported with the format being LN,FN?
Assuming that this is a question and not a suggestion, select the preference 'swap author firstname and lastname' in preferences -> import/export -> adding books.
chaley is offline   Reply With Quote
Advert
Old 01-05-2011, 02:58 PM   #6
JMikeD
Evangelist
JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.JMikeD is as sexy as a twisted cruller doughtnut.
 
JMikeD's Avatar
 
Posts: 475
Karma: 15000
Join Date: Jul 2008
Device: Various and sundry
Quote:
Originally Posted by chaley View Post
Assuming that this is a question and not a suggestion, select the preference 'swap author firstname and lastname' in preferences -> import/export -> adding books.
Sorry. that was poorly worded, wasn't it?

Yes, it was meant as a question. That leaves the author sort as LN,FN, right?

Edit: Should have seen that, I looked through the Preferences enough. Sometimes I just get a blind spot.

Last edited by JMikeD; 01-05-2011 at 03:01 PM.
JMikeD is offline   Reply With Quote
Old 01-05-2011, 03:01 PM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,341
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JMikeD View Post
Sorry. that was poorly worded, wasn't it?

Yes, that is what I meant. That leaves the author sort as LN,FN, right?
Yes, assuming that "author_sort_copy_method = 'invert'", which is its default value.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sell Kindle DX Wireless Reading Device, Free 3G, 9.7" Display, White, 3G Works Globally Over Flea Market 1 03-12-2011 10:07 AM
Development Question: author_sort in books table? rkworthy Calibre 10 12-10-2010 03:07 AM
What am I missing? (author_sort) megachirops Calibre 12 09-06-2010 11:15 AM
epub - set authors from cmd line not correct dapjukebox Calibre 2 07-27-2009 04:18 PM
Self-Published authors, question? phenomshel Writers' Corner 15 05-09-2009 02:29 AM


All times are GMT -4. The time now is 11:30 AM.


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