Georg Baum <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: > >> Georg Baum wrote: >>> Nobody answered this one. >>> >>> Do we want >>> tex2lyx infile.tex >>> >>> to create infile.lyx or do we want it to write to stdout like it is doing >>> now? >> >> I think that it should write to stdout. I think that we should also >> support >> $ tex2lyx -o outfile.lyx infile.tex >> $ tex2lyx --outfile outfile.lyx infile.tex >> and >> $ tex2lyx --outdir somedir infile.tex >> >> I think that tex2lyx should exit (creating nothing) if it ascertains that >> it will create more than one file and --outdir has not been specified. > | Why? It is IMO rather useful to be able to convert a larger project with | included files in subdirectories so that the directory structure is | preserved. > | Anyway, the only purpose of this patch is to make the Import LaTeX menu | entry working again, so I would like to apply the attached version. I'll | leave the rest for somebody else to do (probably post 1.4.0). > | Lars?
Is this the same way reLyX used ot handle params? Patch looks good to me, refinements can be done later. -- Lgb