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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-10-2017, 03:43 PM   #91
odamizu
maniac
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 743
Karma: 1831280
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
Quote:
Originally Posted by exaltedwombat View Post
Is there any benefit in this plugin over dropping the epub file into Kindle Previewer? Serious question, not a snark!
The plug-in allows you to insert a genuine Amazon ASIN. If you sideload the resulting AZW3 onto your Kindle, you will get covers on the Kindle home screen, and it will be treated as a "Book" rather than a "Doc." (However, if you transfer the book using Send-to-Kindle, Amazon will override the ASIN with a new one, so this trick only works with USB-transfer.)

The plug-in will also generate a thumbnail image if you want to manually transfer the cover to your Kindle.

Quote:
Originally Posted by msh2050 View Post
how I can use this with this negative margin script should I make it as azw then import to sigil and lastly export?

https://www.mobileread.com/forums/sh...17&postcount=8
I'm not entirely sure what your goal is or what the negative margin script does, but I adjust margins by inserting the following in the CSS stylesheet:
Code:
@media amzn-kf8 {
	p, h1, h2, h3 {
		margin-left: -20px; 
		margin-right: -20px; 
		}
	}
odamizu is offline   Reply With Quote
Old 12-10-2017, 04:30 PM   #92
msh2050
Member
msh2050 My eyes! My eyes! The light is just too bright!msh2050 My eyes! My eyes! The light is just too bright!msh2050 My eyes! My eyes! The light is just too bright!msh2050 My eyes! My eyes! The light is just too bright!msh2050 My eyes! My eyes! The light is just too bright!msh2050 My eyes! My eyes! The light is just too bright!msh2050 My eyes! My eyes! The light is just too bright!msh2050 My eyes! My eyes! The light is just too bright!msh2050 My eyes! My eyes! The light is just too bright!msh2050 My eyes! My eyes! The light is just too bright!msh2050 My eyes! My eyes! The light is just too bright!
 
Posts: 17
Karma: 80132
Join Date: Sep 2017
Device: ipad , Kindle PW3
Quote:
Originally Posted by odamizu View Post
The plug-in allows you to insert a genuine Amazon ASIN. If you sideload the resulting AZW3 onto your Kindle, you will get covers on the Kindle home screen, and it will be treated as a "Book" rather than a "Doc." (However, if you transfer the book using Send-to-Kindle, Amazon will override the ASIN with a new one, so this trick only works with USB-transfer.)

The plug-in will also generate a thumbnail image if you want to manually transfer the cover to your Kindle.



I'm not entirely sure what your goal is or what the negative margin script does, but I adjust margins by inserting the following in the CSS stylesheet:
Code:
@media amzn-kf8 {
	p, h1, h2, h3 {
		margin-left: -20px; 
		margin-right: -20px; 
		}
	}
msh2050 is offline   Reply With Quote
Old 12-11-2017, 03:22 PM   #93
odamizu
maniac
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 743
Karma: 1831280
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
Quote:
Originally Posted by Doitsu View Post
My KindleGen plugin is primarily intended for KDP authors and book designers. All other users are better off simply using Calibre ...
I much prefer the Sigil+Kindlegen plugin combination to Calibre, and I'm not an author or book designer.

Thank you, Doitsu!
odamizu is offline   Reply With Quote
Old 08-27-2018, 04:51 PM   #94
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,310
Karma: 14277313
Join Date: Dec 2010
Device: Kindle PW2
New version with KFX support

I've attached a new version with KFX support (courtesy of jhowell's Calibre KFX Output plugin) to the first post.

The new version will also check for embedded CFF/Type 1 (Postscript) fonts, which may not render clearly on all Kindle readers.
Doitsu is offline   Reply With Quote
Old 08-28-2018, 12:34 AM   #95
odamizu
maniac
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 743
Karma: 1831280
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
Thank you!
odamizu is offline   Reply With Quote
Old 10-08-2018, 09:14 PM   #96
Crick
Junior Member
Crick began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2016
Device: none
A little problem, I installe kindle preview 3.27 and the new version of the addon but when I tried to convert my epub I got this:

Status: failed

Traceback (most recent call last):
File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 135, in launch
self.exitcode = target_script.run(container)
File "C:\Users\Io\AppData\Local\sigil-ebook\sigil\plugins\KindleGen\plugin.py", line 419, in run
dc_creator = LastFirst(dc_creator).replace(' ', '_')
File "C:\Users\Io\AppData\Local\sigil-ebook\sigil\plugins\KindleGen\plugin.py", line 134, in LastFirst
author_parts = author.split(' ')
AttributeError: 'NoneType' object has no attribute 'split'
Error: 'NoneType' object has no attribute 'split'

I use win 7 and the last version of sigil
Crick is offline   Reply With Quote
Old 10-09-2018, 02:21 AM   #97
AlanHK
Evangelist
AlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheese
 
