Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How can I create a PDF file from .tex file using xetex.exe?
What should I enter to console? I tried different combinations like xetex -pdf filepath and so but it doesn't work.
xetex -pdf filepath
XeTeX automatically outputs PDF (usually) so don’t enter any extra arguments. Try xetex foo for a TeX document, and xelatex foo for a LaTeX document.
Try xelatex... highly likely, you don't have a tex file but you do have a latex file.
Required, but never shown