From aadb0ffc70b1ab9d9d192caee891759df9e33403 Mon Sep 17 00:00:00 2001 From: Tiffany Antopolski Date: Thu, 4 Nov 2010 18:18:43 -0400 Subject: [PATCH] Synctex: adding support and searching. --- help/C/annotation-properties.page | 2 +- help/C/annotations-delete.page | 2 +- help/C/annotations-disabled.page | 2 +- help/C/annotations-navigate.page | 2 +- help/C/annotations-save.page | 2 +- help/C/annotations-view.page | 2 +- help/C/annotations.page | 2 +- help/C/bookmarks.page | 2 +- help/C/index.page | 2 +- help/C/synctex-and-evince.page | 34 --------------- help/C/synctex-beamer.page | 25 +++++++++++ help/C/synctex-compile.page | 35 ++++++++++++++++ help/C/synctex-editors.page | 37 +++++++++++++++- help/C/synctex-search.page | 70 +++++++++++++++++++++++++++++++ help/C/synctex-support.page | 31 +++++++++++++- help/C/synctex.page | 7 ++-- help/C/textselection.page | 2 +- 17 files changed, 207 insertions(+), 52 deletions(-) delete mode 100644 help/C/synctex-and-evince.page create mode 100644 help/C/synctex-beamer.page create mode 100644 help/C/synctex-compile.page create mode 100644 help/C/synctex-search.page diff --git a/help/C/annotation-properties.page b/help/C/annotation-properties.page index 9ea3730a..4a66973f 100644 --- a/help/C/annotation-properties.page +++ b/help/C/annotation-properties.page @@ -9,7 +9,7 @@ Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

diff --git a/help/C/annotations-delete.page b/help/C/annotations-delete.page index 63eef298..f5e2e4dd 100644 --- a/help/C/annotations-delete.page +++ b/help/C/annotations-delete.page @@ -9,7 +9,7 @@ Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

diff --git a/help/C/annotations-disabled.page b/help/C/annotations-disabled.page index 2f393e1e..4496dae6 100644 --- a/help/C/annotations-disabled.page +++ b/help/C/annotations-disabled.page @@ -9,7 +9,7 @@ Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

diff --git a/help/C/annotations-navigate.page b/help/C/annotations-navigate.page index d16a23f4..5d233e9a 100644 --- a/help/C/annotations-navigate.page +++ b/help/C/annotations-navigate.page @@ -9,7 +9,7 @@ Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

diff --git a/help/C/annotations-save.page b/help/C/annotations-save.page index 48a00dfc..410ea705 100644 --- a/help/C/annotations-save.page +++ b/help/C/annotations-save.page @@ -8,7 +8,7 @@ Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

diff --git a/help/C/annotations-view.page b/help/C/annotations-view.page index dcc6c71e..0f6fb55b 100644 --- a/help/C/annotations-view.page +++ b/help/C/annotations-view.page @@ -8,7 +8,7 @@ Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

diff --git a/help/C/annotations.page b/help/C/annotations.page index 33caacc3..0824558e 100644 --- a/help/C/annotations.page +++ b/help/C/annotations.page @@ -9,7 +9,7 @@ Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

diff --git a/help/C/bookmarks.page b/help/C/bookmarks.page index 0a14b957..0d893ac8 100644 --- a/help/C/bookmarks.page +++ b/help/C/bookmarks.page @@ -9,7 +9,7 @@ Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

diff --git a/help/C/index.page b/help/C/index.page index e14b8191..e299207c 100644 --- a/help/C/index.page +++ b/help/C/index.page @@ -51,7 +51,7 @@ Evince Document Viewer Tips and Tricks -
+
SyncTex
diff --git a/help/C/synctex-and-evince.page b/help/C/synctex-and-evince.page deleted file mode 100644 index f06ff10d..00000000 --- a/help/C/synctex-and-evince.page +++ /dev/null @@ -1,34 +0,0 @@ - - - - - Flip between Evince and editor. - - - - Tiffany Antopolski - tiffany.antopolski@com - - -

Creative Commons Share Alike 3.0

