![]() |
#1 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Conversion from ePub to PDF almost perfect, but...
Hey everyone!
So I've been trying to find a way to get neat PDFs when converting from an e-reader friendly format, like lit, epub or mobi. I've reached a pretty decent result but there's still something bugging me: I can't seem to add margins on the top and bottom of the PDF. I'm going to tell you what I do so you can hopefully tell me where I go wrong. First, in the Look & Feel section, I change the base font size to 18,0 pt and put this: Quote:
Then, in the Page Setup section (and I suspect this is where it somehow goes wrong), I select iPad as the Output Profile because I've found it's one of the only profiles that doesn't produce a giant font. I then put every margin (top, bottom, left and right) at 50px and convert. I get a pretty good result, and I've found I can change the left and right margins as I please, but no matter what I do the top and bottom margin remain the same (ie: nearly non existent). Interestingly enough, if I delete the margin info in the extra CSS section, the result is the same. Any ideas? Thank you! Last edited by goldenhair; 08-16-2011 at 09:45 PM. |
|
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Calibre doesn't support margins in pdf output. You're probably better off converting to htmlz, and then unzip that file and open it in Open Office or Word, set your document margins the way you want and then use a pdf printer with the page size you want.
|
![]() |
![]() |
![]() |
#3 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Quote:
Okay, I've converted my book to htmlz, but I'm a little clueless as to how I'm supposed to unzip it. My usual unzipping program doesn't recognize it, and google wasn't very helpful... :/ |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
change the extension from .htmlz to .zip
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
|
![]() |
![]() |
![]() |
#6 |
Jus' Learnin'
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50
Karma: 5618
Join Date: Apr 2012
Location: Tucson, AZ
Device: none
|
Which unzipped file can be opened with Word?
I followed the instructions given here, but in the unzipped folder, there are the following: image folder, the cover.jpg, index.html, metadata.opf, styles.css, none of which open in Word or Open Office. The zip file will not open, of course, with Word. If I try to save the HTMLZ file to my computer I get a message that it can corrupt my Calibre library.
|
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
index.html, metadata.opf, styles.css
All these are really ordinary Text files and you can open them with Notepad.exe . Word will mangle these if you choose to open them AND then SAVE them index.html is the body of your document styles is the Stylesheet that is used WITH the HTML file You would be better off opening the EPUB directly with something like Sigil which is designed to work with All those pieces (they are a inter linked set) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
conversion from pdf to epub help | slushbilly | Workshop | 1 | 01-31-2011 08:07 AM |
pdf -> epub conversion | cristobalmx | Calibre | 1 | 12-12-2010 04:06 AM |
PDF to EPUB Conversion | LuchoResto | General Discussions | 1 | 11-19-2010 04:54 PM |
pdf to epub conversion | Storyowner | Calibre | 3 | 11-03-2010 08:01 AM |
Help with conversion from PDF to EPUB | Fizz | Calibre | 5 | 10-25-2009 11:48 AM |