Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • I'm actually using the tex_pdf.vim ftplugin. This plugin sets set local makeprg (... see above ...) and setlocal errorformat=%f:%l:\ %m. Yet if I omit the grep part, no error is recognized (I think grep is necessary, although I'm new to all this so correct me if I'm wrong). Commented Oct 3, 2011 at 20:11
  • If I omit the grep command, all the output gets shown in the quickfix window... Commented Oct 3, 2011 at 20:14
  • I don't know the output of pdflatex (it's been 30+ years since I did any tex work). But based on your grep expression, it looks like you would want to use %f:%l:\ %n, not %m. Could you edit your question to include some example output? Commented Oct 3, 2011 at 21:09
  • added sample output for a file setup I use often... Commented Oct 3, 2011 at 21:20
  • the error format doesn't work. Vim gives an error about the string being incorrect. Commented Oct 4, 2011 at 16:10