自上次更新graphics-def
(2017-06-12)以来,我在使用auto-pst-pdf
和时收到错误消息pstricks
。这些错误消息涉及\stockwidth
和长度,如果我没记错的话,stockheight
它们是由类定义的,但我没有使用。在控制台中输入仍然会产生正确的pdf文件,但有6个错误,所以我想知道上次更新中是否存在错误。memoir
s
这是一个产生错误的非常简单的代码:
\documentclass[border=3pt]{standalone}
\usepackage{pst-plot, auto-pst-pdf}%
\begin{document}
\begin{pspicture}
\psaxes[ticks=none, labels=none, arrows=->](0,0)(-3,-3)(3,3)[$x$,-135] [$y$,180]
\uput[dl](0,0){$ O $}
\end{pspicture}
\end{document}
以及 .log 文件的相关部分:
! Missing number, treated as zero.
<to be read again>
\stockwidth
l.5 \begin{document}
? s
OK, entering \scrollmode...
! Illegal unit of measure (pt inserted).
<to be read again>
\stockwidth
l.5 \begin{document}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)
! Undefined control sequence.
<argument> ...tockwidth \paperheight \stockheight
\fi \ifdim \paperwidth >\z...
l.5 \begin{document}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
\endgroup
l.5 \begin{document}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Illegal unit of measure (pt inserted).
<to be read again>
\endgroup
l.5 \begin{document}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)
<pbautopstpdf-pics.pdf, id=2, page=1, pagebox=cropbox, 171.64125pt x 174.6525pt
>
File: pbautopstpdf-pics.pdf Graphic file (type pdf)
<use pbautopstpdf-pics.pdf, page 1>
Package pdftex.def Info: pbautopstpdf-pics.pdf , page1 used on input line 8. on
input line 8.
Package pdftex.def Info: Requested size: 171.64081pt x 174.65207pt on input lin
e 8.
! Undefined control sequence.
\Gin@setfile ...GPT@page \@empty \else (\GPT@page
)\fi }
l.8 \psaxes
[ticks=none, labels=none, arrows=->](0,0)(-3,-3)(3,3)[$x$,-135] [...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
如能得到任何解释/解决方法,我将非常感激。