Quote:
Originally Posted by Atomic_Punk
Can anyone please explain to me why the default Pocketbook cbz reader app mixes up the pages on all of my cbz files?
At first I thought it was just not assuming zeroes before numbers, for example if I name my pages
1, 2, 3, 4, etc...
they would get jumbled and become
1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21, etc...
This is all super frustrating, but manageable, I would just need to do the tedius thing and put zeroes in front of all the numbers and it should come out correctly.
But now this book just completely got mixed up on me going like this
25, 26, 27, 28, 13, 14, 01, 02, 03, 04
just complete nonsense as far as I can tell.
I have no idea why this is happening but I am officially at my wits end with this device. Can anyone explain to me what is happening here and what I might do to read my comic books in the correct page order?
|
I'm several years too late to help the original person that asked this, but the what you're confusing is Lexicographic ordering with numeric ordering.
In lexicographic ordering the leftmost character is compared first. So 1 comes before 2, which means that 11 > 2, 3, 4, 5, 6, 7, 8, 9. It will come after 10 however and before 20. In other words is dictionary/alphabetical sorting -- not numeric sorting. This is for obvious reasons the default for most ebook readers. The trick is when making the cbz to pad the leading zeros to the same length. So you would have 0000.jpg, 0001.jpg, 0002.jpg (...) 0011.jpg and so on.