can't find "filename"というエラーで図が挿入できません

can't find "filename"というエラーで図が挿入できません

- 川原 遼馬 の投稿
返信数: 2
OS mac os X El CapitanでMacTex206を使って、texを使っています。
奥村先生の「美文書作成入門」を参考にtexshopで図の挿入を試みたのですが、うまくいきませんでした。
Googleで検索したところ、ファイルの置き場所(ディレクトリ?)に問題があることはわかったのですが、具体的な解決策が分かりません。
お手数かとは思いますが、どなたか詳しいかた、教えてください。

logファイルのどこがエラーメッセージかわからなくて不安だったので、全文を貼り付けておきます。
以下にtexの文書とエラーメッセージを書いておきます。

{tex文書}
¥documentclass{jsarticle}
¥usepackage{txfonts}
¥usepackage[dvipdfmx]{graphicx}
¥begin{document}

¥title{同時計測}
¥author{実験者: 人の名前 ¥¥ 共同実験者:人の名前}
¥date{電子・陽電子対消滅の観測:2016年 ¥¥ 寿命測定:2016年}
¥maketitle

¥section{回路入門}
¥subsection{課題11:クロック信号発生器(Clock Generator)}
図1の回路を組みオシロスコープを用いて、パルスのONとOFFのレベルがそれぞれ何Vか確認した。また立ち上がり時間を確認した。
¥includegraphics[width=10cm]{test2.pdf}

¥end{document}

{エラーメッセージ}

This is e-pTeX, Version 3.14159265-p3.7-160201-2.6 (utf8.euc) (TeX Live 2016) (preloaded format=platex 2016.10.9)  13 OCT 2016 11:14
entering extended mode
 restricted \write18 enabled.
 file:line:error style messages enabled.
 %&-line parsing enabled.
