Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-11-2025, 03:50 PM   #871
retro
Addict
retro doesn't litterretro doesn't litterretro doesn't litter
 
Posts: 202
Karma: 245
Join Date: Aug 2009
Location: USA
Device: Kobo Libra 2
Quote:
Originally Posted by un_pogaz View Post

also forgot to close parenthis, here:
Code:
{#star:finish_formatting(,, | )}{#pages:finish_formatting(,Pages: , | )}{tags:| | }
YES!!! It works just like it should! Thank you sooooo much!
retro is offline   Reply With Quote
Old 01-17-2026, 11:04 PM   #872
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,475
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
When I view composite column with this template in list view, the first entry preceded by a comma. (Doesn't appear in book details or template tester.) Any idea why?

Code:
program:	

subjects = $#subjects;
admintags = $#admintags;

	new_colls = strcat(	
		if $#booktype=='Fanfiction' then 'Fanfiction, ' fi,
		if '^Mystery|Cozy Mystery$' inlist subjects then 'Mysteries, ' fi,
		if '(Juvenile|Young Adult)' inlist subjects then 'Juvenile & Young Adults, ' fi,
		if '^(Fantasy|Paranormal|Science Fiction)$' inlist subjects && !'Star Trek' inlist subjects then 'Fantasy & Sci-Fi, ' fi,
		if '^Star Trek$' inlist subjects then 'Star Trek, ' fi,
		if 'Omnibus' in admintags then 'Omnibuses, ' fi,
	);
ownedbycats is offline   Reply With Quote
Old Yesterday, 07:36 PM   #873
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,475
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by ownedbycats View Post
When I view composite column with this template in list view, the first entry preceded by a comma. (Doesn't appear in book details or template tester.) Any idea why?

Code:
program:	

subjects = $#subjects;
admintags = $#admintags;

	new_colls = strcat(	
		if $#booktype=='Fanfiction' then 'Fanfiction, ' fi,
		if '^Mystery|Cozy Mystery$' inlist subjects then 'Mysteries, ' fi,
		if '(Juvenile|Young Adult)' inlist subjects then 'Juvenile & Young Adults, ' fi,
		if '^(Fantasy|Paranormal|Science Fiction)$' inlist subjects && !'Star Trek' inlist subjects then 'Fantasy & Sci-Fi, ' fi,
		if '^Star Trek$' inlist subjects then 'Star Trek, ' fi,
		if 'Omnibus' in admintags then 'Omnibuses, ' fi,
	);
Same template in KoboTouch driver collection management also messes up the colllections, "Fantasy & Sci-Fi,Omnibuses"
ownedbycats is offline   Reply With Quote
Old Yesterday, 07:49 PM   #874
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 954
Karma: 1004846
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Let's see try this:


Code:
program:
subjects = $#subjects;
admintags = $#admintags;

new_colls = list_join(', ',
    if $#booktype=='Fanfiction' then 'Fanfiction' fi,
    if '^Mystery|Cozy Mystery$' inlist subjects then 'Mysteries' fi,
    if '(Juvenile|Young Adult)' inlist subjects then 'Juvenile & Young Adults' fi,
    if '^(Fantasy|Paranormal|Science Fiction)$' inlist subjects && !'Star Trek' inlist subjects then 'Fantasy & Sci-Fi' fi,
    if '^Star Trek$' inlist subjects then 'Star Trek' fi,
    if 'Omnibus' in admintags then 'Omnibuses' fi
);
dunhill is offline   Reply With Quote
Old Yesterday, 08:15 PM   #875
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,475
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I had to add a ',' to the end of each line but it worked! thank you
ownedbycats is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Library Management: various questions not worth their own thread ownedbycats Library Management 253 10-21-2025 09:15 AM
[Metadata Source Plugin] Questions regarding parse select, docs and ref templates Boilerplate4U Development 13 07-07-2020 03:35 AM
Questions on Kobo [Interfered with another thread topic] spdavies Kobo Reader 8 10-12-2014 12:37 PM
[OLD Thread] Some questions before buying the fire. darthreader13 Amazon Fire 7 05-10-2013 10:19 PM
Thread management questions meme Feedback 6 01-31-2011 06:07 PM


All times are GMT -4. The time now is 05:47 AM.


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