View Single Post
Old 11-12-2009, 10:25 AM   #5
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,630
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Well, that's interestingly weird.
In the RTF the line

Nur ein Traum.

is not one bit of text, but two - the N separate from the rest of the line, even though the formatting its identical.
Calibre translates this into two spans of the same class

<p class="calibre2"><span class="none2">N</span><span class="none2">ur ein Traum.</span></p>

And I suspect HTML Tidy in Sigil is then adding a space between the two spans, giving

<p class="calibre2"><span class="none2">N</span> <span class="none2">ur ein Traum.</span></p>

Unfortunately, adding a space between spans is significant - it actiually adds a space into the text.
So it does seem to be a Sigil bug.

Would you like to log the bug on the tracking system, or shall I make up a small test document and log it?

Quote:
Originally Posted by FraPe View Post
Hello,

thank you for your answers - enclosed you can find three files:

.) The original .rtf file
.) The .epub file created with calibre
.) The .epub file created with Sigil
(saving the .epub calibre created file without any changes)

The same problem is with all files I tried. I wrote the text (part
of a science fiction ebook) by myself with Word 2003. So I don't
understand why (and how!) invisible characters could be included here.

Thanks,
Regards, Franz Peter.
pdurrant is online now   Reply With Quote