TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why can't I run the following command in my TeXShop?


share|improve this question
Compile it with xelatex or latex->dvips->ps2pdf. – kiss my armpit Aug 6 '12 at 12:37

In TeXShop, you can choose the TeX and DVI item from the Typeset menu, and then compile your document. Alternatively, (and a better solution) you can put the following line in your file:

% !TEX TS-program = latex

as the first line of your document. (This line can be generated by TeXShop by choosing the Program item from the Macros menu, and choosing latex from the list provided by the macro.)

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.