Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-01-2016, 09:33 AM   #1
StephanMatson
Junior Member
StephanMatson began at the beginning.
 
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 09:51 AM.
StephanMatson is offline   Reply With Quote
Old 08-01-2016, 09:51 AM   #2
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: 28,491
Karma: 204127028
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 02:01 PM.
DiapDealer is offline   Reply With Quote
Advert
Old 08-01-2016, 12:55 PM   #3
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
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:
S: \n
R:
And after, use the Calibre Editor menu "Beautify all files" to put back everything where it should. I am not sure about the exact title of this menu, in French it's "Embellir tous les fichiers"
roger64 is offline   Reply With Quote
Old 08-01-2016, 01:09 PM   #4
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: 28,491
Karma: 204127028
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.
DiapDealer is offline   Reply With Quote
Old 08-01-2016, 01:44 PM   #5
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
OK Sorry for that. So read: use Sigil "Mend and prettify"...
roger64 is offline   Reply With Quote
Advert
Old 08-02-2016, 12:33 PM   #6
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by StephanMatson View Post
Hello,

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"
Every line in an e-book will wrap if it's too long to fit the available screen width. On my iPhone 4, for example, your first paragraph might be three lines and the second paragraph two lines.

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.
Notjohn is offline   Reply With Quote
Old 08-04-2016, 11:43 PM   #7
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: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by StephanMatson View Post
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

<SNIP>



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

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
Hitch is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil / CSS3 / Text formating rbay Sigil 3 05-27-2013 02:03 PM
I need help with text wrap... skammer1974 Sigil 3 03-06-2013 07:28 PM
TEXT WRAP AROUND IMAGES RKEP71 Sigil 1 06-20-2011 08:26 PM
Help - text won't wrap around Images WRB Sigil 2 02-11-2011 01:46 AM
LRF and wrap-around text Seabound Calibre 13 12-28-2008 03:30 PM


All times are GMT -4. The time now is 04:47 PM.


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