From 98debdfd0879b77b602e72d6f48edcfca6831c35 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 6 Jun 2009 17:53:58 +0000 Subject: [PATCH] Update and formatting errors corrections to the reverse search documentaion. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30005 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/Extended.lyx | 481 +++++++++++++++++++++++++++++-------------- 1 file changed, 329 insertions(+), 152 deletions(-) diff --git a/lib/doc/Extended.lyx b/lib/doc/Extended.lyx index ea2dd4f39d..c8f397ccca 100644 --- a/lib/doc/Extended.lyx +++ b/lib/doc/Extended.lyx @@ -112,6 +112,7 @@ End \paperpagestyle headings \tracking_changes true \output_changes false +\author "Enrico Forestieri" \author "Jürgen Spitzmüller" \author "" \end_header @@ -4614,13 +4615,13 @@ status collapsed \begin_layout Plain Layout -\change_deleted 0 1244215965 +\change_deleted 1 1244215965 Currently, only -\change_inserted 0 1244216069 +\change_inserted 1 1244216069 The following viewers offer the reverse PDF search feature: Okular on KDE/Linux, \change_unchanged Skim on Mac OSX and SumatraPDF on Windows -\change_deleted 0 1244216074 +\change_deleted 1 1244216074 offer the reverse PDF search feature \change_unchanged . @@ -4629,7 +4630,7 @@ The following viewers offer the reverse PDF search feature: Okular on KDE/Linux, \end_inset provide -\change_deleted 0 1244266614 +\change_deleted 1 1244266614 the \change_unchanged @@ -4637,9 +4638,9 @@ the reverse search \emph default -\change_deleted 0 1244266618 +\change_deleted 1 1244266618 feature -\change_inserted 0 1244266619 +\change_inserted 1 1244266619 facility \change_unchanged (also called @@ -4647,17 +4648,17 @@ facility inverse search \emph default ) -\change_inserted 0 1244266922 +\change_inserted 1 1244266922 . This means that you can tell LyX to put the cursor to a specific line in the document by clicking at the respective position in the DVI/PDF output -\change_deleted 0 1244266930 +\change_deleted 1 1244266930 , allowing the cursor in LyX to automatically jump to the point corresponding to a given position in the previewed DVI or PDF file \change_unchanged . -\change_inserted 0 1244269153 +\change_inserted 1 1244269153 To achieve this, the viewer must be able to communicate with LyX. This is done via the LyX server either by using the named pipe ( \emph on @@ -4673,7 +4674,7 @@ status collapsed \begin_layout Plain Layout -\change_inserted 0 1244267038 +\change_inserted 1 1244267038 lyxclient \end_layout @@ -4689,7 +4690,7 @@ lyxclient specific viewers. Before we turn to this, though, we will explain what needs to be done generally to enable reverse search in the DVI/PDF output. -\change_deleted 0 1244268951 +\change_deleted 1 1244268951 A program or script will be called by the viewer when initiating a reverse search. The way the search is triggered depends on the viewer (for example, @@ -4748,13 +4749,13 @@ lyxclient \end_inset program communicates with LyX). -\change_inserted 0 1244267407 +\change_inserted 1 1244267407 \end_layout \begin_layout Subsection -\change_inserted 0 1244267438 +\change_inserted 1 1244267438 Enabling reverse search \change_unchanged @@ -4762,7 +4763,7 @@ Enabling reverse search \begin_layout Standard -\change_inserted 0 1244269521 +\change_inserted 1 1244269521 LaTeX provides several different methods for reverse search. Some are built-in in the \begin_inset Flex CharStyle:Code @@ -4770,7 +4771,7 @@ status collapsed \begin_layout Plain Layout -\change_inserted 0 1244269436 +\change_inserted 1 1244269436 latex/pdflatex \change_unchanged @@ -4782,17 +4783,21 @@ latex/pdflatex Your choice depends on whether your LaTeX distribution already provides a given method (the built-in methods are rather new) and whether your viewer can cope with it. -\change_deleted 0 1244269531 +\change_deleted 1 1244269531 The reverse search feature can be enabled in LyX as follows: -\change_inserted 0 1244270128 - The available methods are: +\change_inserted 1 1244270128 + The available methods are +\change_deleted 0 1244307656 +: +\change_inserted 0 1244307667 + described in the following. \change_unchanged \end_layout -\begin_layout Itemize +\begin_layout Standard -\change_deleted 0 1244269543 +\change_deleted 1 1244269543 The DVI or PDF file should be complemented by suitable info produced either by using appropriate options when calling the LaTeX compiler (method 1, DVI only), or by using an appropriate package (method 2, both DVI and PDF). @@ -4800,10 +4805,9 @@ The DVI or PDF file should be complemented by suitable info produced either \end_layout -\begin_deeper -\begin_layout Description +\begin_layout Subsubsection* -\change_inserted 0 1244269681 +\change_inserted 1 1244269681 Built-in \begin_inset space ~ \end_inset @@ -4817,7 +4821,7 @@ via \end_inset src-specials -\change_deleted 0 1244269683 +\change_deleted 1 1244269683 Method \begin_inset space ~ \end_inset @@ -4833,15 +4837,21 @@ Method \end_inset only) -\change_inserted 0 1244269869 +\change_inserted 0 1244307484 + +\end_layout + +\begin_layout Standard + +\change_inserted 1 1244269869 This method provides the DVI file with the necessary information for reverse search. It is available in LaTeX since quite some time (any somewhat recent LaTeX distribution should include it), and it works reliably. -\change_deleted 0 1244269874 +\change_deleted 1 1244269874 If you use recent texlive or miktex distributions -\change_inserted 0 1244269876 +\change_inserted 1 1244269876 To enable it \change_unchanged , change the @@ -4909,41 +4919,41 @@ latex -src-specials $$i \end_inset -\change_inserted 0 1244269895 +\change_inserted 1 1244269895 . -\change_deleted 0 1244269895 +\change_deleted 1 1244269895 , \change_unchanged -\change_inserted 0 1244269903 +\change_inserted 1 1244269903 If this doesn't work, -\change_deleted 0 1244269905 +\change_deleted 1 1244269905 otherwise \change_unchanged check -\change_deleted 0 1244269920 +\change_deleted 1 1244269920 what is the appropriate option for -\change_inserted 0 1244269920 +\change_inserted 1 1244269920 if \change_unchanged your TeX engine -\change_inserted 0 1244269947 +\change_inserted 1 1244269947 needs different options (the syntax might differ in some distributions) \change_unchanged . -\change_inserted 0 1244269953 +\change_inserted 1 1244269953 \end_layout -\begin_layout Description +\begin_layout Subsubsection* -\change_deleted 0 1244269968 +\change_deleted 1 1244269968 Method \begin_inset space ~ \end_inset 2 -\change_inserted 0 1244270188 +\change_inserted 1 1244270188 External \begin_inset space ~ \end_inset @@ -4963,7 +4973,13 @@ and scrltx) \change_unchanged -\change_inserted 0 1244270259 +\change_inserted 0 1244307759 + +\end_layout + +\begin_layout Standard + +\change_inserted 1 1244270259 The packages \emph on pdfsync @@ -4975,19 +4991,18 @@ scrltx provide reverse search facility for PDF output (via pdflatex) and DVI output, respectively. In order to enable it, -\change_deleted 0 1244270275 +\change_deleted 1 1244270275 Insert -\change_inserted 0 1244270300 +\change_inserted 1 1244270300 load the packages in the LyX preamble: \change_unchanged -\change_deleted 0 1244270320 +\change_deleted 1 1244270320 in the preamble of the LyX file -\change_inserted 0 1244271270 +\change_inserted 1 1244271270 \end_layout -\begin_deeper \begin_layout Itemize \begin_inset Flex CharStyle:Code status collapsed @@ -5001,13 +5016,13 @@ usepackage{pdfsync} \end_inset for reverse PDF search, -\change_inserted 0 1244271278 +\change_inserted 1 1244271278 \end_layout \begin_layout Itemize -\change_deleted 0 1244271277 +\change_deleted 1 1244271277 or (as an alternative to redefining the converters) \change_unchanged @@ -5024,9 +5039,9 @@ usepackage[active]{srcltx} for reverse DVI search. -\change_deleted 0 1244271283 +\change_deleted 1 1244271283 -\change_inserted 0 1244271283 +\change_inserted 1 1244271283 \end_layout @@ -5073,28 +5088,27 @@ fi \begin_layout Standard -\change_deleted 0 1244270356 +\change_deleted 1 1244270356 In t -\change_inserted 0 1244270356 +\change_inserted 1 1244270356 T \change_unchanged his way, you can preview the file as either DVI or PDF (pdflatex) and the right package will be used. -\change_inserted 0 1244270363 +\change_inserted 1 1244270363 \end_layout \begin_layout Standard -\change_inserted 0 1244270443 +\change_inserted 1 1244270443 Note that PDFSync might affect the output layout of your document. It is therefore advised to disable PDFsync for final documents. \end_layout -\end_deeper -\begin_layout Description +\begin_layout Subsubsection* -\change_inserted 0 1244271570 +\change_inserted 1 1244271570 Built-in \begin_inset space ~ \end_inset @@ -5123,13 +5137,35 @@ and \begin_inset space ~ \end_inset -PDF): As of recent versions, +PDF) +\change_deleted 0 1244307176 +: +\change_inserted 1 1244271570 + +\change_deleted 0 1244307228 +As of r +\change_inserted 0 1244307913 + +\end_layout + +\begin_layout Standard + +\change_inserted 0 1244307206 +R +\change_inserted 1 1244271570 +ecent versions +\change_deleted 0 1244307213 +, +\change_inserted 0 1244307217 + of +\change_inserted 1 1244271570 + \begin_inset Flex CharStyle:Code status collapsed \begin_layout Plain Layout -\change_inserted 0 1244270543 +\change_inserted 1 1244270543 (pdf)latex \change_unchanged @@ -5137,7 +5173,13 @@ status collapsed \end_inset - has built-in support for both PDF and DVI reverse search. + ha +\change_deleted 0 1244307228 +s +\change_inserted 0 1244307228 +ve +\change_inserted 1 1244271570 + built-in support for both PDF and DVI reverse search. This so-called \emph on SyncTeX @@ -5154,24 +5196,23 @@ scr-specials already provide SyncTeX support. \end_layout -\begin_deeper \begin_layout Standard -\change_inserted 0 1244271640 +\change_inserted 1 1244271640 To enable SyncTeX for DVI output, change the \begin_inset Flex CharStyle:MenuItem status collapsed \begin_layout Plain Layout -\change_inserted 0 1244271770 +\change_inserted 1 1244271770 LaT \begin_inset ERT status collapsed \begin_layout Plain Layout -\change_inserted 0 1244270793 +\change_inserted 1 1244270793 {} \end_layout @@ -5189,14 +5230,14 @@ status collapsed \begin_layout Plain Layout -\change_inserted 0 1244271780 +\change_inserted 1 1244271780 LaT \begin_inset ERT status collapsed \begin_layout Plain Layout -\change_inserted 0 1244270793 +\change_inserted 1 1244270793 {} \end_layout @@ -5214,7 +5255,7 @@ status collapsed \begin_layout Plain Layout -\change_inserted 0 1244270793 +\change_inserted 1 1244270793 Preferences\SpecialChar \menuseparator File Handling\SpecialChar \menuseparator Converters @@ -5228,7 +5269,7 @@ status collapsed \begin_layout Plain Layout -\change_inserted 0 1244270917 +\change_inserted 1 1244270917 latex -synctex=1 $$i \end_layout @@ -5240,14 +5281,14 @@ status collapsed \begin_layout Plain Layout -\change_inserted 0 1244271784 +\change_inserted 1 1244271784 LaT \begin_inset ERT status collapsed \begin_layout Plain Layout -\change_inserted 0 1244270964 +\change_inserted 1 1244270964 {} \end_layout @@ -5265,7 +5306,7 @@ status collapsed \begin_layout Plain Layout -\change_inserted 0 1244271018 +\change_inserted 1 1244271018 pdflatex -synctex=1 $$i \end_layout @@ -5274,15 +5315,52 @@ pdflatex -synctex=1 $$i . Check the documentation of your viewer whether the viewer needs to be configure d for the use with SyncTeX. +\change_inserted 0 1244308387 + +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\change_inserted 0 1244308686 +The +\begin_inset Flex CharStyle:Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted 0 1244308387 +-synctex=1 +\end_layout + +\end_inset + + option enables gzip compression. + If your viewer does not support it, you should instead use +\begin_inset Flex CharStyle:Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted 0 1244308387 +-synctex=-1 +\end_layout + +\end_inset + +. +\end_layout + +\end_inset + + \change_unchanged \end_layout -\end_deeper -\end_deeper \begin_layout Subsection -\change_inserted 0 1244267725 +\change_inserted 1 1244267725 Configuring and using specific viewers \change_unchanged @@ -5290,7 +5368,7 @@ Configuring and using specific viewers \begin_layout Subsubsection* -\change_inserted 0 1244268079 +\change_inserted 1 1244268079 Xdvi (all platforms) \end_layout @@ -5319,7 +5397,7 @@ lyxclient program. -\change_inserted 0 1244271852 +\change_inserted 1 1244271852 Just setup your document as described above (reverse search is triggered by Ctrl-click or Alt-click on Mac OSX, respectively). \end_layout @@ -5403,7 +5481,6 @@ echo "$COMMAND" > "${LYXPIPE}".in || exit read < "${LYXPIPE}".out || exit \end_layout -\begin_deeper \begin_layout Standard where \begin_inset Flex CharStyle:Code @@ -5416,14 +5493,14 @@ status collapsed \end_inset is the Ly -\change_inserted 0 1244271936 +\change_inserted 1 1244271936 \begin_inset ERT status open \begin_layout Plain Layout -\change_inserted 0 1244271936 +\change_inserted 1 1244271936 {} \end_layout @@ -5444,28 +5521,77 @@ Paths \end_inset . +\change_inserted 0 1244309066 + +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\change_inserted 0 1244309205 +In the +\begin_inset Flex CharStyle:Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted 0 1244309176 +development/tools +\change_unchanged + +\end_layout + +\end_inset + + folder of a source distribution you can find a +\begin_inset Flex CharStyle:Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted 0 1244309187 +lyxeditor +\change_unchanged + +\end_layout + +\end_inset + + script which is able to locate the +\emph on +lyxpipe +\emph default + based on your preferences. +\change_unchanged + +\end_layout + +\end_inset + + +\change_unchanged + \end_layout -\end_deeper \begin_layout Subsubsection* -\change_inserted 0 1244268096 +\change_inserted 1 1244268096 MacDviX (Mac OSX) \end_layout \begin_layout Standard -\change_deleted 0 1244268154 +\change_deleted 1 1244268154 If you use Mac OSX and MacDviX as a DVI viewer, a -\change_inserted 0 1244268154 +\change_inserted 1 1244268154 A -\change_deleted 0 1244271959 +\change_deleted 1 1244271959 dd a \change_unchanged t the end of -\change_inserted 0 1244268160 +\change_inserted 1 1244268160 -\change_deleted 0 1244268161 +\change_deleted 1 1244268161 \begin_inset Newline newline \end_inset @@ -5483,7 +5609,7 @@ status collapsed \end_inset -\change_inserted 0 1244271963 +\change_inserted 1 1244271963 , add \change_unchanged the following lines: @@ -5510,37 +5636,37 @@ exit 1 \begin_layout Standard -\change_deleted 0 1244272023 +\change_deleted 1 1244272023 ( \change_unchanged Modify -\change_inserted 0 1244272048 +\change_inserted 1 1244272048 the lines -\change_deleted 0 1244272052 +\change_deleted 1 1244272052 as needed -\change_inserted 0 1244272054 +\change_inserted 1 1244272054 accordingly \change_unchanged if you install LyX somewhere -\change_deleted 0 1244272071 +\change_deleted 1 1244272071 other -\change_inserted 0 1244272071 +\change_inserted 1 1244272071 else \change_unchanged than -\change_inserted 0 1244272086 +\change_inserted 1 1244272086 in \change_unchanged the Applications folder. -\change_deleted 0 1244272025 +\change_deleted 1 1244272025 ) -\change_inserted 0 1244268176 +\change_inserted 1 1244268176 \end_layout \begin_layout Standard -\change_inserted 0 1244268597 +\change_inserted 1 1244268597 Reverse search is triggered by Alt-click (OPTION-click). \change_unchanged @@ -5548,15 +5674,15 @@ Reverse search is triggered by Alt-click (OPTION-click). \begin_layout Subsubsection* -\change_inserted 0 1244268100 +\change_inserted 1 1244268100 Skim (Mac OSX) \end_layout \begin_layout Standard -\change_deleted 0 1244268617 +\change_deleted 1 1244268617 If you use Mac OSX and Skim as a PDF viewer, you should e -\change_inserted 0 1244268617 +\change_inserted 1 1244268617 E \change_unchanged nter @@ -5570,9 +5696,9 @@ open -a Skim.app $$i \end_inset -\change_deleted 0 1244272121 +\change_deleted 1 1244272121 in -\change_inserted 0 1244272122 +\change_inserted 1 1244272122 to \change_unchanged the viewer setting in @@ -5612,19 +5738,19 @@ status collapsed \end_inset X. -\change_inserted 0 1244268646 +\change_inserted 1 1244268646 \end_layout \begin_layout Standard -\change_inserted 0 1244268654 +\change_inserted 1 1244268654 Reverse search is triggered by COMMAND-SHIFT-click \end_layout \begin_layout Subsubsection* -\change_inserted 0 1244274400 +\change_inserted 1 1244274400 Okular (KDE) \change_unchanged @@ -5632,14 +5758,14 @@ Okular (KDE) \begin_layout Standard -\change_inserted 0 1244268705 +\change_inserted 1 1244268705 Go to \begin_inset Flex CharStyle:MenuItem status collapsed \begin_layout Plain Layout -\change_inserted 0 1244216734 +\change_inserted 1 1244216734 Settings\SpecialChar \menuseparator Configure Okular\SpecialChar \ldots{} \SpecialChar \menuseparator @@ -5664,7 +5790,7 @@ status collapsed \begin_layout Plain Layout -\change_inserted 0 1244216761 +\change_inserted 1 1244216761 lyxclient -g %f %l \change_unchanged @@ -5677,13 +5803,13 @@ lyxclient -g %f %l \begin_layout Standard -\change_inserted 0 1244268705 +\change_inserted 1 1244268705 Reverse search is triggered by SHIFT-click \end_layout \begin_layout Subsubsection* -\change_inserted 0 1244268031 +\change_inserted 1 1244268031 YAP (Cygwin) \change_unchanged @@ -5691,7 +5817,7 @@ YAP (Cygwin) \begin_layout Standard -\change_deleted 0 1244268767 +\change_deleted 1 1244268767 If you use the Cygwin version of LyX and yap as a DVI viewer, you should set the name of the program that communicates with LyX directly in yap as follows. @@ -5709,19 +5835,19 @@ Options \end_inset menu and select the -\change_inserted 0 1244217872 +\change_inserted 1 1244217872 \begin_inset Quotes eld \end_inset -\change_deleted 0 1244217872 +\change_deleted 1 1244217872 " \change_unchanged Inverse DVI Search -\change_deleted 0 1244217874 +\change_deleted 1 1244217874 " -\change_inserted 0 1244217875 +\change_inserted 1 1244217875 \begin_inset Quotes erd \end_inset @@ -5730,24 +5856,24 @@ Inverse DVI Search \change_unchanged tab. Click on the -\change_inserted 0 1244219499 +\change_inserted 1 1244219499 \begin_inset Quotes eld \end_inset -\change_deleted 0 1244219498 +\change_deleted 1 1244219498 " \change_unchanged New -\change_deleted 0 1244217826 +\change_deleted 1 1244217826 ... -\change_inserted 0 1244217826 +\change_inserted 1 1244217826 \SpecialChar \ldots{} -\change_deleted 0 1244219500 +\change_deleted 1 1244219500 " -\change_inserted 0 1244219500 +\change_inserted 1 1244219500 \begin_inset Quotes erd \end_inset @@ -5755,73 +5881,73 @@ New \change_unchanged button and, in the window -\change_deleted 0 1244272211 +\change_deleted 1 1244272211 which -\change_inserted 0 1244272211 +\change_inserted 1 1244272211 that \change_unchanged opens, enter -\change_inserted 0 1244217853 +\change_inserted 1 1244217853 \begin_inset Quotes eld \end_inset -\change_deleted 0 1244217850 +\change_deleted 1 1244217850 " \change_unchanged LyX Editor -\change_inserted 0 1244217855 +\change_inserted 1 1244217855 \begin_inset Quotes erd \end_inset -\change_deleted 0 1244217855 +\change_deleted 1 1244217855 " \change_unchanged (or any other name you like) in the -\change_inserted 0 1244217859 +\change_inserted 1 1244217859 \begin_inset Quotes eld \end_inset -\change_deleted 0 1244217859 +\change_deleted 1 1244217859 " \change_unchanged Name: -\change_inserted 0 1244217862 +\change_inserted 1 1244217862 \begin_inset Quotes erd \end_inset -\change_deleted 0 1244217861 +\change_deleted 1 1244217861 " \change_unchanged field. Now click on the button labeled -\change_inserted 0 1244217865 +\change_inserted 1 1244217865 \begin_inset Quotes eld \end_inset -\change_deleted 0 1244217864 +\change_deleted 1 1244217864 "... -\change_inserted 0 1244217867 +\change_inserted 1 1244217867 \SpecialChar \ldots{} \begin_inset Quotes erd \end_inset -\change_deleted 0 1244217866 +\change_deleted 1 1244217866 " \change_unchanged to open a file -\change_inserted 0 1244268790 +\change_inserted 1 1244268790 \change_unchanged dialog and navigate to the directory containing the batch file @@ -5877,16 +6003,16 @@ lyxclient program. -\change_deleted 0 1244272259 +\change_deleted 1 1244272259 As -\change_inserted 0 1244272260 +\change_inserted 1 1244272260 Since \change_unchanged yap is a native Windows application, the filename it provides should be converted to -\change_deleted 0 1244268806 +\change_deleted 1 1244268806 posix -\change_inserted 0 1244268806 +\change_inserted 1 1244268806 POSIX \change_unchanged style before being passed to @@ -5946,7 +6072,6 @@ exit bash -c 'lyxclient %1 $(cygpath -a "%2") %3' \end_layout -\begin_deeper \begin_layout Standard You have to make sure that both \begin_inset Flex CharStyle:Code @@ -5970,20 +6095,19 @@ lyxclient.exe are in the command PATH, otherwise you have to use their full posix path in the above batch file. -\change_inserted 0 1244268839 +\change_inserted 1 1244268839 \end_layout -\end_deeper \begin_layout Standard -\change_inserted 0 1244268860 +\change_inserted 1 1244268860 In yap, reverse search is triggered by double-click. \end_layout \begin_layout Subsubsection* -\change_inserted 0 1244268052 +\change_inserted 1 1244268052 SumatraPDF (Cygwin) \change_unchanged @@ -5991,13 +6115,13 @@ SumatraPDF (Cygwin) \begin_layout Standard -\change_deleted 0 1244268889 +\change_deleted 1 1244268889 If you use the Cygwin version of LyX and -\change_inserted 0 1244268889 +\change_inserted 1 1244268889 In \change_unchanged SumatraPDF -\change_deleted 0 1244268894 +\change_deleted 1 1244268894 as a PDF viewer \change_unchanged , you can set the name of the program that communicates with LyX by simply @@ -6022,8 +6146,42 @@ status collapsed \end_inset - option will not be needed from now on (in this way you will be using the - lyxsocket; omit the + option will not be needed from now on +\change_inserted 0 1244309584 + +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\change_inserted 0 1244310035 +It has been reported that SumatraPDF is not able to remember the settings + if it is installed in the Program Files system folder. + This problem can be avoided by installing it somewhere else, for example + in +\begin_inset Flex CharStyle:Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted 0 1244309811 +/usr/local/bin +\change_unchanged + +\end_layout + +\end_inset + +. +\change_unchanged + +\end_layout + +\end_inset + + +\change_unchanged + (in this way you will be using the lyxsocket; omit the \begin_inset Flex CharStyle:Code status collapsed @@ -6077,7 +6235,26 @@ SumatraPDF.sh \end_inset - is the following script (to be placed in your command PATH, /usr/local/bin + is the following script (to be placed in your command PATH, +\change_deleted 0 1244309997 +/usr/local/bin +\change_inserted 0 1244309997 + +\begin_inset Flex CharStyle:Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted 0 1244309997 +/usr/local/bin +\change_unchanged + +\end_layout + +\end_inset + + +\change_unchanged being the best choice): \end_layout @@ -6096,13 +6273,13 @@ SumatraPDF.exe $(basename $1) \begin_layout Standard This is needed because SumatraPDF is a native Windows application and does not understand the posix paths used by the Cygwin version of LyX. -\change_inserted 0 1244268868 +\change_inserted 1 1244268868 \end_layout \begin_layout Standard -\change_inserted 0 1244268873 +\change_inserted 1 1244268873 Reverse search is triggered by double-click. \change_unchanged @@ -6110,7 +6287,7 @@ Reverse search is triggered by double-click. \begin_layout Standard -\change_deleted 0 1244268934 +\change_deleted 1 1244268934 If you did no mistakes and the DVI or PDF files are produced as previously described, whenever you Ctrl-click (Alt-click on Mac) in xdvi, double-click in yap and SumatraPDF, or COMMAND-SHIFT-click in Skim, the cursor in LyX