View Single Post
Old 09-30-2010, 03:40 PM   #181
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kacir View Post
I was suggesting
{series_index:0>3s|[|] - }
index formating PLUS prefix and suffix.
You do have {series_index:0>3s} and {series_index:|[|] - } example but not those two combined.
It is obvious to you, to me, to other people that program for a living, but it might not be obvious to the average Calibre user.
Not that I object to your example (I don't), but doesn't the example I gave in the second part do what you want, plus?
Code:
 {#myint:0>3s:ifempty(0)|[|]}
Quote:
I think that the more useful and usable examples you use in the documentation, the better chance that an average user will try out those extremely cool features.
We are thinking like programmers, hackers, tinkerers but an average user might not.
I agree. The FAQ is in the source tree. As you have a skill with this, perhaps you can change it to be better and more intuitive?
chaley is offline   Reply With Quote