When I do \input{file}
in a .tex
document I later import in LyX, LyX converts file.tex
into file.lyx
and changes \input{file}
to \input{file.lyx}
. But LyX doesn't do well with the TeX code it does not support natively and \input{file.lyx}
is a rather corrupted conversion.
How can I make LyX just pass the code from file.tex
to pdflatex
as a part of a bigger file without LyX making any conversions?