View Single Post
Old 01-07-2018, 07:44 AM   #7
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Quote:
Originally Posted by rhalina View Post
What I would love to do is add a prefix to the collection name in order to end up with something like:
"Series: Relevation Space" or
"Tag: Science Fiction"

Quote:
Originally Posted by rhalina View Post
Exactly! That's what I want to do. In order to be able to do that I'd need to define a column name which contains another column name. And I don't know a way in which calibre could quote a column name.
In the series it easy, add custom column, type column build from other columns, and add this template:

Code:
{series:|Series: |}
In tags it a little complicate, do you want to make prefix to all tags or only for a few?

Here for one tag.

Code:
program:str_in_list(field('tags'),",", "Science Fiction", "Tag: Science Fiction","")

Last edited by oren64; 01-07-2018 at 08:30 AM.
oren64 is offline   Reply With Quote