>Sure you can. Insert->Include File pops up a dialog. Enter the lyx
>file yo want and there you are. Ususally yo want to Input the file
>rather than Include it. (Subtle latex difference.)
Ah, that easy :-)
>> Also (working in the other direction) is it possible to export the
>> contents of the lyx file as latex but to not include the
>> documentclass{}and preamble so that the resulting .tex file may be
>> included in other docs without manually cutting this stuff out?
>
>This should do it:
>
>$ sed '1,/^ *\\begin{document}/{
>/^ *\\begin{document}/!d
>}' your_file.tex > stripped_fontend.tex
>
>Or put this in stripfront.sed:
>1,/^ *\\begin{document}/{
>/^ *\\begin{document}/!d
>}
>
>and invoke it
>$ sed -f stripfront.sed your_file.tex > stripped_fontend.tex
Sure, I'd already got a fragment of perl for this, but wondered if there was
a GUI option.
Thanks
guy