我的 PSTricks 坏了:pst-vowel 示例的输出为空

我的 PSTricks 坏了:pst-vowel 示例的输出为空

考虑 pst-vowel 手册中的以下示例(http://ctan.cs.uu.nl/macros/latex/contrib/pst-vowel/pst-vowel.pdf):

\documentclass{minimal}
\usepackage{tipa,pst-vowel}
\begin{document}

\begin{vowel}
\putcvowel[l]{\textipa{i}}{1}
\putcvowel[r]{\textipa{y}}{1}
\putcvowel[r]{\textipa{u}}{8}
\putcvowel[l]{\textipa{\textturnm}}{8}
\putcvowel{\textipa{\textturna}}{15}
\end{vowel}
\psset{arrowsize=.75ex, nodesep=.25ex}
\ncline{->}{v15}{v1}
\ncline{->}{v15}{v8}

\end{document}

这应该会生成一个包含三个元音和两个 PSTricks 箭头的元音图。但是,在我的系统 (Sabayon Linux) 上,使用 xelatex 编译时,它会生成一个空白页。

有趣的是,如果我注释掉两个 \ncline 命令,我会得到预期的图表,显然没有箭头。

这肯定是我的设置问题,但它是什么呢?我已经安装了 texlive-xetex 和 texlive-pstricks,但在 xelatex 输出中没有看到任何错误消息:

This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(/usr/share/texmf-dist/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (/usr/share/texmf-dist/tex/latex/tipa/tipa.sty
(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texmf-dist/tex/latex/tipa/t3enc.def)
(/usr/share/texmf-dist/tex/latex/base/ot1enc.def)))
(/usr/share/texmf-dist/tex/latex/pst-vowel/pst-vowel.sty
(/usr/share/texmf-dist/tex/latex/pst-node/pst-node.sty
(/usr/share/texmf-dist/tex/latex/pstricks/pstricks.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-dist/tex/generic/pstricks/pstricks.tex
(/usr/share/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
(/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/share/texmf-dist/tex/generic/xkeyval/keyval.tex)))))
(/usr/share/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv))
(/usr/share/texmf-site/tex/generic/pgf/utilities/pgfutil-common.tex
(/usr/share/texmf-site/tex/generic/pgf/utilities/pgfutil-common-lists.tex))
(/usr/share/texmf-site/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/share/texmf-site/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
(/usr/share/texmf-site/tex/generic/pgf/utilities/pgffor.code.tex
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmath.code.tex
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathparser.code.tex)
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code
.tex)
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.random.code.tex)
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.comparison.code.te
x) (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.base.code.tex)
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)
(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics
.code.tex))) (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfloat.code.tex)
))
`PSTricks' v2.57  <2014/08/27> (tvz)
(/usr/share/texmf-dist/tex/xelatex/xetex-pstricks/pstricks.con
(/usr/share/texmf-dist/tex/generic/pstricks/config/xdvipdfmx.cfg))
(/usr/share/texmf-dist/tex/xelatex/xetex-pstricks/pstricks.con
(/usr/share/texmf-dist/tex/generic/pstricks/config/xdvipdfmx.cfg
Using PSTricks configuration for XeTeX+xdvipdfmx
))) (/usr/share/texmf-dist/tex/generic/pstricks/pst-fp.tex)
(/usr/share/texmf-site/tex/latex/xcolor/xcolor.sty
(/usr/share/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/share/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
(/usr/share/texmf-dist/tex/generic/pst-node/pst-node.tex  v1.35, 2014/08/04))
(/usr/share/texmf-dist/tex/latex/tipa/vowel.sty)) (./test.aux)
(/usr/share/texmf-dist/tex/latex/tipa/t3cmr.fd) [1] (./test.aux)

 *File List*
 minimal.cls    2001/05/25 Standard LaTeX minimal class
    tipa.sty    2002/08/08 TIPA version 1.1
 fontenc.sty
   t3enc.def    2001/12/31 T3 encoding
  ot1enc.def    2005/09/27 v1.99g Standard LaTeX file
pst-vowel.sty    2009/04/24 pst-vowel Package version 1.0
pst-node.sty    2010/04/22 package wrapper for pst-node.tex
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/08/27 v2.57 `PSTricks' (tvz,hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2014/05/25 v2.7 package option processing (HA)
 xkeyval.tex    2014/05/25 v2.7 key=value parser (HA)
  pst-fp.tex    2014/08/27 v2.57 `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/07/25 v4.03 LaTeX color/graphics driver for XeTeX (RRM/JK)

pst-node.tex    2014/08/04 1.35 `pst-node' (tvz,hv)
   vowel.sty    2002/08/08 VOWEL Package version 1.1
   t3cmr.fd    2001/12/31 TIPA font definitions
 ***********

 )
Output written on test.pdf (1 page).
Transcript written on test.log.

当采用 latex -> dvips -> ps2pdf 路线时,它也能正常工作,但我更希望它在 xelatex 中也能正常工作(因为它改进了字体处理,这是我所依赖的)。

我的设置有什么问题?

编辑:(我还没有资格对您的回复发表评论)我已添加了使用 \listfiles 运行时的输出。然而,在 latex 下运行时会显示相同的输出(除了明显的 xetex.def<->dvips.def),并且它可以正常工作。因此,问题可能出在 xelatex.def 上,还是这只是一个转移注意力的借口?

答案1

正如 Akira Kakuto 的评论所建议的那样,将 ghostscript 从 9.15 降级到 9.10 可以解决该问题。

答案2

使用最新的 TL 2015 和最新的 TL 2014 都没有问题。我使用的是 Ghostscript 9.15。尝试使用 documentclass 的示例minimal,并使用\listfile并发布可以在日志文件末尾找到的文件列表

相关内容