![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 149
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle PW3, Kobo Libra 2
|
Adding hyphen to file name
I have the following string set up when sending ebooks to my Kobo:
Code:
{author_sort[0]}/{author_sort}/{series}/{series_index:0>4.1f} {title} Last edited by Buhaj47; 01-09-2022 at 10:44 AM. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
It is in the user manual under Template (language)
Code:
Using this syntax, we can solve the above no-series problem with the template: {series}{series_index:| - | - }{title} |
![]() |
![]() |
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 149
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle PW3, Kobo Libra 2
|
I've seen that but couldn't apply it to the code above.
Wysłane przez Tapatalka |
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Do you mean you could see how to combine the formatting of the index with the addition of the dashes? If so, the following is what you want:
Code:
{series}{series_index:0>4.1f| - | - }{title} |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with regex for adding in a hyphen | africalass | Library Management | 2 | 08-06-2020 09:11 AM |
[iOS] Adding Books to Hyphen reader | tdanzie | Calibre Companion | 4 | 01-18-2017 10:32 AM |
Adding file... | KyBunnies | Library Management | 1 | 05-25-2015 02:49 PM |
adding a file | Notjohn | Sigil | 4 | 12-19-2014 09:21 AM |
Can't save after adding file | phossler | Editor | 2 | 12-25-2013 12:24 PM |