I'm trying to compile a document with XeLaTeX. The document is a beamer document created from the template of the theme
OverLeaf provides. I was trying to compile it with AucTeX, fixing the
Use Xetex engine, but it throws and error. If I compile from the terminal using
xelatex it throws a bunch of error messages, but if I skip through all of them with enter, it produces me the right pdf, without any weird thing. I would like some help understanding them to see how to compile it with auctex.
The first one is this.
Package ifplatform Warning: shell escape is disabled, so I can only detect \ifwindows. )) ! Package minted Error: You must invoke LaTeX with the -shell-escape flag.
Why does this happen?
Then it asks me to provide a file:
! LaTeX Error: File `project.pyg' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: pyg) Enter file name:
I don't know what file this is supposed to be, and it wasn't there in the
git clone from
That's it, if I just ignore it, it gives me the pdf I want.
xelatex -shell-escape project.pdf works, but my problem is making it work with AucTex.