|
|
#1 |
|
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
Cant see pages number in book details panel on my kobo anymore
Up until now, everything was fine. When I transferred a book from Calibre (9.8) to my Clara Kobo HD (up to date), I could see the page count in the book details (without having installed the Kobotouchextended plugin). Now, for the last three transfers, the page count (visible in Calibre) no longer appears on the Clara. In Calibre, in the device settings, in the "book statistics" field, I've kept the syntax of the template that was working: {pages}. Has something changed ?
|
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,771
Karma: 64144480
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Were you using this before Kovid added a default Pages column?
Then, you would have been using a custom column. Custom columns names start with a # so {#pages} is the correct one if using the Count Pages Plugin Kobos do their own page count (status lines) so if you was {pages} embedded, you would need to use the Metadata plugboard? Maybe you have it set to tight (did the Clara use a different Model ID Plugboards CAN be set to be model specific in some cases) |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83,391
Karma: 153646249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
In the new KoboTouch driver, this is what I am using to get the page number from the Count Pages plugin.
This is the code I am using in the pages field. Code:
program:floor($$#pages) |
|
|
|
|
|
#4 |
|
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
|
|
|
|
|
|
#5 |
|
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
Thanks both for your answers @JSWolf and @theducks.
I dont want to be disrespectful but I cannot see the point to use plugins since Calibre is able to do it by itself. What is the profit ? Could you explain please ? |
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83,391
Karma: 153646249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
The count used by calibre is not accurate. It's just there to get a rough number for the width of the cover. You do need to use plugins. You need the KoboTouch plugin that comes with calibre so you manage your eBooks on your Kobo. |
|
|
|
|
|
|
#7 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51,946
Karma: 180003020
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83,391
Karma: 153646249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
It is the best page number algorithm for eBooks (IMHO). |
|
|
|
|
|
|
#9 |
|
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
Thanks again for your help.
Someone can explain the syntax of the code used in the pages field ? Why program:floor($$#pages) ? |
|
|
|
|
|
#10 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51,946
Karma: 180003020
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
The series number template depends on a field called #omnibus which is yes for an omnibus (multi-book) edition and no for a single book. Code:
program:
if field('#omnibus')=='yes'
&& $series_index !=#0
then
series_start = floor($series_index);
fraction = fractional_part($series_index);
if
fraction ==# 0
then
result = series_start
else
series_end = floor(fraction*100);
if
series_end >=# 0
then
result = series_start & '-' & series_end
fi
fi
elif
$series_index ==#0
then
result = ''
else
result = $series_index
fi;
result
Code:
program:($$#pages) program:($$#words) Code:
program:floor($$#words /48000) program:ceiling($$#words / 44600) |
|
|
|
|
|
|
#11 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83,391
Karma: 153646249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Yes, you are correct. For words and pages, I don't need floor.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Padding of book details panel | ownedbycats | Calibre | 1 | 11-22-2024 10:26 PM |
| Scrolling the book details panel | Bradles | Development | 2 | 11-24-2020 01:14 AM |
| Book details panel | luciaisacat | Library Management | 7 | 05-26-2017 04:24 AM |
| Lost my book details panel | ElspethB | Calibre | 1 | 09-09-2016 01:11 PM |
| Do the number of pages in an ebook differ from the number of pages in a physical book | Phoebemy | General Discussions | 12 | 07-19-2012 09:25 AM |