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 07-25-2009, 12:23 PM   #1
flowoeB
E-Reader Sammler
flowoeB is on a distinguished road
 
flowoeB's Avatar
 
Posts: 123
Karma: 50
Join Date: Feb 2009
Location: Austria
Device: DR1000S; 505,300,350,600,T1; DX, 3, Fire, PW; Tolino; iPad; Aura
html->lrf line spacing between wrong lines?

hi,

i'm sorry if this was discussed in another thread but my english isn't good enough to find something on it:

i am converting a simple html file with calibre 0.6 to lrf - its only text in paragraphs.
after uploading the lrf to my sony 505 the space between the last line of a paragraph and the one BEFORE is a little bit larger than the other gaps between the lines. would be no problem if the gap would be AFTER the last line of a paragraph but this way it's totally annoying. i have no clue what i'm doing wrong. no change in the parameters seem to have any effect on this.

please help. thank you!
flowoeB is offline   Reply With Quote
Old 07-25-2009, 12:27 PM   #2
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,756
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
sounds like a problem with line spacing in the CSS. Opena ticket and attach the HTML file.
kovidgoyal is online now   Reply With Quote
 
Enthusiast
Old 07-25-2009, 12:51 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,595
Karma: 17734032
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
This happens I've noticed, if you have a paragraphs where the indent is different. Like say the first paragraph of a chapter with no indent and then the next has an indent . The space between the paragraphs with the same indent will be the same. But the space between the paragraph with no indent and an indent is larger.
JSWolf is online now   Reply With Quote
Old 07-25-2009, 01:32 PM   #4
flowoeB
E-Reader Sammler
flowoeB is on a distinguished road
 
flowoeB's Avatar
 
Posts: 123
Karma: 50
Join Date: Feb 2009
Location: Austria
Device: DR1000S; 505,300,350,600,T1; DX, 3, Fire, PW; Tolino; iPad; Aura
it happens in a paragraph after (and before) every <br>
it doesn't depend on an indent being there or not.
its only a plain html file with <p> <h2> and <br> tags - nothing else

found a work-arround: everything's fine if i replace every "<br>" with "</p><p>"

Last edited by flowoeB; 07-25-2009 at 01:50 PM.
flowoeB is offline   Reply With Quote
Old 07-26-2009, 10:15 PM   #5
corroonb
Addict
corroonb ought to be getting tired of karma fortunes by now.corroonb ought to be getting tired of karma fortunes by now.corroonb ought to be getting tired of karma fortunes by now.corroonb ought to be getting tired of karma fortunes by now.corroonb ought to be getting tired of karma fortunes by now.corroonb ought to be getting tired of karma fortunes by now.corroonb ought to be getting tired of karma fortunes by now.corroonb ought to be getting tired of karma fortunes by now.corroonb ought to be getting tired of karma fortunes by now.corroonb ought to be getting tired of karma fortunes by now.corroonb ought to be getting tired of karma fortunes by now.
 
corroonb's Avatar
 
Posts: 302
Karma: 1199319
Join Date: Nov 2008
Location: Ireland
Device: Kobo Touch, Kobo Aura, Nexus 7
This has been happening to me too. Even apparently with .lit files that were created from html.

Interestingly it's also happened when I converted a rtf file to lrf but somewhat randomly. I'm assuming calibre converts the rtf file to html and then to lrf. I converted one rtf file to 5 different lrf files which only differed in font size. In two of the files, the gap between the last and second last line of the paragraph appeared and in three of them it didn't.
corroonb is offline   Reply With Quote
Old 08-15-2009, 01:42 PM   #6
bookbinder
Connoisseur
bookbinder has learned how to read e-booksbookbinder has learned how to read e-booksbookbinder has learned how to read e-booksbookbinder has learned how to read e-booksbookbinder has learned how to read e-booksbookbinder has learned how to read e-booksbookbinder has learned how to read e-books
 
bookbinder's Avatar
 
Posts: 63
Karma: 813
Join Date: Jun 2007
Location: Ukraine
Device: Sony Reader 505
Quote:
Originally Posted by flowoeB View Post
it happens in a paragraph after (and before) every <br>
it doesn't depend on an indent being there or not.
its only a plain html file with <p> <h2> and <br> tags - nothing else

found a work-arround: everything's fine if i replace every "<br>" with "</p><p>"
I'm not an advanced user. How does one do this--or is there a workaround--when converting from, say, a mobi to an lrf file? TIA
bookbinder is offline   Reply With Quote
Old 08-21-2009, 12:43 PM   #7
flowoeB
E-Reader Sammler
flowoeB is on a distinguished road
 
flowoeB's Avatar
 
Posts: 123
Karma: 50
Join Date: Feb 2009
Location: Austria
Device: DR1000S; 505,300,350,600,T1; DX, 3, Fire, PW; Tolino; iPad; Aura
i convert every text to plain html before importing it to calibre... then it is possible to correct it...
flowoeB is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPUB Line spacing Jabby Ectaco jetBook 0 08-30-2010 11:43 AM
Line spacing Ivo Kobo Reader 3 06-30-2010 12:54 PM
Reducing line spacing rjcroy Kobo Reader 3 06-11-2010 09:23 PM
Problem with epub to lrf with changing font size and line spacing kleinbiker Calibre 4 12-17-2009 08:55 AM
Line spacing in Calibre? leebok21 Calibre 7 08-10-2008 05:31 PM


All times are GMT -4. The time now is 01:30 PM.


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