Furthermore it highlights a \chapter later on in the document. Any ideas of what it could be? When I take the figure out it will compile. I can move the picture to a different part of the document and it will compile as well... but I'd like the figure in a certain part of the document. Thanks,
Chris
P.s. Im using winedt.
Graphics, Figures & Tables ⇒ Inserted Figure stops Compilation
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Re: Inserted Figure stops Compilation
Please post your code. At the bare minimum, cut and paste your \begin..\end{figure} environment. There is probably something inside it that is causing LaTeX to do what you told it to do but not what you wanted it to do.
Re: Inserted Figure stops Compilation
The issue is with adding the DeltaPercentError.pdf figure.
- Attachments
-
- thesis.tex
- (18.96 KiB) Downloaded 198 times
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Re: Inserted Figure stops Compilation
Perhaps I should have been more specific: please post a minimal working example (see board rules for help). BTW, it help a lot if you put \[code\]...\[/code\] tags around your markup; then I can cut and paste easily.
I commented out all \includegraphics commands (since I don't have those image files) and all class-specific commands (\Affiliation and such). I changed the document class to report, too. Everything seemed fine.
It's possible your PDF that you're trying to insert is the problem. If so, you can test whether you get the problem by replacing it (temporarily) with another image. If that's the problem, try using something like pdf2ps followed by ps2pdf to make another one that might not be so corrupted.
If you can't reproduce the problem with a shorter example, you might have to upload an archive with all the PDF files you include. Be wary, however, that all any of us will be able to do with that is play around with it the same way I suggest above.
I commented out all \includegraphics commands (since I don't have those image files) and all class-specific commands (\Affiliation and such). I changed the document class to report, too. Everything seemed fine.
It's possible your PDF that you're trying to insert is the problem. If so, you can test whether you get the problem by replacing it (temporarily) with another image. If that's the problem, try using something like pdf2ps followed by ps2pdf to make another one that might not be so corrupted.
If you can't reproduce the problem with a shorter example, you might have to upload an archive with all the PDF files you include. Be wary, however, that all any of us will be able to do with that is play around with it the same way I suggest above.
Re: Inserted Figure stops Compilation
I could send you a zipped folder if you wouldn't mind sending your email. Thanks for all the help!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Inserted Figure stops Compilation
There will be no help via e-mail (see rules). If you want help this way, refer to a help desk. This is a discussion forum where solutions are developed publicly. And to get closer to a solution it is most helpful if you prepare a minimal example that contains only relevant code, reproduces the undesired behaviour and is compilable out of the box for everybody else.cvanloon wrote:I could send you a zipped folder if you wouldn't mind sending your email. Thanks for all the help!
And by the way, it is suggestive to attach complete files by upload to the forum server instead of posting a vast amount of code lines. I turned your code into an attachment to keep the discussion clear. kaiserkarl13 already mentioned the »Code« environment. Would be very kind if you use it for future posts when posting code to tag it as such (see rules).
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10