Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-25-2010, 03:18 PM   #1
readyread
Member
readyread began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2009
Device: PRS 505
Newlines

I converted an html-page that contains some lines like this:

Code:
<span style="font-size:1em">This is a note </span><span style="font-size:0.7em">5 </span><span style="font-size:1em">and should be in one line.</span>
Why does the ebook-viewer and also my Sony PRS 505 (sometimes) break up the line into 2 lines? The Result looks something like this:

Code:
This is a note

5 and should be in one line.
As said its not always the case, but it IS sometimes the case even if the line is very short!

Last edited by readyread; 01-26-2010 at 03:55 PM.
readyread is offline   Reply With Quote
Old 01-28-2010, 01:39 PM   #2
readyread
Member
readyread began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2009
Device: PRS 505
Is there no way to prevent such random paragraphs?
readyread is offline   Reply With Quote
 
Enthusiast
Old 01-28-2010, 02:03 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,908
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
use &nbsp; instead of spaces.
kovidgoyal is offline   Reply With Quote
Old 01-28-2010, 02:53 PM   #4
readyread
Member
readyread began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2009
Device: PRS 505
Do you mean that I should replace each space in my html-file with a &nbsp; and afterwards convert it to epub?
readyread is offline   Reply With Quote
Old 01-28-2010, 03:40 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,908
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yes i do
kovidgoyal is offline   Reply With Quote
Old 01-29-2010, 01:23 PM   #6
readyread
Member
readyread began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2009
Device: PRS 505
Unfortunately all lines in the outcoming epub are too long :-)
readyread is offline   Reply With Quote
Old 01-29-2010, 01:32 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,908
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Well yeah, if you use &nbsp; everywhere then the line wont break at all.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 06:02 AM.


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