Update docs after r39410.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39412 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-08-02 21:39:50 +00:00
parent 569815e79d
commit cff53196e0

View File

@ -6863,7 +6863,7 @@ In order to use SumatraPDF for inverse search, enter
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
SumatraPDF.sh SumatraPDF -inverse-search "lyxeditor -g %f %l"
\end_layout \end_layout
\end_inset \end_inset
@ -6881,46 +6881,8 @@ PDF (pdflatex)
\end_inset \end_inset
, where .
\begin_inset Flex Code If SumatraPDF.exe is not in your command PATH, use its full posix path.
status collapsed
\begin_layout Plain Layout
SumatraPDF.sh
\end_layout
\end_inset
is the following script (to be placed in your command PATH,
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
/usr/local/bin
\end_layout
\end_inset
being the best choice):
\end_layout
\begin_layout LyX-Code
#!/bin/bash
\begin_inset Newline newline
\end_inset
cd $(dirname $1)
\begin_inset Newline newline
\end_inset
SumatraPDF -inverse-search "lyxeditor -g %f %l" $(basename $1)
\end_layout
\begin_layout Standard
This wrapper script is needed because SumatraPDF is a native Windows application
and does not understand the posix paths used by the Cygwin version of LyX.
If SumatraPDF.exe is not in your command PATH, use its full posix path in
the script above.
The The
\begin_inset Flex Code \begin_inset Flex Code
status collapsed status collapsed