-
- -
- -Using SyncTex to Search - - - - - -
diff --git a/help/C/synctex-beamer.page b/help/C/synctex-beamer.page new file mode 100644 index 00000000..a5283cf0 --- /dev/null +++ b/help/C/synctex-beamer.page @@ -0,0 +1,25 @@ + + + + + Using SyncTex with the LaTeX Beamer class. + + + + Tiffany Antopolski + tiffany@antopolski.com + + +

Creative Commons Share Alike 3.0

+
+
+ +Beamer with SyncTex +

+ +

+ + +
diff --git a/help/C/synctex-compile.page b/help/C/synctex-compile.page new file mode 100644 index 00000000..c2322a7e --- /dev/null +++ b/help/C/synctex-compile.page @@ -0,0 +1,35 @@ + + + + + How to compile your TeX document with SyncTex + + + + Tiffany Antopolski + tiffany@antopolski.com + + +

Creative Commons Share Alike 3.0

+
+
+ +Compile TeX with SyncTex +

+Adding the line \synctex=1 in the preamble of your TeX file will trigger synchronization with SyncTeX. +

+ +\documentclass{article} +\synctex=1 +\usepackage{fullpage} +\begin{document} +... +\end{document} + +

+ Alternatively, you can run the pdflatex command with the -synctex=1 option: +

+pdflatex -synctex=1 yourFile.tex +
diff --git a/help/C/synctex-editors.page b/help/C/synctex-editors.page index 5aec25eb..404ed5f3 100644 --- a/help/C/synctex-editors.page +++ b/help/C/synctex-editors.page @@ -3,13 +3,13 @@ id="synctex-editors"> - + Which editor can you use to edit your TEX file? Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

@@ -18,8 +18,41 @@
Supported Editors + +
<app>Gedit</app>

+Forward Search (from Gedit to Evince) and Backward search (from Evince to Gedit) are both supported. +

+
+
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 Evince 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 $*' + + +
+ +

+ Now you can use Forward search from vim-latex by typing \ls. Backward search is not yet supported. +

+
+
+
diff --git a/help/C/synctex-search.page b/help/C/synctex-search.page new file mode 100644 index 00000000..67d51bad --- /dev/null +++ b/help/C/synctex-search.page @@ -0,0 +1,70 @@ + + + + + Flip between Evince and Gedit. + + + + Tiffany Antopolski + tiffany@antopolski.com + + +

Creative Commons Share Alike 3.0

+
+ +
+ +Search with SyncTex +

+ After you compile your TeX file with SyncTex, you will be able to search. SyncTex even supports forward and backward search from an included file. +

+ + + + + +
diff --git a/help/C/synctex-support.page b/help/C/synctex-support.page index e711a85b..54f2798e 100644 --- a/help/C/synctex-support.page +++ b/help/C/synctex-support.page @@ -9,7 +9,7 @@ Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

@@ -19,7 +19,34 @@ Set-up SyncTex

- +The following packages need to be installed in order to add support for SyncTex:

+ + +

+ texlive-extra-utils +

+
+ +

+ gedit-plugins +

+
+
+

+ In Gedit, enable the SyncTex Plugin: +

+ + +

+ Click EditPreferencesPlugins tab. +

+
+ +

+ Check SyncTex. +

+
+
diff --git a/help/C/synctex.page b/help/C/synctex.page index f19c6006..d80fc6d7 100644 --- a/help/C/synctex.page +++ b/help/C/synctex.page @@ -4,22 +4,21 @@ - Introduction to SyncTex. + SyncTeX support is available in Evince. Tiffany Antopolski - tiffany.antopolski@com + tiffany@antopolski.com

Creative Commons Share Alike 3.0

-
What is SyncTex?

- + SyncTeX is a method that enables synchronization between a TeX source file and the resulting PDF output.

diff --git a/help/C/textselection.page b/help/C/textselection.page index 9238abb2..27f415fa 100644 --- a/help/C/textselection.page +++ b/help/C/textselection.page @@ -34,7 +34,7 @@ application, the formatting may alter. It may also contain different characters

Unfortunately, there is no real way of fixing this problem. Copying - less text at a time, or copying the text into a text editor may minimise the problem. You can locate a text editor by clicking ApplicationsAccessoriesgedit Text Editor. + less text at a time, or copying the text into a text editor may minimise the problem. You can locate a text editor by clicking ApplicationsAccessoriesText Editor.

-- 2.43.5