View Single Post
Old 04-17-2023, 11:15 AM   #471
Shiroyasha
Bibliomaniac
Shiroyasha began at the beginning.
 
Shiroyasha's Avatar
 
Posts: 5
Karma: 10
Join Date: Apr 2023
Device: PC/Smartphone
Quote:
Originally Posted by JimmXinu View Post
EpubMerge operates on a principle of changing the input content as little as possible.

So each time you merge two (or more) epubs, each is placed in a numbered subdirectory so that files with the same names don't conflict and relative links (../style.css etc) work without changing anything.

Adding many chapters one at a time over and over is not the best way to use EpubMerge. I would instead suggest that you collect all the chapters together and merge all of them in one operation. Every time you call EpubMerge on an epub you've previously merged, you get an other layer of nested directories--that just the way it works.

There's going to be a limit to how deep you can nest dirs in a zip file; I suspect it may vary between devices/implementations.

However, EpubMerge also as the ability to 'UnMerge' a merged book, essentially giving you the pre-merged epubs back again. Assuming you didn't turn off the 'Keep UnMerge Metadata' option before the merge and haven't processed the merged epub through another tool that discarded the 'extra' files.

So, if, for whatever reason, you have to add one chapter at a time, I would suggest that you first 'UnMerge' the existing book, then make a new merge with the prior chapters plus the new one.
Thanks for the response.

I didn't keep metadata, so I can't use "UnMerge".

Is there a way for me to alter the way this plugin works through preferences? To tell it to not create another layer. I get that it's created this way to avoid name conflicts when merging, but if I just name the things correctly before merging, I don't need that feature.
Shiroyasha is offline   Reply With Quote