Josh Hieronymus wrote: > I was thinking of using the existing C++ routines to generate the XHTML, > and then using Python to generate the additional necessary files, which are > mostly XML files with metadata and manifest info, as well as to pack the > files.
My point was just that you shouldn't use any python parsing of .lyx files as does the library published by Steve, but all document data should by fired out from our internal structures. I can't tell how much easier is using python for packing things (need for some 3rd party library for python packing would be bad for example), just note that we already have working library for zipping files as a part of LyX and commit history might even contain much more generic solution written some time back by Bo Peng as a part of bundled lyx format feature (and reverted later;). Pavel