liuzhongli的个人博客分享 http://blog.sciencenet.cn/u/liuzhongli

博文

用Gvim和Mupdf实现latex写作即时可视化(备忘)

已有 3887 次阅读 2014-8-7 09:17 |个人分类:Latex|系统分类:科研笔记

如果已经安装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




https://wap.sciencenet.cn/blog-873681-817715.html

上一篇:用(g)vim编写latex文章的自动英语拼写提示(备忘)
下一篇:One command of Gnuplot to plot multiple files
收藏 IP: 61.136.68.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-20 08:38

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部