您可以使用哪些编辑器来编辑 TeX 文件？
Tiffany Antopolski
tiffany@antopolski.com

Creative Commons Share Alike 3.0

# 支持的编辑器

# gedit

向前搜索(从 gedit 到 文档查看器)和 向后搜索(从 文档查看器 到 gedit)都支持。

# Vim-latex

The gedit plugin contains a python script (evince_dbus.py) that can be used to get SyncTeX working with Vim. In order to use vim-latex together with the document viewer you need to follow the next steps:

Copy the evince_dbus.py to some directory in your path and give it +x permissions.

Modify your ~/.vimrc file and add the following lines.

let g:Tex_ViewRule_pdf = 'evince_dbus.py' let g:Tex_DefaultTargetFormat = 'pdf' let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*'

现在您可以在 vim-latex 中通过键入 \ls 来使用向前搜索。向后搜索目前还没有被支持。