sunriseonly 发表于 2008-6-3 12:16

求助 :Latex 中插入EPS图形

我按照一下语句:
\begin{figure}
    \includegraphics{figur1.eps}\\
\caption{Abbildung1}
\end{figure}
插入图形,确只能显示出Abbildung1和一片空白,图形出不来而且空白也不在我插入的地方,不知道为什么。图形我已经用Imagemagic转换为EPS格式,而且存储在和Text 同一个文件夹下面。在导言部分我已引入\usepackage{graphicx}。求教高人给指点一下,问题出在哪里。先谢谢了。

格子布鞋 发表于 2008-6-3 12:31

did you clarify the path to the figure?

you can also check the error messages to find out the problem

sunriseonly 发表于 2008-6-3 12:35

我给出路径的时候,会报错
Runaway argument?
{\includegraphics {H:/studium/Latex/figur1.eps} \renewcommand \ET
C.
! File ended while scanning use of \Gscale@box@dd.
<inserted text>
                \par
<*> H:/studium/Latex/_temp.tex
                              
! Emergency stop.
<*> H:/studium/Latex/_temp.tex
                              
!==> Fatal error occurred, no output PDF file produced!
Transcript written on _temp.log.
也不知道这是什么错误,不给出路径反而不报错就是不显示图片。
谢谢楼上的回复。

adlb 发表于 2008-6-3 13:01

原帖由 sunriseonly 于 2008-6-3 13:16 发表 http://www.dolc.de/forum/images/common/back.gif
我按照一下语句:
\begin{figure}
    \includegraphics{figur1.eps}\\
\caption{Abbildung1}
\end{figure}
插入图形,确只能显示出Abbildung1和一片空白,图形出不来而且空白也不在我插入的地方 ...

用下面的试试:

   - 引入用 \usepackage{graphicx}

   - \begin{figure}
      \centering
      \includegraphics{figur1}
      \caption{Abbildung1}\label{fig:figur1}
   \end{figure}

sunriseonly 发表于 2008-6-3 13:09

我把楼上给的程序复制进去,但是有个问题如果我在导言部分用的是
\usepackage{graphicx}就可以找到figur1,可以编译,但是图形不会显示出来。
如果只用楼上给的
\usepackage{graphicx}
就提示错误,找不到figur1。
我怀疑是不是我的EPS图形文件有问题。

adlb 发表于 2008-6-3 13:19

原帖由 sunriseonly 于 2008-6-3 14:09 发表 http://www.dolc.de/forum/images/common/back.gif
我把楼上给的程序复制进去,但是有个问题如果我在导言部分用的是
\usepackage{graphicx}就可以找到figur1,可以编译,但是图形不会显示出来。
如果只用楼上给的
\usepackage{graphicx}
就提示错误,找不到 ...

试试用图形文件代替eps文件, z.B, figur1.png statt figur1.eps

sunriseonly 发表于 2008-6-3 13:19

好的,谢谢楼上,我试试看

sunriseonly 发表于 2008-6-3 13:57

我把他转成Pdf格式的图片,现在可以你用了。谢谢你们的回复

anjanette 发表于 2008-6-3 21:49

如果 你的ausgangdatei 是pdf的话,eps不能用的。
反之,如果dvi输出的话,jpg等也是不可以。

zyyj 发表于 2008-6-8 08:58

页: [1]
查看完整版本: 求助 :Latex 中插入EPS图形