GeneralError messages in TexnicCenter

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ClarionM
Posts: 3
Joined: Fri Mar 02, 2012 10:01 am

Error messages in TexnicCenter

Post by ClarionM »

Hiya,

I'm a little embarrassed asking this question with all you wizards around but I really can't figure it out myself: When I want to create a pdf, I get a lot of error warnings, none of which were a problem before as the pdf was created nonetheless. Now it doesn't create one anymore and I'm at a loss. I think I could figure out what my errors were if I could find them in the document, but I can't find the line numbers or anything next to the error message to tell me where to look for the errors. Surely the idea isn't to go through the whole document?

Some pointers would be much appreciated!

Many thanks,

Marion

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Re: Error messages in TexnicCenter

Post by Stefan Kottwitz »

Hi Marion,

welcome to the board!

Have a look at the .log file. It contains all errors and warnings. And there should be the corresponding line numbers.

In case of questions you could also post the .log file as attachment to a post. For this, click the "Upload attachment" link below the edit text field when writing a post.

Stefan
LaTeX.org admin
ClarionM
Posts: 3
Joined: Fri Mar 02, 2012 10:01 am

Re: Error messages in TexnicCenter

Post by ClarionM »

Many thanks for the quick reply, Stefan! I guess by .log file you mean the box in which the error warnings appear? I don't seem to be able to find that as a separate file though, how can I upload it?

Sorry for the uninformed questions...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Re: Error messages in TexnicCenter

Post by Stefan Kottwitz »

The .log file is a file in the same folder as your document. It has the same name as your document, but the name extension .log. It's a text file, which contains such messages as you have seen in the editor box.

Above I wrote an explanation how you can upload it. In case of specific question, after you found the .log file and tried to upload it, just tell us.

Stefan
LaTeX.org admin
ClarionM
Posts: 3
Joined: Fri Mar 02, 2012 10:01 am

Re: Error messages in TexnicCenter

Post by ClarionM »

Aha! For some reason the ending doesn't appear in my folder but it does here so am assuming it's the right one. Okay, what I can't figure out is -- well, basically, I can't figure out anything but what I'd like to know is how I can find which lines the errors are one and which errors are the ones keeping the pdf from being created. Everything else I uses I can figure out when I have the pdf.
Attachments
2012-02-29.log
(22.03 KiB) Downloaded 200 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Error messages in TexnicCenter

Post by Stefan Kottwitz »

Usually we should firstly look at the first error message, since further errors are sometimes just a consequence of the first one.

Here, the part with the error message is:

Code: Select all

Chapter 2.

! LaTeX Error: There's no line here to end.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.34 
     
Your command was ignored.
Type  I <command> <return>  to replace it with another command,
or  <return>  to continue without it.
Error: you made a line break where no line is (such as by misusing \\)
Position: line 34 (shown by l.34)

Stefan
LaTeX.org admin
Post Reply