I've got a problem with the custom fields:
I've got two books:
Book 1:
Author: Thea Beckman
Title: Kinderen van Moeder Aarde
Series: KvMA
Series Index: 1.0 {I still can't figure out why the series index must be a float instead of integer, but ok...)
Book 2:
Author: Het Helse Paradijs
Title: 02
Series: [empty]
Series Index: [empty]
(this is how Calibre default reads my PDF files, as it won't read my PDFInfo).
I created a new custom field:
{Author} - {Series} {Series_index:0>2s} - {Title}
Book 1 is filled with: Thea Beckman - KvMA 1.0 - Kinderen van Moeder Aarde
Book 2 is filled with: Het Helse Paradijs - 00 - 02
So, the custom field series_index is correctly filled for those books that don't have a series index (at least, leading zero's wise), but the book that has its meta data filled out, doesn't apply the template correctly.
When I fill out the full meta-data for the second book, I get:
Thea Beckman - KvMA 2.0 - Het Helse Paradijs.
so, it loses the leading zero and makes it a silly float again...
|