View Single Post
Old 06-23-2013, 04:58 AM   #4
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: 12,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by dbareis View Post
OK, tried that, still doesn't work. I'm on Windows 7 64 bit, perhaps a Calibre bug on that?

Any prerequisite plugs required etc?
It also works for me, Win7/64. The template
Code:
{author_sort}/{title}/{series:|| #} {series_index:|| - }{title} - {authors}
gives the result shown in the screen capture.

No plugins are required for the template language.

The only way I can think of to get the behavior you describe is for the series column to be empty, implying you are putting the series info somewhere else. I admit that this hypothesis is far fetched.

The easiest way to debug templates is to create a custom column "built from other columns", which is what my screen capture shows. Once you have done that, click on a cell in that column then press F2 to open the template editor. From there you can quickly experiment and get immediate feedback. If you do this then you could also post a screen capture like mine so we can see the source data going into the template.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.png
Views:	354
Size:	30.2 KB
ID:	107243  
chaley is offline   Reply With Quote