![]() |
#16 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I'm very well aware of how to edit the code - I'm a professional programmer and do this stuff as a part of my job. But in the cases where Calibre will do the job for me, I let it do so. In the cases that it doesn't, that's when deeper investigations are required, but even then the problem can always, in my experience, be sorted using Calibre's "search and replace" facility.
|
![]() |
![]() |
![]() |
#17 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: May 2012
Device: Nook Touch
|
OK, here are some passages from the html files:
For the first one (the one with almost nothing in the CSS file): Code:
<p><span style="margin-right: 10px;font-size: large;">1</span><span style="text-transform: uppercase;">In</span> the beginning God created the heaven and the earth.</p> <p><span style="margin-right: 10px;font-size: large;">2</span>And the earth was without form, and void; and darkness<i>was</i> upon the face of the deep. And the Spirit of God moved upon the face of the waters.</p> <p><span style="margin-right: 10px;font-size: large;">3</span>And God said, Let there be light: and there was light.</p> Code:
<p class="calibre3">“Why does it have to be you?” Teena asked.</p> <p class="calibre3">He looked up and saw how she stood with her back to him.</p> <p class="calibre3">“Teena” he said, sadly.</p> <p class="calibre3">“Why?”</p> |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 216188
Join Date: Jul 2010
Device: Nook Classic, Kobo Touch, Nook Simple Touch, Kobo Aura
|
Quote:
.calibre { display: block } .calibre1 { height: auto; width: auto } .calibre2 { font-weight: bolder } .calibre3 { display: block; font-weight: bold } .calibre4 { display: block } .calibre5 { font-style: italic } |
|
![]() |
![]() |
![]() |
#19 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,294
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#20 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,294
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 216188
Join Date: Jul 2010
Device: Nook Classic, Kobo Touch, Nook Simple Touch, Kobo Aura
|
Quote:
If an automated method exists that comes close to what I want most of the time, I prefer it. If I really like the embedded font and it's not on my device I can usually add it. Did I mention I am LAZY? |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Do not remove paragraph spaces in Kindle output module | andrewdru | Conversion | 15 | 08-29-2011 11:29 AM |
WTB: Ability to change indent without ticking 'remove spaces between lines' | gweminence | Calibre | 9 | 08-27-2011 09:05 AM |
expression to remove double spacing between paragraphs | ktj | Calibre | 4 | 07-26-2011 02:38 PM |
How can I remove spaces from folder and file names? | jusmee | Calibre | 1 | 11-06-2009 10:36 PM |
Anyway to remove paragraph spaces in pdb files? | twister | Other formats | 3 | 03-12-2009 09:36 PM |