Am 2009-03-18 schrieb Alex Fernandez: > 2009/3/18 José Matos <jama...@fc.up.pt>: > > The advantage of lyx2lyx is that it will convert any format to the format > > you > > want to work with. > > So, isn't it possible to use first lyx2lyx, and then elyxer, withouth > having elyxer know about lyx2lyx? Alternatively elyxer might check if > lyx2lyx is installed, and then use it internally. Something like: > > - command line: (first option) > lyx2lyx file.lyx | elyxer > page.html > I don't know if lyx2lyx is accessible from the command line, or if it > could be modified. What do you think? > - Python: (second option) > if lyx2lyx is present: > use it > now do the conversion > > >> Perhaps a good compromise for everyone would be to use lyx2lyx if > >> present, and otherwise use the native converters. It remains to see if > >> it is viable at all. > > > > What native converters? Just curious. :-) > > The ones included with elyxer. Actually they are just the parsers. But > if the solution above works then it would be very interesting. > > Alex. >
I do not understand this discussion at all. Why don't you use the existing features of lyx? Add this into preferences: \format "html2" "html" "HTML2" "" "firefox" "" "document" \converter "lyx15x" "html2" "elyxer --quiet $$i $$o" "originaldir" ... and you are done. You may now export to HTML2 . And you also may view HTML2. Of course, "elyxer" should be in your path, and "firefox" your viewer. Kornel
signature.asc
Description: This is a digitally signed message part.