**"Simutaneous Measurement.tex"
(./Simutaneous Measurement.tex
pLaTeX2e <2016/05/07> (based on LaTeX2e <2016/03/31>)
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(/usr/local/texlive/2016/texmf-dist/tex/platex/jsclasses/jsarticle.cls
Document Class: jsarticle 2014/02/07 okumura
LaTeX Info: Redefining \rmfamily on input line 352.
LaTeX Info: Redefining \sffamily on input line 355.
LaTeX Info: Redefining \ttfamily on input line 358.
\symmincho=\mathgroup4
LaTeX Font Info:    Overwriting symbol font `mincho' in version `bold'
(Font)                  JY1/mc/m/n --> JY1/gt/m/n on input line 423.
LaTeX Font Info:    Font shape `JT1/mc/m/n' will be
(Font)              scaled to size 9.60999pt on input line 613.
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 9.60999pt on input line 613.
\fullwidth=\dimen118
LaTeX Font Info:    Font shape `JT1/mc/m/n' will be
(Font)              scaled to size 7.68799pt on input line 760.
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 7.68799pt on input line 760.
\c@part=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\@abstractbox=\box41
\c@figure=\count87
\c@table=\count88
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\js@tocl@width=\dimen119
\@lnumwidth=\dimen120
\bibindent=\dimen121
LaTeX Info: Redefining \TeX on input line 1731.
LaTeX Info: Redefining \LaTeX on input line 1757.
LaTeX Info: Redefining \LaTeXe on input line 1782.
\heisei=\count89
) (/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/txfonts.sty
Package: txfonts 2008/01/22 v3.2.1
LaTeX Font Info:    Redeclaring symbol font `operators' on input line 21.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  OT1/cmr/m/n --> OT1/txr/m/n on input line 21.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  OT1/cmr/bx/n --> OT1/txr/m/n on input line 21.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  OT1/txr/m/n --> OT1/txr/bx/n on input line 22.
\symitalic=\mathgroup5
LaTeX Font Info:    Overwriting symbol font `italic' in version `bold'
(Font)                  OT1/txr/m/it --> OT1/txr/bx/it on input line 26.
LaTeX Font Info:    Redeclaring math alphabet \mathbf on input line 29.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `normal'
(Font)                  OT1/cmr/bx/n --> OT1/txr/bx/n on input line 29.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `bold'
(Font)                  OT1/cmr/bx/n --> OT1/txr/bx/n on input line 29.
LaTeX Font Info:    Redeclaring math alphabet \mathit on input line 30.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `normal'
(Font)                  OT1/cmr/m/it --> OT1/txr/m/it on input line 30.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
(Font)                  OT1/cmr/bx/it --> OT1/txr/m/it on input line 30.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
(Font)                  OT1/txr/m/it --> OT1/txr/bx/it on input line 31.
LaTeX Font Info:    Redeclaring math alphabet \mathsf on input line 40.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `normal'
(Font)                  OT1/cmss/m/n --> OT1/txss/m/n on input line 40.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
(Font)                  OT1/cmss/bx/n --> OT1/txss/m/n on input line 40.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
(Font)                  OT1/txss/m/n --> OT1/txss/b/n on input line 41.
LaTeX Font Info:    Redeclaring math alphabet \mathtt on input line 50.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `normal'
(Font)                  OT1/cmtt/m/n --> OT1/txtt/m/n on input line 50.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
(Font)                  OT1/cmtt/m/n --> OT1/txtt/m/n on input line 50.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
(Font)                  OT1/txtt/m/n --> OT1/txtt/b/n on input line 51.
LaTeX Font Info:    Redeclaring symbol font `letters' on input line 58.
LaTeX Font Info:    Overwriting symbol font `letters' in version `normal'
(Font)                  OML/cmm/m/it --> OML/txmi/m/it on input line 58.
LaTeX Font Info:    Overwriting symbol font `letters' in version `bold'
(Font)                  OML/cmm/b/it --> OML/txmi/m/it on input line 58.
LaTeX Font Info:    Overwriting symbol font `letters' in version `bold'
(Font)                  OML/txmi/m/it --> OML/txmi/bx/it on input line 59.
\symlettersA=\mathgroup6
LaTeX Font Info:    Overwriting symbol font `lettersA' in version `bold'
(Font)                  U/txmia/m/it --> U/txmia/bx/it on input line 67.
LaTeX Font Info:    Redeclaring symbol font `symbols' on input line 77.
LaTeX Font Info:    Overwriting symbol font `symbols' in version `normal'
(Font)                  OMS/cmsy/m/n --> OMS/txsy/m/n on input line 77.
LaTeX Font Info:    Overwriting symbol font `symbols' in version `bold'
(Font)                  OMS/cmsy/b/n --> OMS/txsy/m/n on input line 77.
LaTeX Font Info:    Overwriting symbol font `symbols' in version `bold'
(Font)                  OMS/txsy/m/n --> OMS/txsy/bx/n on input line 78.
\symAMSa=\mathgroup7
LaTeX Font Info:    Overwriting symbol font `AMSa' in version `bold'
(Font)                  U/txsya/m/n --> U/txsya/bx/n on input line 94.
\symAMSb=\mathgroup8
LaTeX Font Info:    Overwriting symbol font `AMSb' in version `bold'
(Font)                  U/txsyb/m/n --> U/txsyb/bx/n on input line 103.
\symsymbolsC=\mathgroup9
LaTeX Font Info:    Overwriting symbol font `symbolsC' in version `bold'
(Font)                  U/txsyc/m/n --> U/txsyc/bx/n on input line 113.
LaTeX Font Info:    Redeclaring symbol font `largesymbols' on input line 120.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `normal'
(Font)                  OMX/cmex/m/n --> OMX/txex/m/n on input line 120.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `bold'
(Font)                  OMX/cmex/m/n --> OMX/txex/m/n on input line 120.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `bold'
(Font)                  OMX/txex/m/n --> OMX/txex/bx/n on input line 121.
\symlargesymbolsA=\mathgroup10
LaTeX Font Info:    Overwriting symbol font `largesymbolsA' in version `bold'
(Font)                  U/txexa/m/n --> U/txexa/bx/n on input line 129.
LaTeX Info: Redefining \not on input line 1043.
)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks15
)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2016/05/09 v1.0r Standard LaTeX Graphics (DPC,SPQR)

(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/01/02 v1.10 sample graphics configuration
)
Package graphics Info: Driver file: dvipdfmx.def on input line 96.

