![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 46572
Join Date: Nov 2009
Device: Sony PRS-500, PRS-300, PRS-950 and Archos 9
|
Strange Blanks in words in .epub in Sigil
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. |
![]() |
![]() |
![]() |
#2 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,629
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
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:
|
|
![]() |
![]() |
![]() |
#3 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 46572
Join Date: Nov 2009
Device: Sony PRS-500, PRS-300, PRS-950 and Archos 9
|
Thank you for your response
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. Last edited by FraPe; 11-12-2009 at 09:39 AM. |
![]() |
![]() |
![]() |
#5 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,629
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:
|
|
![]() |
![]() |
![]() |
#8 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Tidy is a nightmare to debug. |
|
![]() |
![]() |
![]() |
#9 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 46572
Join Date: Nov 2009
Device: Sony PRS-500, PRS-300, PRS-950 and Archos 9
|
Thanks to all!!!
Hello again
and thanks to all for the very fast analysis! Quote:
Thanks a lot, Regards, Franz Peter. Last edited by FraPe; 11-16-2009 at 07:51 AM. |
|
![]() |
![]() |
![]() |
#10 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,629
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
It seems that this issue has already been reported, with a sample file.
http://code.google.com/p/sigil/issues/detail?id=139 |
![]() |
![]() |
![]() |
#11 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 46572
Join Date: Nov 2009
Device: Sony PRS-500, PRS-300, PRS-950 and Archos 9
|
Thank you
I see.
Regards, Franz Peter. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil ePub to MOBI | crutledge | Calibre | 1 | 10-08-2010 12:04 PM |
Help : converting from EPUB to FB2 : spacing between words is frequently missing | q345 | Calibre | 1 | 09-18-2010 11:41 AM |
Strange Spacing in ePub in ADE | ngbabu | ePub | 2 | 06-12-2010 07:47 PM |
Strange ePub behavior on Libre | PodPeople | Ectaco jetBook | 3 | 02-17-2010 11:11 PM |
epub > RTF smashes words together | Phil_C | Calibre | 0 | 01-06-2010 08:11 PM |