]> git.lyx.org Git - features.git/commitdiff
Update doc about forward search.
authorPavel Sanda <sanda@lyx.org>
Thu, 2 Dec 2010 01:56:45 +0000 (01:56 +0000)
committerPavel Sanda <sanda@lyx.org>
Thu, 2 Dec 2010 01:56:45 +0000 (01:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36650 a592a061-630c-0410-9148-cb99ea01b6c8

lib/doc/Additional.lyx
src/LyXAction.cpp

index 7c82d0b33c1ae6ceb3a5a3dcac95e6fed0e037ac..0a0108ee0c822be59f15b12aa1faf29a7f8ae98c 100644 (file)
@@ -1,5 +1,5 @@
 #LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 407
+\lyxformat 410
 \begin_document
 \begin_header
 \textclass scrbook
@@ -74,7 +74,7 @@ End
 \font_sans default
 \font_typewriter default
 \font_default_family default
-\use_xetex false
+\use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
@@ -6742,6 +6742,46 @@ ip
  page of the file --- Evince or xpdf --- for these cases you can use external
  call of synctex.
  Please study the prepared examples in the Preferences dialog.
+ The values replaced in the setting: 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+$$n
+\end_layout
+
+\end_inset
+
+ for row number, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+$$t
+\end_layout
+
+\end_inset
+
+ for exported temporary .tex file, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+$$o
+\end_layout
+
+\end_inset
+
+ exported output file (either dvi or pdf, depending on which one exists
+ in the temp dir).
+\end_layout
+
+\begin_layout Standard
+When viewing, LyX dynamically choose proper preview format based on the
+ presence of .dvi or .pdf file in the temporary directory (i.e.
+ what format have you used for viewing this particular document).
 \end_layout
 
 \begin_layout Chapter
index 179bf3a2a90cd97852cc4ab8008cd8525effbf35..e25eb78294d3bb4b9593ea162be2393460214176 100644 (file)
@@ -2828,16 +2828,11 @@ void LyXAction::init()
                { LFUN_SERVER_GOTO_FILE_ROW, "server-goto-file-row", ReadOnly | NoBuffer, System },
 /*!
  * \var lyx::FuncCode lyx::LFUN_FORWARD_SEARCH
- * \li Action: Sets the cursor position in the previewed (e.g. dvi) file based on the row
+ * \li Action: Sets the cursor position in the previewed (dvi/pdf) file based on the row
                number in LyX window.
  * \li Notion: The external program used for forward search call can be specified in
-               \forward_search_dvi and \forward_search_pdf RC settings.
-               By default, the value for pdf is empty, while for dvi it is\n
-               "xdvi -sourceposition $$n:$$t $$o"\n
-               The values replaced in the call: $$n for row number, $$t for
-               exported temporary .tex file, $$o exported output file, either
-               dvi or pdf, depending on which one exists in the temp dir
-               (preferred is dvi).
+               LyX Output preferences. See Additional manual for details of these
+              settings.
  * \li Syntax: forward-search
  * \li Origin: sanda, 14 Apr 2010
  * \endvar