[Tex/LaTex] File ‘utf8x.def’ not found error in TeXstudio on Ubuntu 16.04


I'm trying to compile a .tex file (which I know to be working in Windows' TeXstudio), however in Ubuntu installation (with sudo apt-get install texstudio), I get the following error:

File `utf8x.def' not found. \endinput

I think this is because I have \usepackage[utf8x]{inputenc} in my preamble, but don't know how to fix the issue.

Thanks for any help,


Thanks to the suggestions, I changed utf8x to utf8, but now the line \usepackage{cite} gives this error:

File `footmisc.sty' not found. \usepackage

Best Answer

Have you tried to see if utf8x is installed?

You could try apt-file -x search '/ucs.sty$'

According to CTAN this is included in texlive, so install this if not already installed.

Related Question