Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-25-2022, 03:53 PM   #1
rdyornot
Member
rdyornot began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2013
Device: none
Template Editor - Changing the default sample text

is it possible to change the sample book info in the template editor? I get by with the template language but I end up resorting to trial and error quite often and changing the sample book info so it has the characteristics i'm trying to manipulate with the template would let me see if i'm doing it correctly.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	83
Size:	21.6 KB
ID:	191888  
rdyornot is offline   Reply With Quote
Old 01-25-2022, 04:39 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,085
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
The sample book info is based on the book selected in library view. If you change the book selected in library view, the sample metadata will change to reflect the new selection.

Also note that you can select multiple books, and the template editor will show multiple rows corresponding to the selected books.
capink is offline   Reply With Quote
Advert
Old 01-25-2022, 05:11 PM   #3
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: 8,541
Karma: 61120499
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
If you pull up the template tester from the book list (add it to the context menu), it'll show you whatever books are currently selected rather than a placeholder "Title." Then you can save it with 'OK' and then right-click other template windows to load whatever was in the tester.
Attached Thumbnails
Click image for larger version

Name:	2022-01-25 18_14_17-Template tester.png
Views:	70
Size:	27.8 KB
ID:	191889  

Last edited by ownedbycats; 01-25-2022 at 05:40 PM.
ownedbycats is offline   Reply With Quote
Old 01-25-2022, 05:12 PM   #4
rdyornot
Member
rdyornot began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2013
Device: none
Ah! Thanks, thats perfect. I've only really used the Template Editor on the 'send to devices' preference so I can get readable names for long titles, so no books were ever selected in the library!
rdyornot is offline   Reply With Quote
Old 01-25-2022, 05:18 PM   #5
rdyornot
Member
rdyornot began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by ownedbycats View Post
If you pull up the template tester from the book list (add it to the context menu), it'll show you whatever books are currently selected rather than a placeholder "Title."
Ah, thanks for this - turns out calibre does NOT use the selected book as template tester info when you access it through the 'Sending book to devices' preference.
rdyornot is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update folders/file names after changing default save template. JPKowal Library Management 7 01-24-2017 07:27 PM
Sample Plugin for the Editor DiapDealer Editor 77 12-10-2014 07:16 AM
Changing default font of Arabic/Persian text in Kindle 3 WIFI wlaf Kindle Developer's Corner 1 12-20-2013 10:23 AM
How to change default text editor Calyr Elf Sigil 3 06-01-2012 12:02 PM
Changing default text style? jyavenard Kindle Developer's Corner 5 09-29-2009 09:38 AM


All times are GMT -4. The time now is 04:40 AM.


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