I've included a .tex file by using
\input macro, but the problem comes when I use special characters (because I'm writing in Spanish, I use
é, and characters like that).
I can use those caracters without any problem in the parent file (I have the spanish package declared), but not in the included file.
For that reason I get "Missing $ inserted" error.