Thread: [Vim-latex-devel] quickfix window behaves differently
Brought to you by:
srinathava,
tmaas
From: ahmet n. <ahm...@ya...> - 2006-07-30 06:16:14
|
Hi, I am writing my thesis and have splitted it to multiple files. The directory structure is like as the following: thesis/ main.tex abstract.tex intro/ intro.tex figures/ fig1.eps fig2.eps chapter1/ chap1.tex figures/ fig1.eps conclusion/ conclusion.tex figures/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: ahmet n. <ahm...@ya...> - 2006-07-30 06:35:47
|
Hi, I am writing my thesis and have splitted it to multiple files. The directory structure is like as the following: ------------------->------------------------ thesis/ thesis.tex thesis.tex.latex abstract.tex intro/ intro.tex figures/ fig1.eps fig2.eps chapter1/ chap1.tex figures/ fig1.eps conclusion/ conclusion.tex figures/ ---------------->------------------ And thesis.tex looks like this: ------------------------>------------ \documentclass{report} \begin{document} \include{abstract.tex} \include{intro/intro.tex} \include{chapter1/chap1.tex} \include{conclusion/conclusion.tex} \end{document} --------------------<-------------------- For example, I opened the file "/intro/intro.tex" , I latexed it. If there is a mistake in that file, the quickfix window opens itself and shows the mistake. When you press <enter> on any line in quickfix window, ,as you normally expect, the cursor jump to the location of the error. But it doesn't behave like this. The cursor stays in the quickfix window. You need to go the line of the error manually. I wonder what causes this problem. I am using Vim7.0. Regards, Ahmet __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Tobias W. <to...@gm...> - 2006-07-30 07:22:58
|
On Sa, 2006-07-29 at 23:35 -0700, ahmet nurlu wrote: > For example, I opened the file "/intro/intro.tex" , > I latexed it. If there is a mistake in that file, the > quickfix window opens itself and shows the mistake. > When you press <enter> on any line in quickfix window, > ,as you normally expect, the cursor jump to the > location of the error. But it doesn't behave like > this. > The cursor stays in the quickfix window. You need to > go the line of the error manually. > > I wonder what causes this problem. I am using Vim7.0. Salve Ahmet, did you see my earlier mail about the quickfix cycle on the list? I would like to see how the quickfix window looks like exactly. Could you please copy the content of the window and send it to the list? I surmise that the errorformat, which parses the LaTeX output, doesn not work as it should. -Tobias > Regards, > Ahmet > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel |
From: ahmet n. <ahm...@ya...> - 2006-07-30 22:47:30
|
Hi Tobias, I am pasting the content of the quickfix window below. -------------->--------------------------------- || (./thesis.aux) || (./chapter1.tex || (./appendix.tex [7] |54 error| Missing $ inserted. $ matris(B_ {ij}=B_{ji})$ ve || (./thesis.bbl [11]) [12 || --------------<--------------------------------- Let say I made a mistake in the "appendix.tex" file. I latex it by a "\ll" command. The cursor lands on the quickfix window(It looks another bug for multiple file LaTeX projects). I press <enter> key on the mistake line in the quickfix window, nothing happens(It should move to the error line in "appendix.tex" file). I go to error line manually. These bugs don't prevent me using vim-latex suite. I like it very much and thank to all the developers and mainteners of vim-latex suite. Regards, Ahmet --- Tobias Wolf <to...@gm...> wrote: > On Sa, 2006-07-29 at 23:35 -0700, ahmet nurlu wrote: > > > For example, I opened the file "/intro/intro.tex" > , > > I latexed it. If there is a mistake in that file, > the > > quickfix window opens itself and shows the > mistake. > > When you press <enter> on any line in quickfix > window, > > ,as you normally expect, the cursor jump to the > > location of the error. But it doesn't behave like > > this. > > The cursor stays in the quickfix window. You need > to > > go the line of the error manually. > > > > I wonder what causes this problem. I am using > Vim7.0. > > Salve Ahmet, > > did you see my earlier mail about the quickfix cycle > on the list? > > I would like to see how the quickfix window looks > like exactly. > Could you please copy the content of the window and > send it to the list? > I surmise that the errorformat, which parses the > LaTeX output, doesn not > work as it should. > > -Tobias > > > > Regards, > > Ahmet > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of > IT > > Join SourceForge.net's Techsay panel and you'll > get the chance to share your > > opinions on IT & business topics through brief > surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Vim-latex-devel mailing list > > Vim...@li... > > > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Andre M. <ma...@gm...> - 2006-08-31 16:27:59
|
ahmet nurlu wrote: > Hi Tobias, > > I am pasting the content of the quickfix window below. > > -------------->--------------------------------- > || (./thesis.aux) > || (./chapter1.tex > || (./appendix.tex [7] > |54 error| Missing $ inserted. $ matris(B_ > {ij}=B_{ji})$ ve > || (./thesis.bbl [11]) [12 > || > --------------<--------------------------------- As Tobias described some weeks earlier ("issues with quickfixing..." 07/14/06 07/20/06) , I guess this is a common bug in latexsuite concerning errorformat, since efm sometimes does not extract the corresponding filename from the lengthy error messages issued by latex. BTW, to lately reply to Tobias's email, yes I have the same problem here with almost every latex-file I work on. Either there is *no* file name or a *wrong* name (the latter occurs rather seldom). It is a very annoying bug since it prevents me from effectively using quickfix. I guess it was not intended for *manually* opening the corresponding faulty code line :-) Tobias, have you made any progress so far? Until now I haven't had any time to dig into the very details for that behaviour... :-( Cheers, Andre |
From: Tobias W. <to...@gm...> - 2006-09-01 13:08:57
|
Am Donnerstag, den 31.08.2006, 18:30 +0200 schrieb Andre Massing: > Tobias, have you made any progress so far? Until now I haven't had any time to > dig into the very details for that behaviour... :-( Hi Andre, to be honest, I’m not a regex wizard; not to speak of Vim’s errorformat syntax which adds some level of abstraction. I don’t understand why we need continuation lines ( +C ) for example. My initial idea was to use non-greedy matching of parens exec 'setlocal efm+=%-Q%.%\\{-})%r' exec 'setlocal efm+=%-P%.%\\{-}(%f%r' but it doesn’t work well. I just don’t get how these rules are processed. What is done with the rest %r? Is it fed in from the beginning or is it passed on to the next rule in the sequence? Anyway, the pushes and pops of the filename stack are never balanced, no matter what I tried. It seems that once you use more than bare-bones LaTeX and add more packages that have their own output things get messy. Still, if there’s stuff like "(SPQR)" it shouldn’t matter because it will not be on the stack for long. How do, e.g., WinEdt or other editors do it? I hope someone more knowledgeable will weigh in on this. --Tobias |