Hi Mike, On Wed, Sep 22, 2010 at 5:40 AM, Michael Joyner <[email protected]> wrote: > I tried the eLyXer -> xhtml (&html4) -> import as xhtml in calibre route, > but there are LOTS of tags that fail validation....
I am the primary author of eLyXer, and this is interesting: I had never met this use case. Now, I have tried out calibre out of curiosity, and it seems to work. In particular, the user guide and math showcase from the eLyXer docs are converted into EPUB without problems. In fact, one of the goals of eLyXer is to generate valid XHTML documents. I am aware that it fails in some occasions, but only when I haven't been able to figure out how to do it right, for instance: a table within an inline formula. http://elyxer.nongnu.org/math.html The inline formula is naturally translated to <span>, where the <table> element is not allowed for some reason; this fails but still calibre can translate it right to EPUB. Could you explain what exactly is going wrong so I can maybe help with it? Thanks! Alex.
