Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 02:11 PM   #496
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: 81,687
Karma: 150265991
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 un_pogaz View Post
@JSWolf Yes, readable enough.
But rethinking about it, it could be bossible to give a this option to the user, but you are really lucky that we have a deep control on the bookshelf for that

Else, @Kovid, since you decide to make the font size a option rather than a tweaks, what do you think to also a checkbox fo bold text on spines?

Else, in any case, I draw a hard line for feature to now.
No new features, or it will request a very clear and strong support.
Can we please be able to change the white color and the black color to what works best for us? And another thing, those who are dyslexic work best with some colors so for some, this may not work as is.
JSWolf is offline   Reply With Quote
Old Today, 02:15 PM   #497
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: 49,647
Karma: 174632684
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
Would you mind sharing the template code needed to do this please? Thanks.
Select the #pages as the custom page column and quick and dirty template:

Code:
python:
from calibre.gui2.library.bookshelf_view import width_from_pages

def evaluate(book, context):
    val = book.get('#pages')
    try:
        pages = max(0, int(val))
    except Exception:
        return '0.25'
    return '0.25'
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-01-19 101848.jpg
Views:	19
Size:	248.3 KB
ID:	220409   Click image for larger version

Name:	Screenshot 2026-01-19 102001.jpg
Views:	15
Size:	286.9 KB
ID:	220410  

Last edited by DNSB; Today at 02:21 PM. Reason: Added bookshelf images for fixed and variable width.
DNSB is offline   Reply With Quote
Advert
Old Today, 03:14 PM   #498
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: 81,687
Karma: 150265991
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
Select the #pages as the custom page column and quick and dirty template:

Code:
python:
from calibre.gui2.library.bookshelf_view import width_from_pages

def evaluate(book, context):
    val = book.get('#pages')
    try:
        pages = max(0, int(val))
    except Exception:
        return '0.25'
    return '0.25'
I like that one. Thank you.
JSWolf is offline   Reply With Quote
Old Today, 05:23 PM   #499
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,171
Karma: 30317706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by un_pogaz View Post
Use arrow key, the view will automatically move to the current book
(well, not exactly the same that before you presse the key, but it shouldn't be very far away)
Yes an arrow key** moves to next book in sort order, and the BD changes accordingly, but the shelf it's on does not come into view. And that's true irrespective of Group By.

In Shelf view, calibre://show-book/ links "don't work" if the show-book target is "out of sight". In List or Grid View, when a show-book link is 'clicked', the list or grid will 'jump' to target book… i.e. make it the currently selected book… and 'scroll' the list or grid to bring the target into View. That second step doesn't happen in Shelf view.

The calibre links are in a long text custom column (Links/#links) which is shown in the Book details panel, hence 'clickable'.

** - but which arrow is the question. When a library is opened:
↑ moves to book on the left, ↓ moves to book on the right, → moves to book on shelf below the current one, ← moves to book on shelf above the current one.

Now here's the rub… if I click on a book, the arrow keys start working as one would expect:
← moves to book on the left, → moves to book on the right, ↓ moves to book on shelf below the current one, ↑ moves to book on shelf above the current one.

BR

Last edited by BetterRed; Today at 07:04 PM.
BetterRed is online now   Reply With Quote
Old Today, 06:57 PM   #500
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 595
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
If you can add inverted color outline to the texts, I think it is readable.
nqk is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre 5: Beta testers needed kovidgoyal Calibre 497 09-29-2020 01:58 AM
Beta testers needed kovidgoyal Calibre 75 08-18-2019 08:00 PM
Beta testers for calibre 3.0 needed kovidgoyal Calibre 598 07-09-2017 11:26 PM
Beta testers needed kovidgoyal Calibre 54 05-20-2016 01:34 PM
Beta testers for calibre 2.0 needed kovidgoyal Calibre 142 05-08-2015 05:44 AM


All times are GMT -4. The time now is 07:07 PM.


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