View Single Post
Old 12-24-2017, 12:33 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Thorned Rose View Post
I am wanting to output titles as something like "Book Title (Series Title Book One)" e.g. "A Hat Full of Sky (Tiffany Aching Book Two)"

I've gotten as far as

{title}{#series:| (| }{#series_index:|Book |)}

but I want the series_index number to be output as a word e.g one, five, eleven, etc.

I found this but I'm fairly new to Calibre's advanced stuff so I can't for the life of me work out how to implement it:
https://stackoverflow.com/a/32640407

TIA!
Worms. Big can of.
You are going to slam into filename length limits, way faster .
what happens with higher number series (volume #)?
one-hundred-twenty-seven

some while back, I saw the code to write out the amount on a chech from the numeric value. it was a few dozen lines as it had to parse numbers like seventeen and not as one seven. It needs to put dashes and 'and' in the proper place.
Not simple
theducks is online now   Reply With Quote