Re: [問題] 加入eps圖檔的問題

看板LaTeX (論文排版)作者時間18年前 (2007/11/06 19:32), 編輯推噓2(201)
留言3則, 1人參與, 最新討論串2/2 (看更多)
我都是用 eps 檔,我的寫法是 \begin{figure}[ht] \begin{center} \leavevmode \hbox{ \epsfxsize = 2.5in \epsffile{fim.eps}} \end{center} \caption{Illustration of {\bf Case1}.} \label{fig} \end{figure} 在 title 附近需要加入下面這行 \input epsf ==> 在 naturalskyss.bbs@ptt.cc (宿醉) 的文章中提到: > 您好, > 我想請問latex加入圖檔的問題, > 我中文是用cwTEX, > 如果我是加入jpg檔就可以, > 但是如果我加eps檔就不行, > 相關語法如下: > \includegraphics[width=.9\textwidth]{fim.jpg} > 就可以, > 如果改成: > \includegraphics[width=.9\textwidth]{fim.eps} > 就不行, > compile會過, > 但再要開啟pdf的時候, > 會出現 > There was an error opening this document. > The file is damaged and could not be repaired. > 麻煩高手幫忙一下謝謝! -- 聖經查詢系統 http://springbible.fhl.net 芳苑教會 http://fychurch.fhl.net hypercube 與 star networks http://blog.xuite.net/springman/hypercube 網路城邦 http://city.udn.com/v1/blog/index.jsp?uid=springman 我的 blog http://blog.xuite.net/springman -- * Origin: ★ 交通大學資訊科學系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>

11/07 15:06, , 1F
還是不行耶 不過還是感謝你的回答
11/07 15:06, 1F

11/08 11:33, , 2F
後來解決了 自問自答
11/08 11:33, 2F

11/08 11:35, , 3F
在cmd加上-shell-escape參數就可以了
11/08 11:35, 3F
文章代碼(AID): #17C52p00 (LaTeX)
文章代碼(AID): #17C52p00 (LaTeX)