Edit Links |
LyX /
SyncTeXCategories: Category SyncTeX << | Page list | >>--which version of LyX is described? 1.6 and 2.0 have completely different approach to it. note that lot of info about forward/reverse search in lyx advanced manual --ps This page describes how to use SyncTeX to get reverse search, that is, the ability to get from a line in a PDF to the same line in the LyX document with a single click. Forward and Reverse Search Settings for LyX 2.0NB: forward/reverse search does not seem to work (on OS X at least) if the LyX.app is renamed or not in /Applications Also, seems like it doesn't work with child documents, see bug tracker http://www.lyx.org/trac/ticket/7186 Setting up LyX
Viewer-specific notesSkimIn LyX,
In Skim:
OkularIn LyX,
In Okular:
Now, holding SHIFT while clicking with your left mouse button somewhere in the PDF should make LyX move to the corresponding position in the source document. Note that this only works in Browse mode - for example, pressing Shift-click will not do anything in Text Selection mode. Sumatra PDF (on Windows)reverese search only using server pipe: In LyX
In Windows:
Forward and Reverse Search Settings for LyX 1.6.*To get this wonderful feature, you'll have to (1) enable SyncTeX in LyX, and (2) set LyX as the editor in your PDF reader. Enable SyncTeX in LyXFirst you'll have to ensure that LyX writes the SyncTeX file which tells your PDF reader about the correspondences between PDF positions and source document positions.
(Some tutorials will tell you to use Set LyX as SyncTeX editor in your PDF readerIf you use Okular
Now, holding SHIFT while clicking with your left mouse button somewhere in the PDF should make LyX move to the corresponding position in the source document. If you use Skim.app
Now, holding COMMAND-SHIFT while clicking with your left mouse button somewhere in the PDF should make LyX move to the corresponding position in the source document. In case LyX does not open Skim.app as your previewer: In LyX, click Preferences > File formats > PDF (pdflatex), enter If you use Sumatra, yap or xdvi on CygwinSee http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 Troubleshooting SyncTeXMake sure that the .lyxpipe.in and .lyxpipe.out files do not exist when LyX is not running. (They are normally deleted when LyX quits, but if LyX crashes, they remain and prevent LyX from communicating with PDFView.) Their location can be found in LyX > Preferences > Paths. SyncTeX vs pdfsyncAnother possible way of getting reverse-search is adding Categories |