Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-12-2018, 03:01 AM   #1
Ooker
Junior Member
Ooker began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2018
Device: Android
How to have images when exporting a sub-files?

I have an ebook whose chapters have different units in separate sub-files: opening images, chapter names and contents, and I want to split this ebook into multiple standalone files. I can use merge with the xhtml files, but how to have the opening image in each file too?
Ooker is offline   Reply With Quote
Old 01-12-2018, 03:10 AM   #2
Maui
Connoisseur
Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.
 
Maui's Avatar
 
Posts: 57
Karma: 600000
Join Date: Jan 2018
Device: Galaxy Tab S2
Hi,

depending on the internal structure of your ebook you can merge everything in one file, then have a look at the coding to identify your chapter images as well as your chapter headings, insert a split marker and afterwards split the whole file.

But this heavily depends on how your source is structured, you need to have the ability to identify the relevant objects.

An example would be helpful.

Best Regards
Maui
Maui is offline   Reply With Quote
Old 01-12-2018, 03:23 AM   #3
Ooker
Junior Member
Ooker began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2018
Device: Android
This is the code after merging all the html files and split it into correct unified chapters. Can you see where I can add the image files in? Thanks

Code:
<p class="calibre31"><img alt="image" src="../Images/00013.jpg" class="calibre16"/></p>
<div class="calibre32"></div>

<h2 class="calibre13" id="calibre_pb_58"><span class="calibre10"><span class="bold"><span><span class="bold">CHAPTER TITLE</span></span></span></span></h2>
<div class="calibre32"></div>
<p class="calibre8"><span class="calibre12"><span class="bold"><span><span class="italic">Chapter subtitle</span></span></span></span></p>
<div class="calibre28"></div>
<div class="calibre1">
</div>

<div class="mbppagebreak" id="calibre_pb_59"></div>
<p class="calibre33"> </p>
Contents
Ooker is offline   Reply With Quote
Old 01-12-2018, 04:06 AM   #4
Maui
Connoisseur
Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.
 
Maui's Avatar
 
Posts: 57
Karma: 600000
Join Date: Jan 2018
Device: Galaxy Tab S2
Search for
<h2 class="calibre13"

Replace with
<hr class="sigil_split_marker"/><h2 class="calibre13"
Maui is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting highlights and notes to PC? (images)) vedri Amazon Kindle 2 01-17-2017 02:45 PM
Images exporting to epub carlsbad Workshop 5 09-13-2014 02:10 AM
Images exporting to epub carlsbad ePub 1 08-04-2014 07:45 AM
Hacks Exporting highlights from own mobi files from kindle ipad jhc Amazon Kindle 2 10-24-2011 09:55 PM
Exporting annotated files so others can view them on any computer North19 enTourage Archive 6 05-07-2011 12:08 PM


All times are GMT -4. The time now is 09:37 AM.


MobileRead.com is a privately owned, operated and funded community.