|  02-28-2012, 07:43 AM | #46 | |
| Guru            Posts: 776 Karma: 2751519 Join Date: Jul 2010 Location: UK Device: PW2, Nexus7 | Quote: 
 | |
|   |   | 
|  02-28-2012, 10:52 AM | #47 | 
| DRM remover  Posts: 84 Karma: 10 Join Date: Dec 2009 Location: North of Germany Device: Kindle 3, 4 & Touch, iPhone/iPad, Hanvon N516 (OpenInkpot) | 
			
			that is a very good idea!
		 | 
|   |   | 
|  02-28-2012, 04:35 PM | #48 | |
| Guru            Posts: 776 Karma: 2751519 Join Date: Jul 2010 Location: UK Device: PW2, Nexus7 | Quote: 
 <meta content="urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" name="Adept.expected.resource"/> which suggests that there are variants in the value of the name attribute, and that the content attribute may come before or after the name attribute. There is also another tag which could be removed from the xhtml files at the same time, but it is not metadata. It takes the form: <link href="../page-template.xpgt" rel="stylesheet" type="application/vnd.adobe-page-template+xml"/> The href part will of course vary with different ePubs. (The corresponding page-template.xpgt could also be deleted). | |
|   |   | 
|  03-21-2012, 09:40 PM | #49 | 
| Connoisseur  Posts: 53 Karma: 10 Join Date: Mar 2009 Location: Hamilton, ON Device: Kobo Touch and Glo, | 
				
				Adding Cover
			 
			
			Hi. Just trying out the Modify ePub plugin and have a question. I've downloaded a couple of public domain books and they do not have covers. If I add a cover in calibre and metadata and them run the Modify ePub plugin it does up add the metadata jacket but it does not add a cover page. Running a couple of tests and checking with Sigil it seems that if the cover page is there as titlepage.xhtml then the cover is updated when you use Modify ePub. Is there any way to get the plugin to add the cover page (titlepage.xhtml) if it does not already exist?   Last edited by richreads; 03-21-2012 at 10:25 PM. | 
|   |   | 
|  03-21-2012, 10:09 PM | #50 | |
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
 | |
|   |   | 
|  03-21-2012, 10:25 PM | #51 | |
| Connoisseur  Posts: 53 Karma: 10 Join Date: Mar 2009 Location: Hamilton, ON Device: Kobo Touch and Glo, | Quote: 
 )' option and a the epub has titlepage.xhtml in it then the image (or cover) in the epub is updated. If titlepage.xhtml does not exist then the image is not updated. Am i missing a option to add/replace the image ? | |
|   |   | 
|  03-22-2012, 12:27 AM | #52 | |
| US Navy, Retired            Posts: 9,897 Karma: 13806776 Join Date: Feb 2009 Location: North Carolina Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen | Quote: 
 | |
|   |   | 
|  03-22-2012, 01:15 AM | #53 | 
| Wizard            Posts: 1,798 Karma: 30548723 Join Date: Dec 2006 Location: Singapore Device: Boyue | 
			
			The easiest way I have found to add covers that modify plugin cannot is by using epub fixer. Its very easy to set a cover with it and also remove margins  without doing a conversion. Just add it to open with plugin with a keyboard shortcut I use  ctrl+e
		 | 
|   |   | 
|  03-22-2012, 09:16 PM | #54 | 
| Connoisseur  Posts: 53 Karma: 10 Join Date: Mar 2009 Location: Hamilton, ON Device: Kobo Touch and Glo, | 
			
			@dwanthny - thats what i have been doing - I was just hoping to use the plugin   @Dopedangel - I'll look for epubfixer and give it a try. Thanx for the suggestion.   | 
