![]() |
#166 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Quote:
Helen |
|
![]() |
![]() |
![]() |
#167 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,095
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Was this the cause of "page not found" I saw in the log?
|
![]() |
![]() |
Advert | |
|
![]() |
#168 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,402
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#169 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,095
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#170 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Just tested 906, and everything seems to be working. Nice work.
|
![]() |
![]() |
Advert | |
|
![]() |
#171 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
I have a remark concerning the UI design of the plugboard settings: Whenever I want to edit a plugboard, I initially try to select it in the list of plugboards only to realize that I can't and have to use the two dropdown fields. I don't know if it's possible or worth the effort if it is, but personally, I'd like it better if I were able to directly select the plugboard I want to edit out of the list.
|
![]() |
![]() |
![]() |
#172 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
![]() GUI work is never-ending. There is always a way to do it better/different/intuitively. It is also work I don't particularly enjoy. The right thing to do is to change from a text box to a list box, which would make selection straight-forward. Eventually I will get to it, unless someone else does it first. |
|
![]() |
![]() |
![]() |
#173 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#174 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Turned out using the listbox made it easy. The downside is that the info is more spread out vertically, but I can accept that.
|
![]() |
![]() |
![]() |
#175 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
|
![]() |
![]() |
![]() |
#176 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,095
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
chaley
There seems to be cat fur on your new plug-board icon, making it difficult to use ![]() Last edited by theducks; 07-26-2015 at 12:40 PM. |
![]() |
![]() |
![]() |
#177 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
I love that plugboard! I can now manage all my devices with it! I finally figured out how to make a folder device (as I'll need that for my WinCE devices, as Calibre apparently can't handle the ActiveSync
![]() Thanks! The donation will come your way as soon as the beta goes live. |
![]() |
![]() |
![]() |
#178 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
I really like the template language and conditional fields.
You might consider adding another example to the documentation Code:
{author_sort}/{series}/{series}{series_index:0>3s|[|] - }{title} - {authors} Code:
Asimov, Isaac/Foundation series/Foundation series[001] - The Foundation - Isaac Asimov I was trying to test how some ... aehm ... not-very-obvious ... combinations in Templates work ;-) Also, there seems to be a typo in documentation Quote:
- extra space dash space ' - ' in the result between 'Second foundation' and series number. Last edited by kacir; 09-30-2010 at 02:33 PM. |
|
![]() |
![]() |
![]() |
#179 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
For example, assume you want to use the template:: {series} - {series_index} - {title} If the book has no series, the answer will be ``- - title``. Many people would rather the result be simply ``title``, without the hyphens. To do this, use the extended syntax ``{field:|prefix_text|suffix_text}``. When you use this syntax, if field has the value SERIES then the result will be ``prefix_textSERIESsuffix_text``. If field has no value, then the result will be the empty string (nothing); the prefix and suffix are ignored. The prefix and suffix can contain blanks. Using this syntax, we can solve the above series problem with the template:: {series}{series_index:| - | - }{title} The hyphens will be included only if the book has a series index, which it will have only if it has a series. Quote:
FYI: In the next release, you will be able to use both formatting specifications and functions. Using this, the following will work to ensure that zero values are printed. The relevant doc section is Code:
Now, about using functions and formatting in the same field. Suppose you have an integer custom column called ``#myint`` that you want to see with leading zeros, as in ``003``. To do this, you would use a format of ``0>3s``. However, by default, if a number (integer or float) equals zero then the field produces the empty value, so zero values will produce nothing, not ``000``. If you really want to see ``000`` values, then you use both the format string and the ``ifempty`` function to change the empty value back to a zero. The field reference would be:: {#myint:0>3s:ifempty(0)} Note that you can use the prefix and suffix as well. If you want the number to appear as ``[003]`` or ``[000]``, then use the field:: {#myint:0>3s:ifempty(0)|[|]} |
||
![]() |
![]() |
![]() |
#180 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
Quote:
{series_index:0>3s|[|] - } index formating PLUS prefix and suffix. You do have {series_index:0>3s} and {series_index:|[|] - } example but not those two combined. It is obvious to you, to me, to other people that program for a living, but it might not be obvious to the average Calibre user. EDIT: I think that the more useful and usable examples you use in the documentation, the better chance that an average user will try out those extremely cool features. We are thinking like programmers, hackers, tinkerers but an average user might not. Last edited by kacir; 09-30-2010 at 03:37 PM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sony collections and custom fields: how to handle duplicates? | chaley | Calibre | 13 | 09-02-2010 04:11 PM |
Amazon integrates Video and Audio with Ebooks | luqmaninbmore | News | 22 | 06-28-2010 06:22 PM |
PRC file doesn't fully import into Calibre | MSJim | Kindle Formats | 1 | 06-01-2010 02:55 PM |
Calibre custom news feed and python help. | harrynewman | Calibre | 4 | 10-08-2009 09:26 AM |
Smashwords integrates with Stanza, optimized for iPhone | Smashwords | News | 1 | 11-29-2008 03:26 PM |