Re: [Vim-latex-devel] Re: Your compiler/tex.vim plugin
Brought to you by:
srinathava,
tmaas
From: Benji F. <be...@me...> - 2003-01-20 13:51:12
|
Srinath Avadhanula wrote: > Hello Artem, > >>SA> also, another thing which you might want to do in your makeprg setting >>SA> is the following: >> >>SA> if has('win32') >>SA> set &makeprg = 'latex -interaction=nonstopmode $*' >>SA> endif >> >>SA> this is how miktex likes it. >> >>Well, I discovered that teTeX likes this too, so I changed makeprg to this >>version. >> > > This might be of quite a bit of interest to the vim-latex-devel people. > Benji was concerned that the -interaction=nonstopmode (I thought it was > --interaction but it looks like -interaction works too for miktex) will > break tex compilers and that the \\nonstopmode is a better alternative. > If it is true that most if not all latex compilers can handle > -interaction style syntax, it will take care of the old backslash > escaping problem once and for all.. Just yesterday, I updated teTeX on my Linux system, with the latest RPM's from Red Hat, and now tex understands the -interaction option. I still think that a lot of people are using older distributions of tex. It has been a long time since there was an official release of teTeX. True, a lot of people have switched to the beta version, which supportsd this option; in fact, I am not sure which version is in the RPM I downloaded. If this is the only place where escaping backslashes is an issue, and that is still causing problems, then it is a judgment call. For someone using an old version of tex, how hard will it be to fix the problem if the default is changed? >>SA> yet another thingie which broke when i used it with bash/cygwin is that >>SA> external programs get executed as following: >> >>SA> !bash -c "latex \\nonstopmode \\input\{thesis.tex\}" >> >>why not >> >>!bash -c 'latex \\nonstopmode \\input\{thesis.tex\}' > > Yes... I guess I could have changed the value of shellquote. Vim guesses > 'shellquote' to be " when I do :set shell=bash in my .vimrc... > > Srinath Is there any way to guess which is more common: ancient versions of tex or cygwin installations? --Benji |