4

I am using for the first time XeLatex on Ubuntu 16.04, via TexStudio, but I cannot compile anything. I don't even get a log file with errors, but just the message

Error: One command expansion invalid. Parent Command: compile Primary Command: compile

Salsiccio
  • 191
  • Welcome to TeX.SX! How did you install TeX? As texlive from the repos? Do you even have xelatex? – TeXnician Jun 05 '17 at 12:13
  • Do LaTeX or pdfLaTeX work or is the problem specific to XeLaTeX? – jjdb Jun 05 '17 at 12:19
  • Thanks for the replies. @TeXnician PdfLatex works fine. – Salsiccio Jun 05 '17 at 12:23
  • Type xelatex in a terminal. What's the output? – TeXnician Jun 05 '17 at 12:25
  • @jjdb I think I installed (long time ago) it via texlive. How do I check if I have xelatex? I thought it was already included in what I have – Salsiccio Jun 05 '17 at 12:25
  • Ok it says it is not not installed. Now I try to install it. – Salsiccio Jun 05 '17 at 12:26
  • If you've installed it a long time ago, it would be best to install the current version of texlive anyway. Best install it via the install script as the Ubuntu repositories are usually not up-to-date, see this answer here https://tex.stackexchange.com/a/95373/28751 In the install script you can then choose what to install. – jjdb Jun 05 '17 at 12:29
  • Ok in the end I just installed it via sudo apt-get install texlive-xetex and it works fine! Thanks! Should I answer the question? – Salsiccio Jun 05 '17 at 12:30
  • 5
    I'm voting to close this question as off-topic because the issue was due to an incomplete software installation – egreg Jul 02 '17 at 13:20

1 Answers1

5

In the end xelatex was not installed. I installed it via

sudo apt-get install texlive-xetex 
Salsiccio
  • 191