お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2011-09-19 23:28:23

hiraki
メンバ
登録日: 2008-11-22

ps2pdf のエラー("undefined in dyy")(ubuntu 10.04)

ご質問させていただきます。

(質問の内容)
現在 ubuntu 10.04 上で prosper を利用しています。そこで、 tex のソースを次のように変換して
pdf を作ろうとしています。

      platex      dvips       ps2pdf
 ソース →→→ dvi →→→ ps →→→  pdf

その際、ps2pdf の段階で次のようなエラーが出て、先頭の頁しか pdf が作成されません。

Error: /undefined in dyy
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1157/1684(ro)(G)--   --dict:0/20(G)--   --dict:79/200(L)--   --dict:181/300(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 155102
GPL Ghostscript 8.71: Unrecoverable error, exit code 1

きちんと全ページの pdf が出力されるようにするには、どのようにすれば良いのでしょうか。
(質問内容終わり)

ここで、必要と思われる情報を以下に載せておきます。
1 : platex の結果

コード:

$ platex test.tex

This is pTeXk, Version 3.141592-p3.1.11 (euc) (Web2C 7.5.4)
 %&-line parsing enabled.
(./test.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2009/09/24> patch level 0)
(/usr/share/texmf/tex/latex/prosper/prosper.cls
Document Class: prosper 2003/03/20, v. 1.6
(c) 2000-2003 Frederic Goualard, IRIN, France
 and Peter M�ller Neergaard, Boston Univ., USA
CVSId: $Id: prosper.cls,v 1.25 2003/02/21 18:32:56 exupery Exp $
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-texlive/tex/latex/graphics/dvips.def)))
(/usr/share/texmf-texlive/tex/latex/seminar/seminar.cls
Document Class: seminar 2008/10/15, 1.5
Document Style: `seminar' v1.5 <2008/10/15> (tvz)
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/leqno.clo)
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/seminar/sem-page.sty))
(/usr/share/texmf-texlive/tex/latex/seminar/semcolor.sty
Style Option: `semcolor' for doc style `seminar' 1.01 <2004/05/18> (tvz)
(/usr/share/texmf-texlive/tex/latex/pstricks/pstricks.sty
(/usr/share/texmf-texlive/tex/generic/pstricks/pstricks.tex
`PSTricks' v1.29  <2009/05/19> (tvz)
(/usr/share/texmf-texlive/tex/generic/pstricks/pstricks.con))
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
(/etc/texmf/tex/latex/config/color.cfg))))
(/usr/share/texmf-texlive/tex/latex/seminar/semlayer.sty)
(/usr/share/texmf-texlive/tex/latex/seminar/seminar.bug)
(/usr/share/texmf-texlive/tex/latex/seminar/seminar.bg2
seminar.bg2: various corrections for the Seminar document class
added since seminar.bug and few add-ons for overlays
(Version 2.1 of <May 31, 2002> (D.G.))
) (/usr/share/texmf/tex/latex/prosper/seminar-bg2-lepennec.fix)
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty))
(/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty))
*hyperref using driver hdvips*
(/usr/share/texmf-texlive/tex/latex/hyperref/hdvips.def
(/usr/share/texmf-texlive/tex/latex/hyperref/pdfmark.def))
(/usr/share/texmf/tex/latex/prosper/PPRdefault.sty
`default' style for Prosper ---
CVSId: $Id: PPRdefault.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $
 
(/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf-texlive/tex/latex/seminar/semhelv.sty
Style Option: `semhelv' for the `seminar' doc style 1.4 <2000/05/08> (tvz)
Modified by Stefan (see source for details)
(I search kanjifont definition file: . . ))))
(/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty
(/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf-texlive/tex/latex/amscls/amsthm.sty)
(/usr/share/texmf-texlive/tex/latex/txfonts/txfonts.sty)
(/usr/share/texmf-texlive/tex/generic/xypic/xy.sty
(/usr/share/texmf-texlive/tex/generic/xypic/xy.tex Bootstrap'ing: catcodes,
docmode, (/usr/share/texmf-texlive/tex/generic/xypic/xyrecat.tex)
(/usr/share/texmf-texlive/tex/generic/xypic/xyidioms.tex)

 Xy-pic version 3.7 <1999/02/16>
 Copyright (c) 1991-1998 by Kristoffer H. Rose <[email protected]>
 Xy-pic is free software: see the User's Guide for details.

Loading kernel: messages; fonts; allocations: state, direction,
utility macros; pictures: \xy, positions, objects, decorations;
kernel objects: directionals, circles, text; options; algorithms: directions,
edges, connections;  Xy-pic loaded)
(/usr/share/texmf-texlive/tex/generic/xypic/xyall.tex
 Xy-pic option: All features v.3.3
(/usr/share/texmf-texlive/tex/generic/xypic/xycurve.tex
 Xy-pic option: Curve and Spline extension v.3.7 curve, circles, loaded)
(/usr/share/texmf-texlive/tex/generic/xypic/xyframe.tex
 Xy-pic option: Frame and Bracket extension v.3.7 loaded)
(/usr/share/texmf-texlive/tex/generic/xypic/xycmtip.tex
 Xy-pic option: Computer Modern tip extension v.3.3
(/usr/share/texmf-texlive/tex/generic/xypic/xytips.tex
 Xy-pic option: More Tips extension v.3.3 loaded) loaded)
(/usr/share/texmf-texlive/tex/generic/xypic/xyline.tex
 Xy-pic option: Line styles extension v.3.6 loaded)
(/usr/share/texmf-texlive/tex/generic/xypic/xyrotate.tex
 Xy-pic option: Rotate and Scale extension v.3.3 loaded)
(/usr/share/texmf-texlive/tex/generic/xypic/xycolor.tex
 Xy-pic option: Colour extension v.3.3 loaded)
(/usr/share/texmf-texlive/tex/generic/xypic/xymatrix.tex
 Xy-pic option: Matrix feature v.3.4 loaded)
(/usr/share/texmf-texlive/tex/generic/xypic/xyarrow.tex
 Xy-pic option: Arrow and Path feature v.3.5 path, \ar, loaded)
(/usr/share/texmf-texlive/tex/generic/xypic/xygraph.tex
 Xy-pic option: Graph feature v.3.7 loaded) loaded))
(/usr/share/texmf-texlive/tex/latex/jknapltx/mathrsfs.sty)
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def)) (./test.aux)
(/usr/share/texmf-texlive/tex/latex/txfonts/omltxmi.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/omstxsy.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/omxtxex.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/utxexa.fd)
(I search kanjifont definition file: . . ) (I search font definition file: . .
. . . . . . ) (/usr/share/texmf-texlive/tex/latex/txfonts/t1txr.fd)
(/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (./test.out)
(./test.out) (/usr/share/texmf-texlive/tex/latex/psnfss/t1phv.fd)
(/usr/share/texmf-texlive/tex/latex/psnfss/t1ptm.fd)

LaTeX Font Warning: Font shape `JT1/mc/m/it' undefined
(Font)              using `JT1/mc/m/n' instead on input line 214.


LaTeX Font Warning: Font shape `JY1/mc/m/it' undefined
(Font)              using `JY1/mc/m/n' instead on input line 214.

(/usr/share/texmf-texlive/tex/latex/txfonts/ot1txr.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/utxsya.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/utxsyb.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/utxmia.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/utxsyc.fd)
(/usr/share/texmf-texlive/tex/latex/jknapltx/ursfs.fd)

LaTeX Font Warning: Font shape `U/rsfs/m/n' in size <16> not available
(Font)              size <17.28> substituted on input line 214.

[1] <red-bullet-on-white.ps> <red-bullet-on-white.ps> <red-bullet-on-white.ps>
[2] <red-bullet-on-white.ps> <red-bullet-on-white.ps> <red-bullet-on-white.ps>
[2] <red-bullet-on-white.ps> <red-bullet-on-white.ps> <red-bullet-on-white.ps>
[2] <red-bullet-on-white.ps> <red-bullet-on-white.ps> <red-bullet-on-white.ps>
[2] <red-bullet-on-white.ps> <red-bullet-on-white.ps> <red-bullet-on-white.ps>
[2] (./test.aux)

LaTeX Font Warning: Size substitutions with differences
(Font)              up to 1.28pt have occurred.


LaTeX Font Warning: Some font shapes were not available, defaults substituted.

 )
Output written on test.dvi (6 pages, 21344 bytes).
Transcript written on test.log.

2 : dvips の結果

コード:

$ dvips -Pdownload35 test.dvi

This is pdvips(k) p1.7b Copyright 2010 ASCII MEDIA WORKS. ([email protected])
based on dvips(k) 5.98dev Copyright 2010 Radical Eye Software (www.radicaleye.com)
' TeX output 2011.09.19:2306' -> test.ps
</usr/share/texmf-texlive/dvips/base/tex.pro>
</usr/share/texmf-texlive/dvips/pstricks/pstricks.pro>
</usr/share/texmf-texlive/dvips/pstricks/pst-algparser.pro>
</usr/share/texmf-texlive/dvips/pstricks/pst-dots.pro>
</usr/share/texmf-texlive/fonts/enc/dvips/base/8r.enc>
</usr/share/texmf-texlive/dvips/base/texps.pro>
</usr/share/texmf-texlive/dvips/base/special.pro>
</usr/share/texmf-texlive/dvips/base/color.pro>. 
</usr/share/texmf-texlive/fonts/type1/urw/helvetic/uhvb8a.pfb>
</usr/share/texmf-texlive/fonts/type1/urw/times/utmr8a.pfb>
</usr/share/texmf-texlive/fonts/type1/urw/times/utmb8a.pfb>
</usr/share/texmf-texlive/fonts/type1/urw/times/utmbi8a.pfb>
</usr/share/texmf-texlive/fonts/type1/public/txfonts/txsy.pfb>[1] [2
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>] [2
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>] [2
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>] [2
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>] [2
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>
</usr/share/texmf/tex/latex/prosper/red-bullet-on-white.ps>]

3 : ps2pdf の結果(再掲)

コード:

Error: /undefined in dyy
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1157/1684(ro)(G)--   --dict:0/20(G)--   --dict:79/200(L)--   --dict:181/300(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 155102
GPL Ghostscript 8.71: Unrecoverable error, exit code 1

4 : 実は、1年前には上記のコマンドは全て問題なく通っており、pdf は正しく作成できていました。それ以来 tex 関係のファイルや
フォルダ( texmf など)は何も触っていないはずなのですが、突然コンパイルが通らなくなってしまいました。ちなみに、prosper を利用しない
tex のソースはdvipdfmx でコンパイルしており、そちらは問題なく通ります。

5 : 過去のトピックに、これと似たような状況の投稿がありましたので、念の為にリンクしておきます。
https://forums.ubuntulinux.jp/viewtopic.php?id=9985

今日1日web上で情報を探し回ったのですが、私一人で探した限りでは解決方法が見つかりませんでした。そこで、
もし解決していただける方がありましたら、是非お力をお貸し頂きたいと思います。よろしくお願いします。

オフライン

 

#2 2011-09-19 23:30:32

hiraki
メンバ
登録日: 2008-11-22

Re: ps2pdf のエラー("undefined in dyy")(ubuntu 10.04)

投稿者です。

追伸:足りない情報があればお申し付けください。よろしくお願い致します。

オフライン

 

#3 2011-09-26 04:07:26

hiraki
メンバ
登録日: 2008-11-22

Re: ps2pdf のエラー("undefined in dyy")(ubuntu 10.04)

投稿者です。

やはり解決は難しそうなので、このトピックについては返信を締めきらせていただこうと思います。
力を尽くしてくださった皆様、ありがとうございました。

オフライン

 

Board footer

Powered by FluxBB