| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 1 
				Karma: 10 
				Join Date: Aug 2016 
				
				
				
				Device: kindle fire 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Sigil Formating? Text won't wrap.
			 
			
			
			Hello, 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I recently compiled my ebook in Sigil, but before I publish the work I ran it through Amazons Kindle Preview Emulator to see what the final product would look like. The problem I'm facing is that the text doesnt wrap around to the next line correctly. Where the text ends on the right of the Sigil window, in the emulator it single spaces to the next line and ruins the layout. For instance I could have "The boy from Oklahoma bought a plane and decided to drive race cars instead. But then he decided to go to the mall and buy an icecream." Which turns into "The boy from Oklahoma bought a plane and decided to drive race cars instead. Bit then he decided to go to the mall and buy an icecream" Any suggestions? Best Stephan Last edited by StephanMatson; 08-01-2016 at 10:51 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Not really sure what you're asking. I see nothing wrong with the second--apparently undesired--formatting. Text wraps in an epub (unless it's a fixed layout epub, which Sigil is currently incapable of producing), and it wraps in different places on different screen-sizes (and font-sizes, and margin-settings).
		 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Last edited by DiapDealer; 08-02-2016 at 03:01 PM.  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I would try a "cleaning" regex for all files, suppressing all the \n: Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Calibre's Beautify Files doesn't really do anything different than Sigil's "Mend and Prettify" will. Use calibre's if you like, but there's no real compelling reason to go from Sigil to calibre (and possibly back) just to "pretty up" code. Neither does anything that should alter how things are rendered anyway.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			OK Sorry for that. So read: use Sigil "Mend and prettify"...  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | |
| 
			
			
			
			 mostly an observer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519 
				Karma: 996810 
				Join Date: Dec 2012 
				
				
				
				Device: Kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 You oughtn't, however, have a blank space between the two paragraphs. And if you don't want the text to form two separate paragraphs, you shouldn't start a new paragraph after the first full stop. But I too may be having difficulty in understanding just what you are trying to accomplish here.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Bookmaker & Cat Slave 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503 
				Karma: 158448243 
				Join Date: Apr 2010 
				Location: Phoenix, AZ 
				
				
				Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Stephan: As notjohn, and Diap, and everybody else (mostly) said, there's nothing wrong with the result you are getting. Unless you are making a FIXED-LAYOUT eBook--which you are most certainly not making in Sigil--then, you do not have precise control over line- and word-wrapping and hyphenation. If I read the text right--if indeed it's from your book--perhaps you are endeavoring to create a child's book? Perhaps something like an Easy Reader, with images and text on the same "page," for lack of a better term? Can you let us know what you are trying to do? And, if perhaps you have a PDF of the page that you laid out, or some other immutable thing, could you screenshoot that, and show us what you are trying to achieve? I could be wrong--of course!--but my tummy is telling me that perhaps you are trying to make a Fixed-layout book. If that is so, I'm sorry to say, you are on the wrong path, at the moment. Let us know. Hitch  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Sigil / CSS3 / Text formating | rbay | Sigil | 3 | 05-27-2013 03:03 PM | 
| I need help with text wrap... | skammer1974 | Sigil | 3 | 03-06-2013 08:28 PM | 
| TEXT WRAP AROUND IMAGES | RKEP71 | Sigil | 1 | 06-20-2011 09:26 PM | 
| Help - text won't wrap around Images | WRB | Sigil | 2 | 02-11-2011 02:46 AM | 
| LRF and wrap-around text | Seabound | Calibre | 13 | 12-28-2008 04:30 PM |