summaryrefslogtreecommitdiff
path: root/help/C/synctex-editors.page
diff options
context:
space:
mode:
authormbkma <[email protected]>2021-03-12 11:24:53 +0100
committerraveit65 <[email protected]>2021-03-29 20:45:35 +0200
commite82bd2c2b4d0a1556234e33bdfeafc43ff21d9ec (patch)
tree09d117459074c1f7fa8a9f2e0415d2f01a225e21 /help/C/synctex-editors.page
parent2651eeb6938177551676efc0a9ffde1e2c9ab9fc (diff)
downloadatril-e82bd2c2b4d0a1556234e33bdfeafc43ff21d9ec.tar.bz2
atril-e82bd2c2b4d0a1556234e33bdfeafc43ff21d9ec.tar.xz
update help
Diffstat (limited to 'help/C/synctex-editors.page')
-rw-r--r--help/C/synctex-editors.page57
1 files changed, 57 insertions, 0 deletions
diff --git a/help/C/synctex-editors.page b/help/C/synctex-editors.page
new file mode 100644
index 00000000..eae0f990
--- /dev/null
+++ b/help/C/synctex-editors.page
@@ -0,0 +1,57 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="synctex-editors">
+
+ <info>
+ <link type="guide" xref="index#synctex" group="fourth"/>
+ <desc>Which editor can you use to edit your TEX file?</desc>
+ <revision pkgversion="1.25" version="0.1" date="2021-03-13" status="final"/>
+ <credit type="author">
+ <name>Tiffany Antopolski</name>
+ <email>[email protected]</email>
+ </credit>
+ <license>
+ <p>Creative Commons Share Alike 3.0</p>
+ </license>
+
+ </info>
+
+<title>Supported editors</title>
+
+<section id="pluma"><title><app>pluma</app></title>
+<p>
+<link xref="synctex-search#forward-search">Forward Search</link> (from <app>pluma</app> to Atril) and <link xref="synctex-search#backward-search">Backward search</link> (from Atril to <app>pluma</app>) are both supported.
+</p>
+</section>
+
+<section id="vim-latex"><title>Vim-latex</title>
+<p>
+The <app>pluma</app> plugin contains a python script (<file>atril_dbus.py</file>) that can be used to get SyncTeX working with Vim.
+In order to use vim-latex together with Atril you need to follow the next steps:
+</p>
+<steps>
+ <item>
+ <p>
+ Copy the <file>atril_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 = 'atril_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>