Quote:
Originally Posted by jecilop
Next hurdle: Do you know a modification I could make to the Save to Disk "save template" that would force this also? I already having it printing the words using {#words:|(|words)} in case none are generated/exist for the type of entry.
I tested it after the comma 'fix', but it definitely isn't based on the appearance in Calibre - just the hard data.
|
{#words:,d|| words}
Quote:
Whoops!!! Turns out doing this affects using that column in a math function. Once the comma format is there, the simple math function (generating a custom page count) stopped working and returned an error.... Arrgh..
|
use "raw_field(#words)" instead of "field(words)" in the template that is doing the calculation.
Quote:
Interestingly, the comma shows in the book metadata jacket as desired when this code is applied. The tags or references are the same so it's curious that one shows commas and not the other.
|
It is arguably a bug that save-to-disk ignores the format spec. However, I am not going to change it because who knows how many templates that would break and the work around is easy.