![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/help-langpack/en_GB/evince/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="synctex-editors" xml:lang="en-GB"> <info> <link type="guide" xref="index#synctex" group="fourth"/> <desc>Which editor can you use to edit your TEX file?</desc> <revision pkgversion="3.2" version="0.1" date="2011-09-05" status="final"/> <credit type="author"> <name>Tiffany Antopolski</name> <email>tiffany@antopolski.com</email> </credit> <license> <p>Creative Commons Share Alike 3.0</p> </license> </info> <title>Supported editors</title> <section id="gedit"><title><app>gedit</app></title> <p> <link xref="synctex-search#forward-search">Forward Search</link> (from <app>gedit</app> to the <app>document viewer</app>) and <link xref="synctex-search#backward-search">Backward search</link> (from the <app>document viewer</app> to <app>gedit</app>) are both supported. </p> </section> <section id="vim-latex"><title>Vim-latex</title> <p> The <app>gedit</app> plugin contains a python script (<file>evince_dbus.py</file>) that can be used to get SyncTeX working with Vim. In order to use vim-latex together with the <app>document viewer</app> you need to follow the next steps: </p> <steps> <item> <p> Copy the <file>evince_dbus.py</file> to some directory in your path and give it +x permissions. </p> </item> <item> <p> Modify your <file>~/.vimrc</file> file and add the following lines. </p> <code> let g:Tex_ViewRule_pdf = 'evince_dbus.py' let g:Tex_DefaultTargetFormat = 'pdf' let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*' </code> </item> <item> <p> Now you can use Forward search from vim-latex by typing \ls. Backward search is not yet supported. </p> </item> </steps> </section> </page>