Re: [Vim-latex-devel] running latex
Brought to you by:
srinathava,
tmaas
From: Benji F. <fis...@bc...> - 2002-11-19 21:50:54
|
Carl Mueller wrote: > > I have some suggestions about running latex and viewing the errors. > > Once again, emacs did it right, in my opinion (in the auctex package). > After running latex, the .log file appears in its own window. > Typing C-c` will take you to the next tex error. The cursor is > placed on the exact position of the error. This is indicated in > the .log file by a split line, with the split at the postion of the > error. Also, the .log file has hints about correcting the error. If we want to load the .log file instead of the quickfix window, we could define a custom file type. We would explicitly :set ft=texlog instead of trying to have the filetype detected automatically. Then we could define custom syntax and key mappings to get the desired behavior. A lot of work, but possible. It might be possible (or easier) to get the same effect by fiddling with the quickfix window. > Less of that happens in quickfix mode. The cursor is not positioned > at the point of the error. (Of course, with :cn one can go to the line > of the error, but not the position within the line). Only a one-line > description of the error is given, while the .log file has lots of > information. I agree: I often miss the extra information in the .log file. Some time, I want to discuss the defaults: I think the warning level affects this. > Another issue is with xdvi. I don't know the situation with windows. [snip] > > I prefer automatic updating of xdvi. MikTeX (on windows) automatically updates the viewer when it gains focus. This is A Good Thing. That reminds me: is there any reason not to have RunLaTeX() start with :update ? > For this reason, I have 2 sets of macros. One of them has xdvi > automatically updating, but the errors do not automatically show up. > In the second, you have to click in xdvi to update, but the errors > automatically show up. [snip] I am sorry, I do not have time to look at these now. (Maybe not for a while ...) Are your two scripts exclusive? That is, can you not get both improvements at the same time? --Benji |