Thread: [Vim-latex-devel] Setting up vimlatex
Brought to you by:
srinathava,
tmaas
From: Nick R. <nic...@gm...> - 2013-07-17 19:01:02
|
Hi I'm learning vimlatex portable version (we have a locked in system at work). When I compile a .dvi file does not appear. I've followed the troubleshoot instructions, and it appears that vimlatex cannot find latex.exe (step 3). The environment variable is called %PATH as specified in the instructions, and I've double-checked the path name. I note that there is also another program with the environment variable path (lower case). Could anyone advise me on why this isn't working? Could it be to do with spaces in the path name? Many thanks Nick Riches -- Lecturer in Speech and Language Pathology Room 1.9 King George VI Building Queen Victoria Road University of Newcastle-upon Tyne NE1 7RU 0191 222 8720 |
From: Raniere S. <ra0...@im...> - 2013-07-17 21:48:38
|
Nick, are you using vim in a GNU/Linux distribution or in another operational system? Raniere |
From: Nick R. <nic...@gm...> - 2013-07-18 12:01:28
|
Sorry, Raniere. Should have specified this in the email. It's Windows 7. Best NIck On 17 July 2013 22:48, Raniere Silva <ra0...@im...> wrote: > Nick, > > are you using vim in a GNU/Linux distribution or in another operational > system? > > Raniere > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > -- Lecturer in Speech and Language Pathology Room 1.9 King George VI Building Queen Victoria Road University of Newcastle-upon Tyne NE1 7RU 0191 222 8720 |
From: Raniere S. <ra0...@im...> - 2013-07-18 13:42:23
|
Nick, all the machines that I use are running a GNU/Linux distribution. Sorry for can't help you very much. Raniere |
From: Nick R. <nic...@gm...> - 2013-07-18 16:38:55
|
Thanks for the response anyway Best Nick On 18 July 2013 14:42, Raniere Silva <ra0...@im...> wrote: > Nick, > > all the machines that I use are running a GNU/Linux distribution. Sorry for > can't help you very much. > > Raniere > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > -- Lecturer in Speech and Language Pathology Room 1.9 King George VI Building Queen Victoria Road University of Newcastle-upon Tyne NE1 7RU 0191 222 8720 |
From: Gary J. <gar...@sp...> - 2013-07-18 22:57:29
|
On 2013-07-17, Nick Riches wrote: > Hi > > I'm learning vimlatex portable version (we have a locked in system at work). > When I compile a .dvi file does not appear. I've followed the troubleshoot > instructions, and it appears that vimlatex cannot find latex.exe (step 3). The > environment variable is called %PATH as specified in the instructions, and I've > double-checked the path name. I note that there is also another program with > the environment variable path (lower case). > > Could anyone advise me on why this isn't working? Could it be to do with spaces > in the path name? It could be, but since you haven't provided - the value of %PATH%, or within Vim, $PATH, - the path to latex.exe, - the command you use to compile, or - what you see on the screen when you compile, it's hard to tell. Regards, Gary |
From: Nick R. <nic...@gm...> - 2013-07-19 11:40:39
|
Hi Gary Thanks for response. Here's some more info... - When I type :echo $PATH in vim I get a whole load of stuff, but it doesn't appear to contain the environment variable for latex.exe. (image below) - The path (called $PATH) is "C:\Users\Nick Riches\Documents\miktexportable\miktex\bin", so it definitely contains a space. It's very difficult to get rid of this space as it is part of my user name (I would have to set up a new account and transfer everything over - a big pain) - Command to compile is \ll - The compile tells me that it "Ran latex 1 time", but it doesn't pick up errors, and no .dvi appears, so it doesn't appear to be running latex. Thanks Nick On 18 July 2013 23:41, Gary Johnson <gar...@sp...> wrote: > On 2013-07-17, Nick Riches wrote: > > Hi > > > > I'm learning vimlatex portable version (we have a locked in system at > work). > > When I compile a .dvi file does not appear. I've followed the > troubleshoot > > instructions, and it appears that vimlatex cannot find latex.exe (step > 3). The > > environment variable is called %PATH as specified in the instructions, > and I've > > double-checked the path name. I note that there is also another program > with > > the environment variable path (lower case). > > > > Could anyone advise me on why this isn't working? Could it be to do with > spaces > > in the path name? > > It could be, but since you haven't provided > > - the value of %PATH%, or within Vim, $PATH, > - the path to latex.exe, > - the command you use to compile, or > - what you see on the screen when you compile, > > it's hard to tell. > > Regards, > Gary > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > -- Lecturer in Speech and Language Pathology Room 1.9 King George VI Building Queen Victoria Road University of Newcastle-upon Tyne NE1 7RU 0191 222 8720 |
From: Gary J. <gar...@sp...> - 2013-07-21 05:27:56
|
On 2013-07-19, Nick Riches wrote: > Hi Gary > > Thanks for response. Here's some more info... > > - When I type :echo $PATH in vim I get a whole load of stuff, but it doesn't > appear to contain the environment variable for latex.exe. (image below) Right. I think you need to add the directory of latex.exe to that. It may work to add this to your vimrc: let $PATH .= ';C:\Users\Nick Riches\Documents\miktexportable\miktex\bin' > - The path (called $PATH) is "C:\Users\Nick Riches\Documents\miktexportable\ > miktex\bin", so it definitely contains a space. It's very difficult to get rid > of this space as it is part of my user name (I would have to set up a new > account and transfer everything over - a big pain) If I could set up my Windows system again, I would not give it it my first and last names. That space has indeed been a huge pain. In my case, my MikTex files are under "C:\Program Files", but that space never seemed to cause a problem for vim-latex. > - Command to compile is \ll > > - The compile tells me that it "Ran latex 1 time", but it doesn't pick up > errors, and no .dvi appears, so it doesn't appear to be running latex. When I compile LaTeX files, I also get a file with a .log extension. You may find a clue in there. Regards, Gary |
From: Nick R. <nic...@gm...> - 2013-07-21 11:07:27
|
Many thanks Gary I have managed to sort it. While the vimlatex instructions refer to $PATH the windows path variable is merely called "Path". So there's the VIM name and the windows name. I'm getting it to compile in a directory with no space in the path, and now I need to experiment with a directory with a space in the path Thanks for input! Nick On 21 July 2013 06:26, Gary Johnson <gar...@sp...> wrote: > On 2013-07-19, Nick Riches wrote: > > Hi Gary > > > > Thanks for response. Here's some more info... > > > > - When I type :echo $PATH in vim I get a whole load of stuff, but it > doesn't > > appear to contain the environment variable for latex.exe. (image below) > > Right. I think you need to add the directory of latex.exe to that. > It may work to add this to your vimrc: > > let $PATH .= ';C:\Users\Nick > Riches\Documents\miktexportable\miktex\bin' > > > - The path (called $PATH) is "C:\Users\Nick > Riches\Documents\miktexportable\ > > miktex\bin", so it definitely contains a space. It's very difficult to > get rid > > of this space as it is part of my user name (I would have to set up a new > > account and transfer everything over - a big pain) > > If I could set up my Windows system again, I would not give it it my > first and last names. That space has indeed been a huge pain. > > In my case, my MikTex files are under "C:\Program Files", but that > space never seemed to cause a problem for vim-latex. > > > - Command to compile is \ll > > > > - The compile tells me that it "Ran latex 1 time", but it doesn't pick up > > errors, and no .dvi appears, so it doesn't appear to be running latex. > > When I compile LaTeX files, I also get a file with a .log extension. > You may find a clue in there. > > Regards, > Gary > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > -- Lecturer in Speech and Language Pathology Room 1.9 King George VI Building Queen Victoria Road University of Newcastle-upon Tyne NE1 7RU 0191 222 8720 |