![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2017
Device: pdf windows 7
|
Rename template for "number of pages"
Calibre has "number of pages" variable when I'm saving it?
I'm using default: {authors:sublist(0,1,&)}({languages}), - {title} - {pubdate} But in the reference page, there's even size but not page numbering |
![]() |
![]() |
![]() |
#2 |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
That's because the number of pages for reflowable formats vary (device, font face, font size, line height, margins, etc). I'm sure there's a plugin available to calculate the number of pages and store that value in a custom column.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Calibre does not have a built-in 'number of pages' column.
The Count Pages plugin will calculate custom columns for number of pages, word counts and readability indices = see Index of plugins BR Last edited by BetterRed; 03-07-2019 at 04:59 PM. |
![]() |
![]() |
![]() |
#4 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2017
Device: pdf windows 7
|
Quote:
To install a plugin, wait several minutes, it's not practical. Perhaps programmers can make this plugin a variable on calibre, so it can be performed more easily? |
|
![]() |
![]() |
![]() |
#5 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I run Count Pages against a book when I add it to the library and the counts are in the database forever more. Does Windows show page counts for EPUB, MOBI, ..., or TXT files ? Calibre can. BR |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I don't think I've seen this. Are you saying that Windows will show a page count for epubs in Explorer? Did you need to add anything or change settings to see it?
|
![]() |
![]() |
![]() |
#7 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#8 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2017
Device: pdf windows 7
|
Quote:
If it's a large file then, forget it. It's going to run the process for hours consuming CPU, and still hasn't been finished. Windows took exactly 5 minutes. But it can't rename files, which is the whole reason behind the template feature. I can't understand why this community is so unable to accept negative points in calibre, specially when it's about .pdf format. Many .epubs are just trash .txt files. This function must be worked better, because even windows can perform better than calibre. Perhaps some open-source renaming tags could do this using the windows engine, which I'm not aware. But calibre, and even manually installing the plugin, hasn't been a solution for me. |
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
![]() |
![]() |
![]() |
#10 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
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:
With a little effort on your part: Open in Adobe: Note page count (on toolbar): Enter that into Calibre (custom column) |
|
![]() |
![]() |
![]() |
#11 | |||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The Count Pages plugin does not calculate a page count for PDFs. If that is the only format you have in the library for a book, the plugin will display a message to tell you it cannot do the page count. It can do a word count, but it will need to extract the words from the PDF which does take time. Quote:
Quote:
Quote:
Quote:
Last edited by davidfor; 03-07-2019 at 11:02 PM. Reason: Added a correction. |
|||||
![]() |
![]() |
![]() |
#12 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
From the Count Pages first Post - end of para #4
. . . the configuration you can choose to use the page count used by the calibre e-book viewer, or you can use the Aobe algorithm used by their ADE software and some devices like a Nook. However if the format being counted is a PDF, then as of v1.4.2 there is now a special optimisation to read the actual page count rather than estimating it using any of the above algorithms. . . . And from the Count Pages Version Log Version 1.4.2 - 31 May 2012 Minimum version set to calibre 0.8.54 Optimisation for counting pages for PDFs to read the page count from the PDF info rather than estimating it Zo, i just did a small test with 7 PDFs of various provenance - here are the results The numbers in the Titles are from File Explorer/XChange Document Properties. The Have Read indicates if Count pages got the right answer. Books 2 & 4 are rubbish documents that I created with a online Form layout tool, I can't explain the first one (A 4 D) - if anyone wants that PDF to take a look at what's going on let me know. The bottom line is that Count Pages does not handle PDFs by converting it to a reflowable format, it gets the page count from the same place as File Explorer - most of the time Ψ³ BR |
![]() |
![]() |
![]() |
#13 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
The optional plugins, such as CP, are delivered as source code. People with access to the requisite skills can open them up and modify them for their specific use case. BR |
|
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2017
Device: pdf windows 7
|
For me it's not practical, for the amount of time wasted and CPU usage. While Windows can perform this on 5 seconds, for a 1000 page .pdf of 100mb.
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Add a book" template like "Save to disk"? | vr8ce | Library Management | 10 | 06-09-2017 08:16 AM |
Any way to show "printed" book pages number? | datanoise | KOReader | 3 | 09-01-2016 10:48 AM |
hierarchy feature using rough "Dewey number" instead of "genre" - multiple DDCs? | kite | Library Management | 4 | 10-13-2014 09:53 AM |
I found references to "PRIME_EBOOKS" and "kindle-video-slate" on Amazon pages! | nick541 | Amazon Kindle | 7 | 09-26-2011 02:56 PM |
Kindle DX optimal "page" size - PDF or Word template | guiyoforward | Amazon Kindle | 12 | 09-28-2010 07:05 PM |