24小时热门版块排行榜    

CyRhmU.jpeg
查看: 3347  |  回复: 6

z770428

金虫 (正式写手)


[求助] ! LaTeX Error: File `fig/Fig.1.' not found.已有2人参与

hello, this is my amsarticle.tex , my figure path is 'C:\Users\acer\Desktop\AmsArticle\fig' , file 'fig' and file 'amsarticle.tex'  is in same file 'AmsArticle'  the figure is pdf or eps style.
i use Texwork 2.9 and pdflatex to complie but the console output is ,

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
(C:/Users/acer/Desktop/AmsArticle/AmsArticle.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for loaded.
(D:\CTEX\MiKTeX\tex\latex\ams\classes\amsart.cls
Document Class: amsart 2009/07/02 v2.20.1
(D:\CTEX\MiKTeX\tex\latex\ams\math\amsmath.sty
For additional information on amsmath, use the `?' option.
(D:\CTEX\MiKTeX\tex\latex\ams\math\amstext.sty
(D:\CTEX\MiKTeX\tex\latex\ams\math\amsgen.sty))
(D:\CTEX\MiKTeX\tex\latex\ams\math\amsbsy.sty)
(D:\CTEX\MiKTeX\tex\latex\ams\math\amsopn.sty))
(D:\CTEX\MiKTeX\tex\latex\amsfonts\umsa.fd)
(D:\CTEX\MiKTeX\tex\latex\amsfonts\amsfonts.sty))
(D:\CTEX\MiKTeX\tex\latex\graphics\graphicx.sty
(D:\CTEX\MiKTeX\tex\latex\graphics\keyval.sty)
(D:\CTEX\MiKTeX\tex\latex\graphics\graphics.sty
(D:\CTEX\MiKTeX\tex\latex\graphics\trig.sty)
(D:\CTEX\MiKTeX\tex\latex\00miktex\graphics.cfg)
(D:\CTEX\MiKTeX\tex\latex\00miktex\dvipdfm.def)))
(D:\CTEX\MiKTeX\tex\latex\wrapfig\wrapfig.sty)
(D:\CTEX\MiKTeX\tex\latex\graphics\epsfig.sty)
(D:\CTEX\MiKTeX\tex\latex\subfigure\subfigure.sty
****************************************
* Local config file subfigure.cfg used *
****************************************
(D:\CTEX\MiKTeX\tex\latex\subfigure\subfigure.cfg))
(D:\CTEX\MiKTeX\tex\latex\tools\tabularx.sty
(D:\CTEX\MiKTeX\tex\latex\tools\array.sty))
(D:\CTEX\MiKTeX\tex\latex\booktabs\booktabs.sty)
(D:\CTEX\MiKTeX\tex\latex\tools\multicol.sty)
(D:\CTEX\MiKTeX\tex\latex\preprint\balance.sty)
(D:\CTEX\MiKTeX\tex\latex\fancyhdr\fancyhdr.sty)
(C:\Users\acer\Desktop\AmsArticle\AmsArticle.aux)
(D:\CTEX\MiKTeX\tex\latex\amsfonts\umsa.fd)
(D:\CTEX\MiKTeX\tex\latex\amsfonts\umsb.fd)
Package Fancyhdr Warning: \headheight is too small (8.0pt):
Make it at least 14.0pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[1{D:/CTEX/UserData/pdftex/config/pdftex.map{Unicode.sfd}{UGBK.sfd}}]
LaTeX Warning: File `fig/Fig.1.' not found on input line 99.
! LaTeX Error: File `fig/Fig.1.' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.99 \includegraphics[width=2.5in]{fig/Fig.1.}
?




