Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Good Afternoon All,

I am trying to install Vim and Latex suite to work on my latex project.

I need help with installing this properly on Mac OS X Lion. I have already installed MacVim.

To setup Vim-Latex I am using instructions provided here. According to instructions

  1. I have downlaoded vim-latex-1.8.23-20120125.768-git8b62284.tar and extracted to ~/.vim directory.
  2. I have created file ~/.vimrc with content from recommended settings
  3. I have created file ~/.vim/ftplugin/tex.vim with content from recommended settings.

Install the help files To install the included latex-suite.txt and latexhelp.txt files as vim help files, start vim and do the following: helptags ~/.vim/doc

How do I do this step, because from terminal I get following error

Khurrams-MacBook:.vim kmajeed$ helptags ~/.vim/doc/  
-bash: helptags: command not found
Khurrams-MacBook:.vim kmajeed$ 

How can I make sure LATEX is setup and working fine for me?

share|improve this question

1 Answer 1

helptags is not a shell command, it is a vim command. You need to call it from inside vim. Start vim and type

:helptags ~/.vim/doc/

(notice the colon).

share|improve this answer
    
I executed the command from vim, cursor goes to the top of editor window. But I din't see any confirmation. Is it normal? How can I make sure LATEX is setup and working fine for me? –  Khurram Majeed Jun 4 '12 at 17:58
1  
As far as I can tell, there is no confirmation. Try :help latex-suite to see if the help tags were generated correctly. Other than that, to see if your setup is working, the best way is to open a tex file. You should automatically have TeX syntax highlighting, and the gvim menus should contain the latex-suite commands. You should have TeX-Suite, TeX-Environments and few other menus like that. Using the LaTeX suite compile command (I believe the default is \ll) should compile your file, the view cammand (\lv) should launch a dvi or pdf viewer with your document in it. –  Jan Hlavacek Jun 4 '12 at 18:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.