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 02-20-2016, 08:12 PM   #1
DrewBoyd
Member
DrewBoyd began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Fire
Question Tags introducing extra spaces to text?

Hi,

I have recently started using Sigil to build my ebooks and find it to be a brilliant program! Even without a lot of training I'm able to figure things out and just get on with it -- which is my idea of a first class program!

That said, I am having a problem and I hope this is the correct place to ask for help. I've searched this site and the net at large and can't find the answer. I feel like it's just something silly that I'm doing but I can't figure it out and it's frustrating.

When I used a tag such as: Bill yelled <i>help</i> loudly. I got extra spaces in the book view (and after I uploaded the ebook to Amazon) so that it came out looking like this:
Bill yelled xxhelpxx loudly.

It's like the space occupied by the tag is intruding into the text.

So I tried taking out the proper spaces that should be there and that helped a little but the space is still too big. For example: Bill yelled<i>help</i>loudly. So I ended up with:
Bill yelled xhelpx loudly.

Then I read a lot and thought maybe I should use "span" and css instead, but that didn't work either since the <span> leaves a big gap in the text as well.

I'd appreciate any help pointing me in the right direction. Thanks!

Last edited by DrewBoyd; 02-20-2016 at 08:14 PM. Reason: To make example more clear
DrewBoyd is offline   Reply With Quote
Old 02-20-2016, 09:04 PM   #2
theducks
Well trained by Cats
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: 19,633
Karma: 19029586
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
how are you adding the <i> tag?
I ask because I have not seen space issues (in that direction. Italic usually appears to run into the next word)

is there a CSS entry for i THAT MIGHT ADD PADDING?
theducks is online now   Reply With Quote
 
Advertisement
Old 02-20-2016, 09:11 PM   #3
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,149
Karma: 661610
Join Date: Nov 2009
Device: many
And what vetsion of Sigil are you using? On what platform? Did you add those italic codes in CodeView or BookView?
KevinH

Last edited by KevinH; 02-20-2016 at 09:24 PM.
KevinH is offline   Reply With Quote
Old 02-20-2016, 09:29 PM   #4
DrewBoyd
Member
DrewBoyd began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Fire
So far I've tried just adding <i> and </i> around the word in the code view but that didn't work so I deleted the word, retyped it, selected it in book view, and used Sigil's little button to make it italic but that did the same thing.

Here's a screen grab of what it looks like:


Last edited by DrewBoyd; 02-20-2016 at 09:41 PM.
DrewBoyd is offline   Reply With Quote
Old 02-20-2016, 09:32 PM   #5
DrewBoyd
Member
DrewBoyd began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Fire
Sorry, the version of Sigil is 0.9.3 and it's running on the PC side of the machine so that would be Windows 8.1 (running through Parallels)

Thanks!

ETA: Obviously it's doing the same thing for bold as for italics.

Last edited by DrewBoyd; 02-20-2016 at 09:34 PM.
DrewBoyd is offline   Reply With Quote
Old 02-20-2016, 09:37 PM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 14,473
Karma: 78451980
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If you don't resize that image to comply with Mobileread's size limit fairly soon (no larger than 600x600 pixels) a moderator less tolerant than I will simply delete it.

http://www.mobileread.com/forums/faq...ing_guidelines
DiapDealer is online now   Reply With Quote
Old 02-20-2016, 09:42 PM   #7
DrewBoyd
Member
DrewBoyd began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Fire
Sorry, I missed that one. It's fixed now -- thanks for the heads-up.
DrewBoyd is offline   Reply With Quote
Old 02-20-2016, 09:45 PM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 14,473
Karma: 78451980
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by DrewBoyd View Post
Sorry, I missed that one. It's fixed now -- thanks for the heads-up.
Thanks for taking care of it.

That said: I simply can't recreate your issue on my various Windows systems with v0.9.3 (or in Windows Virtualbox guests on Linux). When adding the i or b tags manually to Code View, or when highlighting in Book View and using the Italic or Bold button ... everything looks/works as I expect it to.

Last edited by DiapDealer; 02-20-2016 at 10:02 PM.
DiapDealer is online now   Reply With Quote
Old 02-20-2016, 10:02 PM   #9
theducks
Well trained by Cats
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: 19,633
Karma: 19029586
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
I see the Line is justified.

This may be a quirk of the viewer.
Try a (ADE) device

What happens if there is Left justification
theducks is online now   Reply With Quote
Old 02-20-2016, 10:36 PM   #10
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,149
Karma: 661610
Join Date: Nov 2009
Device: many
I am confused. Are you seeing this in Sigil's BookView or in Sigil's Preview? Or are you only seeing this in some other e-reading device? If the latter it could be very poor justification as theducks said. Or it could be a bad font whose metrics are bad? Have you tried changing the font used to see if that impacts the issue?

