Quote:
Originally Posted by DMee
Chaley, if that checks on a per-item basis it won't trigger for all the books in the series, just those with fractions?
|
You are right. I answered what I thought was the question, but clearly I was confused.
I have a python "script" that puts the correct format for a series into a custom column. It looks at all books in the series, figures out whether it needs decimals and how many leading zeros (could be underscores) are required, and then writes the correct format for "format_number" to the custom column for each book in the series. The script is run from the command line with calibre-debug -e. I mention this mostly to agree that I was being dense, especially as I had already solved this problem in a different way, but if you are comfortable with this sort of thing you are welcome to use the script appropriately modified.
The script is: