由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
TeX版 - Latex figure: can not find figure
相关主题
关于Latex插入图表之我见one question about latex figure
请教两个插图的问题latex里面如果禁止eps图片浮动啊?
导入一大堆figures,说“pdflatex.exe: Too many open files”【如何用latex给图片加上公式或者文字】
2列文章里面跨列图片请教图片排版问题
问一个pdfpages package 的问题请问怎么把两幅图并排放?用不同的标题?
unkown graphics extension:.eps插图问题
metapost画图在miktex中显示问题。不用figure env图片确实不会乱串
how to import graphs into latex?加载多幅图片出现的问题,无法显示
相关话题的讨论汇总
话题: latex话题: figure话题: file话题: command
进入TeX版参与讨论
1 (共1页)
a****e
发帖数: 40
1
Hi all,
I have a latex file with figures in the same directory as the tex file (my.tex).
When I run the following command
latex --src-specials my
There is an error saying the figure file can not be found
!Latex Error: File 'ObjectsOne.eps' not found.
I used the following command to include the file:
\begin{figure}
\centering
\includegraphics[angle=0,width=3.25in]{ObjectsOne.eps} \\
\includegraphics[angle=0,width=3.25in]{ObjectsTwo.eps}
\caption{Sample Objects}\label{Fig:Sampl
T*******n
发帖数: 493
2

my.tex).
\includegraphics will automatically append ".eps" to the file name,
so just say \includegraphics[...]{ObjectsOne}, without the ".eps"
extension.

【在 a****e 的大作中提到】
: Hi all,
: I have a latex file with figures in the same directory as the tex file (my.tex).
: When I run the following command
: latex --src-specials my
: There is an error saying the figure file can not be found
: !Latex Error: File 'ObjectsOne.eps' not found.
: I used the following command to include the file:
: \begin{figure}
: \centering
: \includegraphics[angle=0,width=3.25in]{ObjectsOne.eps} \\

a****e
发帖数: 40
3
I tried it, still reported error.

【在 T*******n 的大作中提到】
:
: my.tex).
: \includegraphics will automatically append ".eps" to the file name,
: so just say \includegraphics[...]{ObjectsOne}, without the ".eps"
: extension.

a******s
发帖数: 232
4
This must be a stupid problem. Are you sure the file name is not objectsone.
eps?
or sth like that? Have you included graphicx package? Normally, this kind of
problems are the easiest problems and should not be latex related at all.

my.tex).
the administrator just updated my machine, I am guessing my MikTex was changed
somewhere.

【在 a****e 的大作中提到】
: Hi all,
: I have a latex file with figures in the same directory as the tex file (my.tex).
: When I run the following command
: latex --src-specials my
: There is an error saying the figure file can not be found
: !Latex Error: File 'ObjectsOne.eps' not found.
: I used the following command to include the file:
: \begin{figure}
: \centering
: \includegraphics[angle=0,width=3.25in]{ObjectsOne.eps} \\

a****e
发帖数: 40
5
I am pretty sure about the file name and the package inclusion.
The identical stuff can be compiled without any problem on my laptop, but it
failed on the desktop.
Considering the desktop just got an update by the administrator, something
must have been changed.
I just want to figure out what are the possible changes that caused this, and
fix it.
I prefer to work on the desktop over on the laptop.

changed

【在 a******s 的大作中提到】
: This must be a stupid problem. Are you sure the file name is not objectsone.
: eps?
: or sth like that? Have you included graphicx package? Normally, this kind of
: problems are the easiest problems and should not be latex related at all.
:
: my.tex).
: the administrator just updated my machine, I am guessing my MikTex was changed
: somewhere.

T*******n
发帖数: 493
6
I've never used MikTeX, but its implementation of LaTeX has some
non-standard behavior. The --src-specials argument that you use
seems to be one of these, which I now suspect to be related to the
problem.
MikTeX should have a program called "kpsewhich". You should
open the DOS-like command-line terminal in Windows, go to the
directory where you have my.tex, and run the commands
kpsewhich my.tex
kpsewhich ObjectsOne.eps
LaTeX normally finds files through kpsewhich, so the first command

【在 a****e 的大作中提到】
: I am pretty sure about the file name and the package inclusion.
: The identical stuff can be compiled without any problem on my laptop, but it
: failed on the desktop.
: Considering the desktop just got an update by the administrator, something
: must have been changed.
: I just want to figure out what are the possible changes that caused this, and
: fix it.
: I prefer to work on the desktop over on the laptop.
:
: changed

a****e
发帖数: 40
7
Thanks a lot.
I figured out the problem.
There was a system update and, during the update, I do not have the read right
for the eps files.
The administrator changed the permission settings, and I can compile it now.
Thank you!

【在 T*******n 的大作中提到】
: I've never used MikTeX, but its implementation of LaTeX has some
: non-standard behavior. The --src-specials argument that you use
: seems to be one of these, which I now suspect to be related to the
: problem.
: MikTeX should have a program called "kpsewhich". You should
: open the DOS-like command-line terminal in Windows, go to the
: directory where you have my.tex, and run the commands
: kpsewhich my.tex
: kpsewhich ObjectsOne.eps
: LaTeX normally finds files through kpsewhich, so the first command

1 (共1页)
进入TeX版参与讨论
相关主题
加载多幅图片出现的问题,无法显示问一个pdfpages package 的问题
为什么在linux下编译没问题,移植到windows下出了很多错误?unkown graphics extension:.eps
请教高手:subfig 排三个图metapost画图在miktex中显示问题。
how to include equations in tgif/xfig figureshow to import graphs into latex?
关于Latex插入图表之我见one question about latex figure
请教两个插图的问题latex里面如果禁止eps图片浮动啊?
导入一大堆figures,说“pdflatex.exe: Too many open files”【如何用latex给图片加上公式或者文字】
2列文章里面跨列图片请教图片排版问题
相关话题的讨论汇总
话题: latex话题: figure话题: file话题: command