08-13-2011, 03:58 PM | #1 |
Addict
Posts: 352
Karma: 103850
Join Date: Apr 2011
Device: Kindle NT
|
Saving anthologies to disk
I wanted to know if there is a way to save a book to disk and not have all authors in file name? For example it is an anthology with 10 authors and if they all are in file name it looks ridiculous and path gets crazy (especially if you use structure author/title/file). How to limit the file name? Could I have a limit on how many authors are in filename? Like 2-3?
TIA |
08-13-2011, 04:10 PM | #2 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Instead of {authors}, you can use
Code:
{authors:sublist(0,2, & )} FWIW: I prefer using template program mode to make the parameters clearer, so I would use Code:
{authors:'sublist($, 0, 2, " & ")'} Code:
{:'sublist(field('authors'), 0, 2, " & ")'} |
Advert | |
|
08-13-2011, 04:40 PM | #3 |
Addict
Posts: 352
Karma: 103850
Join Date: Apr 2011
Device: Kindle NT
|
Thank you. Will check it out
|
08-14-2011, 05:07 AM | #4 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
For most anthologies, I tend to put the Editor as the author, and then list the contributing authors in the Comments (if I mention them at all)
|
10-13-2011, 09:00 AM | #5 |
Addict
Posts: 352
Karma: 103850
Join Date: Apr 2011
Device: Kindle NT
|
I just wanted to ask how to modify this function {authors:sublist(0,4, & )}
So the result would be in quotes like "Author & Author" |
Advert | |
|
10-13-2011, 09:15 AM | #6 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
{authors:sublist(0,4, & )|"|"}
|
10-13-2011, 09:26 AM | #7 |
Addict
Posts: 352
Karma: 103850
Join Date: Apr 2011
Device: Kindle NT
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Saving to Disk | paulfiera | Calibre | 3 | 07-20-2011 10:21 AM |
Saving to Disk Template | hurricane51 | Conversion | 2 | 07-07-2011 01:22 AM |
Losing files when saving saving to disk | theaccountant | Library Management | 4 | 03-10-2011 02:38 PM |
Format for saving to disk? | Rusherman | Calibre | 1 | 12-31-2010 02:20 PM |
Saving to disk | htaylor | Calibre | 2 | 01-04-2009 08:29 PM |