Ⅰ. 插件描述
Automatic LaTeX Plugin is one of the leading LaTeX plugin for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'coot/atp-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'coot/atp-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'coot/atp-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/coot/atp_vim
Ⅳ. 文档说明
Automatic TeX Plugin For Vim version 7.3
Supported OS'es: Linux, Mac OS, Windows (some features are not working).
Visit http://atp-vim.sf.net to get more info: features, videos presenting some
functionalities, online help. Just to list the main features:
- background processing with a progress bar,
- forward/inverse search for okular, evince, xpdf, open (on MacOs), zathura,
- compilation of projects, or just parts of projects (using the subfiles
LaTeX package), - excellent completion, which also closes environments and brackets, and
- labels by their numbers (as seen in the output) and much more ...
- table of contents,
- do you want to see more ... / even that is not complete ... /
ATP is written in Python and VimL.
Help:
You can start with ":help atp". You also subscribe to the [mailing
list](https://lists.sourceforge.net/lists/listinfo/atp-vim-list) and post your
question there.
Dependencies:
The plugin contains:
LatexBox developed by
D.Munger. LatexBox is developed on GitHub.
It uses latexmk
(If you cannot install it, or obtain it there is a command in ATP which does
the same, but also prints a progress information on the Vim status line.).
GNU wdiff for making word
diffs (see ":help atp-:Wdiff").
Windows:
The progress bar and callback features are turned off on Windows. The reason
is how vim-server works on windows: whenever one calls back it shows a window
with message ERROR 0, which is quite annoying especially since compilation
script calls back vim several times. ATP is not thoroughly tested on Windows
so something might not work. Drop me an email or write to the mailing list,
and note that its about ATP on Windows.
Licence note:
ATP is published under GPL v3+.
Copyright: Marcin Szamotulski, © 2011, 2012, 2013