Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-17-2012, 11:25 AM   #1
mszef
Junior Member
mszef began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: none
Use only first author from authors_sort

Is it possible to export files to folders (save on disk) using onl first autor. Is book has multiple authours it is a bit messed up to find book in series, esspeically when each book was written by different set of authors.
It would be good to have possibility to save only with first (main) author name.
mszef is offline   Reply With Quote
Old 02-17-2012, 11:43 AM   #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: 31,055
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I am thinking you want to use the http://manual.calibre-ebook.com/template_lang.html

But I can't point you to the correct function(s) for an 'Authors' type field
theducks is online now   Reply With Quote
Advert
Old 02-17-2012, 11:56 AM   #3
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,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by theducks View Post
I am thinking you want to use the http://manual.calibre-ebook.com/template_lang.html

But I can't point you to the correct function(s) for an 'Authors' type field
Use the sublist function. For example, the following template expression produces the first (or only) author.
Code:
{authors:sublist(0,1,&)}
chaley is offline   Reply With Quote
Old 02-17-2012, 12:02 PM   #4
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: 31,055
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I figured you would know (and help)
theducks is online now   Reply With Quote
Old 02-24-2012, 02:28 AM   #5
mszef
Junior Member
mszef began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: none
sublist is working great, thx
mszef is offline   Reply With Quote
Advert
Old 02-27-2012, 09:53 PM   #6
Multics
Enthusiast
Multics knows what is on the back of the AURYN.Multics knows what is on the back of the AURYN.Multics knows what is on the back of the AURYN.Multics knows what is on the back of the AURYN.Multics knows what is on the back of the AURYN.Multics knows what is on the back of the AURYN.Multics knows what is on the back of the AURYN.Multics knows what is on the back of the AURYN.Multics knows what is on the back of the AURYN.Multics knows what is on the back of the AURYN.Multics knows what is on the back of the AURYN.
 
Posts: 28
Karma: 9640
Join Date: Feb 2012
Device: SONY PRS-T1
will this work with author_sort?

I. E. {author_sort:sublist(0,1,&)}

There are several places, particularly on export I want author_sort, but only the first author.

Alternatively is there a way to change the assignment to author_sort to only include the first author?
Multics is offline   Reply With Quote
Old 02-28-2012, 12:10 AM   #7
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: 31,055
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Multics View Post
will this work with author_sort?

I. E. {author_sort:sublist(0,1,&)}

There are several places, particularly on export I want author_sort, but only the first author.

Alternatively is there a way to change the assignment to author_sort to only include the first author?
It should.
You could try it

Changing the default behavior is unlikely to happen. Too many things expect the current behavior.
theducks is online now   Reply With Quote
Old 02-28-2012, 06:38 AM   #8
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Or you could do what I do sometimes - actually edit your author sort field for the relevant books in the Edit Metadata screen. Requires no custom columns, templates etc, and anything that uses an author sort column like save to disk will just give you the single author.
kiwidude is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
using author sort for author - Sony 950 Purple Lady Devices 2 01-29-2011 12:23 AM
Get to Know-an Author with Noahan Author Interview series! NoahMGillman Self-Promotions by Authors and Publishers 22 12-19-2010 09:45 PM
The 50 best author vs. author put-downs of all time Madam Broshkina Lounge 4 05-03-2010 05:13 AM
Author(s) & Author Sort BobF Calibre 11 01-02-2009 05:01 PM
Need some help with author and author sort shousa Sony Reader Dev Corner 7 02-19-2008 04:33 PM


All times are GMT -4. The time now is 03:55 PM.


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