Re: [Vim-latex-devel] function to switch settings

2014-02-27 Thread Andreas Groh
Hi everybody, Thanks to the comment from another user I have complemented my functions by the following function calls: call Tex_SetTeXCompilerTarget('Compile',g:Tex_DefaultTargetFormat) call Tex_SetTeXCompilerTarget('View',g:Tex_DefaultTargetFormat) Now everything works as expected. Thanks an

Re: [Vim-latex-devel] function to switch settings

2014-02-26 Thread Andreas Groh
Dear Francesco, Thanks for the hint. Following your instructions I set the pdf/biber options in my .vimrc and placed the alternative options in the corresponding *.latexmain file. I first run for the ps/bibtex project ended up with a dvi only. After deleting all latex-related files another run

Re: [Vim-latex-devel] function to switch settings

2014-02-26 Thread Francesco Montesano
Hi Andreas, This might work: Put your default settings (e.g. English) in your .vimrc (or ftplugin/tex) file. In the directory where you want you use the other language (e.g. German) create a main.tex.latexmain file [1] (I'm assuming that the main latex file is main.tex). Then put in main.tex.late

[Vim-latex-devel] function to switch settings

2014-02-26 Thread Andreas Groh
Hi @ all, I am using vim latex suite for a while an I am quite happy with how it is working. I often have to switch between tex-projects in German (using pdflatex with biber) and project in English (using latex with bibtex). Hence, up to now I have to change the settings in my .vimrc before I