View Single Post
Old 08-19-2010, 09:38 AM   #13
NASCARaddicted
Addict
NASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and grace
 
Posts: 340
Karma: 43106
Join Date: Apr 2009
Location: Germany
Device: BeBook One, Pocketbook Touch, Pocketbook Touch HD
Quote:
Originally Posted by charleski View Post
But if there are strange errors in the source then that might be the root of your problems. Calibre isn't very strict about checking the syntax, which is why I always use Sigil instead.
Yeah. I noticed that in the past. Small errors can cause big problems.

When I started with epub, I knew nothing about html. xhtml ? css ? valid files ? I never heard stuff like that.

I used mobipocket to convert pdf files to html, then I used Calibre to convert them to epub. I put them on my ebook reader - and to my surprise, some lines where longer then the screen itself. So half a word, or maybe even 1 or 2 words were missing. In the beginning, I didn't knew what was wrong, so I took a closer look at the html file and I noticed that <p> tags and <br> tags where totally mixed up. I replaced all the p tags with br and in the end, the problem with the "too-long" lines was gone, but of course, the book didn't look good. I mean, no text intent, and the text was not justified. When I found out what you can do with p tags, it got better - and then I learned how important validity is when it comes to xhtml files

@ebooknewbie: thanks for your hint about how to create epubs with just 1 html file. I know, in generell, split html files are no problem, but when you have to edit them ... you helped me a lot :-)
NASCARaddicted is offline   Reply With Quote