JimmXinu / EpubMerge

EpubMerge Calibre Plugin
GNU General Public License v3.0
103 stars 15 forks source link

Possible to make style names unique? #20

Open greenskye opened 1 week ago

greenskye commented 1 week ago

Merged ebooks don't seem to be handled well by my ereader app (moonreader) because it doesn't understand multiple stylesheets with overlapping style names. Results in the first book looking fine, but the second book might have everything in italics or everything in header size font, etc.

I can fix this by using the 'arrange into folders' function of the calibre book editor, but wasn't sure if there was anything the plugin could do to give each book unique style names?

JimmXinu commented 1 week ago

EpubMerge doesn't actually parse or change the contents of the (x)html or style sheet files from merged books--it just puts them each in a subdirectory inside the zip file.

I'm reluctant to add that much additional processing to address what is essentially a bug in another program...

greenskye commented 1 week ago

Fair, if you don't touch them that's a lot of additional work on your part. I'll see if I can get a hold of the moonreader dev...