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 06-26-2023, 05:25 PM   #1
Mamaijee
Zealot
Mamaijee doesn't litterMamaijee doesn't litter
 
Posts: 100
Karma: 110
Join Date: Sep 2010
Device: Kindle Fire HD
Show Series in saved books

Pls can someone help with the "template to save books to disk."

I would like to save a book in Calibre to show on disk as:

Abigail Davis - [Unseen Underground 1] - Luca Beretta

where
- Author is Abigail Davies
- Series is Unseen Underground with book being #1 in series, with a [] around series name
- Title is Luca Beretta

Thank you
mamaijee
Mamaijee is offline   Reply With Quote
Old 06-26-2023, 05:48 PM   #2
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Code:
{author}{series:| - [| {series_index}]} - {title}
For explanation of the above, consult the template language manual.

Edit: The template is made a bit more complicated to work well for books that have no series. If you are sure all books have a series, you can use a simpler template:

Code:
{author} - [{series} {series_index}] - {title}

Last edited by capink; 06-26-2023 at 05:56 PM.
capink is offline   Reply With Quote
Advert
Old 06-26-2023, 09:14 PM   #3
Mamaijee
Zealot
Mamaijee doesn't litterMamaijee doesn't litter
 
Posts: 100
Karma: 110
Join Date: Sep 2010
Device: Kindle Fire HD
Show Series in saved books

Thank you very much for your prompt help
Do appreciate it

mamaijee
Mamaijee is offline   Reply With Quote
Old 06-27-2023, 05:04 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@capink: it is best to avoid nesting field expressions in basic templates. The text inserted by the nested expression is processed again when evaluating the outer expression, which can lead to errors. Following this guidance, the first expression that handles not having a series should be
Code:
{author}{series:| - |}{series_index:| [|]} - {title}
This works because series_index is always empty if series is empty.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Series appears in title of book when saved to disk kakkalla Library Management 3 06-13-2020 02:37 AM
Webserver - show books in series sorted to order? Maarten1999 Server 1 08-25-2019 06:12 PM
Show only series with more than x books Deahna Library Management 1 10-18-2015 05:36 AM
How to show unsequenced series? calvin-c Library Management 12 02-26-2013 11:40 AM
Show series number but not if they aren't in a series? M4cc45 Library Management 10 09-03-2011 07:35 PM


All times are GMT -4. The time now is 10:01 AM.


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