12-04-2018, 01:02 PM | #1231 | |
Interested in the matter
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
Quote:
In the new column the template will be: Code:
{#pages:re(\,,.)} Honestly I do not see that this is hard or complicated. |
|
12-04-2018, 06:55 PM | #1232 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
12-04-2018, 07:49 PM | #1233 | |
null operator (he/him)
Posts: 20,553
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Then use that template in integer and float column definitions. BR Last edited by BetterRed; 12-04-2018 at 08:58 PM. |
|
12-04-2018, 11:10 PM | #1234 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
12-05-2018, 04:58 AM | #1235 | ||
Grand Sorcerer
Posts: 11,734
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
That could be changed (process the format as a template). That would require some syntax to tell calibre that the string is a full template instead of a simple format string, perhaps something like a leading colon. It also would be a bit slower, but probably not significantly. The real question: is the worth doing? Would more than one person use it? |
||
12-05-2018, 05:48 AM | #1236 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Nov 2018
Device: Kindle Paperwhite 2
|
|
12-10-2018, 11:12 AM | #1237 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Nov 2018
Device: Kindle Paperwhite 2
|
is it possible to add one more function?
to calculate hours which are needed to read a book based on inserted value of average reading speed seeing hours instead of pages is much more useful |
12-10-2018, 10:13 PM | #1238 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
As all you want is something like "pages / pages-per-hour", or "words / words-per-hour", you can create another column to display this. It has been discussed before with some examples of how to do it. A search through the thread should find it.
|
12-14-2018, 04:30 AM | #1239 |
Daywalker
Posts: 29
Karma: 52
Join Date: Jul 2008
Device: Kindle Paperwhite
|
Sarmat,
I am using the code from Post #1110. Two posts earlier you will find a description how to add a custom column. Different colors based on book length are also handy. You you can adjust them in Preferences -> "Look & Feel", "Column Coloring". |
12-14-2018, 06:27 AM | #1240 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Nov 2018
Device: Kindle Paperwhite 2
|
red_dragon,
thank you, nice |
02-08-2019, 07:05 PM | #1241 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2019
Device: Kindle
|
Just thought i'd post in this thread because i've spent the last hour trying to figure out why it wouldn't work, yet others had success doing the seemingly exact same thing.
If you are exporting / converting to .kfx theres a setting in the exporter that you need to change. Click on preferences > output options > KFX output > 3rd option 'create approximate page numbers' and change the column to #pages or whatever you put. You need to enable this column to match the #pages column like is mentioned at the start, because .kfx exports need to, for whatever reason. So simply just click that and put #pages for the column its from and everything will work like it should. Hopefully this saves someone else an hour or so. Thank you to everybody who has contributed, this looks so much cleaner than location. |
05-04-2019, 11:11 PM | #1242 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2019
Device: none
|
Hi, I hope this is the right place to ask:
I just wanted to know the word count for a specific book. So this is what I did: 1. I imported the book into the calibre library 2. I installed this Count Pages plugin & checked the option to have it in the context menu 3. I restarted Calibre to activate the plugin 4. I right-clicked the book > Count Pages > Estimate Word/Page Counts Now I'm seeing the error: You must specify custum column(s) first. Do you want to configure this now? There are two things that threw me a bit for a loop, and which I suggest might be worth changing: 1. First of all, why do I need to have a permanent column for this just to see it once? I really just wanted to see it for that one book, but when I click "No" in that dialog I don't get some prompt with the info but just nothing 2. When I click "Yes" and I get to the plugin preferences, I have a lot of sections which each have a "Custom column" chooser - with zero options / just one empty entry. I can't actually set any custom column here, so what am I even supposed to do? (Is this a bug? If not, some sort of explanation of what it wants me to do in that dialog could be helpful) Apart from that, thanks so much for providing this plugin! It is so useful to have this functionality, I just wish the way to get there was a little easier |
05-04-2019, 11:26 PM | #1243 | |
null operator (he/him)
Posts: 20,553
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Customs columns must be added in Preferences->Add your own columns The values are stored so that they can be sent to devices, inserted into book jacket pages etc. BR |
|
05-05-2019, 01:56 AM | #1244 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
As to "one off" usage, are you going to remember the page or word count tomorrow? Plus, what about all the other books in your library. The plugin counts the words and stores them for all the books you select. You can then sort or select based on the values. Or send them to a device, or put them in a catalog. |
|
05-05-2019, 07:04 AM | #1245 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2019
Device: none
|
Hi, thanks for all the responses!
As for the one-off use, I just wanted to know the ballpark for a single book to compare it to another - and I assume that's not the most common use case, so I understand the confusion but that is what I wanted to do I had previously no idea custom columns even existed, and I actually tried around to add one but couldn't make it show up in the preferences dialog since frankly, I just have no good clue on how they even work. I know most users would want to permanently set up one, but it'd be nice if for a one-off check that wouldn't be necessary I also had no idea the book editor existed, I'm really not that much of a power user. I get how the plugin works makes sense for power users, it's just a little confusing for beginners right now. Being able to see the info without being required to set up a custom column to display it permanently would help with that One additional place I checked was the book metadata/detail info dialog but I couldn't see it there, maybe it'd be possible to add the info there as well? Just to make it a little easier to find for folks who didn't configure a custom column and aren't looking to do so |
Tags |
count, count pages, page count, pages, plugin |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1184 | 04-17-2024 06:17 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Quick Preferences | kiwidude | Plugins | 62 | 03-16-2024 11:47 PM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 12:02 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |