Ubuntu 6.10 "Edgy Eft" 日本語ローカライズ版

  • ページ: 動作報告
  • 投稿者: anonymous?
  • 状態: 小さな不具合
  • ptetexバージョン:20061110
  • 投稿日: 2006-11-11 (土) 18:11:44

必要パッケージ

flex bison build-essential libncurses-dev libfreetype6-dev
libpng-dev lesstif-dev libmotif-dev

my_option

conf_option --with-system-zlib
conf_option --with-system-pnglib
conf_option --with-system-gd
conf_option --with-system-ncurses
conf_option --with-system-t1lib
conf_option --without-info
conf_option --without-texi2html
conf_option --without-texinfo
conf_option --without-dvipng
PSPDF=echo

メッセージ

make testの途中で失敗します.

% make test
(snip)
-----------------------------
[Babel + ptex] test
-----------------------------
[-dNOKANJI] test
[to JIScode] dNOKANJI.tex
ERROR: /rangecheck in --string--
Operand stack:
  --nostringval--   Ryumin-Light-H   Font   Ryumin-Light-H   H   --nostringval--   FDepVector   --nostringval--   0   Ryumin-Light   CIDFont   true   Ryumin-Light   Ryumin-Light   true   KochiMincho-Regular   KochiMincho-Regular   --nostringval--   --dict:15/18(L)--   --nostringval--   155833   155834
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   2   3   %oparray_pop   3   3   %oparray_pop   --nostringval--   --nostringval--   6   4   %oparray_pop   --nostringval--   1   1   0   --nostringval--   %for_pos_int_continue   --nostringval--   11   5   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1127/1686(ro)(G)--   --dict:0/20(G)--   --dict:81/200(L)--   --dict:17/17(ro)(G)--   --dict:3/10(L)--   --dict:20/26(ro)(G)--   --dict:28/50(ro)(G)--   --dict:15/40(L)--
Current allocation mode is local
Current file position is 267
dvipdfmx dNOKANJI.dvi
dNOKANJI.dvi -> dNOKANJI.pdf
[1ERROR: /rangecheck in --string--
Operand stack:
   --nostringval--   Ryumin-Light-H   Font   Ryumin-Light-H   H   --nostringval--   FDepVector   --nostringval--   0   Ryumin-Light   CIDFont   true   Ryumin-Light   Ryumin-Light   true   KochiMincho-Regular   KochiMincho-Regular   --nostringval--   --dict:15/18(L)--   --nostringval--   155833   155834
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   2   3   %oparray_pop   3   3   %oparray_pop   --nostringval--   --nostringval--   6   4   %oparray_pop   --nostringval--   1   1   0   --nostringval--   %for_pos_int_continue   --nostringval--   11   5   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1127/1686(ro)(G)--   --dict:0/20(G)--   --dict:81/200(L)--   --dict:17/17(ro)(G)--   --dict:3/10(L)--   --dict:20/26(ro)(G)--   --dict:28/50(ro)(G)--   --dict:15/40(L)--
Current allocation mode is local
Current file position is 267
ESP Ghostscript 815.02: Unrecoverable error, exit code 1

** WARNING ** Filtering file via command -->gs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=/tmp/dvipdfmx.7UmsMk -dNOKANJI -c '.setpdfwrite << /NeverEmbed [/Courier /Courier-Bold /Courier-Oblique /Courier-BoldOblique /Helvetica /Helvetica-Bold /Helvetica-Oblique /Helvetica-BoldOblique /Times-Roman /Times-Bold /Times-Italic /Times-BoldItalic /Symbol /ZapfDingbats /Ryumin-Light /GothicBBB-Medium] >> setdistillerparams' -f /home/anonymous/src/ptetex3-20061110/ptetex-test-31457/dNOKANJI.eps -c quit<-- failed.
** WARNING ** Image format conversion for "/home/anonymous/src/ptetex3-20061110/ptetex-test-31457/dNOKANJI.eps" failed...
** ERROR ** pdf_ref_obj(): passed invalid object.

Output file removed.
make: *** [stage8] エラー 1

とりあえずmake installを強行しました.

  • xdviで,貼りつけたEPSが表示されます.
  • 日本語は正しく表示されます.
  • 日本語のdvi, 英語のみのdviに関わらず,コンソールに以下のメッセージが出ます.
    % which xdvi
    /usr/local/teTeX/bin/xdvi
    % xdvi hoge.dvi
    Warning: Missing charsets in String to FontSet conversion
    Warning: Cannot convert string "-*-*-medium-r-*-*-12-*-*-*-*-*-*-*" to type FontSet
    Warning: Missing charsets in String to FontSet conversion
    Warning: Unable to load any usable fontset
    Warning:
        Name: =NORMAL
        Class: XmRendition
        Conversion failed.  Cannot load font.
    
    Warning:
        Name: =UNMARKED
        Class: XmRendition
        Conversion failed.  Cannot load font.
    (snip)

  • gs のエラーは、ひょっとして dvipdfmx では常に EPS が埋め込めない、という深刻なものでしょうか。 それでしたら $TEXMF/dvipdfm/config/dvipdfmx.cfg の "-dNOKANJI" という文字列を消してしまえば、とりあえず動くようになるかもしれません。
    xdvi の警告は、$TEXMF/xdvi/XDvi のフォント設定を調整すればよいのだと思います。 無視したところで、メッセージの一部が表示されないだけなので、それほど問題はないと思います。 -- 土村? 2006-11-17 (金) 20:57:49


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2010-10-03 (日) 21:19:07 (4946d)