Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
3  
Try xetex.exe /? or xetex.exe /h. –  Blender Oct 5 '11 at 21:47
    
perhaps pdfxetex.exe? like pdflatex.exe is needed instead of latex.exe for producing pdf output. (though you didn't tell us, i assume you are using miktex distribution) –  Vlad Oct 5 '11 at 21:54
    
Typing xetex story-zapfino.tex in the shell produced a PDF file for me on Max OSX with TeXLive2011. I don't use xetex (had to download a file from tug.org/mactex/src/Demos/XeTeX-showcase) so not likely that i have any settings specific to this. –  Peter Grill Oct 5 '11 at 22:08
    
I wrote xelatex filename but then I got the following error 1.52 \char_make_active:n{"20}% and I couldn't find anything helpful on Int –  user8404 Oct 6 '11 at 19:03
1  
Welcome to TeX.sx! Your question was migrated here from StackOverflow. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. –  Joseph Wright Oct 6 '11 at 19:10
show 3 more comments

migrated from stackoverflow.com Oct 6 '11 at 11:03

This question came from our site for professional and enthusiast programmers.

2 Answers

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.

share|improve this answer
add comment

Try xelatex... highly likely, you don't have a tex file but you do have a latex file.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.