I'm trying to compile a document with XeLaTeX. The document is a beamer document created from the template of the theme
\usetheme[titleprogressbar]{m}
that 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 overleaf.
That's it, if I just ignore it, it gives me the pdf I want.
Calling xelatex -shell-escape project.pdf works, but my problem is making it work with AucTex.
-shell-escapecommand line option. – egreg May 30 '15 at 22:47-shell-escape– David Carlisle May 30 '15 at 22:49-shell-escapeby default, the whole point is that external programs are prevented for security reasons unless you explicitly allow them – David Carlisle May 30 '15 at 22:51minted? – David Carlisle May 30 '15 at 22:51tracappears in the top of the first frame. Themtheme must be using it for something, I guess. – MyUserIsThis May 30 '15 at 23:06Thank you for the help
– MyUserIsThis May 30 '15 at 23:08