24小时热门版块排行榜    

查看: 3664  |  回复: 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的回帖

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的回帖
查看全部 7 个回答

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的回帖

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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 9/450 2026-08-23 10:59 by Tide man
[基金申请] 什么时候开奖? +8 CrisMessi 2026-08-18 9/450 2026-08-23 10:49 by 旋风马1987
[基金申请] 2026国自然函评费到账 +15 羊腰板 2026-08-21 16/800 2026-08-23 10:45 by process2012
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 2JOx3r2CYEgw 2026-08-22 5/250 2026-08-23 07:41 by OEbVnUOu01ol
[论文投稿] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +3 2JOx3r2CYEgw 2026-08-22 4/200 2026-08-23 04:04 by OEbVnUOu01ol
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 2JOx3r2CYEgw 2026-08-22 7/350 2026-08-23 03:55 by OEbVnUOu01ol
[论文投稿] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 2JOx3r2CYEgw 2026-08-22 5/250 2026-08-23 03:52 by OEbVnUOu01ol
[论文投稿] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 2JOx3r2CYEgw 2026-08-22 6/300 2026-08-23 03:40 by OEbVnUOu01ol
[考博] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 DpSrDtM079iu 2026-08-22 3/150 2026-08-23 00:55 by OEbVnUOu01ol
[基金申请] 只有每年这种时候来逛逛小木虫 +24 yaoyewhu2008 2026-08-20 26/1300 2026-08-22 17:43 by kammury
[基金申请] filecode,4个jtjc了 +13 ziyangfang 2026-08-19 16/800 2026-08-22 17:08 by WH3796
[基金申请] 建议基金发布提前给出明确的时间点 +10 kulium 2026-08-21 13/650 2026-08-21 21:58 by alongwaytogo
[基金申请] 科研孤儿太难了 +17 我4大白菜 2026-08-20 18/900 2026-08-21 20:57 by zhangev
[基金申请] 感觉是下周放榜了 +7 angus9576 2026-08-17 12/600 2026-08-21 13:38 by weiyin
[基金申请] 我面上完蛋了 +7 且听虎啸 2026-08-20 8/400 2026-08-21 12:31 by 酷酷墨镜
[基金申请] 应该是下周三26日公布了吧? +4 哈哈蛤? 2026-08-21 4/200 2026-08-21 10:58 by Vivilian
[论文投稿] 投稿咨询 +5 wwm09 2026-08-17 7/350 2026-08-21 10:11 by 期刊论文帮手
[基金申请] 今天放榜没戏了吧 +9 yuleib84 2026-08-19 11/550 2026-08-21 10:06 by gltch
[基金申请] 基金啊基金 +4 longfie172 2026-08-20 4/200 2026-08-21 08:58 by mark mao
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
信息提示
请填处理意见