![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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,&)} |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |