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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-07-2010, 12:40 PM   #1
bucsie
Connoisseur
bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.
 
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}
the number is set to two characters, so a 0 is appended for single-digit numbers.

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
bucsie is offline   Reply With Quote
Old 11-07-2010, 01:01 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: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Try
Code:
{author_sort}/{series:||/}{series_index:re(^(\d)(\.|$),0\1\2)||. }{title}
chaley is offline   Reply With Quote
Advert
Old 11-08-2010, 02:07 AM   #3
bucsie
Connoisseur
bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.bucsie ought to be getting tired of karma fortunes by now.
 
Posts: 71
Karma: 674766
Join Date: Sep 2010
Device: Kindle
Thank you, works perfectly
bucsie 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 Custom Metadata in Save Template EJvdH Calibre 1 07-02-2010 06:06 AM
save to disk template speakingtohe Calibre 9 05-29-2010 06:02 AM
Save template for title metadata? Bob Butler Calibre 10 03-15-2010 01:05 PM
Optional characters in Save Template for Adding Books Starson17 Calibre 1 02-28-2010 12:52 PM
Save File location and Save As question DougFNJ Calibre 0 09-17-2009 04:56 PM


All times are GMT -4. The time now is 01:26 AM.


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