View Single Post
Old 09-21-2010, 06:30 PM   #11
hal9000
Enthusiast
hal9000 doesn't litterhal9000 doesn't litterhal9000 doesn't litter
 
hal9000's Avatar
 
Posts: 35
Karma: 230
Join Date: Feb 2008
Device: Airis Dbook (with booq Classic OS 2.2)
Quote:
Originally Posted by polly View Post
I load books to my Astak by using Save to Disk with the following expression:

{author_sort}/{series}/{series_index} - {title}

Go to Preferences, Add/Save and you'll see where you can modify the expressions.
That's what I thought, but then if the book has no series you get an ugly " - " before the title. Is there a way to do this so the "-" only appears if a series exists? If no, could it be added to calibre? I mean a way to condition a literal string to the existence of a field. Or even have two different name templates for books with or without series.
hal9000 is offline   Reply With Quote