I am trying to convert eps figure (generated by Matlab) to PDF. The goal is to attach the figure to a conference paper for publication. As many others have pointed out, Matlab generate eps files with non-embedded fonts and as a result IEEE does not accept the PDF. I have been looking to solve this issue for a couple of days.

I have tried using epstopdf package which generates a PDF but when I tried to upload the paper, IEEE still does not allow due to the font issue. I have been trying to edit the options of the epstopdf package by changing

Here is a sample code:




\chapter{Main report}

\chapter{Parametric study}


\section{Subset A}
\caption{Parametric study - subset A.}


This gives me a "Undefined control sequence" error. I have already checked my Pdflatex option as recommended by others: "pdflatex -synctex=1 -interaction=nonstopmode --shell-escape %.tex" is set already.

My problems are: how can I use \epstopdfsetup option inside a latex file? and how can I use \epstopdfsetup to generate a PDF from eps that will solve the non-embedded font issue. Thanks so much.

  • 1
    Imho epstopdf (the programm not the package) already uses the embed option. You should at first try on the command line if epstopdf file or epstopdf --embed file gets you are correct pdf. Nov 3, 2017 at 16:54
  • I am using Texmaker. Where should I run this command? Thanks.
    – jhon_wick
    Nov 3, 2017 at 19:38
  • You should run it in console. However, it seems there are some issues with 32-bit MiKTeX: github.com/MiKTeX/miktex/issues/296. As @UlrikeFischer mentioned, fonts should be embedded by default, but they are not.
    – ivankokan
    May 5, 2019 at 13:07
  • Hi, are you maybe using MiKTeX installed "for all users"?
    – ivankokan
    Jul 31, 2019 at 12:47
  • Hi @UlrikeFischer. Do you understand this issue github.com/MiKTeX/miktex/issues/386?
    – ivankokan
    Oct 14, 2019 at 15:56


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.