Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I just discovered LaTeX-suite and was overjoyed with the breadth of the compiling and debugging options, but for some reason the primary debugging mechanism is not working for me.

When I compile with \ll I get the expected log output, and then the "Quickfix List" window appears and gains focus. The reference manual appears to indicate that simply pressing enter should move focus to the source window at the location of the error, but for me it does nothing but minimize the accompanying log output preview.

The reference at http://folk.uio.no/haaksk/config-files/.vim/doc/latex-suite.html indicates

You can then scroll through the errors and press <enter> to be taken to the location
of the corresponding error´unless you set the g:Tex_GotoError variable to 0.

Even with Tex_GotoError set to 1 I do not get the expected behaviour, and I'm not sure what else to try.

share|improve this question
    
try auctex and emacs ;) –  Micha Mar 28 '13 at 6:36
    
Which version of vim & latex-suite are you using? What is in your vimrc? –  Psirus Mar 28 '13 at 10:25
    
VIM - Vi IMproved 7.3 with vim-latexsuite 20130126-1 (sorry, this is the only "versioning" I can seem to find) –  rayjingstorm Mar 28 '13 at 15:25
    
Woops, missed the edit window; my vimrc is at pastebin.com/ZJQ5rnVH ; and as for emacs I'm not looking for new OS, just a new text editor plugin. –  rayjingstorm Mar 28 '13 at 15:33
    
try Ctrl-Ww. I found it here: vim+LaTeX Suite: How to jump to the Error List window? –  user19832 Dec 27 '13 at 3:24
add comment

1 Answer

I just tested this out and it appears the problem you are having is that after compilation the cursor is left in the document and not in the error list. Moving between windows can be done simply with CTRL-W CTRL-W (this moves to the 'next' window - there are more window switching keystrokes - look them up with :help CTRL-W).

Once in the error window hitting CR (return) will move you to the error. You can also use :cnext and :cprev to move back and forth in the error list. Use :cfirst and :clast to move to the first and last error respectively.

(Note: this 'error list' is in fact a VIM quickfix list - info on that can be found using :help quickfix).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.