02-08-2011, 04:02 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
|
Convert epub that has hard margin / indentation?
Hi All,
I'm trying to convert an epub file to mobi output. The epub has a hard margin on the left, as if the entire document was indented by 4 or 5 spaces. Ideally, I'd like to remove this hard indent and have indented first lines for paragraphs. Can anyone help me work out how to do this? Many thanks in advance, pt |
02-08-2011, 04:08 AM | #2 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
By hard margin do you mean hard line breaks? If so try enabling Heuristics under the conversion options, specifically the unwrap lines option.
The answer to the margin question depends on how the margins are defined. It may be automatically fixed by heuristics. Otherwise you can try editing the epub using the tweak epub feature or Sigil and editing the css. In the same way you can add indents. By your description though I suspect the epub might have been created using an online pdftohtml tool - they can have some ugly html, cleaning it up might only work if you take drastic measures like converting to text/rtf first and hand editing the file. |
Advert | |
|
02-08-2011, 04:13 AM | #3 |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Try this in Preferences, check Ignore margins in the Output Options - Mobi Output section then go to Common Options - Look & Feel - check Remove spacing between paragraphs and enter a indent size, I use 1.1em.
Last edited by DoctorOhh; 02-08-2011 at 04:16 AM. |
02-08-2011, 04:31 AM | #4 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Should have realized he was probably using a Kindle, didn't catch the mobi output bit...
|
02-08-2011, 05:36 AM | #5 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
|
Quote:
Thank you again! pt |
|
Advert | |
|
02-08-2011, 05:37 AM | #6 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
|
Quote:
All the best, pt |
|
Tags |
epub conversion, indentation, margin, remove |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Convert epub to mobi with wide left margin on Kindle | victoria0217 | Conversion | 91 | 11-15-2011 05:25 PM |
convert to PDF margin size ignored? | hiperlink | Recipes | 3 | 02-03-2011 11:00 AM |
PDF to epub convertion grief; keeping indentation | Aia | Calibre | 2 | 10-31-2010 05:09 PM |
Top Margin in epub | penguintri | ePub | 8 | 05-08-2010 08:37 PM |
Epub and negative indentation | Nate the great | ePub | 6 | 04-27-2009 11:48 AM |