||
如果已经安装tex环境,可执行如下操作:
1. 下载vim-live-latex-preview并安装
2. 安装mupdf: sudo apt-get install mupdf
3. 安装xdotool:sudo apt-get install xdotool
用法:
A plugin for creating a live-updating PDF preview for a LaTeX file in MuPDF
Default key bindings:~
o = Begin/end auto-compilation and live-updating (Note:
starting live compilation will also open PDF preview.)
p = Open/close PDF preview window. (Note: closing the
PDF preview will also stop auto-compilation.)
s = Check the result of the last compilation;
jump to first error in case of errors.
f = Forward search to page in PDF matching cursor
position in source.
r = Reverse/inverse search to position in source
matching active page in MuPDF. (Very approximate.)
c = End any compilations in progress, and begin new compilation
now. (Useful for un-"stick"ing stalled compilations.)
Note: if auto-compilation is turned off, this will still
compile and show the results inside vim.
<PageUp>, <PageDown>, <Up>, <Down>, <Right>, <Left>, G
m, t, -, +, = = Send the corresponding keystrokes
to the MuPDF preview without losing focus on vim Window
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-4-20 08:38
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社