I'm writing my thesis and I'm stuck on a problem
\usepackage[latin1]{inputenc}
\usepackage[brazil]{babel}
\input{./inc/Intro/intro.tex}
When compiling I get tons of "Missing $", "Missing {", "Extra }"
If I insert my text manually it works
The funny thing I just noticed is that the compiler acuses error in the main file(TCC.tex), not in the one I'm trying to input. But the lines that have "errors" are equivalent to the ones in intro.tex file
E: /Users/Rafael/Dropbox/Poli/13 Semestre/TCC/Relatório/Latex/modelo_poli/TCC.tex:3 Missing $ inserted ...ventualmente, suprir uma carência tecnoló
E: /Users/Rafael/Dropbox/Poli/13 Semestre/TCC/Relatório/Latex/modelo_poli/TCC.tex:3 Extra }, or forgotten $ ...ventualmente, suprir uma carência tecnoló
E: /Users/Rafael/Dropbox/Poli/13 Semestre/TCC/Relatório/Latex/modelo_poli/TCC.tex:4 Missing $ inserted
E: /Users/Rafael/Dropbox/Poli/13 Semestre/TCC/Relatório/Latex/modelo_poli/TCC.tex:5 Missing $ inserted ... do projeto, nosso objetivo é ter o protó
E: /Users/Rafael/Dropbox/Poli/13 Semestre/TCC/Relatório/Latex/modelo_poli/TCC.tex:5 Extra }, or forgotten $ ... do projeto, nosso objetivo é ter o protó
There is another question very similar to mine at: tabular, siunitx and input - `Extra }, or forgotten $.`
But I couldn't really bring this to my problem. I also don't understand what the solution of "using an additional column" is exactly
I also found this topic: “Missing $ inserted” in included .tex file via \input
And indeed the encoding of the files was different but now I set both to UTF-8...
Thanks!
\usepackage[utf8]{inputenc}
for portuguese?intro.tex
?[utf8[
to[latin1]
you need to save the file in the appropriate encoding. You say you set the file encoding to utf8 but your code fragment says latin1 ?