Quote:
Originally Posted by eschwartz
#kcollections should be shortened to only the first three letters, in other words?
7.2f specifies a "float"-type number ("f" is for float). Floats are a type of number that accepts decimals. The 7.2 part says use 7 digits, with 2 digits after the decimal. In other words, you tried to turn a string (textual data) into a float (numerical data).
Try using {#kcollections:.3} which will default to using the "s" or string type (since you gave it a string with a name in it) and use only the first three letters. (the "precision".)
If you like, you can read an in-depth explanation on template-formatting here: http://docs.python.org/2/library/str...#formatstrings or the dumbed-down calibre-specific version here: http://manual.calibre-ebook.com/temp...ced-formatting.
Be warned, either one will involve gory details. 
|
Thank you, that works perfectly.

Now off to fix my collections, again!!