![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2025
Device: kindle scribe
|
Calibre - convert html to epub
I'm trying to convert this project gutenberg html to epub (they have their own, but I didn't like some formatting stuff - I'll probably just use theirs b/c I can't figure this out).
I assumed that nothing would be easier than converting html to epub - epub is already basically html. But - when I import the html (gui) and view / convert - I see HTML. It doesn't parse the HTML. I tried setting the html to zip encoding setting, didn't change anything. I tried converting using the command line - it seemed to be parsing, but crashed because it couldn't split up the html file into small parts, and I couldn't figure out how to tell it "use the h2 tags!" I first tried with an older version (I think 6.something) before downloading the latest (is it 8.3?) So - 1 - how can I convert html to epub using the GUI? 2 - how can I tell the cli to split the epub parts based on h2 tags? Spoiler:
Last edited by theducks; Yesterday at 11:59 PM. Reason: SPOILER LOG files |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,446
Karma: 167726581
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I imported the html file and it imported as a .zip which is normal for HTML import. I then converted to ePub3 and no errors though the output ePub code looks pretty ugly and the cover file needed a manual download and attach. The ePub 3 downloaded looked a lot better so I did a quick mark/split* in Sigil and have attached the result. Ghod alone knows why they have image and no image versions since the only image seems to be the cover image.
* Search <h2 Replace <hr class="sigil_split_marker" /> <h2 |
![]() |
![]() |
![]() |
#3 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,625
Karma: 103503445
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Better to use the Gutenberg epub and convert with rules (automatic).
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2025
Device: kindle scribe
|
Thank you all for your help and advice.
I'm more curious why html convert wasn't working for me, but I don't have a practical need anymore, so I'm going to mark this as fixed. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to convert these html files to ePub? | Valkrider | Conversion | 5 | 06-07-2015 07:48 AM |
Calibre convert Chinese PDF to EPUB well, but not TXT and HTML | jimmyzou | ePub | 15 | 12-27-2013 04:02 PM |
Convert epub to HTML | MShroff | ePub | 6 | 06-19-2011 05:52 PM |
html 2 epub will not convert | Amalthia | Calibre | 2 | 06-04-2010 12:39 PM |
Convert html to epub | colly | Calibre | 9 | 03-10-2010 10:30 AM |