Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-25-2009, 10:40 PM   #1
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
Series index Save to Disk problem

The series index has no leading zero

1 book
10 book
2 book
3 book


So when there are ten or more book in a series sorting by name does not work for me is there a way for me to get
the series index at least when I use the save to disk

01
02
03
04

When the books in a series number more than 9 and

001
002
003
010
100

when they are more than 99 etc
Dopedangel is offline   Reply With Quote
Old 08-25-2009, 10:51 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use {series_index:03n}
kovidgoyal is offline   Reply With Quote
Advert
Old 08-25-2009, 11:52 PM   #3
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
That doesn't work I get this error when I add it my string

ERROR: Invalid template: <p>The template {authors}/{series}/{series_index:03n}{title} is invalid:<br>Unknown format code 'n' for object of type 'str'
Dopedangel is offline   Reply With Quote
Old 08-26-2009, 12:13 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Oops

{series_index:0>3s}
kovidgoyal is offline   Reply With Quote
Old 08-26-2009, 01:13 AM   #5
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
Thanks that worked perfectly


I don't think I would be so happy with my reader if it wasn't for
calibre and the converting etc it does.
Dopedangel is offline   Reply With Quote
Advert
Old 08-27-2009, 04:32 PM   #6
tbergman
Connoisseur
tbergman knows the square root of minus one.tbergman knows the square root of minus one.tbergman knows the square root of minus one.tbergman knows the square root of minus one.tbergman knows the square root of minus one.tbergman knows the square root of minus one.tbergman knows the square root of minus one.tbergman knows the square root of minus one.tbergman knows the square root of minus one.tbergman knows the square root of minus one.tbergman knows the square root of minus one.
 
Posts: 59
Karma: 7642
Join Date: Jul 2009
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
Oops

{series_index:0>3s}
I was very happy to see this as I was also bothered by this. Unfortunately, when the book is not in a series, this ends up putting 000 there instead of nothing.

Is there a way to get the behavior seen when the book is part of a series but add nothing when it's not?

Thanks,

Tom
tbergman is offline   Reply With Quote
Old 08-27-2009, 04:54 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, I'm afraid there isn't
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save to Disk altering Title and Series RichieTheK Calibre 9 08-21-2010 05:19 PM
Save to disk troubles Stevefaust Calibre 5 06-10-2010 09:25 AM
Save to Disk Series Help DoctorOhh Calibre 7 04-21-2010 07:46 AM
Help with save to disk format tselling Calibre 3 12-21-2009 12:41 PM
Can't SAVE TO DISK Calibre 0.6.24 Rootman Calibre 5 12-06-2009 05:01 AM


All times are GMT -4. The time now is 03:21 PM.


MobileRead.com is a privately owned, operated and funded community.