|
|
#331 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
The answer to which he has said he does not want to change, so I shall just make three page count options available in this plugin.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#332 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,597
Karma: 549131
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (stanza/iBooks/QuickReader)
|
Quote:
__________________
Calibre2opds: Calibre library as a web site - the popular alternative to the Calibre Content Server CLOUD SERVICES: Dropbox: Use this link to sign up for a free Dropbox account and both of us get an extra 500MB free space. Megacloud: Use this link to sign up for a free MegaCloud account and both of us get an extra 500MB free space. Copy.com: Use this link to sign up for a free Copy.com account and both of us get an extra 5GB free space. |
|
|
|
|
|
Enthusiast
|
|
|
|
#333 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
I don't use it for reading either so I don't particularly care and it is trivial for my plugin to support both. I will say while I know Kovid has his reasons I don't actually find calibre's current page count particularly meaningful, as it is so massively large compared to a printed equivalent of a book. Not that ADE has any magic voodoo guaranteeing its numbers are better, but they are lower which makes them appear more realistic, and of course other software readers and devices uses that ADE number so there is some consistency between them.
Maybe Kovid will accept a patch of an option for the ebook viewer preferences to use the ADE count. As I said I don't care enough to try to change Kovid's mind, I can offer it in this plugin which will let users see in a column what they will get on their devices and that is good enough for me.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#334 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,519
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Calibre's viewer uses the number of non whitespace characters (actual text characters not including HTML markup) / 1000 as the number of "pages". This algorithm is a lot better than ADEs, which was implemented purely as the simplest (least resource intensive) way of arriving at a page count on CPU bound devices.
The value of 1000 was chosen to be close to the number of screens per ebook, rather than the number of pages per paperback. For instance, at the font size I prefer, on my Kindle Touch, there are, on average, ~750 non whitespace characters per screen.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#335 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
v1.4.3 Released
Changes in this release:
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#336 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 418
Karma: 835018
Join Date: Jan 2010
Device: Onyx Boox 60, PocketBook Touch
|
Thanks for adding this as another option rather than replacing the Calibre count. ADE may be closer to the page count of physical books, but I don't care about the number of pages in physical books anymore. A number that is close to the number of screens on my reader is more relevant to me.
And another nice thing, the Calibre page count is very close to the page count that FBReader does on my Onyx Boox. |
|
|
|
|
|
#337 |
|
Omnivorous
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,228
Karma: 13472511
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle GDX, Kindle 3, KPW, Nook HD+
|
@kiwidude - Upgraded to latest and my queer page count has gone away. Don't know what was going on, but it's all right now.
|
|
|
|
|
|
#338 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
|
I just updated to Calibre version 0.8.54 and also updated the Count pages plugin. I am getting the following error message when I run the plugin:
calibre, version 0.8.54 ERROR: Failed to count statistics: <b>Failed</b>: Count ePub/Mobi Statistics Count ePub/Mobi Statistics Failed to initialize plugin: u'C:\\Users\\Tonya\\AppData\\Roaming\\calibre\\plu gins\\MobiDeDRM.zip' Python function terminated unexpectedly need more than 5 values to unpack (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 191, in main File "site-packages\calibre\utils\ipc\worker.py", line 138, in arbitrary_n File "calibre_plugins.count_pages.jobs", line 29, in do_count_statistics ValueError: need more than 5 values to unpack Help! The plugin worked fine prior to updating. Last edited by tontea; 06-03-2012 at 01:25 AM. |
|
|
|
|
|
#339 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,492
Karma: 1233494
Join Date: Jun 2009
Location: Madrid, Spain
Device: Pink Sony Prs-350, Kobo Mini, iPhone, iPad
|
Thank you for the change to ADE options but... now I have to update calibre/plugin... tsk (I still was at 8.30, not a great fan of updating myself
)
__________________
Ciao Terisa de Morgan
|
|
|
|
|
|
#340 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
@tontea - welcome to mobileread. Did you remember to restart calibre after upgrading the plugin?
@terisa - yes, I am "dragging" users forward in calibre versions if they want to use the latest version of the plugin. There have been some really important bug fixes for ePub conversions in particular recently, so it is worth the effort, honest!
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#341 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 527
Karma: 1024603
Join Date: Jan 2012
Location: SF Bay Area, California
Device: Sony PRS T-1, Kindle Fire
|
Thanks for updating to allow ADE counts. I love that the page count now more closely matches what my reader shows.
|
|
|
|
|
|
#342 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
|
|
|
|
|
|
|
#343 |
|
The Black-Hearted
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 99
Karma: 141748
Join Date: May 2012
Location: Latin America
Device: Nook Simple Touch
|
A question, and apologies if this was mentioned or asked somewhere else. Is there a way to it count pages in the same way that the nook STR does? So that the count displayed and the count displayed when I open the book with the nook agree?
|
|
|
|
|
|
#344 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
@maxiart - appreciate the apology but clearly you didn't read the very same page you posted on?
Look at the release notes above...
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#345 |
|
The Black-Hearted
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 99
Karma: 141748
Join Date: May 2012
Location: Latin America
Device: Nook Simple Touch
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Kindle Collections | meme | Plugins | 1853 | 05-18-2013 11:14 AM |
| [GUI Plugin] Quality Check | kiwidude | Plugins | 631 | 05-10-2013 04:10 PM |
| [GUI Plugin] Open With | kiwidude | Plugins | 183 | 04-22-2013 02:25 PM |
| [GUI Plugin] Quick Preferences | kiwidude | Plugins | 20 | 11-05-2012 06:40 PM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |