On Wed, Jul 8, 2015 at 8:24 AM, Ian <iank...@gmail.com> wrote: > Hi > > I want to automatically update latex code embedded in a LyX document that > was produced as output from another program, in my case STATA. The Latex > code contains table commands. > > The concept is similar to handling graphics in LyX: Insert >> Graphic >> > (attach file). If I change the graphic file content, keeping the file name > and location the same, the graphic image will automatically update in LyX. > I want to do the same thing, but with a .tex file in which contains the > Latex code for a table produced by STATA. The .tex file name and location > remain constant, but the content changes. > It would be easier if you provided a minimal example, but from what you say it is easy to do what you want.
If you want to include a .tex file, you would Insert > File > Child. See Help > Embedded, section 7.2 on Child Documents. Liviu > I am sure this is an easy thing, but I just can't seem to find it on the > web forums. > > Thanks. > -- 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