2

I am working to submit to a SIAM journal and am trying to add a figure. The latex file compiles but the pdf output is blank. Here is a MWE.

\documentclass[final,leqno,onefignum,onetabnum]{siamltex1213}

\usepackage{graphicx,epsfig,subfig}

\begin{document}

\begin{figure}
\includegraphics{test.eps}
\end{figure}

\end{document}

Any help would be appreciated!

  • Welcome to TeX.SX! How to do you compile your .tex file? – Pouya Oct 24 '14 at 23:10
  • Unrelated but you should not load epsfig. If you are using pdflatex you probably need to convert the eps to pdf. But latex should never silently do nothing there should be a warning in the log if it can not handle the image – David Carlisle Oct 24 '14 at 23:13
  • I compile the tex file using TeXShop using pdftex. I have used these packages before in this setting but with \documentclass{article} and there it compiles with no issues. So I am guessing it is a {siamltex1213} issue, however I am unable to find any documents on SIAM providing a sample figure to see what the problem is. – user64984 Oct 24 '14 at 23:40
  • @DavidCarlisle Doesn't graphicx now handle the conversion automatically? It seems to for me... – cfr Oct 24 '14 at 23:43
  • 1
    @cfr always believe the log file, not the description in the question:-) – David Carlisle Oct 24 '14 at 23:51
4

the class file loads graphicx and hyperef with explicit dvips options, so the intent is to use latex, dvips, ps2pdf to obtain PDF, not use pdflatex.

  • I see. Thank you so much for the quick responses and help. I downloaded texstudio which gives more options on compiling. Worked like you said, thanks again! – user64984 Oct 25 '14 at 3:00

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.