01-26-2017, 03:42 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2017
Device: none
|
Converting htm to epub
I have an eBook in html format, and I wish to convert it in ePub. I'm on a GNU/Linux system and I'm using Calibre.
The file is displayed correctly in Firefox, despite having the "missing image" icon in the top left corner of every page for linking to jpgs that do not exist. However, after converting to ePub with default options, in each page every sentence is in the same line, so that they illegibly overlap. Calibre detects the file as "ZIP" and, if asked to display it, creates a duplicate of it in the library instead. [Link deleted - MODERATOR] are the first 758 lines of the file (which include the first two paragraphs and everything that come before that, for a total of 11 pages) in case it could be useful to detect the problem. Please ask me for anything needed. Last edited by Dr. Drib; 01-26-2017 at 07:40 AM. |
01-26-2017, 03:53 AM | #2 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2017
Device: none
|
I figured it could depend line breaks are actually achieved by specifying absolute vertical position, and I've read the absolute position is not supported.
I've tried converting using heuristic processing. Section names appear about one word per page, with the first letter of a word overlapping with the second. A whole chapter is displayed in a page. Some line breaks are introduced (vertically, almost half page is filled), but the lines coming from different pages still overlap. |
Advert | |
|
01-26-2017, 04:27 AM | #3 | |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Based on the code that you posted on Pastebin, the HTML file was most likely exported from MS Word using the wrong export option. IMHO, it'd take forever to fix this mess. Why don't you simply buy the ebook on Amazon? |
|
01-26-2017, 05:51 AM | #4 |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Coming here to ask for help on a pirated book is not going to get you any help. Buy the book and if you still need help with the legal version, we'll be happyto help.
|
01-26-2017, 07:40 AM | #5 |
Grand Sorcerer
Posts: 44,712
Karma: 55613375
Join Date: Jan 2007
Location: Peru
Device: Kindle: Oasis 3, Voyage WiFi; Kobo: Libra 2, Aura One
|
Moderator Notice
Mobileread does not offer assistance for anyone who pirates a copyrighted ebook. Failure to observe copyright can cause your Mobileread access to be terminated. This thread is now closed. Last edited by Dr. Drib; 01-26-2017 at 07:44 AM. |
Advert | |
|
Tags |
calibre, conversion, epub, html, overlap |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page numbers in ePub, converted from htm | hollowayhouse | Conversion | 6 | 06-28-2012 04:41 PM |
HTM to EPUB Loses images | cacotigon | Calibre | 2 | 04-02-2012 07:04 PM |
converting from HTM to ePUb - can't get TOC right | davidm99 | Conversion | 1 | 04-12-2011 10:47 PM |
converting htm to epub to mobi - lots of split words | cybmole | Calibre | 1 | 12-14-2010 11:25 AM |
converting htm(l) format books for kindle | cybmole | Calibre | 7 | 09-29-2010 08:01 AM |