TeXインストーラを使って,windows 7にTeXをインストールしたいのですが,一通りインストールをして,環境変数もチェックしたあと,Winshellでソースファイルをコンパイルしたのですが,texmf.cnfがないとのエラーが出ます(「I can't find the format file `platex.fmt'!」も合わせて出ます).確かに,web2cのディレクトリにtexmf.cnfが存在していませんでした.
【環境】
- OS X 10.6.5
- MacPorts から導入した、ptex(port install ptex +utf8)
- pTeX 3.141592-p3.1.10 (utf8.euc) (Web2C 7.5.4)
- dvipdfmx-20100328 by the DVIPDFMx project team
==========================
$ platex test
This is pTeX, Version 3.141592-p3.1.10 (utf8.euc) (Web2C 7.5.4)
(./test.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2003/12/01> patch level 0)
(/opt/local/share/texmf/ptex/platex/jsclasses/jsbook.cls
Document Class: jsbook 2010/03/14 okumura
) (/opt/local/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/opt/local/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/opt/local/share/texmf/tex/latex/graphics/dvipdfmx-contrib-latex/graphics.sty
(/opt/local/share/texmf-dist/tex/latex/graphics/trig.sty)
(/opt/local/share/texmf-dist/tex/latex/graphics/graphics.cfg)
(/opt/local/share/texmf-dist/tex/latex/dvipdfm/dvipdfm.def)))
(/opt/local/share/texmf-dist/tex/latex/hyperref/hyperref.sty
(/opt/local/share/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/opt/local/share/texmf-dist/tex/latex/hyperref/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/opt/local/share/texmf/ptex/latex/url/url.sty))
*hyperref using default driver hdvips*
(/opt/local/share/texmf-dist/tex/latex/hyperref/hdvips.def
(/opt/local/share/texmf-dist/tex/latex/hyperref/pdfmark.def))
(/opt/local/share/texmf-dist/tex/latex/geometry/geometry.sty
(/opt/local/share/texmf-dist/tex/latex/geometry/geometry.cfg))
(/opt/local/share/texmf-dist/tex/latex/psnfss/times.sty)
(/opt/local/share/texmf-dist/tex/latex/subfigure/subfigure.sty
****************************************
* Local config file subfigure.cfg used *
****************************************
(/opt/local/share/texmf-dist/tex/latex/subfigure/subfigure.cfg))
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/opt/local/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/opt/local/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/opt/local/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/opt/local/share/texmf-dist/tex/latex/tools/bm.sty)
(/opt/local/share/texmf/ptex/platex/otfstable/otf.sty
(/opt/local/share/texmf/ptex/platex/otfstable/ajmacros.sty))
(/opt/local/share/texmf-dist/tex/latex/multibib/multibib.sty) (./th.aux)
(./ra.aux) (./la.aux) (./cp.aux) (./co.aux) (./test.aux)
(I search kanjifont definition file: . . ) (I search font definition file: . .
. . . . . . ) (/opt/local/share/texmf-dist/tex/latex/psnfss/ot1ptm.fd)
(/opt/local/share/texmf-dist/tex/latex/hyperref/nameref.sty) (./test.out)
(./test.out)
1
(/opt/local/share/texmf-dist/tex/latex/psnfss/ot1phv.fd) [1] [2]
2
(./th.bbl [3] [4])
! Incomplete \ifx; all text was ignored after line 1.
<inserted text>
\fi
l.54 \bibliographyth{oxon}
?
! Extra }, or forgotten \endgroup.
\bibliographyth ... \refnameth \bibliography {#1}}
l.54 \bibliographyth{oxon}
?
! LaTeX Error: \begin{thebibliography} on input line 1\space ended by \end{docu
ment}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.56 \end{document}
?
[5] )
(\end occurred inside a group at level 5)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \iffalse on line 1 was incomplete)
(\end occurred when \iffalse on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifnum on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifnum on line 1 was incomplete)
(\end occurred when \iftrue on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
Output written on test.dvi (5 pages, 4488 bytes).
Transcript written on test.log.
? [1] (/usr/share/texmf/tex/latex/base/omlcmr.fd) ! Undefined control sequence. l.195 % This package looks for \LuaTeX \ regardless of its mode ? ! Undefined control sequence. l.196 % and provides the switch \cs {ifluatex}. Also it makes ? ! Undefined control sequence. l.197 % \cs {luatexversion} available if it is not present. ? ! Undefined control sequence. \tableofcontents ...unter {HD@unique}\pdfbookmark [\HD@guesstoclevel {\HDorg... l.201 % \tableofcontents