2
votes
1answer
137 views

How can I make German characters from \input file display correctly?

I'm working with a Rnw file in RStudio and knitr. Everything works correctly so far, but I stumbled upon a problem when I included a chapter to the report that is written in German. I wrote the ...
5
votes
1answer
876 views

Special characters in input file

I want to have my sections in independent .txt files in the folder of my assignment. So I use \input{text.txt}. The problem is, I write in Danish and we have the 'æ' 'ø' 'å' characters that aren't ...
4
votes
1answer
2k views

inputenc error with unicode chars and verbatim

I am writing a package where I need to save the contents of several environments in verbatim mode to an auxiliary file. Then the auxiliary file is processed by an external program. In the next ...
1
vote
1answer
506 views

“Missing $ inserted” in included .tex file via \input

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 ...