|   |   | 
|  04-09-2012, 05:29 AM | #55 | 
| Wizard            Posts: 1,178 Karma: 2431850 Join Date: Sep 2008 Device: IPad Mini 2 Retina | 
				
				How do I run this plug-in?
			 
			
			I have just installed v1.0.2 via Calibre "Get new plug-ins". I also installed Quality Check v1.7.2 at  the same time. Quality Check appears on the main Calibre tool bar, but Modify ePub does not. Is this correct, because I can't see how I am meant to run it? Also, if I go into Preferences - Plug-ins, select Modify ePub, and Customise plug-in, it says: "Modify ePub does not need customisation". If I choose Enable/Disable plug-in, I get "Modify ePub cannot be disabled". Thanks in advance. | 
|   |   | 
|  04-09-2012, 05:34 AM | #56 | 
| Wizard            Posts: 1,178 Karma: 2431850 Join Date: Sep 2008 Device: IPad Mini 2 Retina | 
			
			OK I have fixed this by uninstalling and re-installing Modify ePub. I guess something went wrong when I installed it at the same time as Quality Check. I notice this time it defaulted to both "Add to main toolbar" and "Add to main toolbar when a device is connected". The first time it defaulted to "Add to main toolbar" only, which is what I used. (Wording of options may be slighly wrong).
		 | 
|   |   | 
|  04-09-2012, 05:50 AM | #57 | 
| Wizard            Posts: 1,178 Karma: 2431850 Join Date: Sep 2008 Device: IPad Mini 2 Retina | 
			
			I have some suggestions for new features: "Normalise" em-dash. Changes "--" to "—" and " — " to "—", and "–" (not hyphen) to "—". This converts none standard em-dash characters to the standard em-dash; it also removes extra space from around the em-dash (this is could be optional as it is very much personal preference). Fix cover image pages to have a white background (some come with black/grey which looks wrong). | 
|   |   | 
|  04-09-2012, 07:40 AM | #58 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
			
			@ShellShock - you have to make sure you restart calibre after installing a plugin. I suspect there was a combination in there with your multiple installs where either you missed that step - perhaps installing two new plugins for the first time without rebooting between it creates an issue. Kovid has "dabbled" with that code in a recent calibre release to ensure that by default it tries to put the plugin on the toolbar for both when a device is connected and when it is not. You will want them on both toolbars ordinarily, or else you will be joining the queue of people posting why their icons have disappeared... As to your suggestions. Normalising of dashes from -- to — will happen automatically if you use the "Smarten punctuation" option of the plugin. As to the other dashes that look almost like emdashes etc - I'll be honest and say it isn't a huge priority personally. Perhaps you could try asking Kovid to enhance the Smarten punctuation logic to incorporate some of them if he is interested, then you would get it for free. Not sure what you mean by fixing cover image page backgrounds? Do you have a book example? PM me a link. Not something I have ever noticed, but then I always run with the defaults of calibre stretching the image so a background isn't visible anyways. I would consider it unlikely that I would do stylesheet dabbling in this plugin but if you can send me an example I will take a look. | 
|   |   | 
|  04-29-2012, 07:43 AM | #59 | |
| Addict            Posts: 387 Karma: 3102 Join Date: Dec 2010 Location: EU Device: Kobo Aura ONE, Kobo Libra H20 | 
			
			kiwidude, one question: When using the option "Remove embedded fonts", could it be possible for the plugin to also remove the embedded fonts declarations in the css? Quote: 
 Many thanks. | |
|   |   | 
|  04-29-2012, 08:52 AM | #60 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
			
			@paulfiera - I don't really want to do that, as it means parsing and rewriting the css file, which is not in the "ethos" of this plugin of minimal changes. If I remember this topic came up in the modify epub plugin development thread when I first considered the option of removing fonts. And I seem to recall that someone said leaving such orphaned declarations in the css file does absolutely no harm, and the reader will just fall back to using its default font which is what people wanted. | 
|   |   | 
|  | 
| Tags | 
| modify epub | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] Quality Check | kiwidude | Plugins | 1277 | 10-21-2025 10:04 AM | 
| [GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM | 
| [GUI Plugin] Manage Series | kiwidude | Plugins | 167 | 07-28-2024 03:07 PM | 
| Modify ePub plugin dev thread | kiwidude | Development | 346 | 09-02-2013 05:14 PM | 
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |