![Texstudio 中的 XeTeX 和 xdvipdfmx 问题](https://linux22.com/image/242252/Texstudio%20%E4%B8%AD%E7%9A%84%20XeTeX%20%E5%92%8C%20xdvipdfmx%20%E9%97%AE%E9%A2%98.png)
我正在使用 MacTex2011,并且安装是标准安装,我没有改变任何东西。下面是我的环境的一些信息。
Sean@mac:~ > which xelatex
/usr/texbin/xelatex
Sean@mac:~ > echo $PATH
/usr/local/share/python:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/b in:/usr/texbin
Sean@mac:~ > xelatex --version
XeTeX 3.1415926-2.3-0.9997.5 (TeX Live 2011)
kpathsea version 6.0.1
Copyright 2011 SIL International and Jonathan Kew.
There is NO warranty. Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 4.6 [with modifications for XeTeX]
Compiled with zlib version 1.2.5; using 1.2.5
Compiled with FreeType2 version 2.4.4; using 2.4.4
Using Mac OS X Carbon, Cocoa & QuickTime frameworks
我正在使用 Texstudio 并想要编译一个 tex 文件。我的命令是:
"/usr/texbin/xelatex" -interaction=nonstopmode %.tex
我得到的信息如下:
sh: xdvipdfmx: command not found
Error: Command crashed: "/usr/texbin/xelatex" -interaction=nonstopmode "vb intro".tex
有人能帮助我吗?
非常感谢!
我的序言如下:
\documentclass{beamer}
\usepackage{xeCJK} % I am Chinese, which I have to use this package to support CJK
\usepackage{fontspec}
\usepackage{xunicode,xltxtra}
\usepackage{amsmath,graphicx}
\usepackage{verbatim}
\usepackage{listings}
\usetheme{Madrid}
\useinnertheme{circles}
\graphicspath{{figures/}}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{Helvetica}
\setsansfont{Helvetica}
\setmonofont{Consolas}
\setCJKmainfont[BoldFont={SimHei}, ItalicFont={Adobe Kaiti Std}]{Adobe Song Std}