Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Thanks! Indeed, there are a few differences. How should I add to the PATH environment variable used by the launcher? Commented Sep 5, 2017 at 15:40
  • @Zili There are many ways to accomplish that. It can also depend on whether you installed vim-latexsuite from your distribution repositories or installed it yourself, etc. (If possible you should install vim-latexsuite via your system's package management system.) First, I would make sure you have the correct variables in your $HOME/.bash_profile (or possibly $HOME/.profile, or others), logout of your windowing system and then log back in. See the INVOCATION section of the bash man page. Commented Sep 5, 2017 at 16:09
  • @Zili, there many ways these situations can occur. If you post the actual differences or errors, you'll get correct and more accurate answers more quickly. If you don't give enough information, don't show code and output etc, you get "more than likely" answers such as this, because the answer can only be based on similar situations that have been seen in the past and not tailored to your specific situation. Commented Sep 5, 2017 at 16:15
  • The path to the LaTeX distribution was specified in my .bashrc but not in .profile. When I added the path to .profile, it works fine. I thought .bashrc and .profile were equivalent? Why did this happen? Commented Sep 5, 2017 at 17:54
  • @Zili, Again I refer you to the INVOCATION section of the bash man page. Bash sources the ~/.bashrc file only for interactive, non-login shells. Some distributions (eg. Debian, Ubuntu) set up ~/.profile to source the ~/.bashrc upon login. You, apparently, do not have . ~/.bashrc in your .profile. I recommend reading the bash man page, especially the INVOCATION section, and examining the various profiles in your distribution: /etc/profile/, /etc/profile.d/, the /etc/skel/ etc. Add a new user to your system and look at the default setup, etc. Hope this helps. Commented Sep 6, 2017 at 16:58