![]() |
Strange Blanks in words in .epub in Sigil
2 Attachment(s)
Hello,
I am new with creating .epub Documents. I create .epub Documents with calibre 0.6.20 out from .rtf Documents. This works fine but it needs some manual corrections. I tried to do this with sigil but I get strange results. Opening the .epub with the sony library software seems to be okay but with sigil I get a lot of blanks into the words of the file. If I save the document then the blanks are included in the document. I think the problem is the scaling of the font size - I get the same problem with calibre if I use the fontscaling there. Is there a possibility to switch off the scaling of the font size in sigil? What else can I do? Enclosed you can find screenshots showing my problem. Thanks a lot in advance, Regards, Franz Peter. |
It sounds to me like there are some odd invisible characters in your source document.
Posting the pre and post-sigl ePubs would allow a diagnosis, by looking at the code. Or you could look at the code yourself in Sigil. Quote:
|
Quote:
|
Thank you for your response
3 Attachment(s)
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. |
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:
|
|
Yes, it's the same problem - HTML Tidy adding spaces between span elements.
Quote:
|
Quote:
Tidy is a nightmare to debug. |
Thanks to all!!!
Hello again
and thanks to all for the very fast analysis! Quote:
Thanks a lot, Regards, Franz Peter. |
It seems that this issue has already been reported, with a sample file.
http://code.google.com/p/sigil/issues/detail?id=139 Quote:
|
Thank you
I see.
Regards, Franz Peter. |
| All times are GMT -4. The time now is 06:43 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.