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

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: 2
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
Grand Sorcerer
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: 14,622
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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 offline   Reply With Quote
 
Enthusiast
Old 02-17-2012, 11:56 AM   #3
chaley
"chaley", not "charley"
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: 5,422
Karma: 821648
Join Date: Jan 2010
Location: France
Device: Many android devices
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
Grand Sorcerer
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: 14,622
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
I figured you would know (and help)
theducks is offline   Reply With Quote
Old 02-24-2012, 02:28 AM   #5
mszef
Junior Member
mszef began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: none
sublist is working great, thx
mszef is offline   Reply With Quote
Old 02-27-2012, 09:53 PM   #6
Multics
Junior Member
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: 9
Karma: 9640
Join Date: Feb 2012
Device: SONY PRS-T1volcano
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
Grand Sorcerer
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: 14,622
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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 offline   Reply With Quote
Old 02-28-2012, 06:38 AM   #8
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:41 AM.


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