DropBook handles the pseudo-XML markup for footnotes and sidebars perfectly. I do it all the time with my modified script. The problem was in the python converter:
Code:
smarker = '<sidebar id="sidebar-%s">\n'
This should be:
Code:
smarker = '<sidebar id="%s">\n'
Currently, the code has that stuff commented out and is doing this:
Code:
marker='\\t\\Q="sidebar-%s"' % id
Which is essentially turning a sidebar (or footnote) reference into a Link target. Very undesirable for Calibre since the updated PDB converter properly converts PML footnotes into ePub endnotes.
I'm at a crossroad on if I really want to contribute to the ereader "cleaning" project that DarkReverser has going. I like the eReader format for it's simplicity, semi-friendly DRM restrictions, and large device support. The last time a format was thoroughly defeated, it was dumped by the Publishers (Microsoft LIT). I'd prefer that didn't happen to the eReader format.
- Jim