Graphics, Figures & TablesWhat changed? Sudden (no bounding box) error message.

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
vass
Posts: 2
Joined: Sun Oct 04, 2009 4:10 am

What changed? Sudden (no bounding box) error message.

Post by vass »

Hey there. Hope someone here can help me.

In the spring I used latex to typeset my fathers doctoral thesis and everything worked well. Now the thesis is going for publication and my father has returned to me with some minor changes.

After editing the original I tried compiling and now I suddenly get a lot of latex errors that wasn't there before. My linux package manager maybe has updated my Latex version and my editor (Kile), but otherwise I have made no changes to the file. Therefore I find this strange.

Pdflatex exits without producing a document, whereas Latex and DVItoPDF gives me a file, but all included graphics now gets the error message:

Latex error: Cannot determine the size of graphic in <filename> (no bounding box).

and is not included in the dvi-file. There is also a lot of other different error messages, but I cannot find anywhere where the output changes, so I can live with them.

If I try to convert the images files to ps-format first they will work, but now some of the packages (for example "rotating" which used to rotate the figures on the page) have stopped working.

Does anyone know a way to make Latex behave as it did before?

Hope this makes sense and someone can help me out...

Thomas

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

What changed? Sudden (no bounding box) error message.

Post by localghost »

The latex compiler engine only accepts EPS files but neither JPG, PNG, PDF nor any other format.


Best regards and welcome to the board
Thorsten¹
vass
Posts: 2
Joined: Sun Oct 04, 2009 4:10 am

Re: What changed? Sudden (no bounding box) error message.

Post by vass »

Thank you localghost

SO the problem is that I am no longer using Pdf2latex with the graphicx-package, but now I'm using the Latex compiler? I still think this is a bit strange since this document compiled without any problems at all just 6 months ago.

If I use the time and change all 35 pictures to eps format, can anyone help me as to how I get the other packages up working again (for instance rotating which enables the sidewaysfigure environment) and maybe why they all stopped working?

Thomas
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

What changed? Sudden (no bounding box) error message.

Post by localghost »

Just use the pdflatex compiler engine. From your descriptions I can only assume that you accidentally used the other one. But perhaps there is another reason. A good way to come closer to the cause is to take a look at the log file. So add the \listfiles command as very first line to your code, start a run and post the complete log file here as attachment to your next post.

I'm afraid you have to reduce the problem to a minimal working example (MWE). But at first you should make sure that your software is up to date.
Post Reply