Re: [Vim-latex-devel] project/file specific settings
Brought to you by:
srinathava,
tmaas
From: Francesco M. <fra...@gm...> - 2012-11-23 14:52:07
|
Hi Alessandro, thanks for the answer. I didn't think about it. I'll try that. Cheers, Francesco 2012/11/23 Alessandro Pezzoni <ale...@la...> > 2012/11/23 Francesco Montesano <fra...@gm...>: > > Is there some way to switch easely between latex and pdflatex or some > > mechanism like localvimrc? > > As you probably are not switching between latex and pdflatex within > the same project, you can simply put your project-specific settings in > a master (.latexmain) file. > For example, suppose that you generally use latex, but occasionally > use pdflatex. Then you could leave the default settings as they are > and, supposing that the main file of your pdflatex project is called > "main.tex", create a new file called "main.tex.latexmain" in the same > directory, putting your pdf-specific settings in it. You can put any > kind of (latex-suite) project-specific settings in it as, quoting the > latex-suite manual [1]: > > > If a master file is found, then Latex-Suite :sources the file. > > Thus this file needs to contain valid Vim commands. > > This file is typically used to store project specific settings. > > Regards, > Alessandro > > [1] > http://vim-latex.sourceforge.net/documentation/latex-suite/latex-project-settings.html > > |