|  06-02-2015, 04:25 PM | #1 | 
| Junior Member  Posts: 5 Karma: 10 Join Date: Jun 2015 Device: none | 
				
				Strange first line in Mobi file - everything else fine
			 
			
			Hi all, My source document is created in OpenOffice as an ODT file. I then convert in Calibre to a Mobi. I've used style sheets throughout. The first page is a dedication page, so that particular style ash a large margin above it (I used a similar technique with other styles). The first page ignores the style command (though it looks fine in the ODT file), and just puts the text at the top of the page. Subsequent styles (chapter beginnings, etc) work fine, and have a gap above them - it's just the first page that doesn't do what I want. Any ideas what it might be? Cheers | 
|   |   | 
|  06-02-2015, 05:10 PM | #2 | 
| Well trained by Cats            Posts: 31,251 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | |
|   |   | 
| Advert | |
|  | 
|  06-02-2015, 05:30 PM | #3 | 
| Junior Member  Posts: 5 Karma: 10 Join Date: Jun 2015 Device: none | 
			
			Apols ______________________________ Log file ______________________________ Spoiler: 
 __________________________________________________ _______ Can't attach an ODT file, but it's this: https://www.dropbox.com/s/oef5ioy9ur...forth.odt?dl=0 Last edited by PeterT; 06-02-2015 at 05:41 PM. Reason: Wrap log in tags | 
|   |   | 
|  06-02-2015, 05:52 PM | #4 | 
| null operator (he/him)            Posts: 22,012 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
			
			@Reptile Smile - Try saving the file as DOCX, calibre does a better job of converting DOCX than it does ODT - see What are the best source formats to convert? You also can import the DOCX directly into the calibre book editor, which should preserve style names, then you could do any fine tuning on the layout using the editor, and convert the resultant EPUB to MOBI. BR Last edited by BetterRed; 06-02-2015 at 05:54 PM. | 
|   |   | 
|  06-03-2015, 03:48 AM | #5 | 
| Junior Member  Posts: 5 Karma: 10 Join Date: Jun 2015 Device: none | 
			
			Just tried it.  Docx produces exactly the same issue.
		 | 
|   |   | 
| Advert | |
|  | 
|  06-03-2015, 04:47 AM | #6 | 
| null operator (he/him)            Posts: 22,012 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
			
			To get further help you should read and comply with this ==>> How to ask a question about conversion problems.  That's a sticky thread at the top of the Conversion subforum. BR Last edited by BetterRed; 06-03-2015 at 04:58 AM. | 
|   |   | 
|  06-03-2015, 06:34 AM | #7 | 
| Junior Member  Posts: 5 Karma: 10 Join Date: Jun 2015 Device: none | 
			
			Ah - I thought that's what I'd done in my second post?
		 | 
|   |   | 
|  06-03-2015, 06:37 AM | #8 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Dont convert to MOBI, MOBI has very limited styling support and is obsolete. Convert to AZW3.
		 | 
|   |   | 
|  06-03-2015, 09:37 AM | #9 | 
| Junior Member  Posts: 5 Karma: 10 Join Date: Jun 2015 Device: none | 
			
			But then I can't transfer the azw3 file to the kindle reading app on my iPad, as far as I understand it..? And now, it isn't showing any of the margins above paragraphs...
		 | 
|   |   | 
|  06-03-2015, 05:17 PM | #10 | 
| null operator (he/him)            Posts: 22,012 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none |  sorry about that, cross post because I didn't refresh after an interrupt  Why don't you try importing the DOCX into the calibre editor and then look at the EPUB it creates. If it exhibits the same behaviour then there'll be some markup code to tweak, and that will probably lead to discovering what needs to be done in Writer. BR Last edited by BetterRed; 06-03-2015 at 05:27 PM. | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| TOC fine in Epub but not in Mobi | Talis | Conversion | 0 | 12-13-2014 04:29 AM | 
| Insert a cover in a MOBI file - Mobi or Epub as default file ? | myki | Library Management | 12 | 06-27-2014 05:55 PM | 
| Recipe works fine with EPUB output, but not with MOBI | Rackamouth | Recipes | 1 | 07-12-2013 10:48 PM | 
| Line spacing disappearing in .mobi file | John123 | Workshop | 6 | 12-15-2012 08:39 AM | 
| Uncracking .mobi for fine-tuning | twedigteam | Kindle Formats | 2 | 01-21-2011 07:44 PM |