04-22-2024, 11:09 PM | #136 |
Well trained by Cats
Posts: 30,351
Karma: 58032210
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The index does not have to be (stay) sequential.
Compacting the DB just gets rid of the deadwood (records marked inactive). You gain nothing by re-sequencing |
04-23-2024, 10:07 AM | #137 |
Custom User Title
Posts: 9,254
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Are saved searches case-sensitive?
|
Advert | |
|
04-23-2024, 11:21 AM | #138 |
Grand Sorcerer
Posts: 11,929
Karma: 7208979
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
04-23-2024, 11:49 AM | #139 |
Custom User Title
Posts: 9,254
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Yeah, the name of the search. I was fixing some inconsistent capitalization and wanted to know if I ought to double-check that it didn't mess up anything that might reference it (VLs).
|
05-04-2024, 03:22 PM | #140 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2024
Location: Netherlands
Device: Kavita
|
Greetings,
I'm trying to do something seemingly simple but can't get it to work. The result i want is when i try to save my ebooks to disk is: {series}/{title} - {authors} But half my books are not part of a series so in those cases I want to pick {authors} I thought it should look kinda like this: {series||authors}/{title} - {authors} But that doesn't work. Anyone able to help? Or point me in the right direction at least. |
Advert | |
|
05-04-2024, 09:03 PM | #141 |
Bibliophagist
Posts: 39,241
Karma: 153111226
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The template I use for save to disk is:
Code:
{author_sort:sublist(0,1,&)}/{series:|[|} {series_index:0>2s||] - }{title} - {authors:sublist(0,1,&)} Say I saved David Eddings' Losers to disk, I would see the following: Code:
Eddings, David/Losers - David Eddings.epub Code:
Robb, J. D_/[In Death 56] - Desperation in Death - J. D. Robb.epub For instance the The Science Fiction Hall of Fame, Volume One 1929-1964 edited by Robert Silverberg would require a total of 1464 characters if I tried to use the entire author/author sort list: Silverberg, Robert & Weinbaum, Stanley G. & Campbell, John W. & Rey, Lester Del & Heinlein, Robert A. & Sturgeon, Theodore & Asimov, Isaac & Vogt, A. E. Van & Padgett, Lewis & Simak, Clifford D. & Brown, Fredric & Leinster, Murray & Merril, Judith & Smith, Cordwainer & Bradbury, Ray & Kornbluth, C. M. & Matheson, Richard & Leiber, Fritz & Boucher, Anthony & Blish, James & Clarke, Arthur C. & Bixby, Jerome & Godwin, Tom & Bester, Alfred & Knight, Damon & Keyes, Daniel & Zelazny, Roger/[SF Hall of Fame 01] - The Science Fiction Hall of Fame, Volume One 1929-1964 - Robert Silverberg (ed) & Stanley G. Weinbaum & John W. Campbell & Lester Del Rey & Robert A. Heinlein & Theodore Sturgeon & Isaac Asimov & A. E. Van Vogt & Lewis Padgett & Clifford D. Simak & Fredric Brown & Murray Leinster & Judith Merril & Cordwainer Smith & Ray Bradbury & C. M. Kornbluth & Richard Matheson & Fritz Leiber & Anthony Boucher & James Blish & Arthur C. Clarke & Jerome Bixby & Tom Godwin & Alfred Bester & Damon Knight & Daniel Keyes & Roger Zelazny Last edited by DNSB; 05-04-2024 at 09:06 PM. |
05-05-2024, 11:32 AM | #142 | |
Wizard
Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
Code:
{series:ifempty({authors})}/{title} - {authors} |
|
05-05-2024, 11:51 AM | #143 |
Grand Sorcerer
Posts: 11,929
Karma: 7208979
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Subtemplates don't work reliably in single function mode (SFM) because they are interpolated before the arguments are parsed, meaning the content will be parsed as arguments.
Better would be this in template program mode (TPM): Code:
{series:'ifempty($, $authors)'}/{title} - {authors} Code:
{series:'ifempty($, list_item($authors, 0, '&'))'}/{title} - {authors:list_item(0,&)} Last edited by chaley; 05-05-2024 at 11:54 AM. Reason: Added links to the manual |
05-05-2024, 02:36 PM | #144 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2024
Location: Netherlands
Device: Kavita
|
Thank you all for the quick and thorough replies, in the end i also got something to work:
Code:
{series:first_non_empty({series},{author:sublist(0,1,&)})}/{title} - {authors:sublist(0,1,&)} |
05-05-2024, 03:17 PM | #145 | |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2024
Location: Netherlands
Device: Kavita
|
Since i was on a roll i further changed how i wanted it to look and now i got this
Quote:
|
|
05-05-2024, 07:34 PM | #146 |
Custom User Title
Posts: 9,254
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
What does the menu option "Book list header menu" supposed to do? I tried it but saw no effect.
|
05-05-2024, 08:02 PM | #147 |
want to learn what I want
Posts: 1,127
Karma: 6426808
Join Date: Sep 2020
Device: Calibre E-book viewer
|
|
05-05-2024, 08:06 PM | #148 |
Custom User Title
Posts: 9,254
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I'm not sure. I noticed it in the Toolbars & Menus options.
|
05-05-2024, 08:35 PM | #149 |
Well trained by Cats
Posts: 30,351
Karma: 58032210
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You can split the book list apart Vertically.
Every thang to the right, movest to the left. Right click a column header where you want it to split: slect split Don't worry, the next time you right click an a header, there is NOW and undo split |
05-05-2024, 08:46 PM | #150 |
want to learn what I want
Posts: 1,127
Karma: 6426808
Join Date: Sep 2020
Device: Calibre E-book viewer
|
oh, I see. I had never tried this, but I just noticed that, when placed on the main toolbar, that menu opens at the Title column position, regardless of its position on the toolbar, it seems.
So maybe you're not seeing where it's opening, for some reason edit: the menu opens at the selected "cell", which happened to be on the Title column in this case! Last edited by Comfy.n; 05-05-2024 at 09:00 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Templates: various questions not worth their own thread | ownedbycats | Library Management | 711 | 09-09-2024 06:13 PM |
Forma Questions about quick management of Collections. | droopy | Kobo Reader | 5 | 10-10-2019 11:34 PM |
2 questions; library management & calibre version | Blue2u | Library Management | 4 | 04-15-2018 07:53 PM |
eBook/Comic/Manga Library Management Workflow: How do you manage your library? | Inukami | Library Management | 16 | 08-02-2017 12:24 PM |
Thread management questions | meme | Feedback | 6 | 01-31-2011 05:07 PM |