(/usr/local/texlive/2016/texmf-dist/tex/latex/dvipdfmx-def/dvipdfmx.def
File: dvipdfmx.def 2016/04/06 v4.08 LaTeX color/graphics driver for dvipdfmx (T
eX Live/ChoF)

(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
)))
\Gin@req@height=\dimen122
\Gin@req@width=\dimen123
)
(./Simutaneous Measurement.aux)
\openout1 = `"Simutaneous Measurement.aux"'.

LaTeX Font Info:    Checking defaults for OML/txmi/m/it on input line 4.
LaTeX Font Info:    Try loading font information for OML+txmi on input line 4.

(/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/omltxmi.fd
File: omltxmi.fd 2000/12/15 v3.1
)
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OMS/txsy/m/n on input line 4.
LaTeX Font Info:    Try loading font information for OMS+txsy on input line 4.

(/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/omstxsy.fd
File: omstxsy.fd 2000/12/15 v3.1
)
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OMX/txex/m/n on input line 4.
LaTeX Font Info:    Try loading font information for OMX+txex on input line 4.

(/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/omxtxex.fd
File: omxtxex.fd 2000/12/15 v3.1
)
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for U/txexa/m/n on input line 4.
LaTeX Font Info:    Try loading font information for U+txexa on input line 4.

(/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/utxexa.fd
File: utxexa.fd 2000/12/15 v3.1
)
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for JY1/mc/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for JT1/mc/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.

(I search kanjifont definition file: . . ) (I search font definition file: . .
. . . . . )
LaTeX Font Info:    Try loading font information for OT1+txr on input line 4.
 (/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/ot1txr.fd
File: ot1txr.fd 2000/12/15 v3.1
)
LaTeX Font Info:    Font shape `JT1/mc/m/n' will be
(Font)              scaled to size 16.60605pt on input line 9.
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 16.60605pt on input line 9.
LaTeX Font Info:    Font shape `JT1/mc/m/n' will be
(Font)              scaled to size 11.53198pt on input line 9.
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 11.53198pt on input line 9.
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 5.76599pt on input line 9.
LaTeX Font Info:    Try loading font information for U+txmia on input line 9.

(/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/utxmia.fd
File: utxmia.fd 2000/12/15 v3.1
)
LaTeX Font Info:    Try loading font information for U+txsya on input line 9.

(/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/utxsya.fd
File: utxsya.fd 2000/12/15 v3.1
)
LaTeX Font Info:    Try loading font information for U+txsyb on input line 9.

(/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/utxsyb.fd
File: utxsyb.fd 2000/12/15 v3.1
)
LaTeX Font Info:    Try loading font information for U+txsyc on input line 9.

(/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/utxsyc.fd
File: utxsyc.fd 2000/12/15 v3.1
)
LaTeX Font Info:    Font shape `JT1/mc/m/n' will be
(Font)              scaled to size 13.83836pt on input line 11.
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 13.83836pt on input line 11.
LaTeX Font Info:    Font shape `JT1/gt/m/n' will be
(Font)              scaled to size 13.83836pt on input line 11.
LaTeX Font Info:    Font shape `JY1/gt/m/n' will be
(Font)              scaled to size 13.83836pt on input line 11.
LaTeX Font Info:    Try loading font information for OT1+txss on input line 11.


(/usr/local/texlive/2016/texmf-dist/tex/latex/txfonts/ot1txss.fd
File: ot1txss.fd 2000/12/15 v3.1
)
LaTeX Font Info:    Font shape `OT1/txss/m/n' will be
(Font)              scaled to size 13.67995pt on input line 11.
LaTeX Font Info: 
川原 遼馬 への返信

Re: can't find "filename"というエラーで図が挿入できません

- 奥村 晴彦 の投稿
肝心のエラーメッセージが出る前にログが途切れてしまっていますので,これではよくわかりません。

しかし,そういうエラーが出るからには,TeX文書ファイルと図(test2.pdf)が同じフォルダに置いてないのでしょうね。
奥村 晴彦 への返信

Re: can't find "filename"というエラーで図が挿入できません

- 川原 遼馬 の投稿
奥村先生

挿入したい図を同じフォルダに入れてたら、タイプセットすることができました。

ありがとうございました。

川原