2023年7月25日 星期二

投稿錯誤訊息 QQ (Font XXX is not embedded)

今天傳camera ready論文到IEEE上, 然後一直遇到fail, 錯誤訊息說: 

Errors: Font Arial, Arial,Bold is not embedded (165x on page 2) 


論文是用overleaf寫的, 後來查到這篇:

https://www.overleaf.com/learn/latex/Questions/My_submission_was_rejected_by_the_journal_because_%22Font_XYZ_is_not_embedded%22._What_can_I_do%3F


摘錄重點如下:

Alternatively, you can get Overleaf to post-process the PDF for you, though this may cause your project to take some longer time to compile. First, add a file called latexmkrc (without extensions) to your project, and then paste the following line in that file:

$pdflatex = 'pdflatex %O %S; ps2pdf14 -dPDFSETTINGS=/prepress %B.pdf %B-embed.pdf; mv %B-embed.pdf %B.pdf';

You may have to make some kind of small change in your .tex file to trigger a re-compilation and the post-processing to happen.


簡單說就是, 在自己的overleaf專案首頁開一個新的檔案: latexmkrc, 不需要副檔名

裡面貼上這段指令

$pdflatex = 'pdflatex %O %S; ps2pdf14 -dPDFSETTINGS=/prepress %B.pdf %B-embed.pdf; mv %B-embed.pdf %B.pdf';

重新編譯 & 再度上傳就pass了!!

沒有留言: