Quote:
Originally Posted by Nicolas F
Calibre allows you to format the number has you want when you create a custom column.
So in the edit custom column dialog, in format for numbers you could enter: - for the "Version" column (integers):
- for the "Volume" column (Floating point numbers):
where {0:d} represents your integers and {:.2f} is a number with two digits after the point. Just put what you want before (v, volume, version...)
|
Oh man that would've been so cool. I just tested it and it with an Integer set as v{0:d} to create a number that looks like "v2" for instance and it worked, but when I use that field in Calibre Companion's custom naming template, it only shows the number. I'm assuming the custom number formatting is just a change to how that number is displayed locally.
For now it seems i'm sticking with a Version column set to a Long comment like text field, and just type in things like "v2" so that way Calibre Companion will show that at the end of a file name when formatted with " {#version}" at the end of the template (If I were to use v{#version} in CC's text field, if there isn't a version number, it would still show a space followed by a "v" with no number at the end of every file).
Much rather do an Integer (or even floating point, though it would be wasted for this field) but the way its displayed is the most important thing about this one as I really would never need to sort by revisions of various community translated works.