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