24小时热门版块排行榜    

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

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

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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 建议基金发布提前给出明确的时间点 +11 kulium 2026-08-21 14/700 2026-08-24 02:12 by 流流伤
[基金申请] 范进中举一文的中心思想 +4 炎黄贵胄 2026-08-22 5/250 2026-08-24 02:09 by 流流伤
[基金申请] 2026国自然函评费到账 +16 羊腰板 2026-08-21 17/850 2026-08-23 23:02 by tianxiaochun
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +4 process2012 2026-08-23 5/250 2026-08-23 19:58 by jurkat.1640
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 10/500 2026-08-23 12:38 by 简单化xn
[基金申请] 什么时候开奖? +9 CrisMessi 2026-08-18 10/500 2026-08-23 12:03 by 丶昵称占用
[基金申请] filecode,4个jtjc了 +13 ziyangfang 2026-08-19 16/800 2026-08-22 17:08 by WH3796
[基金申请] 今天基金会出结果吗?20260819 +16 kkkl_v 2026-08-19 17/850 2026-08-22 16:12 by 阿布Abu
[基金申请] 时间戳今天,20号变了 +5 archvillain 2026-08-20 5/250 2026-08-22 06:12 by hui_daxiao
[基金申请] 放榜前的不淡定 40+4 snowwithsea 2026-08-19 14/700 2026-08-21 23:51 by cratir
[基金申请] 今日不放榜?网传国自然预计 8 月 27 日可查结果 +16 医学老男孩 2026-08-20 20/1000 2026-08-21 21:13 by Ldrop2023
[基金申请] 看来今天不会放榜了? +8 chengyan1220 2026-08-21 11/550 2026-08-21 17:52 by dcqxinyang
[基金申请] 时间戳又变了 +13 wuchongjun 2026-08-20 19/950 2026-08-21 17:21 by 紫杉醇
[基金申请] 感觉是下周放榜了 +7 angus9576 2026-08-17 12/600 2026-08-21 13:38 by weiyin
[基金申请] 应该是下周三26日公布了吧? +4 哈哈蛤? 2026-08-21 4/200 2026-08-21 10:58 by Vivilian
[基金申请] 今天放榜没戏了吧 +9 yuleib84 2026-08-19 11/550 2026-08-21 10:06 by gltch
[基金申请] 估计是周四 +3 archvillain 2026-08-18 3/150 2026-08-21 01:48 by jnhyjjm
[基金申请] 重要消息,中午系统在维护 +11 yuleib84 2026-08-18 12/600 2026-08-20 11:09 by xskun
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
[基金申请] 今天维护系统维护 祝所有人 高中 +8 gjjjzhong 2026-08-18 9/450 2026-08-18 13:01 by 家与远方
信息提示
请填处理意见