08-14-2023, 10:46 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Aug 2023
Device: kindle app
|
how to split epub full of .png files
I downloaded a epub that is a combination of sanskrit and text and each page is a .png file and it is quite large so I want to split it into 4 chapters by selecting 4 blocks of png files. I have the split plug in installed.
I think I need to build a toc to do this correctly but can't seem to get started on how to do it. Any hints would be appreciated. Thanks. |
08-14-2023, 11:24 AM | #2 |
Wizard
Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Using calibre editor (right click > Edit book), insert an xhtml file before each part you want to split with the following text:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
</head>
<body>
<h1>My Book Title - Part 1</h1>
</body>
</html>
Note: You can insert a new empty xhtml by going to File > New File. Now using the editor's TOC tool (Tools > Table of contents > Edit table of contents), create headers from the parts you just inserted, after which you can use the plugin to split at desired points. |
08-14-2023, 03:28 PM | #3 |
Resident Curmudgeon
Posts: 76,053
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What ePub is just images other then manga or comics?
|
08-14-2023, 05:41 PM | #4 |
the rook, bossing Never.
Posts: 12,274
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convert SVG to PNG/JPEG in ePUB files | bunglegrind | Conversion | 2 | 04-24-2016 05:01 PM |
Split an EPUB into more HTML files | 1v4n0 | Sigil | 7 | 10-24-2015 12:57 PM |
PNG Images in ePUB Files not rendered on Kobo | DragonflyKing | ePub | 12 | 10-12-2013 08:28 PM |
[Old Thread] Avoid epub split in several html files? | mastroalex | Calibre | 18 | 12-03-2011 03:50 PM |