# XeTeX errors when compiling in Windows?

I am in the process of transitioning from using Texpad and BibDesk on Mac OS to trying to find something that works for me on Windows.

When I try to compile on e.g. TexMaker or TexStudio using the latest TexLive distribution (and JabRef as my bibliography manager for .bib file if that's relevant), I get the following errors:

It seems there's a problem with XeTeX. The editor does compile a PDF though. The PDF is fine except that the citations have been replaced by question marks. I'm not sure if this is related to the XeTeX issue or is a separate problem. Total amateur with LaTeX would really, really value any input.

Edit in repsonse to a request for a minimal working example, I tried just creating a simple document and got an error message:

Is this because my distribution is in the wrong path? Apologies for being so terrible at this and thanks in advance for any suggestions

Edit 2 This is the original error message:

As you can see, AFAIK, I am running it with Lualatex. Problem replicates with Xelatex. TexMaker doesn't appear to have Xetex (unlike Texpad).

• Welcome to TeX.SX! Can you somehow isolate the problem and then post a compilable minimal working example (which may well throw errors of course)? This way, others will be able to help you. With just this screenshot we can only guess the cause of your problem. – Jasper Habicht Feb 7 '18 at 18:36
• The error messages of texmaker don't show everything. Better look in the log-file. – Ulrike Fischer Feb 7 '18 at 18:43
• the errors show that you have used pdflatex instead of xelatex – David Carlisle Feb 7 '18 at 18:44
• @UlrikeFischer oops :-) ^^^ – David Carlisle Feb 7 '18 at 18:44
• @DavidCarlisle Oh. I didn't look at the last one ;-) – Ulrike Fischer Feb 7 '18 at 18:45