Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-12-2009, 05:39 AM   #1
FraPe
Enthusiast
FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.
 
Posts: 39
Karma: 404
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.
Attached Thumbnails
Click image for larger version

Name:	Before_Sigil.jpg
Views:	113
Size:	30.9 KB
ID:	38932   Click image for larger version

Name:	With_and_after_Sigil.jpg
Views:	112
Size:	31.9 KB
ID:	38933  
FraPe is offline   Reply With Quote
Old 11-12-2009, 07:04 AM   #2
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: 29,213
Karma: 83706578
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
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:
Originally Posted by FraPe View Post
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.
pdurrant is offline   Reply With Quote
 
Enthusiast
Old 11-12-2009, 08:16 AM   #3
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,975
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by FraPe View Post
Enclosed you can find screenshots showing my problem.
Screenshots are nice for illustrating the problem, but they don't help with debugging it. You need to attach the epub files that are causing this so I can take a look at them.
Valloric is offline   Reply With Quote
Old 11-12-2009, 09:27 AM   #4
FraPe
Enthusiast
FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.
 
Posts: 39
Karma: 404
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.
Attached Files
File Type: epub Testfile_calibre.epub (121.9 KB, 79 views)
File Type: epub Testfile_Sigil.epub (121.9 KB, 77 views)
File Type: rtf Testfile - Fran Peterz.rtf (123.8 KB, 239 views)

Last edited by FraPe; 11-12-2009 at 09:39 AM.
FraPe is offline   Reply With Quote
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: 29,213
Karma: 83706578
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
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 offline   Reply With Quote
Old 11-12-2009, 12:44 PM   #6
Josch91
Reader
Josch91 could sell banana peel slippers to a Deveel.Josch91 could sell banana peel slippers to a Deveel.Josch91 could sell banana peel slippers to a Deveel.Josch91 could sell banana peel slippers to a Deveel.Josch91 could sell banana peel slippers to a Deveel.Josch91 could sell banana peel slippers to a Deveel.Josch91 could sell banana peel slippers to a Deveel.Josch91 could sell banana peel slippers to a Deveel.Josch91 could sell banana peel slippers to a Deveel.Josch91 could sell banana peel slippers to a Deveel.Josch91 could sell banana peel slippers to a Deveel.
 
Josch91's Avatar
 
Posts: 818
Karma: 3318
Join Date: Apr 2009
Location: Germany
Device: Kindle 4, iPad
Hi Valloric,

is it possible, that this is the same problem I mentioned here?
Josch91 is offline   Reply With Quote
Old 11-12-2009, 01:32 PM   #7
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: 29,213
Karma: 83706578
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Yes, it's the same problem - HTML Tidy adding spaces between span elements.

Quote:
Originally Posted by Josch91 View Post
is it possible, that this is the same problem I mentioned here?
pdurrant is offline   Reply With Quote
Old 11-12-2009, 02:50 PM   #8
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,975
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by Josch91 View Post
Hi Valloric,

is it possible, that this is the same problem I mentioned here?
Yes, it seems I spoke to soon when I said that was a specialized problem. But Tidy bugs... man I'm telling you those will be the death of me.

Tidy is a nightmare to debug.
Valloric is offline   Reply With Quote
Old 11-16-2009, 07:45 AM   #9
FraPe
Enthusiast
FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.
 
Posts: 39
Karma: 404
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:
Would you like to log the bug on the tracking system, or shall I make up a small test document and log it?
@pdurrant: If you can do this for me this would be really great!!!!


Thanks a lot,
Regards,
Franz Peter.

Last edited by FraPe; 11-16-2009 at 07:51 AM.
FraPe is offline   Reply With Quote
Old 11-16-2009, 09:57 AM   #10
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: 29,213
Karma: 83706578
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
It seems that this issue has already been reported, with a sample file.

http://code.google.com/p/sigil/issues/detail?id=139

Quote:
Originally Posted by FraPe View Post


@pdurrant: If you can do this for me this would be really great!!!!

pdurrant is offline   Reply With Quote
Old 11-16-2009, 01:21 PM   #11
FraPe
Enthusiast
FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.FraPe has a complete set of Star Wars action figures.
 
Posts: 39
Karma: 404
Join Date: Nov 2009
Device: Sony PRS-500, PRS-300, PRS-950 and Archos 9
Thank you

I see.

Regards, Franz Peter.
FraPe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 01:02 AM.


MobileRead.com is a privately owned, operated and funded community.