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

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 06-02-2015, 11:39 AM   #1
kevin4fly
Member
kevin4fly began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2015
Device: ipad
The {title_sort} replace the {title} value when doing save to disk job

Click Preference -> Saving books to disk(Import/Export section) and then set the template to {title} - {authors}. When I am saving the book to disk, the book name is {title_sort} - {authors} instead of {title} - {authors}.
kevin4fly is offline   Reply With Quote
Old 06-02-2015, 12:03 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 40,024
Karma: 17765146
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Preferences->Tweaks
kovidgoyal is offline   Reply With Quote
Advert
Old 06-02-2015, 09:20 PM   #3
kevin4fly
Member
kevin4fly began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2015
Device: ipad
Thanks for your reply, man. It's so quickly.

I am just reading the "calibre user manual" and doing the stuff as per what the manual says. I haven't yet read the Tweaks section, but I get a clue from your response.

Thanks again.

Last edited by kevin4fly; 06-02-2015 at 09:22 PM. Reason: misspell
kevin4fly is offline   Reply With Quote
Old 10-14-2018, 12:51 PM   #4
navegacalibre
Junior Member
navegacalibre began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2018
Device: iPad
{title_sort} again

I am trying to solve the ¨title_sort" "problem" when saving to disk with preferences-tweaks:

I code:

# Control formatting of title and series when used in templates

save_template_title_series_sorting = 'strictrly_alphabetic'

but still i get title and not title_sort when saving with this template:

{title} - {authors}

any clues ????
navegacalibre is offline   Reply With Quote
Old 10-14-2018, 12:59 PM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,853
Karma: 13774480
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by navegacalibre View Post
I am trying to solve the ¨title_sort" "problem" when saving to disk with preferences-tweaks:

I code:

# Control formatting of title and series when used in templates

save_template_title_series_sorting = 'strictrly_alphabetic'

but still i get title and not title_sort when saving with this template:

{title} - {authors}

any clues ????
If you want "The Lord of the Rings" to save as "Lord of the Rings, The" then change the tweak from strictly_alphabetic to library_order. If this isn't what you want then try correcting the spelling in your tweak.
DoctorOhh is offline   Reply With Quote
Advert
Old 10-14-2018, 01:11 PM   #6
navegacalibre
Junior Member
navegacalibre began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2018
Device: iPad
{title_sort} again

sorry, i wanted to say:

but still i get "title_sort" and not "title" when saving with this template

I use:

save_template_title_series_sorting = 'strictrly_alphabetic'

and does not work as expected.
navegacalibre is offline   Reply With Quote
Old 10-14-2018, 02:41 PM   #7
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,062
Karma: 19580408
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 9.7, iPad 10.5, iPad 12.9
Quote:
Originally Posted by navegacalibre View Post
sorry, i wanted to say:

but still i get "title_sort" and not "title" when saving with this template

I use:

save_template_title_series_sorting = 'strictrly_alphabetic'

and does not work as expected.
Assuming that's a direct copy/paste, then you've got an extra 'r' in strictrly_alphabetic.

That should be strictly_alphabetic
ilovejedd is offline   Reply With Quote
Old 10-14-2018, 03:27 PM   #8
navegacalibre
Junior Member
navegacalibre began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2018
Device: iPad
{title_sort} more options ( impossible ?)

Oops, you are right, the template was wrong, now all works ok.

Another question about this:

It is possible to save disk with filenames:

author - author_sort - title - title_sort

the first three ones no problem, but now the last field i canont see the way to code the template.
navegacalibre is offline   Reply With Quote
Old 10-14-2018, 05:21 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 26,807
Karma: 41849005
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
{title_sort} is not a valid template choice

I also thing you will run into a filename LENGTH issue on occasion (Titles can get wordy )
theducks is online now   Reply With Quote
Old 10-14-2018, 06:50 PM   #10
navegacalibre
Junior Member
navegacalibre began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2018
Device: iPad
Quote:
Originally Posted by theducks View Post
{title_sort} is not a valid template choice

I also thing you will run into a filename LENGTH issue on occasion (Titles can get wordy )
Of course i know {title_sort} is no valid.

I dont understand why was not included in a template choice.
navegacalibre is offline   Reply With Quote
Old 10-14-2018, 11:36 PM   #11
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,853
Karma: 13774480
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by DoctorOhh View Post
If this isn't what you want then try correcting the spelling in your tweak.
Quote:
Originally Posted by ilovejedd View Post
Assuming that's a direct copy/paste, then you've got an extra 'r' in strictrly_alphabetic.

That should be strictly_alphabetic
@ilovejedd I'm glad you chose to state it in no uncertain terms. I guess my comment wasn't as clear.
DoctorOhh is offline   Reply With Quote
Old 10-15-2018, 02:34 PM   #12
chaley
Grumpy old git
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.
 
chaley's Avatar
 
Posts: 9,996
Karma: 3559369
Join Date: Jan 2010
Location: UK
Device: Reader
Quote:
Originally Posted by navegacalibre View Post
Of course i know {title_sort} is no valid.
{title_sort} is a valid template field in save-to-disk (and everywhere else). For example, with the tweak set to
Code:
save_template_title_series_sorting = 'strictly_alphabetic'
and doing a save-to-disk of the book with the title
Code:
An empty book to delete later
using the template
Code:
{title} --- {title_sort}
the following file name is generated
Code:
An empty book to delete later --- empty book to delete later, An.txt
as shown by the attached screen capture.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg
Views:	108
Size:	9.8 KB
ID:	166938  
chaley is offline   Reply With Quote
Old 10-15-2018, 02:45 PM   #13
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 26,807
Karma: 41849005
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
[QUOTE=chaley;3760525]{title_sort} is a valid template field in save-to-disk (and everywhere else). For example, with the tweak set to

So the list on the Save to Disk setting is not fully inclusive then
Good to know. (I took that screen as gospel )
theducks is online now   Reply With Quote
Reply

Tags
calibre, save to disk, template language

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save to Disk Long Title Problem benwj Library Management 11 10-01-2013 09:32 AM
"Save to disc" using title instead of title_sort? manawydan Library Management 4 09-22-2013 02:52 AM
Using {title} or {title_sort} with save gives the same result DrChiper Calibre 3 05-23-2013 03:53 AM
Title during 'save to disk' gets changed to title_sort miquele Library Management 2 09-02-2012 01:11 PM
Save to Disk altering Title and Series RichieTheK Calibre 9 08-21-2010 06:19 PM


All times are GMT -4. The time now is 02:48 PM.


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