最近投稿了一篇Springer出版社的一篇期刊,LaTeX投稿按照 Editorial Manager (EM) 的指示除了一點小困難:
本地LaTeX使用清華鏡像CTEX的MikTex編譯完好無損,直接通過了。但是EM在線編譯的時候,一直報錯:
! Package pdftex.def Error: File `xxx.png' not found: using draft setting.
我按照各種方法:
1. 在D:\CTex\MiKTeX\tex\latex路徑下搜索pdftex.def,放在我的LaTeX編譯文件的同級目錄(文件夾)下 --> 失敗!
2. 把LaTeX編譯文件夾下所有的LaTeX supporting文件全部上傳(包括.bbl .aux .bib .blg .cls)--> 仍失敗
3. 上傳Springer模板的 .dvi到EM在線編譯 --> 仍失敗!
4. ……改了一下午回到了最初的起點
在EM系統(attach file)有這么一段提示(我英語差,就被迷迷糊糊地被誤導了):
All files must be on the same folder level; do not use sub folders
The main manuscript TeX file must be the first item
Define the main TeX file as ‘Manuscript’ in the drop down box
Upload any image files (e.g. EPS, PNG, TiFF, etc.) as figures
Upload any TeX supporting files and any (journal) specific style files that are referenced in the TeX file and declare them as ’LaTeX Supporting File(s)
Upload a PDF version of your article as supplementary material for reference
Ensure special characters (like ä/ö/ü) have been converted to appropriate TeX code
Do not use own macros or fonts, or .ps and .dvi files
The TeX files should not have any errors in order for the PDF to be built. Any errors will be shown in the generated PDF. For example: ! LaTeX Error: File ‘trackchanges.sty’ not found.
For XeLaTeX submissions, add this as the first line in your TeX file: %!TEX TS-program = xelatex
所有文件必須位於同一文件夾級別;不要使用子文件夾
主手稿文本文件必須是第一項
在下拉框中將主TeX文件定義為“手稿”
將任何圖像文件(如EPS、PNG、TiFF等)上傳為圖片
上載TeX文件中引用的任何TeX支持文件和任何(日志)特定樣式文件,並將它們聲明為“LaTeX支持文件”
上傳你文章的PDF版本作為補充資料以供參考
確保特殊字符(如ä/ö/ü)已轉換為適當的TeX代碼
不要使用自己的宏或字體,或.ps和.dvi文件
為了生成PDF,TeX文件不應該有任何錯誤。任何錯誤都將顯示在生成的PDF中。例如:!錯誤:文件'軌跡更改.sty“找不到。
對於Xeletex提交,將此添加為TeX文件的第一行:%!TEX TS program=Xeletex公司
有關乳膠的更多提示,請參閱本幫助頁。
所以我的view submission就是:
! Package pdftex.def Error: File `xxx.png' not found: using draft setting.
和
Click here to access/download
Figure
xxx.PNG
其實,畫個重點:
上傳的figure應該選擇EM系統的Attach Files的*Manuscript--Manuscript下拉框!
上述的! Package pdftex.def Error就解決了!
感謝全能王:sumoier(https://www.cnblogs.com/sunny99/ )的幫助!