The file Poetry.ePub here (http://www.mobileread.com/forums/showpost.php?p=626364&postcount=458), generated with Sigil, looks good on the Sigil editor screen. The html code has been checked using Sigil and Evrsoft.

I can only check the result in ADE, and it is appalling - can anyone see where there is a 'problem' with the code ?

The ADE import seems to be ignoring the <br /> tags - which it also does on the front page of Further Ramblings .... but these tags are inserted by Sigil - not me....

I've created and re-created this file umpteen times with no improvement and I am getting very annoyed with this ....

GeoffC

10-16-2009, 11:03 AM

mmmm perhaps I should use <p> tags or go back to manually inserting <pre> tags ?

JSWolf

10-16-2009, 11:12 AM

In ePub, don't use <pre></pre> tags. They don't wrap and it's possible for things to be shoved off to the right past the endge of the screen or past the edge of ADE. Use <div></div> instead of <pre></pre>.

GeoffC

10-16-2009, 11:53 AM

In ePub, don't use <pre></pre> tages. They don't wrap and it's possible for things to be shoved off to the right past the endge of the screen or past the edge of ADE. Use <div></div> instead of <pre></pre>.

Thanks Jon,

in that case I'm even more unsure as to why the file doesn't look right in ADE (unless it is ADE that is causing the problems).

JSWolf

10-16-2009, 01:29 PM

When I get a chance, I'll have a look and see if I can see what might be wrong.

pdurrant

10-16-2009, 06:50 PM

It seems that ADE doesn't like a div that contains only a <br /> - it ignores it and doesn't allocate any space for it.

You could use & n b s p ; instead of the <br .>, but I'd recommend re-coding with more semantic mark-up, rather than explicitly putting a blank line between verses. Perhaps like this:

The file Poetry.ePub here (http://www.mobileread.com/forums/showpost.php?p=626364&postcount=458), generated with Sigil, looks good on the Sigil editor screen. The html code has been checked using Sigil and Evrsoft.

Renaming a .epub file extension to .zip - can someone explain how to do that on WIN7 !! (without resorting to magic and the command prompt ... :chinscratch:)....

Valloric

10-26-2009, 09:52 PM

Change of topic (slightly)....

Renaming a .epub file extension to .zip - can someone explain how to do that on WIN7 !! (without resorting to magic and the command prompt ... :chinscratch:)....

Open an Explorer window. Now, go to Organize->Folder and search options->View tab and then untick "Hide extensions for known file types". Now you will be able to see the extensions of files, and then be able to just rename for instance "Example.epub" to "Example.zip".

GeoffC

10-27-2009, 08:34 AM

Open an Explorer window. Now, go to Organize->Folder and search options->View tab and then untick "Hide extensions for known file types". Now you will be able to see the extensions of files, and then be able to just rename for instance "Example.epub" to "Example.zip".