Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

debugging errors when you have document split into multiple files?

Tags:

emacs

latex

Sometimes I construct a LaTeX document by breaking it up in sections and calling \input from the main file. When I do this, debugging becomes difficult because when I compile it with latex or pdflatex, it will give me the location of the error in terms of global line numbers rather than line numbers in the offending document. Is there a good way to work with or around that? In LaTeX, or in Emacs, possibly?

like image 502
hatmatrix Avatar asked Nov 15 '22 07:11

hatmatrix


1 Answers

Texclipse helps find "bad" places, but this is not a command line tool.

http://texlipse.sourceforge.net/

like image 113
Ilya Klyuchnikov Avatar answered May 27 '23 02:05

Ilya Klyuchnikov