mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
Update doc about forward search.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36650 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f01e1e202f
commit
0a34788bba
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user