% AMS-LaTeX Paper ************************************************
% **** -----------------------------------------------------------
\documentclass[dvipdfm,12pt]{amsart}
\usepackage{graphicx}
\usepackage{wrapfig}%(P227)
\usepackage{epsfig}
\usepackage{epstopdf}
\usepackage{subfigure}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{subfigure}
\usepackage[dvips, usenames]{color}
\usepackage{multicol,balance}
\usepackage{fancyhdr}
% ----------------------------------------------------------------
\vfuzz2pt % Don't report over-full v-boxes if over-edge is small
\hfuzz2pt % Don't report over-full h-boxes if over-edge is small
% THEOREMS -------------------------------------------------------
\newtheorem{thm}{Theorem}[section]
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition}
\theoremstyle{remark}
\newtheorem{rem}[thm]{Remark}
\numberwithin{equation}{section}
% MATH -----------------------------------------------------------
\DeclareMathOperator{\RE}{Re}
\DeclareMathOperator{\IM}{Im}
\newcommand{\norm}[1]{\left\Vert#1\right\Vert}
\newcommand{\abs}[1]{\left\vert#1\right\vert}
\newcommand{\set}[1]{\left\{#1\right\}}
\newcommand{\Real}{\mathbb R}
\newcommand{\eps}{\varepsilon}
\newcommand{\To}{\longrightarrow}
\newcommand{\BX}{\mathbf{B}(X)}
\newcommand{\A}{\mathcal{A}}
\renewcommand\theequation{\arabic{section}.\arabic{equation}}
\numberwithin{equation}{section}
% \setcounter{page}{1}
\setcounter{equation}{0}
\setlength{\parindent}{2em}
\setlength{\baselineskip}{1.8em}
\setlength{\itemsep}{13pt}
\setlength{\parindent}{2em}
%\renewcommand{\theequation}{A\arabic{equation}}
\renewcommand{\theequation}{\arabic{equation}}
\DeclareGraphicsRule{.pdf}{pdf}{.pdf}{}
% ----------------------------------------------------------------
\begin{document}

\title{Fracture analysis in orthotropic thermoelasticity using extended finite element method*}%
\author{xxx}%
\address{xxx}%
\email{}%
\thanks{This work was supported by the National Natural Science Foundation of China (Nos.xxx),$\ast$Corresponding author,xxx}%
\keywords{fracture,orthotropic,thermoelasticity,XFEM,interaction integral method}%
% ----------------------------------------------------------------

\begin{abstract}
In this paper, ............................
\end{abstract}
\maketitle
\fancypagestyle{plain}
% ----------------------------------------------------------------
\section*{Introduction}
\small  Recently, .....................................
\section{Fracture mechani.....................}
............................................

\begin{equation}%1\label{(1)}
\varepsilon_{1}=\varepsilon_{11},\varepsilon_{2}=\varepsilon_{22},\varepsilon_{3}=\varepsilon_{33},\varepsilon_{4}=2\varepsilon_{23},\varepsilon_{5}=2\varepsilon_{31},\varepsilon_{6}=2\varepsilon_{12}
\end{equation}\right. \eqno(1)
............................................
................................
\begin{figure}
\captionstyle{flushleft}
\onelinecaptionstrue
\centering
\graphicspath{{D:\CTEX\MiKTeX\tex\latex\ams\fig\Fig.1.pdf/}}
%\includegraphics[width=2.5in]{fig/Fig.1}
%\includegraphics[width=2.5in]{fig.pdf }
%\includegraphics[width=2.5in]{fig/Fig.1}
%\includegraphics[width=2.5in]{fig}
%\includegraphics[width=2.5in]{Fig.1.pdf}
\epsfig{figure=Fig.1.eps,width==2.5in}
%\epsfig{figure=Fig.1,width==2.5in}
\centerline{\psfig{file=fig}}
\caption{An arbitrary orthotropic body with traction t, with global Cartesian co-ordinate\,$(X_{1},X_{2})$,\, local polar co-ordinate\,$(r,\theta)$ \,originating at the crack-tip and various boundary conditions.}\label{Fig 1.}
\end{figure}
..........................
....................
\end{document}
% ----------------------------------
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lihh_chf

木虫 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
内容已删除
2楼2014-02-21 10:30:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

z770428

金虫 (正式写手)


我把AmsArticle.tex D:/CTEX/MiKTeX/tex/latex/ams/AmsArticle.tex, Fig.1.eps和AmsArticle.tex同 在ams里 按照你的提示,有出现错误
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
(D:/CTEX/MiKTeX/tex/latex/ams/AmsArticle.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for loaded.
(D:\CTEX\MiKTeX\tex\latex\ams\classes\amsart.cls
Document Class: amsart 2009/07/02 v2.20.1
(D:\CTEX\MiKTeX\tex\latex\ams\math\amsmath.sty
For additional information on amsmath, use the `?' option.
(D:\CTEX\MiKTeX\tex\latex\ams\math\amstext.sty
(D:\CTEX\MiKTeX\tex\latex\ams\math\amsgen.sty))
(D:\CTEX\MiKTeX\tex\latex\ams\math\amsbsy.sty)
(D:\CTEX\MiKTeX\tex\latex\ams\math\amsopn.sty))
(D:\CTEX\MiKTeX\tex\latex\amsfonts\umsa.fd)
(D:\CTEX\MiKTeX\tex\latex\amsfonts\amsfonts.sty))
(D:\CTEX\MiKTeX\tex\latex\graphics\graphicx.sty
(D:\CTEX\MiKTeX\tex\latex\graphics\keyval.sty)
(D:\CTEX\MiKTeX\tex\latex\graphics\graphics.sty
(D:\CTEX\MiKTeX\tex\latex\graphics\trig.sty)
(D:\CTEX\MiKTeX\tex\latex\00miktex\graphics.cfg)
(D:\CTEX\MiKTeX\tex\latex\00miktex\dvipdfm.def)))
(D:\CTEX\MiKTeX\tex\latex\wrapfig\wrapfig.sty)
(D:\CTEX\MiKTeX\tex\latex\graphics\epsfig.sty)
(D:\CTEX\MiKTeX\tex\latex\oberdiek\epstopdf.sty
(D:\CTEX\MiKTeX\tex\latex\oberdiek\epstopdf-base.sty
(D:\CTEX\MiKTeX\tex\generic\oberdiek\infwarerr.sty)
(D:\CTEX\MiKTeX\tex\latex\oberdiek\grfext.sty
(D:\CTEX\MiKTeX\tex\generic\oberdiek\kvdefinekeys.sty
(D:\CTEX\MiKTeX\tex\generic\oberdiek\ltxcmds.sty)))
(D:\CTEX\MiKTeX\tex\latex\oberdiek\kvoptions.sty
(D:\CTEX\MiKTeX\tex\generic\oberdiek\kvsetkeys.sty
(D:\CTEX\MiKTeX\tex\generic\oberdiek\etexcmds.sty
(D:\CTEX\MiKTeX\tex\generic\oberdiek\ifluatex.sty))))
(D:\CTEX\MiKTeX\tex\generic\oberdiek\pdftexcmds.sty
(D:\CTEX\MiKTeX\tex\generic\oberdiek\ifpdf.sty))

Package epstopdf Warning: Drivers other than `pdftex.def' are not supported.

)) (D:\CTEX\MiKTeX\tex\latex\subfigure\subfigure.sty
****************************************
* Local config file subfigure.cfg used *
****************************************
(D:\CTEX\MiKTeX\tex\latex\subfigure\subfigure.cfg))
(D:\CTEX\MiKTeX\tex\latex\tools\tabularx.sty
(D:\CTEX\MiKTeX\tex\latex\tools\array.sty))
(D:\CTEX\MiKTeX\tex\latex\booktabs\booktabs.sty)
(D:\CTEX\MiKTeX\tex\latex\graphics\color.sty
(D:\CTEX\MiKTeX\tex\latex\00miktex\color.cfg)
(D:\CTEX\MiKTeX\tex\latex\graphics\dvipsnam.def))
(D:\CTEX\MiKTeX\tex\latex\tools\multicol.sty)
(D:\CTEX\MiKTeX\tex\latex\preprint\balance.sty)
(D:\CTEX\MiKTeX\tex\latex\fancyhdr\fancyhdr.sty)
No file AmsArticle.aux.
(D:\CTEX\MiKTeX\tex\latex\amsfonts\umsa.fd)
(D:\CTEX\MiKTeX\tex\latex\amsfonts\umsb.fd) [1{D:/CTEX/UserData/pdftex/config/p
dftex.map{Unicode.sfd}{UGBK.sfd}}
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!]

LaTeX Warning: File `Fig.1' not found on input line 102.


! LaTeX Error: File `Fig.1' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...                                             
                                                  
l.102  \epsfig{figure=Fig.1,width==2.5in}
                                         
?

为什么
3楼2014-02-21 10:54:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

z770428

金虫 (正式写手)


\begin{figure}
%\captionstyle{flushleft}
%\onelinecaptionstrue
\centering
\graphicspath{{D:\CTEX\MiKTeX\tex\latex\ams\Fig.1.pdf/}}
%\includegraphics[width=2.5in]{fig/Fig.1}
%\includegraphics[width=2.5in]{fig.pdf }
%\includegraphics[width=2.5in]{fig/Fig.1}
%\includegraphics[width=2.5in]{fig}
%\includegraphics[width=2.5in]{Fig.1.pdf}
% \epsfig{figure=Fig.1.eps,width==2.5in}
\epsfig{figure=Fig.1,width==2.5in}
%\centerline{\psfig{file=fig}}
\caption{An arbitrary orthotropic body with traction t, with global Cartesian co-ordinate\,$(X_{1},X_{2})$,\, local polar co-ordinate\,$(r,\theta)$ \,originating at the crack-tip and various boundary conditions.}\label{Fig 1.}
\end{figure}
4楼2014-02-21 11:15:19
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lightning0

木虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
pdf格式的图片用pdflatex编译,eps格式的图片用latex编译
5楼2014-02-21 20:09:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

z770428

金虫 (正式写手)


都试过,不行
6楼2014-02-22 09:18:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

onebeing

铜虫 (小有名气)

引用回帖:
6楼: Originally posted by z770428 at 2014-02-22 09:18:36
都试过,不行

楼主解决了吗?求助解决方法!!!!!谢谢
justdoit!
7楼2015-10-29 09:30:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 z770428 的主题更新
信息提示
请填处理意见