View Single Post
Old 10-13-2024, 04:27 AM   #1
Repto
Member
Repto began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Nov 2020
Device: Pocketbook Inkpad 3
Question XHTML to ZIP is duplicating some files

Hello, i'm trying to import/convert my XHTML files in calibre so as to create en EPUB version of these files. My issue happens when I'm importing the nav file into calibre so as to create the original zip with "HTML to ZIP" plugin.

So I created a nav file listing all my files (120+ files) like so: https://pastebin.com/9EunDx7A

Every files listed in this nav exist with these exact names in the same directory, no additionnal files exists in it.

My issue:
Everything is working fine except for 3 files "an9.42.xhtml", "mn22.xhtml" and "mn25.xhtml" which are duplicated.

The files with these names are created but there are also the duplicated files "AN9.421.xhtml", "MN221.xhtml" and "MN251.xhtml" that are created, and I can't figure why that is.

Here is mn22.xhtml for example: https://pastebin.com/pnzfNQgE


Settings:
I already customized the plugin "HTML to ZIP" to "Add linked files in breadth first order"


Additionnal infos:
The fact that these duplicate files are created is a problem because they are added at the end after all the other chapters, and I have some links in other chapters that are pointing to these duplicated chapters instead of pointing to the original chapter.

Last edited by Repto; 10-13-2024 at 08:03 AM.
Repto is offline   Reply With Quote