By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. It only takes a minute to sign up. Although the question has been answered by DavidCarlisle in the comment, I'll try to complete the answer here. This is not supposed to happen for valid eps files, as they should contain a BoundingBox comment and the graphicx package should be able to read it. The error message is typical when including bitmap graphics, e. In case you have a peculiar eps file which contains a BoundingBox comment but, for some reason, graphicx cannot read it, you can try searching your file.

Author:Vugal Dokora
Language:English (Spanish)
Published (Last):12 June 2011
PDF File Size:16.86 Mb
ePub File Size:2.86 Mb
Price:Free* [*Free Regsitration Required]

By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. In fact, I could compile it fine with MacTex on my machine. But when I submit it online to a scientific journal for publication, it compiles it on the server and sends me the resultant PDF which has all these errors that prevent it from compiling.

I converted the first image to PDF and the compilation happened perfectly. I guess it used the bounding box value from that PDF and applied it to all images. I've had the same problems including jpegs in LaTeX. The engine isn't really built to gather all the necessary size and scale information from JPGs. GraphicsConvertor on a mac will do that for you easily. I use MacTex, and my editor is TexShop. It probably has to do with what compiler you are using. When I use pdftex, the command:.

Use pdftex. But in order for that to work I had to comment out the following 2 packages:. I had the same problem, caused by a clash between the graphicx package and an inclusion of the epsfig package that survived the ages Learn more. Error including image in Latex [closed] Ask Question. Asked 11 years, 2 months ago. Active 6 years, 11 months ago. Viewed k times. Mr Lister Are you using pdflatex?

For what it's worth, JPG is quite possibly the worst image format to use when you're going to print something because of the quality degradation. Should we migrate this and other tex questions to tex. Duplicate of: tex. Active Oldest Votes. Uri Uri Great help. But then why is it working on my machine? How is it getting the bounding box values? MacTex seems to be more robust than other Tex distributions that I've seen. After working with too many academic publishers I've realized that I can never find something as old and incompatible as whatever they're using, so I just create EPS or PDFs.

By the way, if you draw diagrams take a look at OmniGraffle. Yeah, its surprising how the interface for CS journals are so out-dated. How do I convert to PDF format?

Is GraphicsConvertor a software provided with the OS? I could not find it here and on the internet. A lot of the ACM journals and conferences actually take word files, which is even worse. To include png and jpg , you need to specify the Bounding Box explicitly. Compiling into pdf works, thanks. Working with DVI is often faster and compatible with more packages. So sometimes, it is worth converting an image into a PDF.

If you have Gimp, I saw that exporting the image in. Incidentally, you can change this in TexShop from the "Typeset" menu. Hope this helps. Tom Tom Yea, I had the same problem when I tried using this.

I eventually just decided to let the file contain everything. This solved my problem. Please check that there is no inclusion of epsfig , it is deprecated. Tommy Tommy 5 5 silver badges 17 17 bronze badges. The Overflow Blog. Podcast JavaScript is ready to get its own place. Featured on Meta. What posts should be escalated to staff using [status-review], and how do I…. We're switching to CommonMark.

Related 2. Hot Network Questions. Stack Overflow works best with JavaScript enabled.


[Howto] resolve LaTeX error message “Cannot determine size of graphic xxx (no BoundingBox)”

By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. It only takes a minute to sign up. Latex however returns this error: "Cannot determine size of graphic". My graphic is exported from PowerPoint, so I have tried both.


Subscribe to RSS

Package keyval Error: page undefined. You are trying to run pdflatex in DVI-mode, where only eps figures are allowed. Search for regular pdflatex in your editor and its buttons. The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary. Re: Cannot determine size of graphic when inserted a pdf ima. I'm having this same problem with eps files.


TeX4ht warning Cannot determine size of graphic in svg graphics. Does tex4ht support bounding box on svg? Nasser M. Radhakrishnan CV. Post by Nasser M. Abbasi Currently I use svg graphics for all images since it looks better than png on the web. Here is a typical latex file.

Related Articles