File: README

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (50 lines) | stat: -rw-r--r-- 1,858 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
===============================================
FORWARD AND BACKWARD SEARCH WITH LYX AND EVINCE
===============================================

For the forward and backwards (reverse) search feature in general, please refer to
Help > Additional Features, sec. 5.6 and 5.7 in LyX.


SETUP
=====

* Install the files evince_sync_lyx, evince_forward_search and evince_backward_search
  in your binary directory (e.g., ~/bin).

* Assure all three files are executable.

* In LyX, go to Tools > Preferences ... > File Handling > File Formats > Format, select
  the appropriate output format [e.g., PDF (pdflatex)], set "Viewer" to "Custom" and
  enter evince_sync_lyx as custom viewer (in the field right to the combo box).
  Hit "Apply" and "Save".

* Go to Tools > Preferences ... > Output > General and enter the following PDF command
  to Forward Search: evince_forward_search "$$o" $$n "$$f"
  Again, hit "Apply" and "Save".

Forward and Backward search should work now (backward search from within evince is triggered
by <Shift> + <Left Click>).


HISTORY
=======

The scripts have been initially developed by Benjamin Kellermann (2011) as a derivation
of gedit-synctex-plugin by José Aliste (https://github.com/jaliste/gedit-synctex-plugin,
2010) and published on https://ubuntuforums.org/showthread.php?t=1716268.

The work is based on a further derivation of this work for Sublime Text LaTeX Tools
(https://github.com/SublimeText/LaTeXTools/tree/master/evince).

Adaptations for the use with LyX and the tranformation of the original evince_sync bash
script to a python script (evince_sync_lyx) have been done by Jürgen Spitzmüller
<spitz@lyx.org> in 2017. 


CONTACT
=======

Please send bug reports and suggestions (related to LyX-evince synchronization) to
lyx-devel@lists.lyx.org. 
Usage questions should be addressed at lyx-users@lists.lyx.org.