Friday, March 22, 2013

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

Hi,

I am not aware how this is implemented in latex-suite, but you can set
the variables in Vim simply by:

:let $TEXINPUTS='/home/user/texmf'

You can see that it works in both Vim and gVim using the following
command:

:!echo $TEXINPUTS

This is how it works in http://atp-vim.sourceforge.net/

Best regards,
Marcin Szamotulski


On 01:03 Fri 22 Mar , Christoph Wiesmeyr wrote:
> 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.
>

--
--
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: