epub edited - now it's messed up
Hello everybody
I have a strange, new (new for me) problem with an epub file.
Now, before I start, I just want to say: In the past, I edited many xhtml files and turned them to epub with Calibre, that was no problem. But this problem is different ...
I've got this epub file from a "friend" ... However, I noticed, that there are 2 things that I want to change. In Germany (and Austria), quotation marks look like this: »text«. In Switzerland however (or at least in the part where they speak german) they use them like this:«text»
Since this is very uncommon for me, I wanted to change that. Also I noticed that many times, there have been like 3-4 empty spaces between two words - in a normal sentence. Normally, there should be only 1 empty space.
So I unpacked the epub file and edited all the html files (about 65) with notepad ++. I changed the quotation marks and I replaced all double empty spaces with 1 empty space.
Also I edited the css file to add justification. And I noticed that some p tags in the css included font size. I think font size should be selected by the reader, so I removed that ,too. Then I packed the file again and opened it with the ebook reader of calibre. Everything looked fine.
Then I put it on my ebook reader ...
The first chapter starts normal with the headline. On the right side, you see the ADE page number 6 (that fits, because there are some other pages before the chapter 1 starts.
But then it becomes strange. After the headline, there is the first line - and a new ADE page number. And right below that, there is another ADE page number.
I took another look at the unedited epub file, and that one looked allright ...
So, what do you think, what did I do wrong ? Could it be the toc file ? Or because I removed the double empty spaces ? Or the css stuff ?
Thanks for your help.
|