AlanHK's Avatar
 
Posts: 433
Karma: 1002
Join Date: Apr 2014
Device: PW-3, Android phone
I use the plugin to make AZWs to load on my own Kindle,and that works fine.

When I am making a book to upload to Amazon, I want a joint mode mobi.

I saw no option for that, and have been using the Previewer to make those, and was about to ask if you could make such an option. But I looked at the options again now and see that I can deselect both "Mobi7" and "AZW3"; if I do that I get the joint file.
So maybe you can make that an explicit option "Generate joint mobi" so it's clear that can be done.
(Possibly add "-joint" to the filename to distinguish it from the simple mobi7?)

Unrelated: When running, the output window is empty (except for "Running KindleGen ... please wait") until the end, when all the output appears.
On a big book at max compression, generation can take up to an hour (not often, but it has happened) and it would be reassuring if I could see the output as it was generated, so if for instance there are warnings or non-fatal errors I can abort and fix them rather than waiting for the completion.

Last edited by AlanHK; 10-09-2018 at 02:26 AM.
AlanHK is offline   Reply With Quote
Old 10-09-2018, 04:02 AM   #98
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,310
Karma: 14277313
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Crick View Post
A little problem, I installe kindle preview 3.27 and the new version of the addon but when I tried to convert my epub I got this:[...]
The problem was caused by an empty <dc:creator> metadata entry, which I didn't anticipate. I've updated the plugin and attached a new version to the first post.

Quote:
Originally Posted by AlanHK View Post
So maybe you can make that an explicit option "Generate joint mobi" so it's clear that can be done.
Since I clearly mentioned in the plugin description that it'll generate a master mobi file, if no output options are checked, I fail to see the need to add an extra option for this feature. I also won't add "-joint" to the file name.

Quote:
Originally Posted by AlanHK View Post
Unrelated: When running, the output window is empty (except for "Running KindleGen ... please wait") until the end, when all the output appears.
For technical reasons it's not possible to display the messages generated by KindleGen until it's done. I.e., you'll have to live with this limitation. If you want to see KindleGen status messages, you'll need to open a Command Prompt window and manually execute KindleGen. (You can find the KindlGen binary location by opening KindleGen.json with an editor.)

If you have installed Kindle Previewer in the default location, you could use the following command:

Quote:
"%LocalAppData%\Amazon\Kindle Previewer 3\lib\fc\bin\kindlegen.exe" -c2 "c:\my book.epub"
Obviously, you'll need to change the epub path. (You'll need to enclose the path in quotes, if it contains spaces.)
Doitsu is offline   Reply With Quote
Old 10-09-2018, 01:57 PM   #99
AlanHK
Evangelist
AlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheese
 
AlanHK's Avatar
 
Posts: 433
Karma: 1002
Join Date: Apr 2014
Device: PW-3, Android phone
Quote:
Originally Posted by Doitsu View Post
Since I clearly mentioned in the plugin description that it'll generate a master mobi file, if no output options are checked, I fail to see the need to add an extra option for this feature. I also won't add "-joint" to the file name.
OK.
I did finally realise that after about a year of using it. So thought it might be useful to have a reminder in the interface.
Is there no mechanism for help files in plugins? Would be helpful have the description available there with info like that.


Quote:
Originally Posted by Doitsu View Post
For technical reasons it's not possible to display the messages generated by KindleGen until it's done. I.e., you'll have to live with this limitation
Not a big deal. I used to do it with a batch file back when I just coded HTML in a text editor and compiled to mobi, but much prefer to do it in Sigil, even if I bite my nails while it's grinding away. Also it wouldn't make the thumbnail or, I think, use my bogus ASIN.

Last edited by AlanHK; 10-09-2018 at 01:59 PM.
AlanHK is offline   Reply With Quote
Old 10-09-2018, 07:41 PM   #100
Crick
Junior Member
Crick began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2016
Device: none
Quote:
Originally Posted by Doitsu View Post
The problem was caused by an empty <dc:creator> metadata entry, which I didn't anticipate. I've updated the plugin and attached a new version to the first post.
It work now, I was trying it on a blanc page didn't think of the author. Thanks.
Crick 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
epubcheck plugin for Sigil Doitsu Plugins 164 09-02-2018 03:52 PM
[Plugin] KindleImport Sigil plugin DiapDealer Plugins 151 09-27-2017 06:05 PM
[Plugin] PunctuationSmarten Sigil plugin DiapDealer Plugins 72 09-25-2017 01:50 PM
font change sigil to mobi with kindlegen wyatt650 Sigil 4 09-05-2013 11:49 AM
Sigil to Kindlegen -- No Table of Contents paul-b Sigil 70 05-03-2012 05:57 PM


All times are GMT -4. The time now is 09:39 PM.


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