Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-17-2026, 07:42 AM   #1
Cyril Gabard
Connoisseur
Cyril Gabard began at the beginning.
 
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 ?
Cyril Gabard is offline   Reply With Quote
Old 05-17-2026, 02:01 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: 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)
theducks is offline   Reply With Quote
Advert
Old 05-17-2026, 02:09 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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.

Click image for larger version

Name:	Pages.jpg
Views:	55
Size:	129.0 KB
ID:	223393

This is the code I am using in the pages field.
Code:
program:floor($$#pages)
It works. You just have to connect once more after your eBooks is imported into the Kobo database. And you have to have Metadata Management set to Automatic management turned on.

Click image for larger version

Name:	Matadata Management.jpg
Views:	57
Size:	245.8 KB
ID:	223394
JSWolf is offline   Reply With Quote
Old 05-17-2026, 02:21 PM   #4
Cyril Gabard
Connoisseur
Cyril Gabard began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
Thanks for your help.

Quote:
Originally Posted by theducks View Post
Were you using this before Kovid added a default Pages column?
No, I was not.

Update :

I think i nailed it by physically unplug and plug back the ereader to get the book details updated (as i have to do for the series metadatas)
Cyril Gabard is offline   Reply With Quote
Old 05-17-2026, 02:34 PM   #5
Cyril Gabard
Connoisseur
Cyril Gabard began at the beginning.
 
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 ?
Cyril Gabard is offline   Reply With Quote
Advert
Old 05-17-2026, 02:46 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by Cyril Gabard View Post
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 ?
The Count Pages plugin allows you to use different methods of calculating the page number. I use the Adobe Digital Editions method as it allows me to get a better sense of how long the eBook is and it matches with RMSDK on a Kobo. I also get a word count which I add to Kobo's metadata.

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.
JSWolf is offline   Reply With Quote
Old 05-17-2026, 03:10 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 51,946
Karma: 180003020
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
The Count Pages plugin allows you to use different methods of calculating the page number. I use the Adobe Digital Editions method as it allows me to get a better sense of how long the eBook is and it matches with RMSDK on a Kobo. I also get a word count which I add to Kobo's metadata.
Sorry to be the bearer of bad news but even Adobe's Synthetic Page Number algorithm is fallible. Take a look at the page count for the attached ePub for instance.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-05-17 120945.png
Views:	36
Size:	25.7 KB
ID:	223396  
Attached Files
File Type: epub Base64 Images - Ann Onymous.epub (2.97 MB, 44 views)
DNSB is offline   Reply With Quote
Old 05-17-2026, 03:14 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by DNSB View Post
Sorry to be the bearer of bad news but even Adobe's Synthetic Page Number algorithm is fallible. Take a look at the page count for the attached ePub for instance.
I know it's not perfect. But the edge cases are few and far between.

It is the best page number algorithm for eBooks (IMHO).
JSWolf is offline   Reply With Quote
Old 05-17-2026, 03:32 PM   #9
Cyril Gabard
Connoisseur
Cyril Gabard began at the beginning.
 
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) ?
Cyril Gabard is offline   Reply With Quote
Old 05-17-2026, 03:51 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 51,946
Karma: 180003020
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Cyril Gabard View Post
Thanks again for your help.

Someone can explain the syntax of the code used in the pages field ? Why program:floor($$#pages) ?
I don't use floor for the number of pages since they are an integer number. I do use floor and ceiling with different divisors to generate my approximate reading times. See attached image.

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
The word count and page count field being integers need no manipulation:
Code:
program:($$#pages)

program:($$#words)
The reading times use floor for the lower reading time and ceiling for the upper reading time. The divisors are approximate words per hour and depending on your reading speed will require adjustment.
Code:
program:floor($$#words /48000)

program:ceiling($$#words / 44600)
So for a book that has 96,100 page, the reading times would show 2 at the low end and 3 at the upper end (96,100/48000 = 2.00, 96,100/44600 = 2.15 so floor and ceiling would be 2 and 3).
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-05-17 123820.png
Views:	34
Size:	135.0 KB
ID:	223397  
DNSB is offline   Reply With Quote
Old 05-17-2026, 04:03 PM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 06:49 AM.


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