![pstricks 在 TeXShop 中输出乱码](https://linux22.com/image/476551/pstricks%20%E5%9C%A8%20TeXShop%20%E4%B8%AD%E8%BE%93%E5%87%BA%E4%B9%B1%E7%A0%81.png)
我使用 pstricks 制作了一堆 3D 图像,但今年夏天我更新到 Mavericks OS X 10.9.5 后,图像不再正确呈现。所有文本(如轴标签)都堆叠在图像的中心,线条/图形根本不显示。这似乎与这个帖子。
我正在使用 XeLaTeX 运行该文档,并将排版设置为 TeX 和 DVI。我使用此 MWE 和来自另一个线程的示例代码片段制作了一个文件列表:
\listfiles
\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-node}
\usepackage{auto-pst-pdf}
\begin{document}
\begin{pspicture}(-5.25,-5.25)(5.25,5.25)%
\pscircle*[linecolor=cyan]{5}
\psgrid[subgriddiv=0,gridcolor=lightgray,gridlabels=0pt]
\Huge\sffamily\bfseries
\rput(-4.5,4.5){A} \rput(4.5,4.5){B}
\rput(-4.5,-4.5){C}\rput(4.5,-4.5){D}
\rput(0,0){auto-pst-pdf}
\rmfamily
\rput(0,-3.8){PSTricks}
\rput(0,3.8){\LaTeX}
\end{pspicture}
\end{document}
在输出中,文本出现在页面中心的顶部。以下是生成的文件列表:
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
pstricks.sty 2013/12/12 v0.60 LaTeX wrapper for `PSTricks' (RN,HV)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
pstricks.tex 2014/05/19 v2.54a `PSTricks' (tvz,hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2014/05/09 v2.6d package option processing (HA)
xkeyval.tex 2014/05/09 v2.6d key=value parser (HA)
pst-fp.tex 2014/05/19 v2.54a `PST-fp' (hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
xetex.def 2014/04/28 v4.01 LaTeX color/graphics driver for XeTeX (RRM/JK)
pst-node.sty 2010/04/22 package wrapper for pst-node.tex
pst-node.tex 2014/03/25 1.33 `pst-node' (tvz,hv)
auto-pst-pdf.sty 2009/04/26 v0.6 Wrapper for pst-pdf
ifplatform.sty 2010/10/22 v0.4 Testing for the operating system
pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
catchfile.sty 2011/03/01 v1.6 Catch the contents of a file (HO)
etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
pst-pdf.sty 2008/10/09 v1.1v PS graphics for pdfLaTeX (RN,HjG)
graphicx.sty 2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
非常感谢您的帮助。