Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 06-14-2014, 10:53 AM   #1
macnab69
Zealot
macnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toys
 
Posts: 129
Karma: 5754
Join Date: Jan 2012
Location: South Africa
Device: Kindle 4
Kindle: Paragraph spacing

I can take 2 books, use Edit book, give them the same values for each parameter in the stylesheet, in the preview pane there is no open lines between paragraphs with both books, and yet on my Kindle one of them has an open line between paragraphs and the other doesn't.

Does anybody know anything about this, or do you need more info?
macnab69 is offline   Reply With Quote
Old 06-15-2014, 05:02 AM   #2
Sunlite
Addict
Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.
 
Sunlite's Avatar
 
Posts: 206
Karma: 547516
Join Date: Mar 2008
Location: Berlin, Germany
Device: KObo Clara, Kobo Aura, PRS-T1, PB602, CyBook Gen3
Open the book with the line between the paragraphs in the editor.
Then make sure that the live css tool is visible.
Put the cursor on a < p > tag and take a look at the 'computed final style' for the paragraph in the live css.
If there are entries for 'margin-top' or 'margin-bottom' with value other than '0', then that produces the empty lines.
You can then go through the displayed styling information in the live css an follow the link to the css part where the margin is set and change it.

If the margin is already set to '0', there are probably some empty paragraphs or line breaks (< br >) in the html code that you have to remove.

I hope this helps.
Sunlite is offline   Reply With Quote
Old 06-15-2014, 08:39 AM   #3
macnab69
Zealot
macnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toys
 
Posts: 129
Karma: 5754
Join Date: Jan 2012
Location: South Africa
Device: Kindle 4
No breaks between paragraphs in thr html file. The preview pane in the editor shows no spacing between paragraphs. E-Book Viewer shows no gaps between paragraphs Live CSS shows all 4 margins 0.

The only place where there are gaps between paragraphs is on my Kindle.

But this is not true of all books. Just this one.

This is from a non-problem book:
Code:
<body class="calibre">

  <p class="calibre5">Mr Grope had a large, harmless face ... a piece to one spot. </p>

  <p class="calibre5">When he smiled, which ... and emaciated cats. </p>
From the problem book:
Code:
<body class="calibre">

  <p class="calibre4">“We could drive up there ... stupendous views. You <i>must</i> see it.”</p>

  <p class="calibre4">Harry had felt no such obligation, ... breathtaking. Nevertheless, he had raised no objection.</p>
Non-problem book:
Code:
.calibre {
  display: block;
  font-size: 1em;
  line-height: 1.2;
  margin: 0 0 0 0;
  padding-left: 0;
  padding-right: 0;
  text-align: justify;
}
.calibre5 {
  display: block;
  text-indent: 5%;
  margin: 0 0 0 0;
}
Problem book:
Code:
.calibre {
  font-size: 1em;
  line-height: 1.2;
  margin: 0 0 0 0;
  padding-left: 0;
  padding-right: 0;
  text-align: justify;
}
.calibre4 {
  display: block;
  text-indent: 5%;
  margin: 0 0 0 0;
}
Needless to say, the Live CSS computed final styles are identical.
macnab69 is offline   Reply With Quote
Old 06-15-2014, 05:22 PM   #4
AnemicOak
Bookaholic
AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.
 
AnemicOak's Avatar
 
Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
Do the books happen to have started out as ePub's? If so sometimes commercial ePub's have a "page-template.xpgt" file that needs to be edited as well.
AnemicOak is offline   Reply With Quote
Old 06-15-2014, 05:48 PM   #5
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: 79,068
Karma: 144284144
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
A couple of suggestions, drop the line-height of 1.2em. It's not needed as AZW3 has a line height already set that you cannot make any smaller.

Also, 5% is way too large for text indent. The larger the screen, the bigger the margin. Try a 1.2em. It's what I use and it's what Simon & Schuster has switched to in their eBooks.
JSWolf is online now   Reply With Quote
Old 06-16-2014, 02:28 AM   #6
macnab69
Zealot
macnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toys
 
Posts: 129
Karma: 5754
Join Date: Jan 2012
Location: South Africa
Device: Kindle 4
Unfortunately no such file.

And thanks for the other tips.
macnab69 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paragraph Spacing changes from 'word' Johneltin Sigil 18 07-19-2013 07:35 AM
Paragraph Spacing changes from 'word' Johneltin General Discussions 3 07-16-2013 06:58 AM
Paragraph spacing Banks ePub 2 08-09-2012 05:24 PM
Preference: Paragraph indent or a little paragraph spacing? 1611mac General Discussions 48 11-11-2011 12:43 AM
Paragraph spacing jhempel24 Calibre 5 08-24-2010 12:14 AM


All times are GMT -4. The time now is 05:23 AM.


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