View Single Post
Old 02-26-2011, 12:23 PM   #4
graycyn
Wizard
graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.
 
Posts: 1,591
Karma: 11722446
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
Well, I had looked in the code view and the trouble is that I don't see anything untoward. And I've looked again and I still don't, but I'm a newbie to doing epub, so maybe there is something. I'll post examples.

Here, for instance, is what I have on the dedication page and other pages are pretty well the same, i.e. they end with a paragraph and the body and html tags. Which is exactly the way the chapters all end as well, only the problem doesn't happen there.

The single difference that I'm noting is that a class is assigned for the last paragraphs on the problem pages, where chapter pages are ending with strictly <p></p> tags, no class assigned.

Quote:
<body>
<h3 title="Dedication" class="toc" id="heading_id_2">&nbsp;</h3>

<p class="dedication">For Dilla Macbean</p>
</body>
</html>
This is how the preface page ends:

Quote:
<p class="attribute"><em>—Library Journal</em></p>
</body>
</html>
How the titlepage ends:

Quote:
<div>
<p class="cities">NEW YORK • TORONTO • LONDON • SYDNEY • AUCKLAND</p>
</div>
</body>
</html>
Now here is how a chapter ends and this is the case for all the chapters, none of which have extra blank pages after.

Quote:
<p>Danny doubted it.</p>
</body>
</html>

Which gave me the idea to try ending the problem pages with a blank paragraph, as in:

Quote:
<p>&nbsp;</p> or <p></p> or <p><br /></p>
In case that would fix it. But I can report that adding a paragraph in any of the above manners with no class assigned makes no difference whatsoever, so I removed those. I remain mystified as to why things are behaving this way. All I can think is that it is the single pages that are causing the problem, yet I know I've seen other books that have dedication, preface, or other single pages without this sort of thing happening.

Last edited by graycyn; 02-26-2011 at 12:28 PM.
graycyn is offline   Reply With Quote