05-02-2013, 09:42 AM | #1 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Paragraph Break
Not sure if this is a Calibre or Sigil related question, so I hope someone can guide me in the right direction?
At present I insert a para break by using <p class="calibre7"> </p> to reflect a corresponding space in the hard copy of the book. Using Enter/Space in Sigil to create. Code View: <p class="calibre7">But it was clear that the lady did not believe him.</p> <p class="calibre7"> </p> <p class="calibre">It was about ten o’clock that night.</p> Book View: But it was clear that the lady did not believe him. It was about ten o’clock that night. This works fine when I transfer the epub onto my tablet using Aldiko as the reader. However I find that now if I have to convert the book again (for covers etc.) that Calibre (Version 9.28) removes the   leaving just <p class="calibre7"></p>, effectively removing the space originally created. I'm sure this didn't happen in previous versions of Calibre. If in Sigil (Version 0.7.2) I just press enter to create a space it shows up as <p class="calibre7"><br /></p> which creates the space in Sigil, but this doesn't show up on the E-Reader. What should I now be using to insert a space that Calibre will not remove in subsequent conversions, and that the E-reader can recognize? Thanks in advance. |
05-02-2013, 09:53 AM | #2 | |
The Grand Mouse 高貴的老鼠
Posts: 72,470
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
<p class="calibre">But it was clear that the lady did not believe him.</p> <p class="gapabove">It was about ten o’clock that night.</p> and in your CSS file p.gapabove { top-margin: 1.5em; } |
|
Advert | |
|
05-02-2013, 10:45 AM | #3 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Quote:
Tried it in Sigil it created a space above, but also below, plus there was no indent. Subsequent conversion by Calibre with remove spacing between paras in Look & Feel unchecked, changed the style sheet to: .gapabove { display: block; margin-bottom: 1em; margin-left: 0; margin-right: 0; margin-top: 1em; top-margin: 1.5em } Changed margin-bottom to 0em which removed bottom space, but indent still unchanged. What I really want is an instruction I can insert between lines to create a space, that Calibre will not affect in subsequent conversions. |
|
05-02-2013, 10:48 AM | #4 |
Resident Curmudgeon
Posts: 76,337
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Even better...
<p class="calibre7">But it was clear that the lady did not believe him.</p> <p class="spacebreak">It was about ten o’clock that night.</p> .spacebreak { margin-top: 2em; text-indent: 0 } That works very well for a section break. |
05-02-2013, 11:07 AM | #5 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Sorry that worked exactly as the gapabove did.
|
Advert | |
|
05-02-2013, 11:09 AM | #6 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Plus a subsequent conversion by Calibre wipes this out completely and reverts the para to Calibre7.
|
05-02-2013, 11:33 AM | #7 | |
Well trained by Cats
Posts: 30,441
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
text-indent: 1.5em; |
|
05-02-2013, 11:35 AM | #8 | |
The Grand Mouse 高貴的老鼠
Posts: 72,470
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
try .gapabove { margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 1.5em; text-indent: 1em; } (or whatever value you usually use for text-indent.) |
|
05-02-2013, 12:02 PM | #9 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Quote:
That did the trick. |
|
05-02-2013, 12:06 PM | #10 |
Resident Curmudgeon
Posts: 76,337
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The code is a lot neater. Plus, it doesn't indent the first paragraph after the section break. So it's much more noticeable that it's the first paragraph that starts a new section.
Last edited by JSWolf; 05-02-2013 at 12:09 PM. |
05-02-2013, 12:08 PM | #11 | |
Resident Curmudgeon
Posts: 76,337
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
ePub > ePub = NO! |
|
05-02-2013, 01:00 PM | #12 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Sometimes it is necessary. I scan my books using AbbyyFineReader into Epub separate chapters. Then use Sigil to combine and set up. Then final conversion with Cover, Metadata and tidy up I have to use Calibre. I am not knowledgeable enough to do it all in Sigil.
|
05-02-2013, 08:38 PM | #13 | |
null operator (he/him)
Posts: 20,989
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Book Polish was added to the baseline Calibre within the last couple of months, its also a lot faster than doing ePUB to ePUB conversion . BR |
|
05-02-2013, 08:47 PM | #14 | |
Resident Curmudgeon
Posts: 76,337
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
05-02-2013, 09:27 PM | #15 |
null operator (he/him)
Posts: 20,989
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
True - but Polish is simpler, easier - hit 'P' on the book(s), a tad faster, and there's no need to install a plug-in.
Polish also does font sub-setting - which I don't think is currently available in Modify. BTW - where is kiwidude - I hope he's enjoying himself somewhere. BR |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Preference: Paragraph indent or a little paragraph spacing? | 1611mac | General Discussions | 48 | 11-11-2011 01:43 AM |
Break Document at Paragraph Style | BatGrfx | Writers' Corner | 2 | 09-10-2011 03:46 PM |
Paragraph separation | afv011 | ePub | 2 | 11-05-2010 08:08 PM |
Paragraph spacing | jhempel24 | Calibre | 5 | 08-24-2010 01:14 AM |
What is so unusual about this paragraph? | Madam Broshkina | Lounge | 11 | 04-24-2008 04:04 PM |