vim-latex-devel Mailing List for Vim-Latex (Page 101)
Brought to you by:
srinathava,
tmaas
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(120) |
Dec
(118) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(145) |
Feb
(23) |
Mar
(30) |
Apr
(50) |
May
(88) |
Jun
(49) |
Jul
(41) |
Aug
(13) |
Sep
(51) |
Oct
(30) |
Nov
(80) |
Dec
(43) |
2004 |
Jan
(15) |
Feb
(25) |
Mar
(48) |
Apr
(12) |
May
(37) |
Jun
(52) |
Jul
(16) |
Aug
(10) |
Sep
(7) |
Oct
(19) |
Nov
(17) |
Dec
(19) |
2005 |
Jan
(15) |
Feb
(5) |
Mar
(7) |
Apr
(3) |
May
(2) |
Jun
(4) |
Jul
(3) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(16) |
Dec
(16) |
2006 |
Jan
(15) |
Feb
(27) |
Mar
(49) |
Apr
(31) |
May
(24) |
Jun
(12) |
Jul
(23) |
Aug
(13) |
Sep
(22) |
Oct
(6) |
Nov
(8) |
Dec
(10) |
2007 |
Jan
(3) |
Feb
(13) |
Mar
(19) |
Apr
(1) |
May
(5) |
Jun
(10) |
Jul
(2) |
Aug
(13) |
Sep
(10) |
Oct
(2) |
Nov
(30) |
Dec
(15) |
2008 |
Jan
(11) |
Feb
(9) |
Mar
(27) |
Apr
(27) |
May
(22) |
Jun
(29) |
Jul
|
Aug
(21) |
Sep
(6) |
Oct
(4) |
Nov
(9) |
Dec
(2) |
2009 |
Jan
(52) |
Feb
(21) |
Mar
(9) |
Apr
(41) |
May
(13) |
Jun
(8) |
Jul
(5) |
Aug
(31) |
Sep
(14) |
Oct
(10) |
Nov
(17) |
Dec
(17) |
2010 |
Jan
(25) |
Feb
(22) |
Mar
(22) |
Apr
(24) |
May
(35) |
Jun
(23) |
Jul
(22) |
Aug
(10) |
Sep
(6) |
Oct
(29) |
Nov
(8) |
Dec
(6) |
2011 |
Jan
(12) |
Feb
(89) |
Mar
(41) |
Apr
(8) |
May
(17) |
Jun
(11) |
Jul
(3) |
Aug
(13) |
Sep
(14) |
Oct
(23) |
Nov
(8) |
Dec
(9) |
2012 |
Jan
(15) |
Feb
(27) |
Mar
(6) |
Apr
(17) |
May
(29) |
Jun
(9) |
Jul
(50) |
Aug
(15) |
Sep
(11) |
Oct
(12) |
Nov
(22) |
Dec
(7) |
2013 |
Jan
(24) |
Feb
(32) |
Mar
(6) |
Apr
(5) |
May
(2) |
Jun
(15) |
Jul
(20) |
Aug
(1) |
Sep
(3) |
Oct
(2) |
Nov
(7) |
Dec
(4) |
2014 |
Jan
(3) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(4) |
Jun
(5) |
Jul
(4) |
Aug
(3) |
Sep
(9) |
Oct
|
Nov
(2) |
Dec
(3) |
2015 |
Jan
|
Feb
(4) |
Mar
(9) |
Apr
|
May
(1) |
Jun
|
Jul
(5) |
Aug
(6) |
Sep
(2) |
Oct
|
Nov
(6) |
Dec
|
2016 |
Jan
(1) |
Feb
(11) |
Mar
(4) |
Apr
(2) |
May
(8) |
Jun
(9) |
Jul
|
Aug
(9) |
Sep
(2) |
Oct
(7) |
Nov
|
Dec
|
2017 |
Jan
(7) |
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(4) |
2018 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mikolaj M. <mi...@wp...> - 2003-04-08 19:16:43
|
On Tue, Apr 08, 2003 at 01:33:50PM +0200, Luc Hermitte wrote: Thanks for your reply. Knowing there is no sense to put effort in grep issue I investigated how exactly LaTeX deals with bibliography files. Results are encouraging. There can be only one \bibliography command in file. It can be list of files with exact paths (no dealing with TEXINPUTS) separated with commas. We have only to find \bibliography and iterate through list and grep this files looking for bibkeys. This is easy. If there is no \bibliography we will grep current directory looking for *.bib and *.bbl files. No need for special variable. Also we should check MainFile if there is \bibliography command. But should we check it only if in current file this command doesn't exist? I think yes. But... Ok small "algorithm" Check if \bibliography exists in this file Yes No Grep files from list Grep files in directory \ / Y Grepadd current file for bibitem{ Check if in packages list is chapterbib Yes Check if current file is main file Yes No END Check if \bibliography exists in mainfile Yes No Grepadd files in list Grepadd files in dir of mainfile \ / Y Grepadd mainfile for bibitem{ The only problem I see is with .bbl files mentioned by Srinath. \include accepts only .tex files . In addition grepping *.bbl files (as is now) will grep half-products of regular bib files. I will change grep 'bibitem{' *.bbl into grep 'bibitem{ *.tex Is it right? Diagram above will change slightly but it is easy to imagine, I will not draw it again. > > call <SID>Tex_c_window_setup() > Where is this function defined ? tex/texviewer.vim Thanks again for your research. m. |
From: Luc H. <her...@fr...> - 2003-04-08 11:41:03
|
Hello, * On Tue, Apr 08, 2003 at 10:12:18AM +0200, Mikolaj Machowski <mi...@wp...> wrote: > I have got request to make possible looking for bibliography in other > directory than directory of edited file. > > The best solution is to use grep but it needs such combination: > > elseif exists("s:type") && s:type =~ 'cite' > let grep_prg = &grepprg > set grepprg=grep\ -Hrn\ --include='*.bib'\ $*\ /dev/null > exe 'silent! grep! "@.*{'.s:prefix.'" '.s:search_directory BTW, the use of quotes or double quotes may cause a problem with &shellquote and &shellxquote. Anyway, I have tried to set &grepprg by hand, but still, I'm not able to use /usr/bin/grep (with your parameters) from my win32-vim + cygwin-bash as shell. Actually, I think I have never been able to do so. [ grepprg == grep\ -Hrn\ --include='*.bib'\ $* (± /dev/null) [ :grep '@.*{' /cygdrive/c/localtexmf/bibtex [ -> E303: Can not open the .swp file for [ "/cygdrive/c/localtexmf/bibtex/ASTORIA/astoria.bib", retrieval [ impossible ... or something like that. [ with: [ shellquote = [ shellxquote=" [ shell =c:\cygwin\bin\bash.exe [ shellredir =>%s 2>&1 [ shellpipe = 2>&1| tee [ shellslash = 1 The same command from bash works very well, and don't require I propose /dev/null as the last argument. > [...] > call <SID>Tex_c_window_setup() Where is this function defined ? > With changing value of &grepprg. Alas, I don't know how to make it > cross-platform. grep is easy to configure (GNU grep compatible grep tool > as requirement and variable in texrc) but what about /dev/null? > Without that lS doesn't work on terminal. Maybe something like that > (example line): > > exe "set grepprg=".g:Tex_grepprg."\ -Hrn\ --include='*.bbl'\ $*".s:devnull If the grep program is "findstr", ie the default win32-vim (called from the file-explorer or $COMSPEC), I doubt that -Hrn or --include will be supported. Some of its various useful options are: /n -> print line numbers /S -> recursion /R -> use regular expressions /M -> only the filename of the matching files /D:r,p -> search in a list of directories delimited by semi-comma. [it seems there is a little error in the doc at this point] > And at the beginning: > if has("unix") || has("mac_unix") || has("cygwin") Personnally, I'd rather test &sh =~'sh'. I found it more accurate than has('cygwin'). BTW, I have developped a little plugin aimed at easying the development of portable plugins -- I still have the documentation to finish and some tests to conduct. So far it seems quite functional.[1] > How such combination would work on other than Linux systems? Impossible to make it work on my system (cygwin-bash + win32-vim). :-( I don't know if it is due to an error of configuration on my side or anything else. [1] http://hermitte.free.fr/vim/ressources/system_utils.tar.gz html version of the documentation at: http://hermitte.free.fr/vim/ressources/vimfiles/doc/system_utils.html -- Luc Hermitte http://hermitte.free.fr/vim/ |
From: Mikolaj M. <mi...@wp...> - 2003-04-08 10:57:28
|
On Mon, Apr 07, 2003 at 05:52:42PM +0100, Alessandro Platania wrote: > Hi, > I'm using vim latex with vim version 6.1.165, in Linux Redhat 8.0. > If I press <F5> in the insert mode while on an empty line, I get > the following error messages: > Error detected while processing function > Tex_FastEnvironmentInsert..Tex_package_from_line..Tex_pack_one.. > Tex_CreatePrompt: > Line 3: > E117: Unknown function: GetLisCount > E15: Invalid expression: GetListCount(a:promptList) > E121: Undefined variable: num_common > E15: Invalid expression: i <= num_common > ...and no list is displayed > What's going on? (I'm a beginner... no doubt I did some mistakes... > the vimlatex help seems to work, and many other features are OK...) Hmm. I cannot confirm this behaviour - everything works for me, but: If you exactly copy&paste messages it looks like there is a mispell: > E117: Unknown function: GetLisCount Try to find it and s/GetLisCount/GetListCount/ (List) You can try to obtain version from CVS. Some nice addtitions in last week :) (but beware cvs tarball - i have commit stupid mistake and better wait till tomorrow) m. |
From: Mikolaj M. <mi...@wp...> - 2003-04-08 10:56:37
|
Hello, I was looking for few things on sf.net and I noticed latexSuite has no official release yet. Maybe its time? Srinath - as an admin could you take care of it? m. ps. Of course after solving BibDir dilemna. In next two days. OK? |
From: Mikolaj M. <mi...@wp...> - 2003-04-08 08:45:30
|
Hello, I have got request to make possible looking for bibliography in other directory than directory of edited file. The best solution is to use grep but it needs such combination: elseif exists("s:type") && s:type =~ 'cite' let grep_prg = &grepprg set grepprg=grep\ -Hrn\ --include='*.bib'\ $*\ /dev/null exe 'silent! grep! "@.*{'.s:prefix.'" '.s:search_directory set grepprg=grep\ -Hrn\ --include='*.bbl'\ $*\ /dev/null exe 'silent! grepadd! "bibitem{'.s:prefix.'" '.s:search_directory set grepprg=grep\ -Hrn\ $*\ /dev/null exe 'silent! grepadd! "bibitem{'.s:prefix.'" %' let &grepprg = grep_prg call <SID>Tex_c_window_setup() With changing value of &grepprg. Alas, I don't know how to make it cross-platform. grep is easy to configure (GNU grep compatible grep tool as requirement and variable in texrc) but what about /dev/null? Without that lS doesn't work on terminal. Maybe something like that (example line): exe "set grepprg=".g:Tex_grepprg."\ -Hrn\ --include='*.bbl'\ $*".s:devnull And at the beginning: if has("unix") || has("mac_unix") || has("cygwin") let s:devnull = '\ /dev/null' else let s:devnull = '' endif How such compbination would work on other than Linux systems? m. |
From: Alessandro P. <A.P...@st...> - 2003-04-07 16:53:48
|
Hi, I'm using vim latex with vim version 6.1.165, in Linux Redhat 8.0. If I press <F5> in the insert mode while on an empty line, I get the following error messages: Error detected while processing function Tex_FastEnvironmentInsert..Tex_package_from_line..Tex_pack_one.. Tex_CreatePrompt: Line 3: E117: Unknown function: GetLisCount E15: Invalid expression: GetListCount(a:promptList) E121: Undefined variable: num_common E15: Invalid expression: i <= num_common ...and no list is displayed What's going on? (I'm a beginner... no doubt I did some mistakes... the vimlatex help seems to work, and many other features are OK...) Thank you very much for your help and for vim-latex. All the best Alessandro ////////////////////////////////////// // // // Alessandro Platania // // 226 Cherry Hinton Rd // // Cambridge CB1 4AW, GB // // // // DPMMS // // Statistical Laboratory // // Wilberforce Road // // Cambridge CB3 0WB, GB // // Tel: +44 1223 337922 // // // ////////////////////////////////////// |
From: Mikolaj M. <mi...@wp...> - 2003-04-07 10:52:50
|
On Sun, Apr 06, 2003 at 11:25:29PM +0200, S?ren Debois wrote: > Hi there, > I've been experimenting with the inverse search facility for latex-suite > (i.e., making a click in the xdvi window warp my gvim to the appropriate > source file/line). The default distribution (March 25th 2003) doesn't work > for me, since the '%' in the "-editor ... " switch for xdvi seems to get > expanded by vim. Thanks. BTW I have impression I did it few months ago... Maybe this is settings specific? m. |
From: Srinath A. <sr...@fa...> - 2003-04-06 23:06:50
|
On Sat, 5 Apr 2003, Mikolaj Machowski wrote: > > I think you are misunderstanding me... I mean that the <F9> key should > > be customizable... For example, in imaps.vim, we first provide a map > > called <Plug>IMAP_JumpForward and then map <C-j> to it if the user has > > Ah, I have already done that. The only thing I need to move mapping to > <Plug> to some central place. main.vim? > No! Let the mappings remain in texviewer.vim... Since its in the ftplugin/tex directory, they'll get executed every time anyway... No need to clutter up main.vim with things its not meant for. Srinath -- Srinath Avadhanula Apr 6 4:01pm Join in the new game that's sweeping the country. It's called "Bureaucracy". Everybody stands in a circle. The first person to do anything loses. |
From: <de...@di...> - 2003-04-06 21:26:11
|
Hi there, I've been experimenting with the inverse search facility for latex-suite (i.e., making a click in the xdvi window warp my gvim to the appropriate source file/line). The default distribution (March 25th 2003) doesn't work for me, since the '%' in the "-editor ... " switch for xdvi seems to get expanded by vim. I've included a diff (beware! my very first attempt at constructing a patchable diff) that solves my problem. BTW, thanks for the splendid latexsuite! -- Debois |
From: Mikolaj M. <mi...@wp...> - 2003-04-05 16:02:08
|
On Sat, Apr 05, 2003 at 01:11:13PM +0200, Andreas Wick wrote: > How can I uninstall vim-latex? Check http://vim-latex.sf.net site. Download section. There is list of files. In short: from ftplugin dir: latex-suite/ tex_latexSuite.vim from plugin dir: imaps.vim libList.vim SyntaxFolds.vim from compiler dir: tex.vim m.m -- LaTeX + Vim = http://vim-latex.sourceforge.net/ Learn Touch Typing with Vim: http://vim.sourceforge.net/script.php?script_id=461 vim.pl - http://skawina.eu.org/mikolaj |
From: Mikolaj M. <mi...@wp...> - 2003-04-05 16:02:06
|
On Fri, Apr 04, 2003 at 11:28:23AM -0800, Srinath Avadhanula wrote: > On Thu, 3 Apr 2003, Mikolaj Machowski wrote: > > > 3. Make the <F9> key customizable using the same technique in imaps.vim > > > > How customizable? As I wrote before I don't like here IMAPS mechanism. > > > I think you are misunderstanding me... I mean that the <F9> key should > be customizable... For example, in imaps.vim, we first provide a map > called <Plug>IMAP_JumpForward and then map <C-j> to it if the user has Ah, I have already done that. The only thing I need to move mapping to <Plug> to some central place. main.vim? m. |
From: Andreas W. <an...@ca...> - 2003-04-05 11:27:55
|
How can I uninstall vim-latex? Andreas |
From: Srinath A. <sr...@fa...> - 2003-04-04 19:28:25
|
On Thu, 3 Apr 2003, Mikolaj Machowski wrote: > > 3. Make the <F9> key customizable using the same technique in imaps.vim > > How customizable? As I wrote before I don't like here IMAPS mechanism. > I think you are misunderstanding me... I mean that the <F9> key should be customizable... For example, in imaps.vim, we first provide a map called <Plug>IMAP_JumpForward and then map <C-j> to it if the user has not already mapped some other key to <Plug>IMAP_JumpForward. This allows people to use other keys according to their convinience. (I personally use <C-Space> for imaps and have <C-j> mapped to <down> in insert mode). This mechanism also allows a console user to use this functionality. As of now, neither <F9> nor the menu mapping is available to a true console user. This way at least we provide a way for him to construct something for himself. Srinath |
From: Mikolaj M. <mi...@wp...> - 2003-04-04 00:55:34
|
Hello, I am commiting function, menus and compiler if/else/endif for compiling and viewing only part of document. Full documentation tomorrow. Short description. Mark fragment of document (Visual, mark, range). Press <F10> (TODO: proper shortcut handling). Preamble of document (if needed from mainfile) with \begin{document}, marked fragment and \end{document} will be written to temporary file defined with tempname() Vim function. This file will be compiled using current settings. Output files will be in temporary directory. View main output file (dvi, pdf) with menu or \lp You have take care about what is marked. You can use matchit.vim to handle environments but that's all. Don't include begin/end document. Please test it on other platforms (Windows, Mac) and if it works with mainfile. Proper documentation and comments for code follow tomorrow. m. |
From: Mikolaj M. <mi...@wp...> - 2003-04-03 15:30:47
|
On Wed, Apr 02, 2003 at 02:18:52PM -0800, Srinath Avadhanula wrote: > Hey Mikolaj, > This is very cool! It works out of the box for me :) (with a few small > hitches which are "ignorable"). I wonder if you have some settings > different. > For me: > shell=cmd.exe > shellquote= > shellxquote= > grepprg=fgrep\ -n\ $* 'grep -n' doesn't give info about file name if only one file match. I have add info about this in latex-suite.txt. I have grep from cygwin. Where are coming from your fgrep? If this is standalone app maybe this should be Official lS Grep Utility with link from download page and special settings in texrc? > A couple of suggestions: > 1. In the cwindow, the first item always seems to be highlighted in > addition to the line on which the cursor is. Highlighting of first line indicates current error number in quickfix engine. Viewer use cwindow but not :cnext and :cprev. First of all - I don't know how to get rid of this highlighting. Second - I am not sure if this is really necessary. In this way you can always use quickfix methods. IMO info about this in docs is enough (done). > 2. Could you make the preview window show the label line in the center > of the preview window instead of at the top. Also make the preview > window larger. If possible make it customizable with some setting :) Done. > 3. Make the <F9> key customizable using the same technique in imaps.vim How customizable? As I wrote before I don't like here IMAPS mechanism. > 4. Put this as a menu item in "Tex-Suite->Complete Ref/Cite" Done. > Another thing is that as of now, citations are only searched for in .bib > files. Often times, for small papers, I prefer the .bbl file which > contains things like > -----------------------------------%<----------------------------------- > \begin{thebibliography}{99} > \bibitem{shimoyama:93} > I.~Shimoyama, H.~Miura, K.~Suzuki, and Y.~Ezura, ``Insect-like microrobots > with external skeletons,'' {\em IEEE Control Sys. Magazine}, 13:37--41, > February 1993. > \end{thebibliography} > -----------------------------------%<----------------------------------- > Can support for this be built as well? Sometimes, the .bbl file is not > used and the above can be directly inserted into the .tex file.... Done. Strange thing. Vim (or grep) doesn't want look for "\\bibitem{", accepts only "bibitem{". I hope it is robust enough. m. -- LaTeX + Vim = http://vim-latex.sourceforge.net/ Learn Touch Typing with Vim: http://vim.sourceforge.net/script.php?script_id=461 vim.pl - http://skawina.eu.org/mikolaj |
From: Alan S. <ala...@po...> - 2003-04-03 15:14:42
|
I found the problem while reading the code, and this is something that might be changed in the documentation. The problem is that only the first g:Tex_IgnoreLevel items of g:Tex_IgnoredWarnings are ignored, so if one adds something to g:Tex_IgnoredWarnings, he must make sure that it is placed accordingly in the list (ie before anything that should be considered an error) and that g:Tex_IgnoreLevel has the correct value. Alan -- The hacker: someone who figured things out and made something cool happen. |
From: Alan S. <ala...@po...> - 2003-04-03 12:39:02
|
* Benji Fisher (be...@me...) wrote: > Alan Schmitt wrote: > >Hi, > > > >I'm playing with some options of the local copy of my texrc (the one in > >ftplugin/tex), and some things do not work. For instance, I used to have > >in my .vimrc the following: > >let g:Tex_IgnoredWarnings =3D > > \'Underfull=A1'. > > \'Overfull=A1'. > > \'specifier changed to=A1'. > > \'You have requested=A1'. > > \'Missing number, treated as zero.=A1'. > > \'There were undefined references=A1'. > > \'Citation %.%# undefined=A1'. > > \'LaTeX Font Warning=A1' > > > >It worked as planned. I discovered I could put it in the texrc as: > >TexLet g:Tex_IgnoredWarnings =3D > > \'Underfull=A1'. > > \'Overfull=A1'. > > \'specifier changed to=A1'. > > \'You have requested=A1'. > > \'Missing number, treated as zero.=A1'. > > \'There were undefined references=A1'. > > \'Citation %.%# undefined=A1'. > > \'LaTeX Font Warning=A1' > > > >But it does not work (ie I still get "LaTeX Font" warnings). It's as if > >some other texrc was overriding this one. > > > >What am I doing wrong here ? >=20 > I am not sure what is going on, but I can tell you what :TexLet does= .=20 > (This command is defined in texrc .) It checks whether the variable is= =20 > already defined. If it is, :TexLet does nothing; if the variable is not= =20 > already defined, :TexLet acts like :let . In other words, the first use = of=20 > :TexLet wins, whereas the last use of :let wins. >=20 > What should happen is that the user texrc is read before the default= =20 > texrc, so that the user's :TexLet is effective. Of course, your vimrc fi= le=20 > gets read long before either texrc. You can check that the texrc files a= re=20 > read in the right order by using >=20 > :scriptnames >=20 > I hope that points you in the right direction. Thanks. It seems that scripts are read in the correct order. Moreover, when I do an 'echo' of this variable, I get what I expect. I guess I need to investigate more ;-) Alan --=20 The hacker: someone who figured things out and made something cool happen. |
From: Benji F. <be...@me...> - 2003-04-03 02:31:11
|
Alan Schmitt wrote: > Hi, > > I'm playing with some options of the local copy of my texrc (the one in > ftplugin/tex), and some things do not work. For instance, I used to have > in my .vimrc the following: > let g:Tex_IgnoredWarnings = > \'Underfull¡'. > \'Overfull¡'. > \'specifier changed to¡'. > \'You have requested¡'. > \'Missing number, treated as zero.¡'. > \'There were undefined references¡'. > \'Citation %.%# undefined¡'. > \'LaTeX Font Warning¡' > > It worked as planned. I discovered I could put it in the texrc as: > TexLet g:Tex_IgnoredWarnings = > \'Underfull¡'. > \'Overfull¡'. > \'specifier changed to¡'. > \'You have requested¡'. > \'Missing number, treated as zero.¡'. > \'There were undefined references¡'. > \'Citation %.%# undefined¡'. > \'LaTeX Font Warning¡' > > But it does not work (ie I still get "LaTeX Font" warnings). It's as if > some other texrc was overriding this one. > > What am I doing wrong here ? I am not sure what is going on, but I can tell you what :TexLet does. (This command is defined in texrc .) It checks whether the variable is already defined. If it is, :TexLet does nothing; if the variable is not already defined, :TexLet acts like :let . In other words, the first use of :TexLet wins, whereas the last use of :let wins. What should happen is that the user texrc is read before the default texrc, so that the user's :TexLet is effective. Of course, your vimrc file gets read long before either texrc. You can check that the texrc files are read in the right order by using :scriptnames I hope that points you in the right direction. --Benji Fisher |
From: Srinath A. <sr...@fa...> - 2003-04-02 22:18:56
|
Hey Mikolaj, This is very cool! It works out of the box for me :) (with a few small hitches which are "ignorable"). I wonder if you have some settings different. For me: shell=cmd.exe shellquote= shellxquote= grepprg=fgrep\ -n\ $* (I put fgrep in my windows path) If you want to use shell=bash, remember to also set :set shellxquote=' otherwise fgrep is called as bash -c "fgrep -n \\label{" etc... Those double quotes make my shell prompt just hang... A couple of suggestions: 1. In the cwindow, the first item always seems to be highlighted in addition to the line on which the cursor is. 2. Could you make the preview window show the label line in the center of the preview window instead of at the top. Also make the preview window larger. If possible make it customizable with some setting :) 3. Make the <F9> key customizable using the same technique in imaps.vim 4. Put this as a menu item in "Tex-Suite->Complete Ref/Cite" Another thing is that as of now, citations are only searched for in .bib files. Often times, for small papers, I prefer the .bbl file which contains things like -----------------------------------%<----------------------------------- \begin{thebibliography}{99} \bibitem{shimoyama:93} I.~Shimoyama, H.~Miura, K.~Suzuki, and Y.~Ezura, ``Insect-like microrobots with external skeletons,'' {\em IEEE Control Sys. Magazine}, 13:37--41, February 1993. \end{thebibliography} -----------------------------------%<----------------------------------- Can support for this be built as well? Sometimes, the .bbl file is not used and the above can be directly inserted into the .tex file.... Srinath On Wed, 2 Apr 2003, Mikolaj Machowski wrote: > Hello, > > Yesterday I commited texviewer.vim file. It works as charm under Linux > but on Windows it doesn't work at all. I have grep (from cygwin) but it > looks like grep output was not intercepted. > Can someone help me? > > Mikolaj > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > > -- Srinath Avadhanula Apr 2 11:45am (null cookie; hope that's ok) |
From: Alan S. <ala...@po...> - 2003-04-02 18:06:16
|
Hi, I'm playing with some options of the local copy of my texrc (the one in ftplugin/tex), and some things do not work. For instance, I used to have in my .vimrc the following: let g:Tex_IgnoredWarnings =3D \'Underfull=A1'. \'Overfull=A1'. \'specifier changed to=A1'. \'You have requested=A1'. \'Missing number, treated as zero.=A1'. \'There were undefined references=A1'. \'Citation %.%# undefined=A1'. \'LaTeX Font Warning=A1' It worked as planned. I discovered I could put it in the texrc as: TexLet g:Tex_IgnoredWarnings =3D \'Underfull=A1'. \'Overfull=A1'. \'specifier changed to=A1'. \'You have requested=A1'. \'Missing number, treated as zero.=A1'. \'There were undefined references=A1'. \'Citation %.%# undefined=A1'. \'LaTeX Font Warning=A1' But it does not work (ie I still get "LaTeX Font" warnings). It's as if some other texrc was overriding this one. What am I doing wrong here ? Alan --=20 The hacker: someone who figured things out and made something cool happen. |
From: Mikolaj M. <mi...@wp...> - 2003-04-02 16:17:10
|
Hello, Yesterday I commited texviewer.vim file. It works as charm under Linux but on Windows it doesn't work at all. I have grep (from cygwin) but it looks like grep output was not intercepted. Can someone help me? Mikolaj |
From: Babiker O. <bab...@ya...> - 2003-03-30 07:04:08
|
Dear sir > > I am using Vim -latex as editor for miktex on win2000 > , however, I can only compile and view files from : > C:\texmf\miktex\bin . > > I failed to compile and view files from other folders such as from desktop ... > Any suggestions > yours > Babs __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com |
From: SourceForge.net <no...@so...> - 2003-03-29 16:11:35
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=1949924 By: ihw TexLet g:Tex_IgnoredWarnings = \'Underfull?. \'Overfull?. \'specifier changed to?. \'You have requested?. \'Missing number, treated as zero?. \'There were undefined references?. \'Citation %.%# undefined put them into one line ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/monitor.php?forum_id=173627 |
From: Benji F. <be...@me...> - 2003-03-26 13:15:58
|
Baris Erbas wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > > Dear Benji, > Soory for the late reply. What I want to do is when I run gvim and then > click on a file I want that file to be opened in the already opened gvim > session. For this I start gvim with the --servername option but I > couldnt get it to work. Again, this is not a helpful description of the problem. *How* did it fail to work? > The second problem I actually mentioned was when > I compile my latex file by Latex-Suite and view it with yap viewer under > Windows I want to be able to go back to my original file when I double > click a line in the dvi file. I put different possible options under > yap's menu for this such as --remote or --remote-wait but what happens > is it goes to the already opened gvim session but does open a blank > window and complains about not finding the file. When I look at the > buffers menu I see > c:\test\my_test > c:\test > ... > lines. I assume it is trying to find files called as above which are > actually the directories and the location of the file. So I am quite > close to the solution but can not find the last option to add, so to > speak. I think you have to use both the --remote (or --remote-wait) and the --servername options. Have another look at :help clientserver I suggest you try to separate this into two problems. First, figure out how to open a file in a running gvim from the command line. Once that is working, try to get it to work from Yap. HTH --Benji Fisher |
From: Baris E. <be...@an...> - 2003-03-26 12:45:35
|
*This message was transferred with a trial version of CommuniGate(tm) Pro* Dear Benji, Soory for the late reply. What I want to do is when I run gvim and then click on a file I want that file to be opened in the already opened gvim session. For this I start gvim with the --servername option but I couldnt get it to work. The second problem I actually mentioned was when I compile my latex file by Latex-Suite and view it with yap viewer under Windows I want to be able to go back to my original file when I double click a line in the dvi file. I put different possible options under yap's menu for this such as --remote or --remote-wait but what happens is it goes to the already opened gvim session but does open a blank window and complains about not finding the file. When I look at the buffers menu I see c:\test\my_test c:\test ... lines. I assume it is trying to find files called as above which are actually the directories and the location of the file. So I am quite close to the solution but can not find the last option to add, so to speak. I would love to use linux but at work at least for the moment this is not possible :-( Thanks for any help baris > -----Original Message----- > From: Benji Fisher [mailto:be...@me...] > Sent: Tuesday, March 25, 2003 4:49 PM > To: Baris Erbas > Subject: Re: inverse search > > > *This message was transferred with a trial version of > CommuniGate(tm) Pro* Baris Erbas wrote: > > *This message was transferred with a trial version of > CommuniGate(tm) > > Pro* Hi everybody! I have a problem with the inverse search under > > windows. I make gvim do inverse search under linux without any > > problems but at work place I have to use windows and I cant make it > > work. I start gvim with the --servername option and under > YAP's option > > for invese search I put the line > > "C:\Program Files\vim\vim61\gvim.exe" --remote-wait %f > > also I tried other varieties such as only remote or > --servername,etc. > > But it resist to work! > > > > What am I doing wrong? > > > > By the way I use LatexSuite package. > > > > Thanks all! > > > > baris > > Baris: > > I have not tried this because I do not want to boot my > nice Linux machine > into Windows. I suggest either posting this to the vim-latex > list or posting > again to the vim users' list with a different subject (such > as "problem with > --remote"). Either way, be more specific about how it fails. > Does vim start at > all? > > HTH --Benji > > |