Hello!
First post here so I hope I describe this issue well for everyone's clarity
I am having an issue when converting a manga from .KPF to .KFX, though I have since noticed this issue when converting from and to any combination of types. The files convert without throwing any errors, but I lose a lot of the HTML tags and attributes in the parsing of the .OPF that are necessary to make the book function like a manga, for example:
- <meta name="fixed-layout" content="true"/>
- <meta name="original-resolution" content="..."/>
- <itemref ... properties="page-spread-left">
- etc.
all of which are defined as necessary by KDP here:
Creating Fixed-Layout Books with Image Pop-Ups or Virtual Panels
I have attatched the debug folder from when I ran the converstion so that you can see the content.opf file losing these tags throughout the conversion
What I noticed is rather strange, that the initial content.opf file in the "input" folder has the correct tags and attributes, but after parsing, the content.opf file in the "parsed" folder doesn't have the correct tags or attributes anymore. For this reason I believe that the extension that reads .KPF is functioning correctly, and that it is some other component (please excuse that I am not familiar with the internal process of Calibre) which is responsible for parsing the input which is not catching and continuing the necessary tags and attributes
I really hope that this had made sense! And if there are any further questions I am more than happy to elaborate!