Friday, March 22, 2013

Setting the TEXINPUTS and BIBINPUTS varibles for latex inside vim/gVim

Dear all,

I have been trying to set the TEXINPUTS variable for my latex to have it search for packages in paths, where I have some custom built macros and styles. I have therefore added this line in my vimrc:

let g:Tex_TEXINPUTS = '/home/christoph/Dokumente/Dropbox/NuHAG/latex/**,./**'

According to what I found in http://tinyurl.com/d66jz45 , this should do the job.

It works in console based vim, as it seems to inherit the environment varibles from the bash, where I have them set in bashrc. However, when I use gVim this is not the case. Therefore I have two questions:

- is there anything wrong with how I set the environment variable above?
- can I somehow also set environment variables in the internal gVim shell, that is invoked on compilation?



Any help would be greatly appreciated! :)




Christoph

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: