View Single Post
Old 01-26-2010, 04:28 PM   #39
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by GRiker View Post
itimpi - I added a simple string substitution that correctly handles simple cases like series numbers from 0-999. Will be in the next release.
Thanks very much

Quote:
The challenge with sorting titles on leading non-alpha characters is a more complex issue because of the way I'm generating anchors in the generated HTML, and how/where such titles would be listed in the 'Books By Title' section.

For example, all titles are currently coerced to starting with A-Z, and the corresponding sections are named "Books beginning with 'A'", "Books beginning with 'B'", etc.

How would you propose listing titles starting with non-alpha characters? "Books beginning with '1'"? "Books beginning with non-alpha characters"? I'm trying to keep the output as clean as possible.
I would be quite happy with that.
It is how I handled such titles in my Calibre2web script.
It seemed more logical to look for a book titled "1632" (a favorite title of mine) under books starting with '1' than under 'S'.

I do not know how you want to handle non-ASCII characters (I am thinking of non-ASCII fonts here such as letters with accents), but again if possible it would seem logical to allow such sub-divisions as well if the user has set their metadata this way. I can understand that other constraints in the way the indexes are generated may make this not practical.

I agree this type of preference may not be what others want which is why I solicited some feedback.
itimpi is offline