On Thu, Jul 9, 2015 at 10:17 PM, Georg Baum
<[email protected]> wrote:
> 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.
>
I suspect this is simply reflects a misunderstanding relating to the
naming of our "Insert > File > Child Document..." menu item. For
example, when answering this question I had to repeatedly look closely
in the Insert menu since I was looking for "Insert > File > TeX
Document...", and there is obviously none such item. Then I looked
several times at External Material, but to my bemusement there was no
TeX entry there. So by trial and error I realized that Child Document
was the winner.

Perhaps we should consider renaming it to something like: "Child
Document (TeX or LyX)"?

Liviu


>> 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
>
>



-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library

Reply via email to