LaTeX forum ⇒ Articles, Essays, and Journal TemplatesCompilation error

IEEE, Elsevier, ACM, ACE, Science, AGU, PNAS, PLOS, RSoC, Springer, Stylish articles and Essays
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Compilation error

Postby templateuser » Thu Mar 19, 2015 2:02 pm

  1. (/usr/share/texmf-texlive/tex/latex/graphics/dvips.def)))
  2. (/usr/share/texmf-texlive/tex/latex/float/float.sty)
  3. (/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty)
  4. (/usr/share/texmf-texlive/tex/latex/lipsum/lipsum.sty) (./essay_1.aux) [1]
  5. (./essay_1.toc) [1]
  6.  
  7. LaTeX Warning: Citation `Figueredo:2009dg’ on page 2 undefined on input line 93
  8. .
  9.  
  10. [2]
  11.  
  12. ! LaTeX Error: Cannot determine size of graphic in placeholder (no Bounding
  13. Box).
  14.  
  15. See the LaTeX manual or LaTeX Companion for explanation.
  16. Type H for immediate help.
  17.  
  18. l.114 …\linewidth]{placeholder}
  19. }


ertg

Tags:

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Postby templateuser » Thu Mar 19, 2015 2:02 pm

  1. do make eps ; make all
  2.  
  3. cat Makefile
  4.  
  5. eps:
  6. convert Pictures/placeholder.png Pictures/placeholder.eps
  7. convert Pictures/fish.png Pictures/fish.eps
  8.  
  9. all:
  10. latex essay_1.tex
  11. latex essay_1.tex
  12. dvipdf essay_1.dvi
  13.  
  14. clean:
  15. rm -f *.aux *.dvi *.pdf *.nav *.out *.bbl *.blg *.toc *.snm *.log Pictures/*.eps


Trystram

User avatar
Vel
Site Moderator
Posts: 452
Joined: Fri Jun 29, 2012 1:20 am
Location: Sydney, Australia
Contact:

Postby Vel » Thu Mar 19, 2015 2:03 pm

Hi,

From my understanding, that error arises when you use latex rather than pdflatex to compile your document. Compiling with just latex doesn’t allow the use of non-.eps image files. If you want to compile with latex see Trystram David’s reply to you above. The easier option would be just to compile with pdflatex which does take almost any image file type.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Postby templateuser » Thu Mar 19, 2015 2:03 pm

While compiling with eps
is sometimes little tricky, I can recommend very simple solution:
convert from eps to pdf with single command (available on every
linux) eps2pdf.
Using graphics in “pdf
mode” never made me any problem (usually with pdflatex).

vittcor


Return to “Articles, Essays, and Journal Templates”

Who is online

Users browsing this forum: No registered users and 1 guest