![]() |
#1 |
Connoisseur
![]() Posts: 62
Karma: 10
Join Date: May 2011
Location: Japan
Device: Kindle3
|
More margin moaning
After trawling through posts for a while, I thought I'd come to the understanding that the Kindle will only do margins on things like block quotes in multiples of 2em ...
... then I downloaded a sample of The Devil's Chaplain and there were quotes in there of only 1em! Or less! ![]() What I've been trying to do, is edit an .epub in Sigil so that paragraphs have an indent only on the first line only and then the quotes are all indented as a block ... but the best I can get is the 2em ![]() Do .azw formats have special allowances for margin sizes? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
That is not too hard. You have to edit your stylesheet to do this. Try to use 'text-indent: 1em;' for your paragraphs. It works for ePub, but I would assume it would also work after you convert it to mobi.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 62
Karma: 10
Join Date: May 2011
Location: Japan
Device: Kindle3
|
I've tried that ... I can either have 1em text-indent AND 2em quote, or no text-indent and 1em quotes. Can't seem to get it to do either
![]() Unless I'm missing something in Calibre when I convert the .epub back to .mobi ...? |
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Margins in mobipocket can be specified in pixels, or ems, or percent... but always with integers. Your problem is probably due to the converter not doing the translation you'd like, but whatever it thinks is best.
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 62
Karma: 10
Join Date: May 2011
Location: Japan
Device: Kindle3
|
Does Mobipocket do conversions etc too? I can't tell by looking at the webpage ...
Derp! There it is ... the Creator. I'll give it shot tonight! Last edited by Kamikuza; 05-05-2011 at 08:31 PM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; } | cybmole | Conversion | 15 | 02-12-2011 11:57 AM |
Margin margin margin | Gray Eminence | ePub | 2 | 01-10-2011 11:17 AM |
Margin question | Switch | Calibre | 11 | 05-13-2010 03:32 PM |
calibre ignore margin-top and margin-bottom | bender | Calibre | 2 | 12-11-2009 06:58 AM |