|  01-21-2017, 12:14 AM | #1 | 
| Enthusiast  Posts: 26 Karma: 10 Join Date: Dec 2012 Device: nook | 
				
				italic at end of line causes next line to start with a space
			 
			
			I have been having this problem for a very long time and have not been able to resolve it.  When an italicized word is at the end of a line and there is a space after it sometimes the next line will start with a space. This happens when the text is justified. This happens regardless of whether you use <span class"... or <i>. Sometime the justification sees the space correctly and sometime it treats it like a separate word. I am using a 2nd gen nook Simple Touch. If I convert the justification to the left it is ok. I use Sigil to make changes/corrections to my ebooks. I use the convert feature of Calibre to justify the lines. This makes it easier for me to read. I read by shape as well as spelling and when the format/spacing is different it breaks my reading flow. This is not a major thing, but has been bugging me for years and I have not found a way to fix this. Any ideas would be greatly appreciated. | 
|   |   | 
|  01-21-2017, 06:40 AM | #2 | |
| mostly an observer            Posts: 1,519 Karma: 996810 Join Date: Dec 2012 Device: Kindle | Quote: 
 p { margin-top:0.0em; margin-bottom:0.0em; text-indent:1.5em; text-align:justify; } I have never seen the spacing problem you mention, but then I don't ordinarily read on a Nook. | |
|   |   | 
|  01-21-2017, 09:29 AM | #3 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | 
			
			Sounds like a Nook rendering issue to me. I've never noticed the the extra spacing mentioned in any of my Sigil-created epubs. Renderer-specific justification overrides are not likely going to be something Sigil has the ability to affect. | 
|   |   | 
|  01-21-2017, 03:27 PM | #4 | 
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | 
			
			Never saw that on my Astak.  (old    RMSDK) | 
|   |   | 
|  01-23-2017, 01:34 PM | #5 | |
| Enthusiast  Posts: 26 Karma: 10 Join Date: Dec 2012 Device: nook | Quote: 
 PS - I also have used Sigil to fix those things, but usually when I am fixing typos or remove extra coding that the nook can't read correctly such as some special characters etc. My general feeling is that this may be a problem with the nook, but I can't afford a new reader at this time and it has been very reliable. So I'll live with it. Besides, if I hadn't tried fixing different things for the nook, I would not have learned how to use Sigil (or other editing programs etc) Thanks for all the comments.. | |
|   |   | 
|  01-23-2017, 01:39 PM | #6 | |
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | Quote: 
 body { widows: 1; orphans: 1; margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; text-align: justify; } p { margin-top: 0; margin-bottom: 0; text-indent: 1.2em } Now that's better code. As for the nook, B&N has done some odd things with RMDSK that causes some oddities. | |
|   |   | 
|  01-23-2017, 07:04 PM | #7 | 
| A Hairy Wizard            Posts: 3,395 Karma: 20212733 Join Date: Dec 2012 Location: Charleston, SC today Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire | 
			
			That's not good code at all. You do not need to break out all the margins. Just use: body { widows: 1; orphans: 1; margin: 0; } p { margin: 0; text-align: left; text-indent: 1.2em } Now that's better code.   | 
|   |   | 
|  01-23-2017, 07:26 PM | #8 | |
| Wizard            Posts: 1,876 Karma: 8821117 Join Date: Mar 2013 Location: Rosario - Santa Fe - Argentina Device: Kindle 4 NT | Quote: 
 Code: margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; Code: margin: 0; Regards Rubén | |
|   |   | 
|  01-23-2017, 07:30 PM | #9 | 
| A Hairy Wizard            Posts: 3,395 Karma: 20212733 Join Date: Dec 2012 Location: Charleston, SC today Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire | 
			
			lolz I was giving Jon grief because he's very predictable on certain things... thus the   | 
|   |   | 
|  01-24-2017, 02:22 AM | #10 | |
| Interested in the matter            Posts: 421 Karma: 426094 Join Date: Dec 2011 Location: Spain, south coast Device: Pocketbook InkPad 3 | Quote: 
 Why do not you take a look at the Calibre editor's manual? (https://manual.calibre-ebook.com/edit.html) and so you can speak with real knowledge of the subject.   | |
|   |   | 
|  01-24-2017, 10:25 AM | #11 | |
| Wizard            Posts: 1,613 Karma: 6718541 Join Date: Dec 2004 Location: Paradise (Key West, FL) Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ... | Quote: 
 At its core, calibre is a library manager and format converter. It has grown over the years adding satellite apps for ebook reading and for true ebook editing. The latter being roughly the equivalent of Sigil. Sigil remains a rather "single minded" but powerful tool; its purpose being solely ebook creation & editing. | |
|   |   | 
|  01-24-2017, 04:47 PM | #12 | 
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			This thread does not belong in the Sigil forum as it has nothing to do with Sigil.
		 | 
|   |   | 
|  01-24-2017, 05:22 PM | #13 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | |
|   |   | 
|  01-24-2017, 06:32 PM | #14 | 
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
			
			Kovid's decision to develop the calibre editor was motivated, in part at least, by the fact that Sigil didn't have anyone maintaining it - i.e. it had been 'abandoned'.    I also recall he produced the first version remarkably quickly. Presumably because: he could leverage what calibre already had; he enjoyed doing it, or so he said at the time  ; there were no legacy issues (i.e. a current user base); he could avoid Sigil's legacy issues - e.g. WYSIWYG Book Editor; and he could add some features - AZW3 support, multilingual spell checking, user functions in S&R, Live CSS tool etc, checkpoint/recovery. IIRC the initial release of the calibre editor, and Kevin H announcing he would take Sigil under his wing happened within a few weeks of one another. I've often wondered: if Sigil had been rescued sooner, would Kovid have developed the calibre editor when he did. Nothing above should be read as me being critical of user-none, Kevin H or anyone else. BR Last edited by BetterRed; 01-24-2017 at 06:40 PM. | 
|   |   | 
|  01-24-2017, 06:59 PM | #15 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | |
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Glo Line space bug with some fonts | sage79 | Kobo Developer's Corner | 5 | 07-09-2015 03:01 PM | 
| Regex Problem / Line that does't end with .</p> | mcam77 | Sigil | 6 | 03-25-2013 06:38 PM | 
| (Kindle) any format.Add space @ end line | MrTynKyn | Conversion | 0 | 02-17-2013 04:19 PM | 
| How to increase the line space in CSS | Sylver | Calibre | 3 | 08-08-2010 01:02 AM | 
| Denial of Service 5: End of Line. | Steven Lyle Jordan | Writers' Corner | 19 | 11-10-2009 10:58 PM |