• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

B.1. Error messages

When LaTeX stops to display an error message, it also shows a line number indicating how far it got in the document source. However, because of memory considerations in the design of TeX itself, it does not directly show to which file this source line number belongs. For simple documents this is not a problem, but if your document is split over many files you may have to carefully look at the terminal output or the transcript file to identify the file LaTeX is currently working on when the error occurs.

Finding the source line of an error

Whenever LaTeX starts reading a file, it displays a “(” character that is immediately followed by the file name. Once LaTeX has finished reading the file, it displays the matching “)” character. In addition, whenever it starts preparing to output a page, it displays a “[” character followed by the current page number. Thus, if you see something like


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint