Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 05-05-2011, 12:31 AM   #1
Kamikuza
Connoisseur
Kamikuza began at the beginning.
 
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 my goal is 1em text-indent and the same 1em for the margins ... but no joy.

Do .azw formats have special allowances for margin sizes?
Kamikuza is offline   Reply With Quote
Old 05-05-2011, 02:43 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
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.
Toxaris is offline   Reply With Quote
Advert
Old 05-05-2011, 09:01 AM   #3
Kamikuza
Connoisseur
Kamikuza began at the beginning.
 
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 ...?
Kamikuza is offline   Reply With Quote
Old 05-05-2011, 11:21 AM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
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.
Jellby is offline   Reply With Quote
Old 05-05-2011, 08:26 PM   #5
Kamikuza
Connoisseur
Kamikuza began at the beginning.
 
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.
Kamikuza is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 12:40 AM.


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