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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-08-2014, 09:37 PM   #466
rracoon01
Member
rracoon01 began at the beginning.
 
rracoon01's Avatar
 
Posts: 17
Karma: 10
Join Date: Nov 2013
Device: android tablets
Wanted: CLI command

Here is one more vote for the idea of a CLI command to use the Generate Covers plugin. I have a batch file that creates a number of catalogs and as things stand right now, I have to manually create the covers for each; a separate and manual step in an otherwise automated process.

It seems simple enough (from my limited point of view). The syntax would look something like:

generate-cover bookID# savedsettingsname

Please and thanks
rracoon01 is offline   Reply With Quote
Old 02-09-2014, 04:21 AM   #467
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 3,983
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by rracoon01 View Post
I don't seem to be able to include today's date in the content of my cover without first creating a custom column [program: format_date(today(),'dd MMM yyyy')] first. Why can't I just use {today()} in the content?
Try {:'format_date(today(), 'dd MMM yyyy')'}
Quote:
Originally Posted by rracoon01 View Post
Of course I also don't want it the same type size as the rest of the content so if anyone has any thoughts on that too; please.
You can specify 'type size' for Custom in the Fonts Tab

BR
BetterRed is online now   Reply With Quote
 
Advertisement
Old 02-09-2014, 04:13 PM   #468
rracoon01
Member
rracoon01 began at the beginning.
 
rracoon01's Avatar
 
Posts: 17
Karma: 10
Join Date: Nov 2013
Device: android tablets
Quote:
Originally Posted by BetterRed View Post
Try {:'format_date(today(), 'dd MMM yyyy')'}

You can specify 'type size' for Custom in the Fonts Tab

BR
Many thanks. I sure didn't spot that in the Template tutorial anywhere.

The font size question was that I want different font sizes for different parts of the Custom Text.
rracoon01 is offline   Reply With Quote
Old 02-14-2014, 09:27 PM   #469
Dyspeptica
Member
Dyspeptica began at the beginning.
 
Posts: 20
Karma: 10
Join Date: May 2012
Device: iPad
rracoon01
You may find that it will be easier to create the covers outside of calibre. That's what I ended up doing. I posted the guts of a script which can handled any number of title elements using 'convert' from ImageMagick on page 30 of this thread. Then again, I am creating 13,500 individualized covers.
Since each element is created separately you can specify font, font sizes, color etc. and overlay everything on a background image.
This process slides around some of the limits of the plugin in dealing with long titles etc.
Dyspeptica is offline   Reply With Quote
Old 02-16-2014, 06:52 AM   #470
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Quote:
Originally Posted by rracoon01 View Post
The font size question was that I want different font sizes for different parts of the Custom Text.
Sorry no that is not possible with this plugin - it is for quick and simple cover generation, and I have no interest in trying to extend it further that way.
kiwidude is offline   Reply With Quote
Old 02-21-2014, 09:33 AM   #471
rracoon01
Member
rracoon01 began at the beginning.
 
rracoon01's Avatar
 
Posts: 17
Karma: 10
Join Date: Nov 2013
Device: android tablets
Quote:
Originally Posted by Dyspeptica View Post
rracoon01
You may find that it will be easier to create the covers outside of calibre. That's what I ended up doing....
Thanks, I will look into that.
rracoon01 is offline   Reply With Quote
Old 03-30-2014, 08:43 PM   #472
Vaesse
Connoisseur
Vaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolate
 
Vaesse's Avatar
 
Posts: 95
Karma: 33020
Join Date: May 2011
Device: Kindle 3 WiFi
I'm not sure if it's just a weird glitch, but when I try to set the left margin, it seems to effect the right margin instead. Right margin seems to work properly. If it's just me, any ideas how to fix?

Last edited by Vaesse; 03-30-2014 at 10:46 PM. Reason: EDIT: Not editing right margin AND left margin... editing right margin ONLY.
Vaesse is offline   Reply With Quote
Old 04-08-2014, 05:08 PM   #473
DandalfTheWhite
Junior Member
DandalfTheWhite began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2011
Device: Kindle Touch
Quote:
Originally Posted by ElizabethN View Post
if I'm using custom text to pull info from a custom column (long text, like comments, not shown in tag browser), how do I get the plugin to use the "normal" view rather than the "html" view of text?

example:

what I want -

Shalia’s Diary is a Clans of Kalquor story, delivered in journal entries written by the heroine, Shalia Monroe.

what I end up getting on the cover -

<p>Shalia’s Diary is a Clans of Kalquor story, delivered in journal entries written by the heroine, Shalia Monroe.</p>


any help would be appreciated. thanks.
This is an old comment, but I didn't see an answer in the following pages. Is it possible? I'm still having this issue now with the HTML tags.

Thanks!
DandalfTheWhite is offline   Reply With Quote
Old 04-08-2014, 07:22 PM   #474
Vaesse
Connoisseur
Vaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolate
 
