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 04-18-2010, 01:34 AM   #1
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,838
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Question Save to Disk Series Help

I am using the save to disk feature with my daughter's ereader. I set the expression thus:

{author_sort}/{series}/{series_index:0>2s} - {title}

and it gives me the following results.

01
02
03
04
05
06
07
08
09
10
11
12
7.50
9.50

I was wondering (if possible) how I can get 2 decimals before and after the decimal point. Like this.

01.00
02.00
03.00
04.00
05.00
06.00
07.00
07.50
08.00
08.00
09.50
10.00
11.00
12.00
DoctorOhh is offline   Reply With Quote
Old 04-18-2010, 02:32 PM   #2
theducks
Grand Sorcerer
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: 14,633
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by dwanthny View Post
I am using the save to disk feature with my daughter's ereader. I set the expression thus:

{author_sort}/{series}/{series_index:0>2s} - {title}

and it gives me the following results.

01
02
03
04
05
06
07
08
09
10
11
12
7.50
9.50

I was wondering (if possible) how I can get 2 decimals before and after the decimal point. Like this.

01.00
02.00
03.00
04.00
05.00
06.00
07.00
07.50
08.00
08.00
09.50
10.00
11.00
12.00
I can't get it to work for me: Series Index is 1.3
(shown template trimmed)

{series_index:0^5.2s}-{title}_{id}
Results: 01.00-the_dragonriders_of_pern_377 lost the decimal

{series_index:0<4.2s}-{title}_{id}
Results: 1.00-the_dragonriders_of_pern_377

{series_index:0>4.2s}-{title}_{id}
Results: 001.-the_dragonriders_of_pern_377




BTW your original template (and mine) shows
Results: 1.30-the_dragonriders_of_pern_377 No leading 0
Which is why the (directory) Alpha-sort fails to order as desired
theducks is offline   Reply With Quote
Old 04-18-2010, 05:10 PM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,838
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by theducks View Post
BTW your original template (and mine) shows
Results: 1.30-the_dragonriders_of_pern_377 No leading 0
Which is why the (directory) Alpha-sort fails to order as desired
Thanks for trying. I knew why the Alpha-sort fails just not how to fix it.
DoctorOhh is offline   Reply With Quote
Old 04-18-2010, 05:58 PM   #4
theducks
Grand Sorcerer
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: 14,633
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by dwanthny View Post
Thanks for trying. I knew why the Alpha-sort fails just not how to fix it.
I need to get a handle on this.
I am working on a huge series.
Rather than make Multiple series, one for each Sub Series
I chose to make the Integer the Sub-series and the 2 digit after the decimal, the volume.
12.34-title-name is my goal

I am still trying to come up with a plan for mixing Omnibus editions (2 or 3 titles of previous singles) in with the Singles.
1
2
3
1thru3 (omnibus)
4thru6

Ideas anyone?
theducks is offline   Reply With Quote
Old 04-19-2010, 08:26 PM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,838
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by theducks View Post
I need to get a handle on this.
I am working on a huge series.
Rather than make Multiple series, one for each Sub Series
I chose to make the Integer the Sub-series and the 2 digit after the decimal, the volume.
12.34-title-name is my goal

Ideas anyone?
Fortunately for me my need is small and I just hand edited the file names on my daughter's jetBook-lite.

I hope someone is able to help solve this for you. I know it would be a great benefit to anyone labeling the short stories that go with series by using the digits to the right of the decimal point to keep them in their proper spots.

Good Luck!
DoctorOhh is offline   Reply With Quote
Old 04-19-2010, 10:04 PM   #6
theducks
Grand Sorcerer
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: 14,633
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by dwanthny View Post
Fortunately for me my need is small and I just hand edited the file names on my daughter's jetBook-lite.

I hope someone is able to help solve this for you. I know it would be a great benefit to anyone labeling the short stories that go with series by using the digits to the right of the decimal point to keep them in their proper spots.

Good Luck!
Even if I don't get my (series #) way, Calibre is still worth 10 times my small donation .
theducks is offline   Reply With Quote
Old 04-19-2010, 10:06 PM   #7
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,838
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by theducks View Post
Even if I don't get my (series #) way, Calibre is still worth 10 times my small donation .
DoctorOhh is offline   Reply With Quote
Old 04-21-2010, 07:46 AM   #8
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: 25,937
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm afraid this isn't possible (the reason is that the series index is converted into a string before it ever reaches the save template).
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 add on? Jabby Calibre 1 08-29-2010 03:45 AM
Save to disk question Jabby Calibre 2 08-25-2010 12:09 PM
Save to Disk altering Title and Series RichieTheK Calibre 9 08-21-2010 05:19 PM
Can't SAVE TO DISK Calibre 0.6.24 Rootman Calibre 5 12-06-2009 05:01 AM
Series index Save to Disk problem Dopedangel Calibre 6 08-27-2009 04:54 PM


All times are GMT -4. The time now is 04:34 AM.


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