安装好Sublime和skim(Mac)/SumatraPDF(win)后节省时间进行快速双向定位
1.安装好latex,sublime,pdf阅读器(Mac 下 skim / win 下SumatraPDF)后,进行包安装
Preferences->settings-> 右侧添加
"highlight_line": true,
"update_check": false,
"word_wrap": false,
(注意各个条目之间用逗号隔开)
安装package control:
https://packagecontrol.io/installation
ctrl + ` :打开控制台
粘贴下列内容并回车:
importurllib.request,os,hashlib;h='6f4c264a24d933ce70df5dedcf1dcaee'+'ebe013ee18cced0ef93d5f746d80ef60';pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler()));by=urllib.request.urlopen('http://packagecontrol.io/'+pf.replace(' ','%20')).read();dh=hashlib.sha256(by).hexdigest();print('Error validating download (got %s instead of %s), please try manual install'%(dh,h))ifdh!=helseopen(os.path.join(ipp,pf),'wb').write(by)
ctrl+shift+p :打开package control
选择install package 输入latextools
2. Mac :sublime + Skim
正向定位: command+l, j
反向定位: command+shift+单击左键
(Skim中需要更改设置:Skim->选项->同步->预设改为sublime)
3. Windows :sublime + SumatraPDF
正向定位:ctrl+l, j
反向定位:双击左键