![]() |
#136 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,859
Karma: 59840450
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 |
![]() |
![]() |
![]() |
#137 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,528
Karma: 73800865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Are saved searches case-sensitive?
|
![]() |
![]() |
Advert | |
|
![]() |
#138 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,303
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#139 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,528
Karma: 73800865
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).
|
![]() |
![]() |
![]() |
#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 | |
|
![]() |
#141 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,161
Karma: 165572332
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. |
![]() |
![]() |
![]() |
#142 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,185
Karma: 1988646
Join Date: Aug 2015
Device: Kindle
|
Quote:
Code:
{series:ifempty({authors})}/{title} - {authors} |
|
![]() |
![]() |
![]() |
#143 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,303
Karma: 7955525
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 |
![]() |
![]() |
![]() |
#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,&)} |
![]() |
![]() |
![]() |
#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:
|
|
![]() |
![]() |
![]() |
#146 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,528
Karma: 73800865
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.
|
![]() |
![]() |
![]() |
#147 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,578
Karma: 7463599
Join Date: Sep 2020
Device: none
|
|
![]() |
![]() |
![]() |
#148 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,528
Karma: 73800865
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.
|
![]() |
![]() |
![]() |
#149 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,859
Karma: 59840450
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 |
![]() |
![]() |
![]() |
#150 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,578
Karma: 7463599
Join Date: Sep 2020
Device: none
|
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. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Templates: various questions not worth their own thread | ownedbycats | Library Management | 831 | 04-16-2025 11:16 AM |
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 |