01-06-2011, 08:44 PM | #1 |
Member
Posts: 17
Karma: 10
Join Date: Dec 2010
Location: Germany
Device: Pocketbook Pro 903
|
ERROR:{author_sort:.2} - {title}
ERROR: Invalid template: <p>The template {author_sort:.2} - {title} is invalid:<br>format: unknown format type letter 2
what's wrong with {author_sort:.2} - {title} ? i have this expression from the user_manual. thanks |
01-07-2011, 03:21 AM | #2 |
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
This is a bug. I recently improved the template language to handle numbers correctly, and I didn't see the small note in the documentation that says that one can leave off the format type. I will fix it.
In the meantime, use {author_sort:.2s} |
Advert | |
|
01-07-2011, 11:17 PM | #3 |
Member
Posts: 17
Karma: 10
Join Date: Dec 2010
Location: Germany
Device: Pocketbook Pro 903
|
works fine.
thank you. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Little bug in bgcolor for author_sort? | Coleccionista | Calibre | 4 | 11-12-2010 10:57 AM |
What am I missing? (author_sort) | megachirops | Calibre | 12 | 09-06-2010 11:15 AM |
PDF title and author error when sending to device | SpyKiIIer | Calibre | 7 | 01-27-2010 10:11 PM |
conversion to FB2 error with & in title | tselling | Calibre | 2 | 01-07-2010 11:46 PM |