Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-28-2022, 03:26 AM   #1
2scre
Zealot
2scre began at the beginning.
 
Posts: 122
Karma: 10
Join Date: Oct 2017
Device: iPhone
How do you merge the pages under "book browser" on the left?

I downloaded an ePub file and it's split into many little sections and I would like to merge it into one single section.
2scre is offline   Reply With Quote
Old 07-28-2022, 07:54 AM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,747
Karma: 5706256
Join Date: Nov 2009
Device: many
Older readers had a 230kb size limit per xhtml file and loading smaller pages is much much faster than larger pages. So for the best loading speed splitting into files based on natural boundaries (chapters, etc) is simply good epub design.

So merging them all into a single file is generally *not* a good idea.

If you stll want to merge them, you can do so using by highlighting both files (they must be sequential) in BookBrowser and using Merge by using right-click.

More is explained in our Sigil User Guide. It has a short chapter on splitting and merging.

If you have two files to merge that have different css stylesheets, then making sure the class names from the two stylesheets do not conflict before merging is important.

Last edited by KevinH; 07-28-2022 at 08:02 AM.
KevinH is offline   Reply With Quote
Advert
Old 07-28-2022, 01:27 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,031
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
All the time. But only to fix auto-split by calibre conversions due to STUPID Vellum use of multiple H# tags in chapter title-blocks.

My rule of thumb is file per each section (type)
theducks is offline   Reply With Quote
Old 07-29-2022, 04:06 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,992
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by 2scre View Post
I downloaded an ePub file and it's split into many little sections and I would like to merge it into one single section.
Unless you have chapters split into multiple files, I would not recommend merging them.

If you have split chapters (looking at you, Gutenberg), you can use the merge function in Sigil to merge adjacent files.

Continuing with Gutenberg since they seem to have a love for splitting files at random so you can have multiple chapters in a file (an example would be a file with the last part of chapter 4, chapters 5 & 6 and the first part of chapter 7), I have merged all the files and then inserted split markers to allow splitting at chapter boundaries.
DNSB is offline   Reply With Quote
Old 07-29-2022, 06:19 PM   #5
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,586
Karma: 14328510
Join Date: Nov 2019
Device: none
With Project Gutenberg books I merge all of the chapters together into one file, then figure out what excess crud can be removed and remove it, then add a sigil split marker in front of each chapter heading with a regular expression replace, then use the split on split marker command to split it properly.
hobnail is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
In case you want to turn off "Time left in book" function... DmitryZzz Amazon Kindle 15 03-09-2019 11:13 AM
"Cover, 0 pages left in chapter" tecweston Calibre 3 01-28-2012 11:37 AM
epub "padding left" to mobi "block quote" conversion issue 1611mac Conversion 3 01-11-2012 02:10 PM
PRS-T1 Browser pages too "grey" ? carpetmojo Sony Reader 5 12-06-2011 01:37 AM
Calibres "Add merge book feature" in the new release SirBC Calibre 8 05-04-2010 12:11 AM


All times are GMT -4. The time now is 03:49 AM.


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