View Single Post
Old 05-12-2012, 07:12 PM   #4
Backi
Connoisseur
Backi has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead community
 
Backi's Avatar
 
Posts: 99
Karma: 15776
Join Date: Dec 2011
Device: PB912 Matt White
Quote:
{formats} - A list of formats available in the calibre library for a book
You have to use list_item(val, index, separator), i.e. something like {formats:list_item(index, ',')}.

But you can't loop over all formats per ebook. You must manually adjust index and the format to export and then rerun the save-to-device feature to consider all formats:
Quote:
You cannot create more than one path for a given book within one save operation. The only way to create the duplicates is to do multiple save operations using different templates.
(https://www.mobileread.com/forums/sho...8&postcount=24)
I think, it is easier to specify the folder name directly and enable only the corresponding format to be exported:
Enable only PDF to export, set root folder name to PDF, save to device
Enable only EPUB to export, set root folder name to EPUB, save to device
...

Last edited by Backi; 05-12-2012 at 07:17 PM.
Backi is offline   Reply With Quote