Benedict Holland wrote: > If you have generated the tex file in Stata, use ERT. It is much easier.
I am curious: What is easier if you include the file via ERT than with a child document? Note that I do not mean to convert the child document to LyX format, since LyX also allows to include child documents in LaTeX format. > The command you want to look up is \input as in \input{table.tex}. This is > the only way I generate, edit, and include tables now. This should also be > the command that lyx uses... either that or include but I assume input > would be a better use in this situation. I also use another application to > edit the .tex because I need spell checking. If you insert the .tex file as a child document you can do this as well: The child inset context menu provides an edit entry which fires up the .tex file in your favourite editor. I cannot imagine any easier way to reference child document in LaTeX format. Georg