On Thu, Jul 01, 1999 at 04:38:00PM +0000, Andre' Poenitz wrote:
> 
> In vain attempt of killing some time I started writing a lyx2latex
> converter. The main difference to Stefanos approach is that it's
> a standalone perl script.

Wow! I'm impressed. Either it's much easier to go from lyx to latex than
vice versa (because lyx was designed that way) or you're a much better
programmer than I am.


By the way, for safety, 
    s/.lyx//g 
(in main) should probably be 
    s/\.lyx//g

to avoid messing up "my_lyx_doc.lyx". while we're at it, why do you need the
g? Also, you might want to warn if the .tex file exists already (or require
-f to overwrite.)

So I guess between reLyX and lyx2latex, people don't really need LyX
anymore. If someone sends you a LyX document, you can just use lyx2latex to
convert it to latex, edit the latex file, and then use reLyX and send the
edited LyX file back to them!

Hello, Friday.

-Amir

Reply via email to