Vaesse's Avatar
 
Posts: 95
Karma: 33020
Join Date: May 2011
Device: Kindle 3 WiFi
And my issue is still in effect. Still can't modify the left margin.
Vaesse is offline   Reply With Quote
Old 04-13-2014, 08:22 PM   #475
eosrose
Enthusiast
eosrose began at the beginning.
 
Posts: 43
Karma: 14
Join Date: May 2010
Location: WI
Device: Sony PRS-T1
I posted a plea for troubleshooting directly to the forum before I realized this thread was probably the best place for it. Sorry!

Anyway, I have a bug where I selected a font that made the plugin freeze. I had to force close the plugin and now whenever I try to open the plugin, calibre freezes. I can't unselect the font and I can't recall the font name, so I'm at a bit of a loss. Uninstalling and reinstalling the plugin (multiple times) hasn't helped.
eosrose is offline   Reply With Quote
Old 04-13-2014, 08:53 PM   #476
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 3,983
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by eosrose View Post
I posted a plea for troubleshooting directly to the forum before I realized this thread was probably the best place for it. Sorry!

Anyway, I have a bug where I selected a font that made the plugin freeze. I had to force close the plugin and now whenever I try to open the plugin, calibre freezes. I can't unselect the font and I can't recall the font name, so I'm at a bit of a loss. Uninstalling and reinstalling the plugin (multiple times) hasn't helped.
I already answered your other post - http://www.mobileread.com/forums/sho...19&postcount=2

If you inadvertently post something in the wrong place (we all do it from time to time) then report the post and ask a mod to rectify, the report button is to the right of the karma button under your name. Double posting contravenes the Board's Posting Guidelines ==>> http://www.mobileread.com/forums/faq...ing_guidelines

BR
BetterRed is online now   Reply With Quote
Old 07-08-2014, 05:01 PM   #477
fxp33
Groupie
fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.
 
Posts: 199
Karma: 110472
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD... Kobo = pdf without reflow !!
Italic in titles

Hi all,

Some time ago, I questioned this forum about the way to do Italic in the title.

I think the answer was ... No possible.

Coming back at the problem with a new eye, I opened the georgiai.ttf in fontforge and saved it in ttf after having given a new name in the "name" properties.

(Element > Info fonte > PS Name > Family Name)

I installed the new font (named "Georgia Italic") in windows, as any font.

After restarting Calibre, the "only italic" Georgia font was in the font list of the generate cover plugin, just under the normal Georgia

That's it!!!

Hope it helps,

Regards

François
fxp33 is offline   Reply With Quote
Old 07-09-2014, 11:39 PM   #478
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
Posts: 1,821
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
FYI, I am not kiwidude and this isn't my plugin. But I'm trying to help out by porting some of the plugins I use regularly while kiwidude is busy.

Attached is a test version that should work for both the existing 1.X calibre and the upcoming 2.X version calibre. 2.x will use PyQt5 which requires changes to virtually all plugins.

This version needs to be tested with the existing calibre.

Brave souls to test with with the beta 2.X version would also be appreciated. Links to the 2.X beta and discussion of the transition (for plugins) can be see at: Attn plugin developers: calibre moving to Qt 5.

Updated Jul 10 for a slightly better version--should be an internal only difference that isn't noticeable.
Attached Files
File Type: zip Generate Cover.zip (53.1 KB, 30 views)

Last edited by JimmXinu; 07-10-2014 at 08:35 PM. Reason: Replace test file
JimmXinu is offline   Reply With Quote
Old 07-10-2014, 12:24 AM   #479
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 3,983
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
Thanks JimmXinu

did some simple tests on 1.200 portable and 1.33 portable, no problems.

Tested on 1.43 64 install version with my real libraries - no problems

I'm only testing the features I use - I don't test exhaustively.

Psst - Import List ?

BR
BetterRed is online now   Reply With Quote
Old 07-10-2014, 08:35 PM   #480
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
Posts: 1,821
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Thanks, BR.

FYI, I've updated the zip on the earlier post for a slightly better version--should be an internal only difference that isn't noticeable.

Last edited by JimmXinu; 07-11-2014 at 12:53 AM. Reason: Add the word 'updated'--makes more sense then.
JimmXinu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Goodreads Sync kiwidude Plugins 694 Yesterday 12:07 PM
[GUI Plugin] Open With kiwidude Plugins 251 12-15-2014 01:07 PM
[GUI Plugin] User Category kiwidude Plugins 36 10-31-2014 07:08 AM
[GUI Plugin] Quick Preferences kiwidude Plugins 32 09-13-2014 11:34 PM
[GUI Plugin] Clipboard Search kiwidude Plugins 9 08-12-2014 04:36 AM


All times are GMT -4. The time now is 03:48 AM.


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