Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-21-2017, 03:56 PM   #1
bulldogmo
Connoisseur
bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.
 
Posts: 65
Karma: 25748
Join Date: Apr 2011
Device: kindle
a bit of help on a template, please?

Have a ton of books down by one main author with others co-writing. I want to save under the main author's name but keep the co-writers in a sub directory.

This is what I am using to save currently:

{author_sort[0]}/{author_sort}/{series}/{series_index:0>3s} - {title}/{author_sort} - {series} - {series_index:0>3s} - {title}


Example of what I am meaning:

Crispin, A. C_
Crispin, A. C. & O'Malley, Kathleen

Those are two directories. Both have books in the same series so i want the following:

Crispin, A. C\Crispin, A. C. & O'Malley, Kathleen

So how do I just get the first author's name to be listed?
bulldogmo is offline   Reply With Quote
Old 08-21-2017, 04:13 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,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
You can extract the first author from author_sort using this template:
Code:
{author_sort:sublist(0,1,&)}
It isn't clear from your description whether you want to add that to your template or replace the first piece ({author_sort[0]}).
chaley is offline   Reply With Quote
Advert
Old 08-21-2017, 04:15 PM   #3
bulldogmo
Connoisseur
bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.bulldogmo knows what's going on.
 
Posts: 65
Karma: 25748
Join Date: Apr 2011
Device: kindle
Thank you, it is going to replace the author_sort in anew template that is in a list that I keep so I can copy the different ones depending on the books.

Again thank you.
bulldogmo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone performance tested the calibre 32bit vs 64 bit on Windows 7 32 bit & 64 bit? millan Devices 6 11-07-2014 05:03 PM
A bit of css help for a Kindle Fixed template holdit Kindle Formats 2 03-01-2014 04:06 AM
Calibre 32-bit and 64-bit Installed; Uninstall 32-bit? J-Mac Calibre 6 06-29-2013 06:40 AM
Windows 7 64-bit + Calibre 0.9.14 64 bit BSD rjh007 Calibre 6 01-27-2013 03:35 PM
Does Calibre 64 bit Windows use 64 bit Python? KevinH Calibre 1 01-16-2011 11:14 AM


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


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