Hi again, Olivier, On Fri, Jun 5, 2009 at 2:06 PM, Olivier Ripoll<[email protected]> wrote: > I managed to get elyxer working by doing the following: > - copy elyxer.py to the script folder ("C:\Program Files\LyX > 1.6.3\Resources\scripts") on my machine, > - in Preferences -> Converters, in the LyX -> HTML, modify the command to > be: > python $$s/scripts/elyxer.py $$i $$o
Quite cleverly done. I believe that the version of Python distributed with LyX should run eLyXer just fine. > The first file sent to elyxer was probably a little too complex. I killed > python after 40 minutes running full on one CPU. This is the one I'm mostly interested on. > I later gave it a less complex file and it returned a correct and nice > result (where htlatex fails). I appreciate the fact that the home-made > character styles are converted to a "Flex" CSS class, which can then be > created in CSS. Any custom layouts are converted to custom CSS classes. You have indeed good eyes. > Tiny bugs / feature requests for elyxer and LyX (probably already known): Not so much. > 1- > Figure numbers are missing in the references. The link with a little blue > arrow works, but my text is full of "Fig. " without figure number. Odd, captions should work fine. Again, please send me a sample document if at all possible. > 2- > The HTML file is returned in a subfolder, so all images links are broken. > When moving the file in the parent folder (where the lyx file is, and where > the pdf/ps/TeX are exported, it works fine. This is a design decision of Pavel Sanda (and for the record, I do not agree with it): http://www.mail-archive.com/[email protected]/msg150892.html There is the possibility of copying all referred image files, convert them and then copy them back. This approach requires more work and I'm still figuring it out. > 3- > There is one place in my file where I used the "\unittwo" tip given in LyX > docs (Appendix A "Typographic Advice" of Math docs). The \unit tag is not supported yet. If you send me a sample doc I will try to make it work. Yes, I know I am requesting a lot of sample files from you; but that is how eLyXer has improved until now, thanks to kind testers. You can also join the hall of fame! Alex.