Also you mentioned parallels? Are you running on a Mac or Linux with a Windows VM? And if so, why may I ask since native Mac and Linux versions of Sigil are available.
KevinH

Last edited by KevinH; 02-20-2016 at 10:39 PM.
KevinH is offline   Reply With Quote
Old 02-21-2016, 05:51 AM   #11
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,195
Karma: 105839419
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Can you post your stylesheet?
Toxaris is offline   Reply With Quote
Old 02-22-2016, 12:12 AM   #12
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 4,632
Karma: 45045887
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by KevinH View Post
I am confused. Are you seeing this in Sigil's BookView or in Sigil's Preview? Or are you only seeing this in some other e-reading device? If the latter it could be very poor justification as theducks said. Or it could be a bad font whose metrics are bad? Have you tried changing the font used to see if that impacts the issue?
I've never seen this. Not in any version of Sigil (on PC or Mac). Doesn't mean it's never happened, obviously, but...all in, we've done a LOT of books...?

Hitch
Hitch is offline   Reply With Quote
Old 02-22-2016, 01:36 AM   #13
DrewBoyd
Member
DrewBoyd began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Fire
I tried it in Times New Roman, Arial, and Georgia but it happened with all three fonts. Then I tried it with alignment set to left instead of justify and removed the spaces between the text and the tags and that was actually a little better -- good enough that I can live with it until I can find a proper solution anyway.

I'm uploading it to Amazon right now to see what it looks like on their previewer.

Quote:
Originally Posted by Toxaris View Post
Can you post your stylesheet?
I'd be happy to, but I'm embarrassed to say I'm not sure how.

Do you mean a screen shot or the actual file?


Quote:
Also you mentioned parallels? Are you running on a Mac or Linux with a Windows VM? And if so, why may I ask since native Mac and Linux versions of Sigil are available.
Actually, I need to download and install the Mac version. I had used the PC version a couple of times before so when I was setting up this new computer I didn't really explore my options. I think I'll download the Mac version and switch to it.


Thanks so much for all your ideas! I appreciate it.
DrewBoyd is offline   Reply With Quote
Old 02-22-2016, 01:43 AM   #14
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 7,478
Karma: 6867415
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by Hitch View Post
I've never seen this. Not in any version of Sigil (on PC or Mac). Doesn't mean it's never happened, obviously, but...all in, we've done a LOT of books...?
But have you ever run Sigil for Windows on an OSX Mac under Parallels?

I can't postulate why that should matter, but it should be easy enough to factor that specific obscurity out of the equation.

Would also be interesting to see the Preferences->Appearance->Book View/Preview settings. It looks like Times New Roman... but is it? Also might be worthwhile trying another font.

BR

Last edited by BetterRed; 02-22-2016 at 01:45 AM.
BetterRed is offline   Reply With Quote
Old 02-22-2016, 01:58 AM   #15
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 4,632
Karma: 45045887
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by BetterRed View Post
But have you ever run Sigil for Windows on an OSX Mac under Parallels?
I would have said, had we done so. It's just...bizarre, don't you think?

Quote:
I can't postulate why that should matter, but it should be easy enough to factor that specific obscurity out of the equation.
I'm sure that Kevin or Diap will track it down. It could, indeed, be something unique to that environment. I certainly can't think of any reason for it to exist, given that had you hit the space bar 5x in a row, you wouldn't get a render like that. My only thought is that somehow, it's interpreting the italics, bold, etc., as nbsps, yes?

In fact...@Drew, are you saying that empty spans leave these gaps as well? Can you answer the previous question--WHAT is the screen gab OF? What reader are you viewing that in? ADE? Nook, or is that the Sigil bookview, or the Sigil Preview?

Quote:
Would also be interesting to see the Preferences->Appearance->Book View/Preview settings. It looks like Times New Roman... but is it? Also might be worthwhile trying another font.

BR
He said he'd tried at least 3 fonts, but again, I don't know where he took that screengrab. Sigil Previewer, ADE, Sigil book view, or..?

Hitch
Hitch 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
Extra spaces between words Drybonz Conversion 4 12-14-2015 09:15 PM
Extra spaces in AZW3 format on Kindle ozshots Calibre 5 09-17-2013 06:04 AM
Extra spaces in Sigil noteon Sigil 2 04-08-2011 03:42 PM
removing extra spaces - kills images wmeyer Sigil 4 01-14-2011 02:37 PM
I'm having a problem with extra paragraph spaces akosimike Calibre 10 05-27-2010 07:53 PM


All times are GMT -4. The time now is 01:58 PM.


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