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 09-07-2010, 03:11 AM   #1
Nathanael
Groupie
Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.
 
Posts: 185
Karma: 1110435
Join Date: Jul 2010
Location: Shanghai, China
Device: Sibrary G5
Unwanted $nbsp;

I hope this hasn't been addressed before (a quick search didn't turn up anything).

One of the most common formatting errors in etexts is inappropriate line breaks. When correcting these in Sigil in Book View, I generally add a space at the end of the line, then hit delete. However, Sigil inserts an $nbsp; instead of a normal space, which is not, of course, what I want.

I'm new to Sigil, so I'm sure there's an easy fix, I just don't know what it is.

--Nathanael

EDIT: Forgot to say. I'm using Sigil 0.2.3 on Ubuntu 10.10b x64.

Last edited by Nathanael; 09-07-2010 at 05:28 AM.
Nathanael is offline   Reply With Quote
Old 09-07-2010, 04:27 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,144
Karma: 4792399
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Have you tried first deleting the newline and then adding the space? It could be (wild guess) that when you add a space at the end of a line Sigil uses a non-breaking space to avoid having it discarded.
Jellby is offline   Reply With Quote
 
Enthusiast
Old 09-07-2010, 04:54 AM   #3
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 26,935
Karma: 16968764
Join Date: Mar 2008
Location: Scotland
Device: Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
You might have to use Sigil to create the original, and then manually adjust the code to suit; perhaps?
GeoffC is offline   Reply With Quote
Old 09-07-2010, 05:22 AM   #4
Nathanael
Groupie
Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.
 
Posts: 185
Karma: 1110435
Join Date: Jul 2010
Location: Shanghai, China
Device: Sibrary G5
Quote:
Originally Posted by Jellby View Post
Have you tried first deleting the newline and then adding the space? It could be (wild guess) that when you add a space at the end of a line Sigil uses a non-breaking space to avoid having it discarded.
Hey, good guess, that. At least I thought it was. I was surprised when it didn't work. Deleting the break first then hitting space still gives me an nbsp.

--Nathanael
Nathanael is offline   Reply With Quote
Old 09-07-2010, 05:26 AM   #5
Nathanael
Groupie
Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.
 
Posts: 185
Karma: 1110435
Join Date: Jul 2010
Location: Shanghai, China
Device: Sibrary G5
Quote:
Originally Posted by GeoffC View Post
You might have to use Sigil to create the original, and then manually adjust the code to suit; perhaps?
Except that I'm using it to fix errors in downloaded epubs. Recreating a book from scratch just to fix a stray line break might be a bit overkill. Perhaps.

--Nathanael
Nathanael is offline   Reply With Quote
Old 09-07-2010, 06:16 AM   #6
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 26,935
Karma: 16968764
Join Date: Mar 2008
Location: Scotland
Device: Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Quote:
Originally Posted by Nathanael View Post
Except that I'm using it to fix errors in downloaded epubs. Recreating a book from scratch just to fix a stray line break might be a bit overkill. Perhaps.

--Nathanael
errors in downloaded epubs ... shock horror ! (now when was the last time I saw an error in a mobi ? )
GeoffC is offline   Reply With Quote
Old 09-07-2010, 07:16 AM   #7
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,027
Karma: 1424487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
I noted this behavior before and it can screw up formatting and nearly all editors do it.
mrmikel is offline   Reply With Quote
Old 09-07-2010, 02:16 PM   #8
nyrath
Addict
nyrath reads XML... blindfoldednyrath reads XML... blindfoldednyrath reads XML... blindfoldednyrath reads XML... blindfoldednyrath reads XML... blindfoldednyrath reads XML... blindfoldednyrath reads XML... blindfoldednyrath reads XML... blindfoldednyrath reads XML... blindfoldednyrath reads XML... blindfoldednyrath reads XML... blindfolded
 
nyrath's Avatar
 
Posts: 281
Karma: 52007
Join Date: Jun 2010
Device: nook
I think the author of Sigil mentioned that this is due to the Qt software package he used to handle the internal structure. It is a bug in Qt, so he is powerless to fix it.
nyrath is offline   Reply With Quote
Old 09-07-2010, 02:35 PM   #9
Nathanael
Groupie
Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.
 
Posts: 185
Karma: 1110435
Join Date: Jul 2010
Location: Shanghai, China
Device: Sibrary G5
Quote:
Originally Posted by nyrath View Post
I think the author of Sigil mentioned that this is due to the Qt software package he used to handle the internal structure. It is a bug in Qt, so he is powerless to fix it.
Hmm. Not a big deal. I'll just have to edit in codeview mode I guess. Thanks.

--Nathanael
Nathanael is offline   Reply With Quote
Old 09-07-2010, 02:42 PM   #10
Nathanael
Groupie
Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.Nathanael ought to be getting tired of karma fortunes by now.
 
Posts: 185
Karma: 1110435
Join Date: Jul 2010
Location: Shanghai, China
Device: Sibrary G5
Quote:
Originally Posted by GeoffC View Post
errors in downloaded epubs ... shock horror ! (now when was the last time I saw an error in a mobi ? )
Yeah, tell me about it. Being the overly fastidious (read: anal retentive) type, however, I just can't bear to read past an error without stopping to fix it. Which means I'm generally reading an epub on my reader, with my laptop open with a second copy of the epub loaded into Sigil. Really slows down the reading and all but negates the whole point of an ereader. But like I said, I just can't stand to let a formatting error go unaddressed.

--Nathanael.
Nathanael is offline   Reply With Quote
Old 09-07-2010, 03:52 PM   #11
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,622
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Nathanael View Post
Yeah, tell me about it. Being the overly fastidious (read: anal retentive) type, however, I just can't bear to read past an error without stopping to fix it. Which means I'm generally reading an epub on my reader, with my laptop open with a second copy of the epub loaded into Sigil. Really slows down the reading and all but negates the whole point of an ereader. But like I said, I just can't stand to let a formatting error go unaddressed.

--Nathanael.
Even if there are not really "errors".

"I can do better than that"
"I want it to look more like my Pbook version"
"Where is the <image>?" Rummage, rummage, Scan.. Ah!
theducks is online now   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
Unwanted Pagebreaks Timoleon Calibre 3 09-19-2010 07:53 PM
txt to Epub - nbsp nbsp cybmole Calibre 1 09-17-2010 09:05 AM
Specify indent in css, not with &nbsp James_Wilde Calibre 7 09-13-2010 09:48 PM
Mobiperl &nbsp; lost when converting to mobi Jellby Kindle Formats 19 08-26-2008 03:10 PM
Sell Unwanted Iliad Amanda Flea Market 1 08-26-2008 05:23 AM


All times are GMT -4. The time now is 08:31 PM.


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