Quote:
Originally Posted by yJan1986
|
Looking at the file list, it shows two html files. One for the cover image and another that contains the rest of the ebook.
Quote:
Originally Posted by yJan1986
However, after the second time converting the file, EPUB to EPUB, Sigil complaints about "not well formed HTML", and the images in the file seem to have disappeared from the html view in sigil.
|
I've seen that happen due to a habit of Sigil's of placing files in subdirectories. This can lead to links to images not being updated properly so they don't point to the Images subdirectory and stylesheet links not pointing to the Styles subdirectory. Again looking at your posted image, Sigil will move your stylesheets into a Styles subdirectory so the 2 visible stylesheet links that currently reads:
Code:
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
would need to be edited to read:
Code:
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="../Styles/page_styles.css" rel="stylesheet" type="text/css"/>
For images, it's very similar. I don't see an image link in what is visible but I suspect they would look similar to:
Code:
<img alt="" class="glyphw36" src="trdlogo.jpeg"/>
and need to be changed to:
Code:
<img alt="" class="glyphw36" src="../Images/trdlogo.jpeg"/>
I ended up saving searches to clean up both stylesheet and images links.