Articles, Essays, and Journal TemplatesCompilation error

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

Compilation error

Post by templateuser »

Code: Select all

(/usr/share/texmf-texlive/tex/latex/graphics/dvips.def)))
(/usr/share/texmf-texlive/tex/latex/float/float.sty)
(/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty)
(/usr/share/texmf-texlive/tex/latex/lipsum/lipsum.sty) (./essay_1.aux) [1]
(./essay_1.toc) [1]

LaTeX Warning: Citation `Figueredo:2009dg’ on page 2 undefined on input line 93
.

[2]

! LaTeX Error: Cannot determine size of graphic in placeholder (no Bounding
Box).

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
…

l.114 …\linewidth]{placeholder}
}
ertg

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Compilation error

Post by templateuser »

Code: Select all

do make eps ; make all

cat Makefile

eps:
convert Pictures/placeholder.png Pictures/placeholder.eps
convert Pictures/fish.png Pictures/fish.eps

all:
latex essay_1.tex
latex essay_1.tex
dvipdf essay_1.dvi

clean:
rm -f *.aux *.dvi *.pdf *.nav *.out *.bbl *.blg *.toc *.snm *.log Pictures/*.eps
Trystram
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Compilation error

Post by Vel »

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

Compilation error

Post by templateuser »

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
Post Reply