When running XeLaTeX on my document, I frequently get error messages like this:
)
Runaway argument?
! File ended while scanning use of \next.
<inserted text>
\par
<*> myfile.tex
This is virtually useless, as it doesn't tell me where it thinks the runaway argument is. \par is not helpful in locating the error.
Googling around, I saw some suggestions to use \errorcontextlines=20 or the like, but this has no effect for me.
How can I get TeX to give me more context so I know where the error is actually happening?
)the matching(in the log shows you which file it is. Normally you get a line number but here the error is at the end of file. – David Carlisle Mar 02 '14 at 01:55--file-line-errorto get c style errors. – Mar 02 '14 at 01:58