Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-18-2014, 05:24 PM   #1
LizPhillips
Member
LizPhillips began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2012
Device: Kobo Sage
Series Sorting on Aura HD

Hi,
I've been using the plugboard from the sticky to add series information to my book titles {series}{series_index:0>2s| [|] }{title}

I have started putting short stories into a series sequence like this 1 1.1 2
In Calibre this sorts the books in the order 1 1.10 2 which is what I want but once transferred to the Kobo the order is 1.10 1 2

Can I tweak the plugboard to use numbers that will sort as per Calibre?

Cheers
LizPhillips is offline   Reply With Quote
Old 03-18-2014, 05:38 PM   #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: 30,942
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 LizPhillips View Post
Hi,
I've been using the plugboard from the sticky to add series information to my book titles {series}{series_index:0>2s| [|] }{title}

I have started putting short stories into a series sequence like this 1 1.1 2
In Calibre this sorts the books in the order 1 1.10 2 which is what I want but once transferred to the Kobo the order is 1.10 1 2

Can I tweak the plugboard to use numbers that will sort as per Calibre?

Cheers
I use 5.2s in place of your 2s
that allows for fractional numbers 12.34

Last edited by theducks; 03-18-2014 at 05:39 PM. Reason: f to a s
theducks is offline   Reply With Quote
Advert
Old 03-18-2014, 05:56 PM   #3
LizPhillips
Member
LizPhillips began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2012
Device: Kobo Sage
Just tried this {series}{series_index:0>5.2s| [|] }{title} and now I get
0001.
00001
00002

Also tried {series}{series_index:0>2.2s| [|] }{title} and get
1.
01
02

I was happy with the decimals showing up on the Kobo, it just seems to sorted them before the leading number, not after.
LizPhillips is offline   Reply With Quote
Old 03-18-2014, 06:33 PM   #4
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: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I was right , hen I corrected myself

Code:
{series_index:0>5.2f} - Five characters, consisting of two digits with leading zeros, a decimal point, then 2 digits after the decimal point
theducks is offline   Reply With Quote
Old 03-18-2014, 06:52 PM   #5
LizPhillips
Member
LizPhillips began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2012
Device: Kobo Sage
Perfect

Thank you very much
LizPhillips is offline   Reply With Quote
Advert
Old 03-18-2014, 07:17 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by theducks View Post
I was right , hen I corrected myself

Code:
{series_index:0>5.2f} - Five characters, consisting of two digits with leading zeros, a decimal point, then 2 digits after the decimal point
"s" is for string (textual data) formatting, "f" is for float (numerical data) formatting.

Just keep that in mind, and you can spot the problem at a glance.

Whether using this 5.2f formatting or not, it doesn't make much sense to use "s" with numbers, like in the original
Code:
{series}{series_index:0>2s| [|] }{title}
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touch Series/Collections sorting Nakaleen Kobo Reader 10 08-12-2018 10:21 AM
Series Sorting with hierarchy Dopedangel Library Management 2 11-24-2012 04:30 AM
Series Sorting the2ems Library Management 5 09-10-2012 07:31 AM
Series sorting in plugboard ac4lt Devices 6 01-13-2012 12:53 PM
Sorting When Viewing Series Lady Fitzgerald Calibre 3 04-23-2010 10:34 AM


All times are GMT -4. The time now is 05:44 PM.


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