|
|
#1 |
|
Addict
![]() Posts: 312
Karma: 22
Join Date: Dec 2010
Location: EU
Device: iPad, iPhone, iPod
|
Saving to Disk: Solved
I am currently saving many books to disk. Once I am satisfied with how some books look and if I am not planning to read them in the near future, I save them to disk, zip them and move them to my Books Collections folder in my WHS. I am currently using two templates: Template one: Code:
{authors}/{title}/{title} - {authors}
and template two: Code:
{authors}/{series}/{series_index} - {title} - {authors}
The thing is that every time I have to change the template I have to got to Preferences, change the template and save. I was wondering if it could be possible to choose the template at the moment of saving to disk, something like, "Save to disk using... -> Template one". I don't know if a plugin exist already for doing this. Another thing, where is the list of recently used templates stored? I'd like to clean it up and just keep the two mentioned templates - right now there are about 9 different templates. Many thanks! PF Last edited by paulfiera; 08-08-2011 at 10:00 AM. Reason: Solved |
|
|
|
|
|
#2 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,729
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
1)Series are not all by the same Author (so starting with Author is a poor idea) 2)There is a count limit on top level file/folder names 3)My device booklist is shown by folder. 8 entries at a time. (sort is only by Alpha or Date modified) I use Alpha So I use: 00NoSeries (rises to the top of the list) folder when no series and <first_letter>-series (to group the series that start with the same letter) when it has a series name Code:
program:
test( field('series'),
strcat(
substr(field('series'), 0, 1),
template("-series/{series}/{series_index:0>2s}-{title}_{id}_{authors}")
),
template("00noseries/{author_sort[0]}_authors/{authors}/{title}_{id}-{authors}")
)
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,319
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
There isn't a need for two different templates my current template addresses books with and without series. Adjust as needed.
Code:
{author_sort}/{series:||-}{series_index:05.2f||-}{title}
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
#4 | |
|
Addict
![]() Posts: 312
Karma: 22
Join Date: Dec 2010
Location: EU
Device: iPad, iPhone, iPod
|
Quote:
Where do you enter that code? In the Saving To Disk templates? |
|
|
|
|
|
|
#5 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 448
Karma: 864744
Join Date: Mar 2011
Device: Kindle 3, LookBook, Nook Simple Touch
|
I just use this so there is no need to change templates.
Code:
{authors}/{series}/{title}/{series} {series_index:0>2s|| - }{title} - {authors}
__________________
86 Books in 2011
|
|
|
|
|
|
#6 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,729
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
Copy and paste. Includes the word Program and include the last bracket BTW I know of no way to clean out past entries other than wiping all your Calibre settings.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#7 |
|
Addict
![]() Posts: 312
Karma: 22
Join Date: Dec 2010
Location: EU
Device: iPad, iPhone, iPod
|
|
|
|
|
|
|
#8 | |
|
Addict
![]() Posts: 312
Karma: 22
Join Date: Dec 2010
Location: EU
Device: iPad, iPhone, iPod
|
Quote:
But these templates must be stored somewhere, a json file perhaps? I'm not in the mood of wiping all my Calibre settings. It has taken me a long time to set it up the way I like it. Right now it's working like a swiss clock
|
|
|
|
|
|
|
#9 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,853
Karma: 285886
Join Date: Jan 2010
Location: France
Device: Sony PRS-300, HTC WM6.5, Samsung Galaxy Nexus, HTC Sensation
|
Quote:
You can't edit these variables, but you can delete them. Delete everything from the beginning of the comment above the variable to the blank line after the variable. Best to save a copy, just in case ...
__________________
Support calibre developers at no cost to you by using calibre's get books feature. Use Calibre Companion to wirelessly connect your Android phone or tablet to calibre charles.haleys.org/calibre |
|
|
|
|
|
|
#10 | |||
|
Addict
![]() Posts: 312
Karma: 22
Join Date: Dec 2010
Location: EU
Device: iPad, iPhone, iPod
|
Quote:
One last thing. When saving series, they are saved as Quote:
Quote:
Any way of changing this behavior? Not a big thing, though. I can always rename the series folder. |
|||
|
|
|
|
|
#11 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,319
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
Check out Preferences - tweaks I think there is some way there to differentiate between Library order and alphabetical order.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
#12 | |
|
Addict
![]() Posts: 312
Karma: 22
Join Date: Dec 2010
Location: EU
Device: iPad, iPhone, iPod
|
Quote:
It's "Control formatting of title and series when...". It was set to Code:
save_template_title_series_sorting = 'library_order' Code:
save_template_title_series_sorting = 'strictly_alphabetic' I don't cease to be amazed by Calibre and by the Calibre comunity. Many thanks, guys. |
|
|
|
|
|
|
#13 |
|
Addict
![]() Posts: 312
Karma: 22
Join Date: Dec 2010
Location: EU
Device: iPad, iPhone, iPod
|
Just to add.
I've changed Ron's template a bit like this: Code:
{authors}/{series}/{series_index:0>2s|| - }{title}/{series} {series_index:0>2s|| - }{title} - {authors}
|
|
|
|
|
|
#14 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,994
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
__________________
The speed limit on our spacetime highway of life is c - lightspeed. Surprisingly, the posted minimum is also c. We can go no faster, nor any slower! The conversion factor from the time dimension to space is ct. When stationary in space, we must move into the future at c to have our clock tick off t. When moving in space, the spacetime vector c tilts from pure motion in time. The faster we move in the space dimension, the slower we move in the time dimension. |
|
|
|
|
|
|
#15 | |
|
Addict
![]() Posts: 312
Karma: 22
Join Date: Dec 2010
Location: EU
Device: iPad, iPhone, iPod
|
Quote:
I've modified the template to: Code:
{authors}/{series}/{series_index:0>2s|| - }{title} - {authors}
Many thanks PF |
|
|
|
|
![]() |
| Tags |
| templates |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Saving to Disk | paulfiera | Calibre | 3 | 07-20-2011 10:21 AM |
| Losing files when saving saving to disk | theaccountant | Library Management | 4 | 03-10-2011 02:38 PM |
| Question about saving to disk | Xenophon | Calibre | 2 | 10-23-2009 11:10 AM |
| Saving to disk | htaylor | Calibre | 2 | 01-04-2009 08:29 PM |
| Saving to Disk issues | scruffy | Calibre | 5 | 09-03-2008 12:10 AM |