Register Guidelines E-Books Today's Posts Search

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
Advert
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: 45,279
Karma: 27111060
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: 45,279
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yes i do
kovidgoyal is offline   Reply With Quote
Advert
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: 45,279
Karma: 27111060
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


Forum Jump


All times are GMT -4. The time now is 07:25 AM.


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