重新审视 auto-pst-pdf 基本问题 (-pics.pdf 未创建)

重新审视 auto-pst-pdf 基本问题 (-pics.pdf 未创建)

作为答案提供的代码这个帖子以前可以正常工作。为了方便起见,我在这里重现了它,只是以更简洁的形式,因为我只对部分感兴趣PSTricks——minted部分工作正常。

\documentclass[12pt]{memoir}
\usepackage{ifpdf}
\usepackage{auto-pst-pdf}
\ifpdf
  \usepackage{minted}
  \usemintedstyle{friendly}
  \newminted{latex}{linenos=true,mathescape}
\else
  \usepackage{pstricks-add}
\fi
\pagestyle{empty}

\listfiles

\begin{document}
\begin{postscript}
\begin{pspicture}(0,0)(1,1)
\psframe*(0,0)(1,1)
\end{pspicture}
\end{postscript}

and now the minted part: (no problem here, I've just deleted it)

\end{document}

我得到的是一份很好的pdfLaTeX -shell-escape编译,但没有图片,还有一条可怕的消息(至少对我来说是这样)"Creation of <jobname>-autopp.pdf failed"。有人可以重现这种行为或指出发生了什么吗?我在 Windows XP 上使用更新的(大约两周前)MiKTeX 2.9(半)完整安装。

编辑:根据 Joseph Wright 发出命令的建议\listfiles,我接下来附加了文件中出现的列表.log

 *File List*
 memoir.cls    2011/03/06 v3.6j configurable book, report, article document class
 ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
 ifetex.sty    2011/12/15 v1.2 ifetex
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
 ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
 etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
 mem12.clo    2010/10/19 v0.4b memoir class 12pt size option
 mempatch.sty    2009/07/24 v6.0f Patches for memoir class v1.6180339
 auto-pst-pdf.sty    2009/04/26 v0.6 Wrapper for pst-pdf
 xkeyval.sty    2012/10/14 v2.6b package option processing (HA)
 xkeyval.tex    2012/10/14 v2.6b key=value parser (HA)
 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)
 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    1999/02/16 v1.0f 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    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
 pdftex.def    2011/05/27 v0.06d Graphics/color for pdfTeX
 pstricks.sty    2013/05/22 v0.57 LaTeX wrapper for `PSTricks' (RN,HV)
 pstricks.tex    2013/07/09 v2.45 `PSTricks' (tvz,hv)
 pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 pst-fp.tex    2013/07/09 v2.45 `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
 preview.sty    2010/02/14 11.86 (AUCTeX/preview-latex)
 dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
 environ.sty    2013/04/01 v0.3 A new environment syntax
 trimspaces.sty    2009/09/17 v1.1 Trim spaces around a token list
 minted.sty    2011/01/04 v1.7 Yet another Pygments shim for LaTeX
 fancyvrb.sty    2008/02/07
float.sty    2001/11/08 v1.3d Float enhancements (AL)
ifthen.sty    2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
calc.sty    2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
Tryout.pyg
supp-pdf.mkii
***********

相关内容