Uwe Stöhr wrote: > > 1) convert test.tex -> tmp_dir/xxxx_test.lyx (format xxx) (tex2lyx) > > 2) convert tmp_dir/xxxx_test.lyx (format xxx) -> > > tmp_dir/xxxx_test_new.lyx (format yyy) (lyx2lyx) > > 3) load tmp_dir/xxxx_test_new.lyx (format yyy) in LyX, > > when the user sves this file it is copied to the directory of > > test.tex > > > I like 1) and 2), because it avoids overwriting the original .tex > file > with Export->Latex, but instead of 3) I would simply keep an > unnamed > > document. > > Why that and where would you keep it?
It would be kept in memory (the same what happens if you create a new file with File->New). Why? Because users are forced to think about a name for the converted document. I have found myself several times in the situation where I accidentally destroyed the original .tex file by Export->Latex. > But anyway if you also like 1) and 2) perhaps we should implement it in > future LyX versions. > > > Besides that: What happens with master/child documents? > > I've never used master/child documents. Ok, if you do that you will notice that tex2lyx will also convert the child documents. This will complicate things if we implement the behaviour above. Georg