Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2009, 02:45 PM   #1
erik5000
Member
erik5000 began at the beginning.
 
Posts: 15
Karma: 12
Join Date: Nov 2009
Device: sony prs600
chapters (HTML-files) not showing up

yesterday I managed to get an EPUB book working on Adobe Digital Editions AND on my Sony PRS 600.
I continued fiddling and 'improving' the epub and then I broke it. No backup of the working edition of course.

What happens is this:
The book consists of some 15 HTML files and a CSS. I give each of the HTMLs a letter to name them each:

ABCDeFghijklmn ..etc

The uppercase chapters (HTML-files) show up in ADE nicely. When, however I cliick the lowercase chapters, ADE crashes (Taskmanager, abort process etc).
It also happens when I scroll , eg. from D into e or from F into g.

Content.opf and toc.ncx seem to be correct. All images and fonts are there and the TOC (not nested) shows up in ADE (v 1.7.1.1085) correctly.
epubcheck shows no errors and warnings, CSE HTML validator (XHTML 1.1) says all is well and HTMLtidy too.
Book works OK in Firefox epub plu-in.

Any suggestions as to what can be wrong ?
erik5000 is offline   Reply With Quote
Old 12-21-2009, 05:22 PM   #2
erik5000
Member
erik5000 began at the beginning.
 
Posts: 15
Karma: 12
Join Date: Nov 2009
Device: sony prs600
pffff finally, I found the error. Took me 2 days.
Not reported by any of the validation tools I mentioned, nor by epubcheck. Which shows that we badly need good validation tools. ONE validation tool woold be nice.
Here is what was wrong in the CSS linked into all of the HTMLs. The chapters that worked did NOT have an <h2>.
See the error ?

@font-face {
font-weight: bold;
font-style: normal;
font-family: "HelveticaBold" ;
src: url(fonts/HelveticaNeueLTStd-Bd.otf) ;
}
h2
{
font-size:16pt;
margin-bottom:10pt;
font-weight: Bold;
font-family: "HelveticaBold" ;
text-align: right;
}
erik5000 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging multiple HTML files into one HTML file skoobwoman Workshop 45 07-11-2014 11:46 AM
Order of Chapters in HTML->ePub alias_neo Calibre 9 05-16-2011 12:55 PM
Make chapters for a document/HTML iodine9176 ePub 12 02-23-2010 03:24 PM
Chapters showing unwanted pagebreaks and < h1 > text raltman Calibre 2 10-05-2009 05:50 PM
Multi-html files as chapters... WigglePig Sony Reader 5 09-16-2008 05:06 AM


All times are GMT -4. The time now is 05:49 AM.


MobileRead.com is a privately owned, operated and funded community.