|
|
#1 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 71
Karma: 674766
Join Date: Sep 2010
Device: Kindle
|
save file template for series
I have a template for saving files that appends the series number:
Code:
{author_sort}/{series:||/}{series_index:0>2s||. }{title}
But some series have novellas or short stories between books, so I have some entries' series numbers labeled like 2.10. So now, with this template, the books are saved as 01, 02, 2.10, 03 I would like to change this template so that it saves them as 01, 02, 02.10, 03 Any ideas? Thanks |
|
|
|
|
|
#2 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,526
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Try
Code:
{author_sort}/{series:||/}{series_index:re(^(\d)(\.|$),0\1\2)||. }{title}
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 71
Karma: 674766
Join Date: Sep 2010
Device: Kindle
|
Thank you, works perfectly
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Custom Metadata in Save Template | EJvdH | Calibre | 1 | 07-02-2010 07:06 AM |
| save to disk template | speakingtohe | Calibre | 9 | 05-29-2010 07:02 AM |
| Save template for title metadata? | Bob Butler | Calibre | 10 | 03-15-2010 02:05 PM |
| Optional characters in Save Template for Adding Books | Starson17 | Calibre | 1 | 02-28-2010 01:52 PM |
| Save File location and Save As question | DougFNJ | Calibre | 0 | 09-17-2009 05:56 PM |