| 
			
			 | 
		#16 | ||
| 
			
			
			
			 Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11 
				Karma: 511654 
				Join Date: Feb 2018 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 It depends on how it's the xhtml code, and how you like to change it. Quote: 
	
 Regards.  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#17 | 
| 
			
			
			
			 Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11 
				Karma: 511654 
				Join Date: Feb 2018 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				HTMLgen v0.0.8
			 
			
			
			Here's a small update for HTMLgen. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Changes in v0.0.8: 
 Regards  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#18 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 900 
				Karma: 3501166 
				Join Date: Jan 2017 
				Location: Poland 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Icon proposition.
		 
		
	
		
		
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#19 | 
| 
			
			
			
			 Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16 
				Karma: 1422 
				Join Date: Mar 2016 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I sent in PM the italian translation
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#20 | 
| 
			
			
			
			 Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11 
				Karma: 511654 
				Join Date: Feb 2018 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
			
			@BeckyEbook: Thank you! I've added it. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	It can be seen under windows and linux with python 3.4. Now I wish there was an option to change the default icon of the addon's buttons in Sigil. Maybe in Sigil v1.0? ![]() Grazie mille! ![]() ================= Well, here it is: HTMLgen v0.0.9 Changes in v0.0.9: 
 *Note: It seems that LibreOffice ignores the id inside some tags, like div, aside, ... ( <div id="...">, <aside id="..."> ...) so I added a small replacement to fix some of those cases. Regards.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#21 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				Join Date: Nov 2009 
				
				
				
				Device: many 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Support for plugin supplied quick launch icons is in Sigil master now and will be in the next release.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#22 | 
| 
			
			
			
			 Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11 
				Karma: 511654 
				Join Date: Feb 2018 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Small update to v0.1.0: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	
 Regards  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#23 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi 
		
	
		
		
		
		
		
		
		
		
		
		
	
	About images. When I am using your plugin with an ePub containing several images, they are placed in a folder "files" near the html file. I think it would save time for the user if your plugin could leave some kind of place holder in the html file (ideally with the name of the image), to pinpoint where an image should be placed.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#24 | |
| 
			
			
			
			 Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11 
				Karma: 511654 
				Join Date: Feb 2018 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Not sure if you mean to add something like name="filename" in the img tag (used in LO in its image list navigator), or maybe the alt="...". Or something else. The external files (images, fonts, css...) are always in the same "*_files" folder, that has the same name of the "*.html" file. ...or maybe you want to change the folder name? Regards  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#25 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sorry for expressing myself in a confuse way. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			After using the plugin, all the images that were in the ePub are to be found in the "Files" folder. Say, you have twenty of them and you have them by their name (Boat.png) or number (img2.png). When you wish to insert them back in the new html file, you'll need some benedictine patience to find where is their expected right place. For this, you'll have to look back in the ePub for each image. It's a tedious process. If your nice plugin inserted (or left) in the text of the html a basic place holder with the name of the image ("here img2.png"), this task would be much easier. Last edited by roger64; 04-20-2018 at 10:17 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#26 | ||
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sorry roger, I don't know what you're trying to say/ask either.  
		
	
		
		
		
		
		
		
		
		
		
		
		
			![]() Quote: 
	
 @PeTrDu: I get a syntax error immediately when trying to run v0.1.0 of the plugin on Linux. Code: 
	SyntaxError: name 'didFailCopy' is used prior to global declaration Error: name 'didFailCopy' is used prior to global declaration (plugin.py, line 312) From the Python documentation: Quote: 
	
 Is no else experiencing this? Last edited by DiapDealer; 04-20-2018 at 11:24 PM.  | 
||
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#27 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			My bad. Sorry about that.  
		
	
		
		
		
		
		
		
		
		
		
		
		
			![]() I did it properly again: I saved the ePub as an html file, opened LO with my usual model, inserted the html file, and, indeed the images were here, in their right place. Thinking about it, my mistake which made the images disappear comes probably because I was not careful enough and did not check that the odt file had been saved in a distinct directory. OTOH, I never saw the Diap Dealer error message on Linux... Not everything is bad.  
		Last edited by roger64; 04-21-2018 at 12:58 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#28 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,763 
				Karma: 24088559 
				Join Date: Dec 2010 
				
				
				
				Device: Kindle PW2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 @DiapDealer: Maybe there are some global declaration changes in Python 3.6.x? Last edited by Doitsu; 04-21-2018 at 06:29 AM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#29 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I managed to reproduce the mistake about images.  
		
	
		
		
			Explanation After importing the html file produced by the plugin, images were correctly displayed in the odt file. However they were linked to the external "Files" folder. When I exported to ePub3 using writer2xhtml 1.6 (ODTImport), it broke the external links and the images did not appear in the ePub. The screenshot below shows the external links in LO (Edit > Links to external files). Four images are linked to my odt file. All you need to do before exporting to ePub is to "disconnect" (destroy) all these external links and save. Only then you will be able to export to ePub with these images. I hope this may help somebody in the same situation. Last edited by roger64; 04-21-2018 at 05:43 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#30 | ||
| 
			
			
			
			 Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11 
				Karma: 511654 
				Join Date: Feb 2018 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@roger64: Thank you for the explanation!! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	@DiapDealer: Nice catch! Somehow that error didn't show up in some version of Sigil/Python/OS, so I didn't see it. Thank you! Quote: 
	
     That explains it, thank you!@Doitsu: Thank you for testing it! It was a mistake I did. Change in v0.1.1: 
 Regards.  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [Plugin] ePub3-itizer - epub3 output plugin for Sigil | KevinH | Plugins | 457 | 05-28-2025 07:14 PM | 
| [Conversion Output] KePub Output Plugin | jgoguen | Plugins | 588 | 03-28-2025 03:26 PM | 
| [Plugin] KePub Output | djazz | Plugins | 35 | 12-22-2019 08:42 PM | 
| Plugin debug output | DiapDealer | Development | 4 | 12-04-2016 10:12 AM | 
| Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 03:24 AM |