![]() |
#1231 |
Interested in the matter
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 275
Karma: 426060
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook Touch HD
|
|
![]() |
![]() |
![]() |
#1232 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,083
Karma: 26100000
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo,Aura H2O,Glo HD,Aura ONE,Clara HD,Forma;tolino epos
|
If you mean using "{:n}" works, then that is what I would expect. But, what I meant is that if you don't want to use the locale default, you can use a comma easily, but, getting any other character is hard. Or at least I couldn't work out how to do it without writing extra code.
But, if you have a simple way to do this, then I would be interested in seeing it. |
![]() |
![]() |
![]() |
#1233 | |
Interested in the matter
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 275
Karma: 426060
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook Touch HD
|
Quote:
In the new column the template will be: Code:
{#pages:re(\,,.)} Honestly I do not see that this is hard or complicated. |
|
![]() |
![]() |
![]() |
#1234 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,083
Karma: 26100000
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo,Aura H2O,Glo HD,Aura ONE,Clara HD,Forma;tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#1235 | |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,178
Karma: 10633638
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 09:58 PM. |
|
![]() |
![]() |
![]() |
#1236 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,083
Karma: 26100000
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo,Aura H2O,Glo HD,Aura ONE,Clara HD,Forma;tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#1237 | ||
CC Android & calibre dev
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,870
Karma: 2692956
Join Date: Jan 2010
Location: UK
Device: Many android devices
|
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? |
||
![]() |
![]() |
![]() |
#1238 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Nov 2018
Device: Kindle Paperwhite 2
|
|
![]() |
![]() |
![]() |
#1239 |
Enthusiast
![]() Posts: 35
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 |
![]() |
![]() |
![]() |
#1240 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,083
Karma: 26100000
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo,Aura H2O,Glo HD,Aura ONE,Clara HD,Forma;tolino epos
|
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.
|
![]() |
![]() |
![]() |
#1241 |
Daywalker
![]() Posts: 29
Karma: 50
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". |
![]() |
![]() |
![]() |
#1242 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Nov 2018
Device: Kindle Paperwhite 2
|
red_dragon,
thank you, nice ![]() |
![]() |
![]() |
![]() |
#1243 |
Member
![]() Posts: 14
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. |
![]() |
![]() |
![]() |
Tags |
count pages, page count |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 910 | 01-04-2019 03:01 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 332 | 08-31-2018 09:54 AM |
[GUI Plugin] Quick Preferences | kiwidude | Plugins | 33 | 06-20-2018 04:00 AM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 01:02 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |