OTF を使ったファイルで pdf が作れません。
pdf 化しようとしています。
http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?OTF#aec1d55c
を参考に OTF をインストールしたのですが
hoge.tex を emacs にコピーアンドペーストして、
以下のようにしたのですが、
$ platex hoge.tex
This is pTeXk, Version 3.141592-p3.1.10 (euc) (Web2C 7.5.6)
%&-line parsing enabled.
(./hoge.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2005/12/01> patch level 0)
(/usr/share/texmf/ptex/platex/js/jsarticle.cls
Document Class: jsarticle 2001/07/03 okumura
) (/usr/share/texmf/ptex/platex/otfstable/otf.sty
(/usr/share/texmf/ptex/platex/otfstable/ajmacros.sty)) (./hoge.aux) [1]
(./hoge.aux) )
Output written on hoge.dvi (1 page, 532 bytes).
Transcript written on hoge.log.
$ dvipdfmx hoge.dvi
hoge.dvi -> hoge.pdf
[1
** ERROR ** File ended prematurely
Output file removed.
$
と pdf が作成されません。
漢字コードが違うからいけないのかと思い、
$ nkf -e hoge.tex > hoge-euc.tex
$ platex hoge-euc.tex
$ dvipdfmx hoge-euc.tex
とやっても同じです。
どこがおかしいのでしょうか?お助けを