View Single Post
Old 06-30-2015, 02:59 PM   #29
Thomas_AR
Zealot
Thomas_AR began at the beginning.
 
Thomas_AR's Avatar
 
Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
Quote:
Originally Posted by chaley View Post
I didn't choose it. Android chose it because that is the standard decimal separator in your locale.
Hmmm...
On one side you are right regarding standard decimal separator in my local - Spanish uses ",".
On the other hand Calibre (English and Spanish GUI ) uses the "." when pushing books to my tablet

So here my final template - for now
Code:
 :if: {series}:then:{series:|_|}:else:{first_author} :::/{series_index:%04d/%07.2f|[|] - }{title} -  {first_author}
I use 4(,2) digits in total as I have series up to 3.000 booklets.

P. S.
Are you planning something like a "contains" syntax?

Example:
Code:
 :if: {tags:contains|test} :then: {series_index:%04d} :else: {series_index:%04.2f}:::
Of course this syntac also for other fieldes, not only {tags}

Last edited by Thomas_AR; 06-30-2015 at 11:00 PM.
Thomas_AR is offline   Reply With Quote