View Single Post
Old 07-13-2017, 10:23 AM   #6
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by Tweetygirl10111 View Post
I tried using the save to disk option and editing the template using the lookup name I created which was just series_title but it didn't seem to work.
Here is what I use. It creates directories for series and prefixes the name of the directory with the book with a series number
This is not what you asked for ;-) but shows an example of advanced syntax of template language.
Code:
{author_sort:.1}/{authors}/{series:|# |}/{series_index:0>3s|| - }{title} - {authors}/{series_index:0>3s|| - }{title} - {authors}
To create something like you want you might want to use
Code:
{authors} - {series:|| }{series_index:0>3s|| - }{title}
No custom columns needed.

Please notice this {series_index:0>3s|| - }
series_index - is series index
:0>3s - the number is three characters long, so instead of part 2 it will write 002 - so the series can be alphabetically sorted when there is more than 10 books in series. Otherwise it would be like this: 1,10,11,2,3,...,9
|| - - if you did not use this, but instead {authors} - {series} {series_index} - {title} then when there is no series you would have filename such as: 'Author Name - - Title'. the || denominate prefix and suffix that is given to the series or series index IF they exist.
For the angle brackets version it would be something like
Code:
{authors} - {series:|[| }{series_index:0>3s||] - }{title}
Do not hesitate to ask for more details. Calibre is extremely powerful tool that has even more advanced features

Last edited by kacir; 07-13-2017 at 10:27 AM.
kacir is offline   Reply With Quote