2009-10-19 23:44:11 +00:00
# gen_lfuns.py generated this file. For more info see http://www.lyx.org/
2009-05-17 00:56:08 +00:00
\lyxformat 345
2008-08-01 14:16:53 +00:00
\begin_document
\begin_header
2009-10-19 00:01:01 +00:00
\textclass article
2009-10-19 23:44:11 +00:00
\begin_preamble
\renewcommand{\descriptionlabel}[1]{\hspace\labelsep\upshape\bfseries #1:}
\renewenvironment{description}{\list{}{%
\setlength{\itemsep}{-2pt}
\advance\leftmargini6\p@ \itemindent-12\p@
\labelwidth\z@ \let\makelabel\descriptionlabel}%
}{
\endlist
}
\end_preamble
2008-10-19 13:43:30 +00:00
\use_default_options false
2008-08-01 14:16:53 +00:00
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
2009-01-10 23:25:22 +00:00
2008-08-01 14:16:53 +00:00
\graphics default
\paperfontsize default
2009-10-19 00:01:01 +00:00
\spacing single
2008-08-01 19:15:19 +00:00
\use_hyperref false
2008-08-01 14:16:53 +00:00
\papersize default
\use_geometry true
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 2.5cm
\topmargin 2cm
\rightmargin 3cm
2008-09-25 21:00:03 +00:00
\bottommargin 1cm
2008-08-01 14:16:53 +00:00
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
2009-01-10 23:25:22 +00:00
\author ""
\author ""
2008-08-01 14:16:53 +00:00
\end_header
\begin_body
\begin_layout Section*
2011-03-04 20:05:41 +00:00
LFUNs documentation automatically generated 2011-03-04
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Standard
\begin_inset ERT
2008-08-01 19:15:19 +00:00
status collapsed
2008-08-01 14:16:53 +00:00
2008-08-01 19:15:19 +00:00
\begin_layout Plain Layout
2008-08-01 14:16:53 +00:00
\backslash
thispagestyle{empty}
\end_layout
\end_inset
2008-09-08 19:10:23 +00:00
2008-08-01 14:16:53 +00:00
\begin_inset VSpace 1cm
\end_inset
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_ACUTE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds an acute accent to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-acute
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_BREVE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a breve accent to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-breve
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_CARON
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a caron to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-caron
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_CEDILLA
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a cedilla to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-cedilla
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_CIRCLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a circle accent to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-circle
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_CIRCUMFLEX
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a circumflex to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-circumflex
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_DOT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a dot accent to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-dot
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_GRAVE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a grave accent to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-grave
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_HUNGARIAN_UMLAUT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a Hungarian umlaut to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-grave
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_MACRON
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a macron to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-macron
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_OGONEK
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds an ogonek accent to the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-ogonek
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_TIE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a tie over the next two character typed.
\end_layout
\begin_layout Description
Notion The following char will finish the tie.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-tie
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_TILDE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a tilde over the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-tilde
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_UMLAUT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds an umlaut over the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-umlaut
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_UNDERBAR
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a bar under the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-underbar
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ACCENT_UNDERDOT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a dot under the next character typed.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax accent-underdot
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CAPTION_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts a caption inset.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax caption-insert
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 18 Jul 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DATE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts the current date.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax date-insert [<ARG>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <ARG>: Format of date. The default value (%x) can be set in Preferences->Date format. For possible formats see manual page of strftime function.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin jdblair, 31 Jan 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FOOTNOTE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts a footnote inset.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax footnote-insert
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Jug, 7 Mar 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ERT_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts an ERT inset.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax ert-insert
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Jug, 18 Feb 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FLOAT_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts a float inset.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax float-insert <TYPE>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 27 Jun 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FLOAT_WIDE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns.
\end_layout
\begin_layout Description
Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax float-wide-insert <TYPE>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 31 Oct 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FLOAT_LIST_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts the list of floats in the document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax float-list-insert <TYPE>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 3 May 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WRAP_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts floats wrapped by the text around.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax wrap-insert <TYPE>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <TYPE>: table|figure
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Dekel, 7 Apr 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2010-09-12 13:23:07 +00:00
LFUN_ARGUMENT_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-09-12 13:23:07 +00:00
Action Inserts an argument (short title) inset.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-09-12 13:23:07 +00:00
Syntax argument-insert
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vermeer, 12 Aug 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_NEWPAGE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts a new page.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax newpage-insert <ARG>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin uwestoehr, 24 Nov 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MARGINALNOTE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts a marginal note.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax marginalnote-insert
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 26 Jun 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_UNICODE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts a single unicode character.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax unicode-insert <CHAR>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <CHAR>: The character to insert, given as its code point, in hexadecimal.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample unicode-insert 0x0100
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 22 Oct 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LISTING_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts a new listings inset.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax listing-insert
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
2008-08-01 14:16:53 +00:00
\end_layout
2010-05-11 12:01:04 +00:00
\begin_layout Subsection*
LFUN_PREVIEW_INSERT
\end_layout
\begin_layout Description
Action Inserts a new preview inset.
\end_layout
\begin_layout Description
Syntax preview-insert
\end_layout
\begin_layout Description
Origin vfr, 28 Mar 2010
\end_layout
2008-10-22 23:05:51 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_TAB_INSERT
2008-10-22 23:05:51 +00:00
\end_layout
\begin_layout Description
Action Insert a tab into a listings inset.
\end_layout
\begin_layout Description
Notion It also works on a selection.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax tab-insert
2008-10-22 23:05:51 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vfr, Sep 30 2008
2008-10-22 23:05:51 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_TAB_DELETE
2008-10-22 23:05:51 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Delete a tab or up to an equivalent amount of spaces from a listings inset.
2008-10-22 23:05:51 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion It also works on a selection - it removes a tab or spaces from the beginning of each line spanned by the selection. This is useful if you want to indent/unindent multiple lines in one action.
2008-10-22 23:05:51 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax tab-delete
2008-10-22 23:05:51 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vfr, Sep 30 2008
2008-10-22 23:05:51 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_QUOTE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts quotes according to the type and quote-language preference.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Currently English, Swedish, German, Polish, French, Danish quotes are distinguished.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax quote-insert [<TYPE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <TYPE>: 'single' for single quotes, otherwise double quotes will be used.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INFO_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Displays shortcuts, lyxrc, package and textclass availability and menu information in a non-editable boxed InsetText.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Notion Apart from lfun arguments you can use the following method:
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
1. input the type and argument of this inset, e.g. "menu paste", in the work area.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
2. select the text and run info-insert lfun.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax info-insert <TYPE> <ARG>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-05-11 12:01:04 +00:00
Params <TYPE>: shortcut[s]|lyxrc|lyxinfo|package|textclass|menu|buffer
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
<ARG>: argument for a given type. Look into InsetInfo.h for detailed description.
2009-07-11 09:41:51 +00:00
\begin_inset Newline newline
\end_inset
shortcut[s]: name of lfun (e.g math-insert
\backslash
alpha)
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
lyxrc: name of rc_entry (e.g. bind_file)
2009-07-11 09:41:51 +00:00
\begin_inset Newline newline
2010-05-11 12:01:04 +00:00
\end_inset
lyxinfo: "version" - used version of LyX
\begin_inset Newline newline
2009-07-11 09:41:51 +00:00
\end_inset
2009-10-19 23:44:11 +00:00
package: name of latex package (e.g. listings)
2009-07-11 09:41:51 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
textclass: name of textclass (e.g. article)
2009-07-11 09:41:51 +00:00
\begin_inset Newline newline
\end_inset
menu: name of lfun used in menu
\begin_inset Newline newline
\end_inset
icon: name of lfun used in toolbar
\begin_inset Newline newline
\end_inset
2010-02-12 08:45:19 +00:00
buffer: "name"|"path"|"class"|"vcs-tree-revision"| "vcs-revision"|"vcs-author"|"vcs-date"|"vcs-time"
2008-08-01 14:16:53 +00:00
\end_layout
2009-02-06 13:32:28 +00:00
\begin_layout Description
Sample command-sequence info-insert buffer path; info-insert buffer name
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin bpeng, 7 Oct 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BRANCH_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts branch inset.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax branch-insert <BRANCH-NAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vermeer, 17 Aug 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BOX_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts Box inset.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax box-insert [<TYPE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <TYPE>: Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
Framed is the default one.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vermeer, 7 Oct 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FLEX_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts CharStyle, Custom inset or XML short element.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Look into the Customization manual for more information about these elements.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
To make this command enabled the layout file for the document class you're using has to load the character styles. There are a few contained in the Logical Markup module. You can also of course create some yourself.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
For dissolving the element see LFUN_INSET_DISSOLVE.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-11-01 23:25:33 +00:00
Syntax flex-insert Name
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-11-01 23:25:33 +00:00
Params Name: This name must be defined either in your layout file or imported by some module. The definition is InsetLayout Name or InsetLayout <Flex:Name>. The Flex: prefix is optional.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-11-01 23:25:33 +00:00
Sample flex-insert Code
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SELF_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts the given string (accordingly to the correct keymap).
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Automatically replace the currently selected text. Depends on lyxrc settings "auto_region_delete".
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax self-insert <STRING>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SPACE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts one of horizontal space insets.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax space-insert <NAME> [<LEN>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <NAME>: normal, protected, thin, quad, qquad, enspace, enskip, negthinspace, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<LEN>: length for custom spaces (hspace, hspace* for protected)
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin JSpitzm, 20 May 2003, Mar 17 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_HYPERLINK_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts hyperlinks into the document (clickable in pdf output).
\end_layout
\begin_layout Description
Notion Hyperlink target can be set via selection + hyperlink-insert function.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax href-insert [<TARGET>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin CFO-G, 21 Nov 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SPECIALCHAR_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts various characters into the document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax specialchar-insert <CHAR>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <CHAR>: hyphenation, ligature-break, slash, nobreakdash, dots, end-of-sentence, menu-separator.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin JSpitzm, 6 Dec 2007
2008-08-01 14:16:53 +00:00
\end_layout
2010-11-25 02:21:34 +00:00
\begin_layout Subsection*
LFUN_SCRIPT_INSERT
\end_layout
\begin_layout Description
Action Inserts a subscript or superscript inset.
\end_layout
\begin_layout Description
Syntax script-insert <TYPE>
\end_layout
\begin_layout Description
Params <TYPE>: subscript|superscript
\end_layout
\begin_layout Description
Origin Georg, 23 Nov 2010
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_APPENDIX
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Start (or remove) Appendix on the given cursor position.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax appendix
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin ettrich, 5 May 1998
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INDEX_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts Index entry.
\end_layout
\begin_layout Description
Notion It automatically takes the word on the cursor position.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax index-insert [<TYPE:Name>]
2009-04-26 08:47:36 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <TYPE:Name>: name of the index, if multiple indices are defined. with an empty argument, the default index is selected.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 3 Aug 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INDEX_PRINT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts list of Index entries on a new page.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax index-print [<TYPE:Name>]
2009-04-26 08:47:36 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <TYPE:Name>: name of the index, if multiple indices are defined. with an empty argument, the default index is selected.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 27 Feb 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_NOMENCL_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts Nomenclature entry.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion It automatically takes the word on the cursor position if no symbol is given.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax nomencl-insert [<SYMBOL>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Ugras, 4 Nov 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_NOMENCLATURE_PRINT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts list of Nomenclature entries.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax nomenclature-print
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Ugras, 4 Nov 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_NOTE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Inserts Note on the current cursor postion, move selection inside the inset.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax note-insert [<TYPE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <TYPE>: <Note|Greyedout|Comment> default: Note
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_NOTE_NEXT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor to the begining of next Note inset.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax note-next
2008-08-01 14:16:53 +00:00
\end_layout
2009-02-06 13:32:28 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PHANTOM_INSERT
2009-02-06 13:32:28 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Inserts phantom on the current cursor postion, move selection inside the inset.
2009-02-06 13:32:28 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax phantom-insert [<TYPE>]
2009-02-06 13:32:28 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <TYPE>: <Phantom|HPhantom|VPhantom> default: Phantom
2009-02-06 13:32:28 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin uwestoehr, 30 Jan 2009
2009-02-06 13:32:28 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_NEWLINE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts a line break or new line.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax newline-insert [<ARG>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <ARG>: <newline|linebreak> default: newline
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin JSpitzm, 25 Mar 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ESCAPE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-05-11 12:01:04 +00:00
Action Clears the selection. If no text is selected call LFUN_FINISHED_FORWARD. Inside math mode jumps out of the math inset.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax escape
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 17 May 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DOWN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor one line in downward direction.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax down
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_UP
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor one line in upward direction.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax up
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DOWN_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor one line in downward direction adding the current position to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax down-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_UP_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor one line in upward direction adding the current position to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax up-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SCREEN_DOWN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor one page in downward direction.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax screen-down
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SCREEN_UP
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor one page in upward direction.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax screen-up
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SCREEN_DOWN_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor one screen in downward direction adding the current position to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax screen-down-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SCREEN_UP_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor one page in upward direction adding the current position to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax screen-up-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SCROLL
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Scroll the buffer view.
\end_layout
\begin_layout Description
Notion Only scrolls the screen up or down; does not move the cursor.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax scroll <TYPE> <QUANTITY>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <TYPE>: line|page
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<QUANTITY>: up|down|<number>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Abdel, Dec 27 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SCREEN_RECENTER
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Recenters the screen on the current cursor position.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax screen-recenter
2008-08-01 14:16:53 +00:00
\end_layout
2009-04-03 17:39:31 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SCREEN_SHOW_CURSOR
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
Action Repositions the screen such that the cursor is visible.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax screen-show-cursor
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vfr, 25 Mar 2009
2009-04-03 17:39:31 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHAR_BACKWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor one position logically backwards.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This is not the action which should be bound to the arrow keys, because backwards may be left or right, depending on the language. The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions, which in turn may employ this one.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax char-backward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHAR_BACKWARD_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor one position logically backwards, adding traversed position to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion See also LFUN_CHAR_BACKWARD.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax char-backward-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHAR_DELETE_BACKWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Deletes one character in the backward direction (usually the "BackSpace" key).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax char-delete-backward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHAR_DELETE_FORWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Deletes one character in the backward direction (usually the "Delete" key).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax char-delete-forward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHAR_FORWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor one position logically forward.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This is not the action which should be bound to the arrow keys, because forward may be left or right, depending on the language. The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions, which in turn may employ this one.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax char-forward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHAR_FORWARD_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor one position logically forward, adding traversed position to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion See also LFUN_CHAR_FORWARD.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax char-forward-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHAR_LEFT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor one position "to the left".
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This is the action which should be taken when the "left" key is pressed. Generally, it moves the cursor one position to the left. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves left, plain and simple. In "logical mode", movement is logically forward in RTL paragraphs, and logically backwards in LTR paragraphs.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax char-left
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHAR_LEFT_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor one position "to the left", adding traversed position to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion See also LFUN_CHAR_LEFT for exact details of the movement.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax char-left-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHAR_RIGHT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor one position "to the right".
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This is the action which should be taken when the "right" key is pressed. Generally, it moves the cursor one position to the right. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves right, plain and simple. In "logical mode", movement is logically forward in LTR paragraphs, and logically backwards in RTL paragraphs.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax char-right
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHAR_RIGHT_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor one position "to the right", adding traversed position to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion See also LFUN_CHAR_RIGHT for exact details of the movement.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax char-right-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_BACKWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor to the logically previous beginning of a word.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This is not the action which should be bound to the arrow keys, because backwards may be left or right, depending on the language. The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions, which in turn may employ this one.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-backward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_BACKWARD_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor to the logically previous beginning of a word, adding the logically traversed text to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion See also LFUN_WORD_BACKWARD.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-backward-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_DELETE_BACKWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Deletes characters to the begining of the word (usually the "C+BackSpace" key).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-delete-backward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_DELETE_FORWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Deletes characters to the end of the word (usually the "C+Delete" key).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-delete-forward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_FIND_FORWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Search for a given string in forward direction.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Case sensitive, match words. If no argument given, last search repeated.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-find-forward [<STRING>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Etienne, 16 Feb 1998
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_FIND_BACKWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Search for a given string in backward direction.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Case sensitive, match words. If no argument given, last search repeated.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-find-backward [<STRING>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Etienne, 20 Feb 1998
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_FIND
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Search for next occurence of a string.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-find [<DATA>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <DATA>: data encoded from Find dialog (see lyx::find2string()). If no parameter is given, search with last find-dialog data is used for search (i.e. find-next).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, Jan 7 2004
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_REPLACE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Replace a string in the document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-replace [<DATA>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-07-11 09:41:51 +00:00
Params <DATA>: data is of the form "<replace>
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-07-11 09:41:51 +00:00
<search>
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<casesensitive> <matchword> <all> <forward>"
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, Jan 7 2004
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_FINDADV
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
Action Search for next occurence of a pattern.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-findadv [<DATA>]
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <DATA>: data encoded from FindAdv dialog (see lyx::findadv2string()). If no parameter is given, search with last find-dialog data is used for search (i.e. find-next).
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Tommaso, Nov 15 2007
2008-08-01 14:16:53 +00:00
\end_layout
2009-05-17 00:56:08 +00:00
\begin_layout Subsection*
LFUN_WORD_FORWARD
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Description
Action Moves the cursor to the logically next beginning of a word.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This is not the action which should be bound to the arrow keys, because forward may be left or right, depending on the language. The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions, which in turn may employ this one.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-forward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_FORWARD_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor to the logically next beginning of a word, adding the logically traversed text to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion See also LFUN_WORD_FORWARD.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-forward-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_LEFT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor to the next beginning of a word "on the left".
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This is the action which should be taken when the (e.g., ctrl-) "left" key is pressed. Generally, it moves the cursor to the next beginning of a word on the left. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves left, plain and simple. In "logical mode", movement is logically forward in RTL paragraphs, and logically backwards in LTR paragraphs.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-left
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin dov, 28 Oct 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_LEFT_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor to the next beginning of a word "on the left", adding *logically* traversed text to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion See also LFUN_WORD_LEFT for exact details of the movement.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-left-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin dov, 28 Oct 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_RIGHT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor to the next beginning of a word "on the right".
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This is the action which should be taken when the (e.g., ctrl-) "right" key is pressed. Generally, it moves the cursor to the next beginning of a word on the right. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves right, plain and simple. In "logical mode", movement is logically forward in LTR paragraphs, and logically backwards in RTL paragraphs.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-right
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin dov, 28 Oct 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_RIGHT_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor to the next beginning of a word "on the right", adding *logically* traversed text to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion See also LFUN_WORD_RIGHT for exact details of the movement.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-right-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin dov, 28 Oct 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Puts the word where the cursor stands into the selection.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 11 Sep 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_CAPITALIZE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Capitalizes the words in the selection (i.e. the first letters) or the letter on the cursor position.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-capitalize
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_UPCASE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Change the words in the selection or from the cursor position to the end of word to the upper case.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-upcase
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WORD_LOWCASE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Change the words in the selection or from the cursor position to the end of word to the lower case.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax word-lowcase
2008-08-01 14:16:53 +00:00
\end_layout
2010-02-12 08:45:19 +00:00
\begin_layout Subsection*
LFUN_SPELLING_ADD
\end_layout
\begin_layout Description
Action Add the word under the cursor to the respective spell checker dictionary.
\end_layout
\begin_layout Description
Syntax spelling-add [<STRING>] [<LANG>]
\end_layout
\begin_layout Description
Params <WORD>: word to add <LANG>: language name (see file languages)
\end_layout
\begin_layout Description
Origin JSpitzm, 18 Jan 2010
\end_layout
\begin_layout Subsection*
LFUN_SPELLING_IGNORE
\end_layout
\begin_layout Description
Action Let the spell checker ignore the word under the cursor in the current session for the given language.
\end_layout
\begin_layout Description
Syntax spelling-ignore [<WORD>] [<LANG>]
\end_layout
\begin_layout Description
Params <WORD>: word to ignore <LANG>: language name (see file languages)
\end_layout
\begin_layout Description
Origin JSpitzm, 18 Jan 2010
\end_layout
2010-09-12 13:23:07 +00:00
\begin_layout Subsection*
LFUN_SPELLING_REMOVE
\end_layout
\begin_layout Description
Action Remove the word under the cursor from the respective spell checker dictionary.
\end_layout
\begin_layout Description
Syntax spelling-remove [<STRING>] [<LANG>]
\end_layout
\begin_layout Description
Params <WORD>: word to remove <LANG>: language name (see file languages)
\end_layout
\begin_layout Description
Origin SWitt, 28 July 2010
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_THESAURUS_ENTRY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Look up thesaurus entries with respect to the word under the cursor.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax thesaurus-entry [<STRING>] [lang=<LANG>]
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <STRING>: word to look up <LANG>: language (see file languages)
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Levon, 20 Jul 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_BEGIN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Move the cursor to the beginning of the document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-begin
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_BEGIN_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor to the beginning of the document adding the traversed text to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-begin-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_END
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Move the cursor to the end of the document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-end
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_END_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor to the end of the document adding the traversed text to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-end-select
2008-08-01 14:16:53 +00:00
\end_layout
2009-04-03 17:39:31 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_BEGIN
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor to the beginning of the current inset if it is not already there, or at the beginning of the enclosing inset otherwise
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax inset-begin
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin lasgouttes, 16 Mar 2009
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_BEGIN_SELECT
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor to the beginning of the current inset if it is not already there, or at the beginning of the enclosing inset otherwise (adding the traversed text to the selection).
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax inset-begin-select
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin lasgouttes, 16 Mar 2009
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_END
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor to the end of the current inset if it is not already there, or at the end of the enclosing inset otherwise
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax inset-end
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin lasgouttes, 16 Mar 2009
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_END_SELECT
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor to the end of the current inset if it is not already there, or at the end of the enclosing inset otherwise (adding the traversed text to the selection).
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax inset-end-select
2009-04-03 17:39:31 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin lasgouttes, 16 Mar 2009
2009-04-03 17:39:31 +00:00
\end_layout
2009-10-07 00:13:12 +00:00
\begin_layout Subsection*
LFUN_INSET_SELECT_ALL
\end_layout
\begin_layout Description
Action Selects all contents of an inset.
\end_layout
\begin_layout Description
Syntax inset-select-all
\end_layout
\begin_layout Description
Origin vfr, 22 Aug 2009
\end_layout
2010-01-10 16:50:34 +00:00
\begin_layout Subsection*
LFUN_SECTION_SELECT
\end_layout
\begin_layout Description
Action Selects the whole section.
\end_layout
\begin_layout Description
Notion The cursor should be in a section heading before calling this lfun.
\end_layout
\begin_layout Description
Syntax section-select
\end_layout
\begin_layout Description
Origin vfr, 05 May 2009
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LINE_BEGIN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Move the cursor to the begining of the (screen) line.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax line-begin
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LINE_BEGIN_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor to the beginning of the (screen) line adding the traversed text to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax line-begin-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LINE_END
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Move the cursor to the end of the (screen) line.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax line-end
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LINE_END_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor to the end of the (screen) line adding the traversed text to the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax line-end-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LINE_DELETE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Deletes the letters to the end of the (screen) line or deletes the selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax line-delete-forward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_COPY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Copies to the clipboard the last edit.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax copy
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CUT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Cuts to the clipboard.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax cut
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PASTE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-23 12:12:32 +00:00
Action Pastes material (text or picture) from the active clipboard.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-23 12:12:32 +00:00
Syntax paste [<TYPE>|<NUM>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <TYPE>: emf|pdf|png|jpeg|linkback|wmf
2009-05-23 12:12:32 +00:00
\begin_inset Newline newline
\end_inset
<NUM>: number of the selection in the internal clipboard stack to be pasted.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CLIPBOARD_PASTE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Pastes text from the active clipboard.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax clipboard-paste [<ARG>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-11-25 02:21:34 +00:00
Origin Georg, 10 Jul 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PRIMARY_SELECTION_PASTE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2011-01-26 18:24:53 +00:00
Action Pastes the currently selected text.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion Primary selection mechanism is linux-only thing.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax primary-selection-paste [<ARG>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
2008-08-01 14:16:53 +00:00
\end_layout
2009-01-23 17:05:37 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SELECTION_PASTE
2009-01-23 17:05:37 +00:00
\end_layout
\begin_layout Description
2011-01-26 18:24:53 +00:00
Action Pastes the the internal selection text in permanent selection.
\end_layout
\begin_layout Description
Notion Created in order to have middle mouse button pasting correct (bound to command-alternatives selection-paste ; primary-selection-paste paragraph).
2009-01-23 17:05:37 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax selection-paste
2009-01-23 17:05:37 +00:00
\end_layout
2011-01-26 18:24:53 +00:00
\begin_layout Description
Origin lasgouttes, 14 Jan 2009
\end_layout
2009-01-23 17:05:37 +00:00
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_UNDO
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Undoes the last edit.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax undo
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_REDO
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Redoes the last thing undone.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax redo
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_REPEAT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Repeat the given command.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax repeat <COUNT> <LFUN-COMMAND>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 27 Oct 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHARS_TRANSPOSE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Transposes the character at the cursor with the one before it.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax chars-transpose
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 25 Apr 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DEPTH_DECREMENT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Decrease the nesting depth of the (selected) paragraph(s) inside lists.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax depth-decrement
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DEPTH_INCREMENT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Increase the nesting depth of the (selected) paragraph(s) inside lists.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax depth-increment
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_BOLD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2008-09-25 21:00:03 +00:00
Action Toggles the bold font (selection-wise) using mathbf in math.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-bold
2008-08-01 14:16:53 +00:00
\end_layout
2008-09-25 21:00:03 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_BOLDSYMBOL
2008-09-25 21:00:03 +00:00
\end_layout
\begin_layout Description
Action Toggles the bold font (selection-wise) using boldsymbol in math.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-boldsymbol
2008-09-25 21:00:03 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_TYPEWRITER
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles the typewriter family font (selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-typewriter
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_UNDERLINE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles underline in the font (selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-underline
2008-08-01 14:16:53 +00:00
\end_layout
2009-05-08 16:28:26 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_UULINE
2009-05-08 16:28:26 +00:00
\end_layout
\begin_layout Description
Action Toggles double underline in the font (selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-underunderline
2009-05-08 16:28:26 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sanda, 5 May 2009
2009-05-08 16:28:26 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_UWAVE
2009-05-08 16:28:26 +00:00
\end_layout
\begin_layout Description
Action Toggles wavy underline in the font (selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-underwave
2009-05-08 16:28:26 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sanda, 5 May 2009
2009-05-08 16:28:26 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_STRIKEOUT
2009-05-08 16:28:26 +00:00
\end_layout
\begin_layout Description
Action Toggles strikeout (strike-through) in the font (selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-strikeout
2009-05-08 16:28:26 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sanda, 3 May 2009
2009-05-08 16:28:26 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_EMPH
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles the emphasis font style (selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-emph
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_NOUN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles Noun text style font (selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-noun
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_ROMAN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles Roman family font (selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-roman
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_SANS
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles Sans Serif family font (selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-sans
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_FRAK
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles Fraktur family font (math-mode, selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-frak
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vermeer, 10 Jan 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_ITAL
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles Italics font shape (math-mode, selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-ital
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vermeer, 10 Jan 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_DEFAULT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Reverts the settings of the font to the default values (selection-wise).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-default
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_SIZE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Sets font size according to lyx format string.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-size <SIZE>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <SIZE>: tiny|scriptsize|footnotesize|small|normal|large|larger|
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2008-08-01 14:16:53 +00:00
2009-05-17 00:56:08 +00:00
largest|huge|giant|increase|decrease|default
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_TEXTSTYLE_APPLY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggle user-defined (=last-time used) text style.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically trigerred when using Text Style dialog.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax textstyle-apply
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 12 Mar 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_TEXTSTYLE_UPDATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APPLY.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax textstyle-update <FONT_INFO>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <FONT_INFO>: specifies font atributes, e.g. family, series, shape, size, emph, noun, underbar, number, color, language, toggleall.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
Use lyx -dbg action for exact syntax of text-style dialog parameters.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 12 Mar 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SCREEN_FONT_UPDATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Update fonts and its metrics.
\end_layout
\begin_layout Description
Notion Automatically called after zoom, dpi, font names, or norm change.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax screen-font-update
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin ARRae, 13 Aug 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FONT_STATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Returns the info about the current font.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax font-state
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CITATION_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts citation from loaded citation database.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax citation-insert [<KEY>[|<TEXT_BEFORE>]]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <KEY>: Citation (shortcut listed in available citations).
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<TEXT_BEFORE>: text which should appear before citation.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin AAS, 97-02-23
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BIBTEX_DATABASE_ADD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds database, which will be used for bibtex citations.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor postion.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax bibtex-database-add <DATABASE-NAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Ale, 30 May 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BIBTEX_DATABASE_DEL
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds database, which will be used for bibtex citations.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor postion.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax bibtex-database-del <DATABASE-NAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Ale, 30 May 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LAYOUT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Sets the layout (that is, environment) for the current paragraph.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax layout <LAYOUT>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <LAYOUT>: the layout to use
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LAYOUT_PARAGRAPH
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Launches the paragraph settings dialog.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax layout-paragraph
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LAYOUT_TABULAR
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Launches the tabular settings dialog.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax layout-tabular
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Jug, 31 Jul 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DROP_LAYOUTS_CHOICE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Displays list of layout choices.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox allowing for choice of layout.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax drop-layouts-choice
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LAYOUT_MODULES_CLEAR
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Clears the module list.
\end_layout
\begin_layout Description
Notion Clears the list of included modules for the current buffer.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax layout-modules-clear
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin rgh, 25 August 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LAYOUT_MODULE_ADD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Adds a module.
\end_layout
\begin_layout Description
Notion Adds a module to the list of included modules for the current buffer.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax layout-module-add <MODULE>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <MODULE>: the module to be added
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin rgh, 25 August 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LAYOUT_RELOAD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Reloads layout information.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Reloads all layout information for the current buffer from disk, thus recognizing any changes that have been made to layout files on the fly. This is intended to be used only by layout developers and should not be used when one is trying to do actual work.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax layout-reload
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin rgh, 3 September 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_TEXTCLASS_APPLY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Sets the text class for the current buffer.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax textclass-apply <TEXTCLASS>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <TEXTCLASS>: the textclass to set. Note that this must be the filename, minus the ".layout" extension.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_TEXTCLASS_LOAD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Loads information for a textclass from disk.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax textclass-load <TEXTCLASS>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <TEXTCLASS>: the textclass to load. Note that this must be the filename, minus the ".layout" extension.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MARK_OFF
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Disable selecting of text-region.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax mark-off
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MARK_ON
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Enable selecting of text-region.
\end_layout
\begin_layout Description
Notion After enabling you can simply move arrow keys to get selected region.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax mark-on
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MARK_TOGGLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax mark-toggle
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, May 5 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_DELIM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Inserts math delimiters (e.g. parentheses, brackets) enclosing expression.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-delim [<LEFT>] [<RIGHT>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <LEFT/RIGHT>: Delimiters to be used. Each delimiter can be specified by either a LaTeX name or a valid character. ( is the default letter.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample math-delim { rangle
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Alejandro, 18 Jun 1996
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_BIGDELIM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Inserts math fixed size delimiters (e.g. parentheses, brackets) enclosing expression.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
<L/RDELIM>: TeX code for delimiter. See Delimiter dialog for delimiters to be used.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample math-bigdelim "Bigl" "
\backslash
Downarrow" "Bigr" "
\backslash
}"
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Enrico & Georg, 7 May 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_DISPLAY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Creates a new displayed equation in text mode. Toggles inlined/display formula in math mode.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-display [<ARG>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating new equation from the text mode.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Alejandro, 18 Jun 1996
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts math objects and symbols.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion When <ARG> is a _single_ math inset with more than one cell (such as "x_y^z" or "
2009-06-28 10:37:36 +00:00
\backslash
2009-10-19 23:44:11 +00:00
frac{x}{y}"), the content of cell(0) is replaced by the current selection (only works if the selection is in mathed). As an example, if "abc" is selected in mathed, "math-insert
2009-06-28 10:37:36 +00:00
\backslash
frac{x}{y}" replaces "abc" with "
\backslash
2009-10-19 23:44:11 +00:00
frac{abc}{y}", and "math-insert x_y^z" replaces "abc" with "abc_y^z". If nothing is selected (or the selection is not in mathed), math-insert works as expected.
2009-06-28 10:37:36 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-insert <ARG>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <ARG>: Symbol or LaTeX code to be inserted.
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_SUBSCRIPT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Enters subscript expression in math expression.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-subscript
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vermeer, 12 Dec 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_SUPERSCRIPT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-11-25 02:21:34 +00:00
Action Enters superscript expression in math expression.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-superscript
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vermeer, 12 Dec 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_LIMITS
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Toggles the position of the limits from above/below to the right side an vice versa in integral symbol, a limit, a summation, etc.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Put the cursor before the symbol with the limits and then invoke math-limits.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-limits [<STATE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <STATE>: limits|nolimits
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts a math macro definition at the cursor position in the text.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro <NAME> [<NARGS>] [def]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <NAME>: The name of the macro, e.g. "mymacro".
2009-05-17 00:56:08 +00:00
\begin_inset Newline newline
\end_inset
2008-08-01 14:16:53 +00:00
2009-10-19 23:44:11 +00:00
<NARGS>: The number of parameters of the macro. Default is 0. "def": Has no effect anymore, just for compatibility with former LyX versions.
2009-05-17 00:56:08 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin ale, 10 May 1997; sts, 21 Dec 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MUTATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Mutates the type of math inset to the newly selected one.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-mutate <TYPE>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat| multline|gather|flalign
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 23 May 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_SPACE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts space into math expression.
\end_layout
\begin_layout Description
Notion Use spacebar after entering this space to change type of space.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-space [<TYPE>] [<LEN>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-01-10 23:25:22 +00:00
Params <TYPE>: negative spaces: !|negthinspace|negmedspace|negthickspace
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
positive spaces: ,|thinspace|:|medspace|;|thickspace|enskip|quad|qquad
2009-01-10 23:25:22 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
custom space: hspace
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
"," used by default.
\begin_inset Newline newline
\end_inset
2008-08-01 14:16:53 +00:00
2009-10-19 23:44:11 +00:00
Note that ! is equivalent to negthinspace, , = thinspace, : = medspace, and ; = thickspace.
2009-05-17 00:56:08 +00:00
\begin_inset Newline newline
\end_inset
<LEN>: length for custom spaces (hspace)
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MATRIX
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts a matrix.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <ALIGN>: Alignment is a word composed of the vertical alignment (b, c or t) (i.e. 1 char) and the horizontal alignments (l, c or r) (i.e. <COL> chars).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample math-matrix 3 3 bccc
2008-08-01 14:16:53 +00:00
\end_layout
2009-07-25 12:06:15 +00:00
\begin_layout Subsection*
LFUN_MATH_AMS_MATRIX
\end_layout
\begin_layout Description
Action Inserts a matrix.
\end_layout
\begin_layout Description
Syntax math-matrix <COLS> <ROWS> [<DECORATION>]
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <DECORATION>: Decoration determines the LaTeX name of the matrix that should be created.
2009-07-25 12:06:15 +00:00
\end_layout
\begin_layout Description
Sample math-ams-matrix 3 3 bmatrix
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MODE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action In text mode enters math mode (i.e. puts math insets on the current cursor position), in math mode enters text mode inside math expression.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion If there is some selected text, it puts the text inside created math box.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-06-12 19:24:06 +00:00
Syntax math-mode [on|<ARG>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT .
2009-06-12 19:24:06 +00:00
\begin_inset Newline newline
\end_inset
"on": allow only entering of math mode from text mode.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Alejandro, 4 Jun 1996
2008-08-01 14:16:53 +00:00
\end_layout
2009-01-10 23:25:22 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_REGEXP_MODE
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Enters regexp mode (i.e., puts regexp insets on the current cursor position). Used by the advanced search dialog.
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion If there is any selected text, then it is moved inside the created regexp inset.
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax regexp-mode [<ARG>]
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
Params <ARG>: eventual argument (regular expression).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Tommaso, 4 Oct 2008
2009-01-10 23:25:22 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_NUMBER_LINE_TOGGLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles numbering of the current formula line.
\end_layout
\begin_layout Description
Notion Must be in display formula mode.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-number-line-toggle
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Alejandro, 18 Jun 1996
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_NUMBER_TOGGLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles numbering/labeling of the current formula.
\end_layout
\begin_layout Description
Notion Must be in display formula mode.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-number-toggle
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Alejandro, 4 Jun 1996
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_EXTERN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Calls external program and passes the current expression/equation as an argument for the calculation in the format appropriate to the given language.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion Selection can be used to determine the input for the external program.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-extern <LANG> [<COMMAND>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <LANG>: octave|maxima|maple|mathematica|script
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
where "script" stands fot the external script (normalized expression will be passed)
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample math-extern maple simplify
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 24 Apr 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_SIZE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Changes arbitrarily the size used by math fonts inside a context.
\end_layout
\begin_layout Description
Notion Provides an interface to the LaTeX math mode font size commands.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-size <STYLE>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <STYLE>:
\backslash
displaystyle|
2008-08-01 14:16:53 +00:00
\backslash
textstyle|
\backslash
scriptstyle|
\backslash
2009-05-17 00:56:08 +00:00
scriptscriptstyle
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Alejandro, 15 Aug 1996; sanda, 14 Jun 2008
2008-08-01 14:16:53 +00:00
\end_layout
2009-01-23 17:05:37 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_FONT_STYLE
2009-01-23 17:05:37 +00:00
\end_layout
\begin_layout Description
Action Changes the text style used in math.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-font-style <STYLE>
2009-01-23 17:05:37 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Params <STYLE>: mathnormal|mathcal|mathfrak|mathrm|mathsf|mathbf|textnormal
\begin_inset Newline newline
\end_inset
|textrm|textsf|texttt|textbf|textmd|textit|textsc|textsl|textup
2009-01-23 17:05:37 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vfr, 9 jan 2009
2009-01-23 17:05:37 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_UNFOLD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Unfold a Math Macro.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Unfold the Math Macro the cursor is in, i.e. display it as
2009-05-17 00:56:08 +00:00
\backslash
foo.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-unfold
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_FOLD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Fold a Math Macro.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Fold the Math Macro the cursor is in if it was unfolded, i.e. displayed as
2009-05-17 00:56:08 +00:00
\backslash
foo before.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-fold
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_ADD_PARAM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Add a parameter.
\end_layout
\begin_layout Description
Notion Add a parameter to a Math Macro.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-add-param <NUM>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <NUM>: The number of the parameter behind which the new one will be added (1 for the first, i.e. use 0 for add a parameter at the left), defaults to the last one.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_REMOVE_PARAM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Remove the last parameter.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Remove the last parameter of a Math Macro and remove its value in all instances of the macro in the buffer.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-remove-param <NUM>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <NUM>: The number of the parameter to be deleted (1 for the first), defaults to the last one.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_APPEND_GREEDY_PARAM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Append a greedy parameter.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Append a greedy parameter to a Math Macro which eats the following mathed cell in every instance of the macro in the buffer.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-append-greedy-param
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Remove a greedy parameter.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Remove a greedy parameter of a Math Macro and spit out the values of it in every instance of the macro in the buffer. If it is an optional parameter the [valud] format is used.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-remove-greedy-param
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_MAKE_OPTIONAL
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Make a parameter optional.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Turn the first non-optional parameter of a Math Macro into an optional parameter with a default value.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-make-optional
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_MAKE_NONOPTIONAL
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Make a parameter non-optional.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Turn the last optional parameter of a Math Macro into a non-optional parameter. The default value is remembered to be reused later if the user changes his mind.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-make-nonoptional
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Add an optional parameter.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Insert an optional parameter just behind the already existing optional parameters.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-add-optional-param
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Remove the last optional parameter.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Remove the last optional parameter of a Math Macro and remove it in all the instances of the macro in the buffer.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-remove-optional-param
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Add a greedy optional parameter.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Add a greedy optional parameter which eats the value from the following cells in mathed which are in the [value] format.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax math-macro-add-greedy-optional-param
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_IN_MATHMACROTEMPLATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Only active in Math Macro definition.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Dummy function which is only active in a Math Macro definition. It's used to toggle the Math Macro toolbar if the cursor moves into a Math Macro definition.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax in-mathmacrotemplate
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 06 January 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PARAGRAPH_MOVE_DOWN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the current paragraph downwards in the document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax paragraph-move-down
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Edwin, 8 Apr 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PARAGRAPH_MOVE_UP
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the current paragraph upwards in the document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax paragraph-move-up
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Edwin, 8 Apr 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PARAGRAPH_UP
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor to the next paragraph (or begining of the current one) in upward direction.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax paragraph-up
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Asger, 1 Oct 1996
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PARAGRAPH_UP_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor and select the text to the next paragraph (or begining of the current one) in upward direction.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax paragraph-up-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Asger, 1 Oct 1996
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PARAGRAPH_DOWN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor to the next paragraph (or begining of the current one) in downward direction.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax paragraph-down
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Asger, 1 Oct 1996
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PARAGRAPH_DOWN_SELECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the cursor and select the text to the next paragraph (or begining of the current one) in downward direction.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax paragraph-down-select
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Asger, 1 Oct 1996
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PARAGRAPH_GOTO
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Jump to a paragraph given by its id number and optionally the desired position within the paragraph.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Note that id number of paragraph is not the sequential number of paragraph seen on the screen. Moreover the id is unique for all opened buffers (documents).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax paragraph-goto <PAR_ID_NUMBER> <POSITION_IN_PAR>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <PAR_ID_NUMBER>: paragraph id
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<POSITION_IN_PAR>: desired position within the paragraph
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Dekel, 26 Aug 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BREAK_PARAGRAPH
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Breaks the current paragraph at the current location.
\end_layout
\begin_layout Description
Notion Removes the selection.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax break-paragraph [<LAYOUT>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to default layout) when the cursor is at the end of the line.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PARAGRAPH_PARAMS
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Change paragraph settings.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Modifies the current paragraph, or currently selected paragraphs. This function only modifies, and does not override, existing settings. Note that the "leftindent" indent setting is deprecated.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <INDENT>:
\backslash
noindent|
\backslash
indent|
\backslash
indent-toggle|
\backslash
2009-05-17 00:56:08 +00:00
leftindent LENGTH
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<SPACING>:
2008-08-01 14:16:53 +00:00
\backslash
2009-07-25 12:06:15 +00:00
paragraph_spacing default|single|onehalf|double|other SIZE
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<ALIGN>:
2008-08-01 14:16:53 +00:00
\backslash
2009-05-17 00:56:08 +00:00
align block|left|right|center|default
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<OTHERS>:
2008-08-01 14:16:53 +00:00
\backslash
labelwidthstring WIDTH|
\backslash
2009-05-17 00:56:08 +00:00
start_of_appendix
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin rgh, Aug 15 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PARAGRAPH_PARAMS_APPLY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Change paragraph settings.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Overwrite all nonspecified settings to the default ones. Use paragraph-params lfun if you don't want to overwrite others settings.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params For parameters see LFUN_PARAGRAPH_PARAMS
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 30 Mar 2004
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PARAGRAPH_UPDATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Updates the values inside the paragraph dialog from the paragraph.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This is internal LFUN, not to be used by users. Called internally by LFUN_DIALOG_UPDATE.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 13 Mar 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_OUTLINE_UP
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the current group in the upward direction in the structure of the document.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax outline-up
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Vermeer, 23 Mar 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_OUTLINE_DOWN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Move the current group in the downward direction in the structure of the document.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax outline-down
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Vermeer, 23 Mar 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_OUTLINE_IN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the current group in the downward direction in the hierarchy of the document structure.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion Part -> Chapter -> Section -> etc.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax outline-in
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Vermeer, 23 Mar 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_OUTLINE_OUT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the current group in the upward direction in the hierarchy of the document structure.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion Part <- Chapter <- Section <- etc.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax outline-out
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Vermeer, 23 Mar 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_EDIT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Edit the inset at cursor with an external application, if one is attributed.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax inset-edit [<INSET_PARAMS>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <INSET_PARAMS>: Parameters for the inset.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
Currently only the filename will be considered.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin JSpitzm, 27 Apr 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_TABULAR_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts table into the document.
\end_layout
\begin_layout Description
2010-02-28 00:15:21 +00:00
Notion See LFUN_INSET_MODIFY for some more details about tabular modifications.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax tabular-insert [<ROWS> <COLUMNS>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params In case no arguments are given show insert dialog.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Jug, 12 Apr 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CELL_BACKWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor to the previous cell inside the table.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax cell-backward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Jug, 22 May 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CELL_FORWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor to the next cell inside the table.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax cell-forward
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CELL_SPLIT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Splits cell and shifts right part to the next cell (inside the math grid).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax cell-split
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Ale, 15 May 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_VC_REGISTER
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Action Register the document as an file inside version control system.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion File is registered inside cvs, svn or rcs repository acording to the existence of cvs/svn/rcs entries in the document's directory.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
See LyX Additional Features Manual (Version Control Chapter) for additional information.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax vc-register
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 1 Jul 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_VC_CHECK_IN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Checks-in/commits the changes of the registered file to the repository.
\end_layout
\begin_layout Description
Notion In RCS case this also unlocks the file.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax vc-check-in
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 1 Jul 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_VC_CHECK_OUT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Action Checks-out the document for edit (and locks it in some cases).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax vc-check-out
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 1 Jul 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_VC_REVERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Reverts the document to the last check-in/commit in VCS.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax vc-revert
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 1 Jul 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_VC_UNDO_LAST
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Undo last check-in.
\end_layout
\begin_layout Description
Notion This is currently implemented only for RCS.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax vc-check-out
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 1 Jul 1997
2008-08-01 14:16:53 +00:00
\end_layout
2009-01-13 21:40:37 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_VC_COMMAND
2009-01-13 21:40:37 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Executes external command. This command is intended to support additional VCS commands.
2009-01-13 21:40:37 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax vc-command <FLAG> <PATH> <COMMAND>
2009-01-13 21:40:37 +00:00
\end_layout
\begin_layout Description
Params <FLAG>: Flags for the command can be combined together.
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
U - dUmmy - no flags
2009-01-13 21:40:37 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
D - Doc - need document loaded to proceed
2009-01-13 21:40:37 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
I - dIrty - mark document dirty
2009-01-13 21:40:37 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
R - Reload - ensure that the document is saved and reload it after command execution
2009-01-13 21:40:37 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
M - Message - ask for input string (commit message)
2009-01-13 21:40:37 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
<PATH>: path where to start. $$p will be replaced by the current document path.
2009-01-13 21:40:37 +00:00
\begin_inset Newline newline
\end_inset
2010-02-12 08:45:19 +00:00
<COMMAND>: command to execute. $$i/$$p/$$m will be replaced by the current document(with absolute path)/path/message.
2009-01-13 21:40:37 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample vc-command DR $$p "svn up"
2009-01-13 21:40:37 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sanda, 13 Jan 2009
2009-01-13 21:40:37 +00:00
\end_layout
2009-06-28 10:37:36 +00:00
\begin_layout Subsection*
LFUN_VC_LOCKING_TOGGLE
\end_layout
\begin_layout Description
Action Toggles the locking property of the edited file.
\end_layout
\begin_layout Description
Notion This is currently implemented only for SVN.
\end_layout
\begin_layout Description
Syntax vc-locking-toggle
\end_layout
\begin_layout Description
Origin sanda, 25 Jun 2009
\end_layout
2009-10-07 00:13:12 +00:00
\begin_layout Subsection*
2009-10-19 23:44:11 +00:00
LFUN_VC_REPO_UPDATE
2009-10-07 00:13:12 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Update the local archive directory in which resides the current document with the remote repository.
2009-10-07 00:13:12 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Syntax vc-repo-update
2009-10-07 00:13:12 +00:00
\end_layout
\begin_layout Description
Origin sanda, 16 Oct 2009
\end_layout
2010-02-28 00:15:21 +00:00
\begin_layout Subsection*
LFUN_VC_COMPARE
\end_layout
\begin_layout Description
Action Compares two revisions of the same file under version control.
\end_layout
\begin_layout Description
2010-09-12 13:23:07 +00:00
Syntax vc-compare [<REV1>] [<REV2>]
2010-02-28 00:15:21 +00:00
\end_layout
\begin_layout Description
2010-09-12 13:23:07 +00:00
Params Revision number either points directly to commit in history or if negative number -x it points to (last commit - x).
2010-02-28 00:15:21 +00:00
\begin_inset Newline newline
\end_inset
In RCS we subtract only in the last number of revision specification. Special case "0" is reserved for the last committed revision.
\begin_inset Newline newline
\end_inset
<REV1>: Older file.
\begin_inset Newline newline
\end_inset
<REV2>: Newer file. Used only if REV1 > 0.
2010-09-12 13:23:07 +00:00
\begin_inset Newline newline
\end_inset
If no parameter is given, interactive dialog will be shown.
2010-02-28 00:15:21 +00:00
\end_layout
\begin_layout Description
Sample Compare current document against last commit
\begin_inset Newline newline
\end_inset
2010-12-02 02:47:03 +00:00
vc-compare 0
\begin_inset Newline newline
\end_inset
Compare current document against current revision - 5 commits
2010-02-28 00:15:21 +00:00
\begin_inset Newline newline
\end_inset
2010-12-02 02:47:03 +00:00
vc-compare -5
2010-02-28 00:15:21 +00:00
\begin_inset Newline newline
\end_inset
2010-12-02 02:47:03 +00:00
Compare revisions 120 and 155
\begin_inset Newline newline
\end_inset
vc-compare 120 155
2010-02-28 00:15:21 +00:00
\end_layout
\begin_layout Description
Origin sanda, 12 Feb 2010
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHANGES_TRACK
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles change tracking to on/off.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax changes-track
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin levon, 1 Oct 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHANGES_OUTPUT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles showing of change tracking in typesetted output.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax changes-output
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin jspitzm, 21 Jan 2005
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHANGE_NEXT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor to the position of the next change of the change tracking records.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax change-next
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin schmitt, 4 Oct 2006
2008-08-01 14:16:53 +00:00
\end_layout
2009-04-11 18:18:06 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHANGE_PREVIOUS
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor to the position of the previous change of the change tracking records.
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax change-previous
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vfr, 4 Apr 2009
2009-04-11 18:18:06 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHANGES_MERGE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Open change tracking dialog for merging and moves the cursor to the position of the next change.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax changes-merge
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Levon, 16 Oct 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHANGE_ACCEPT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Accepts tracked change inside the selection.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax change-accept
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Levon, 16 Oct 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CHANGE_REJECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Rejects tracked change inside the selection.
\end_layout
\begin_layout Description
2011-03-04 20:05:41 +00:00
Syntax change-reject
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Levon, 16 Oct 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ALL_CHANGES_ACCEPT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Accepts all tracked changes in the document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax all-changes-accept
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Levon, 16 Oct 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_ALL_CHANGES_REJECT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Rejects all tracked changes in the document.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Reject does not work recursively; the user may have to repeat the operation.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax all-changes-reject
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Levon, 16 Oct 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_APPLY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Apply data for an inset.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion LFUN_INSET_APPLY is sent from the dialogs when the data should be applied. This is either changed to LFUN_INSET_MODIFY or LFUN_INSET_INSERT depending on the context where it is called.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax inset-apply <ARGS>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params See LFUN_INSET_INSERT .
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_DISSOLVE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Dissolve the current inset into text.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax inset-dissolve [<INSET>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <INSET>: this can be used to make sure the right kind of inset is dissolved. For example "dissolve" entry in the charstyles sub-menu should only dissolve the charstyle inset, even if the cursor is inside several nested insets of different type.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
For values see lyx::InsetLayout::lyxtype_ .
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin JSpitz, 7 Aug 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Insert new inset (type given by the parameters).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax inset-insert <INSET> <ARGS>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Params <INSET>: <bibitem|bibtex|cite|ert|listings|external|graphics|tabular|
\begin_inset Newline newline
\end_inset
hyperlink|include|index|label|line|nomencl|vspace|ref|toc|script>
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
<ARGS>: depends on the given inset. Use "lyx -dbg action" to explore.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Sample inset-insert ref LatexCommand <Format> reference "<label name>"
\backslash
2009-05-17 00:56:08 +00:00
end_inset
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
where <label name> is the name of the referenced label and <Format> is one of the following:
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
ref -- <reference>
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
eqref -- (<reference>)
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
pageref -- <page>
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
vpageref -- on <page>
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
vref -- <reference> on <page>
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2010-11-01 23:25:33 +00:00
formatted -- Formatted reference
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_MODIFY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-02-12 08:45:19 +00:00
Action Modify some properties of an inset.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-02-12 08:45:19 +00:00
Notion Used for bibitem, bibtex, box, branch, command, ert, external, floats, graphics, include, index, info, label, listings, newline, newpage, nomencl, note, phantom, ref, space, tabular, vspace, wrap insets.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-02-28 00:15:21 +00:00
Syntax inset-modify <INSET> <ARGS>inset-modify changetype <TYPE>inset-modify tabular <FEATURE> [<ARG>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-02-28 00:15:21 +00:00
Params Generally see LFUN_INSET_INSERT for further details.
\begin_inset Newline newline
\end_inset
In case that <INSET> is "tabular" various math-environment features are handled as well, e.g. add-vline-left/right for the Grid/Array environment.
\begin_inset Newline newline
\end_inset
2011-03-01 23:49:44 +00:00
<FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|copy-column| toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right| align-left|align-right|align-center|align-block|align-decimal|set-decimal-point| valign-top|valign-bottom|valign-middle|longtabular-align-left| longtabular-align-center|longtabular-align-right|m-align-left|m-align-right| m-align-center|m-valign-top|m-valign-bottom|m-valign-middle|multicolumn| set-all-lines|unset-all-lines|set-longtabular|unset-longtabular|set-pwidth| set-mpwidth|set-rotate-tabular|unset-rotate-tabular|toggle-rotate-tabular| set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|set-usebox|set-lthead| unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot|unset-ltfoot| set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption| set-special-column|set-special-multicolumn|set-special-multirow| set-booktabs|unset-booktabs|set-top-space|set-bottom-space| set-interline-space|set-border-lines|tabular-valign-top| tabular-valign-middle|tabular-valign-bottom|set-tabular-width
2010-02-28 00:15:21 +00:00
\begin_inset Newline newline
\end_inset
<ARG>: additional argument for some commands, use debug mode to explore its values.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Sample inset-modify note Note Comment
\begin_inset Newline newline
\end_inset
inset-modify changetype Ovalbox
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_DIALOG_UPDATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Updates the values inside the dialog from the inset.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This is internal LFUN, not to be used by users. Called internally by LFUN_DIALOG_UPDATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <DIALOG-NAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 25 Feb 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_SETTINGS
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Open the inset's properties dialog.
\end_layout
\begin_layout Description
2010-09-12 13:23:07 +00:00
Notion Used for bibitem, bibtex, box, branch, citation, ert, external, float, graphics, href, include, index, index_print, label, line, listings, note, phantom, ref, space, tabular, vspace, wrap insets.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax inset-settings <INSET>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Params <INSET>: <bibitem|bibtex|box|branch|citation|ert|external|float|
\begin_inset Newline newline
\end_inset
graphics|href|include|index|index_print|label|line| listings|note|phantom|ref|space|tabular|vspace|wrap>.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_INSET_TOGGLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Toggles the collapsable inset at cursor position, or the inset we are currently in.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax inset-toggle [<ARG>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <ARG>: <open|close|toggle|assign>.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
open/close/toggle are for collapsable insets. toggle is used when no argument is given.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
assign synchronize the branch-inset with activation status of the branch. Used for global toggling when changed activation.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin lasgouttes, 19 Jul 2001
2008-08-01 14:16:53 +00:00
\end_layout
2010-01-10 16:50:34 +00:00
\begin_layout Subsection*
LFUN_INSET_FORALL
\end_layout
\begin_layout Description
Action Apply the given commands on insets of a given name.
\end_layout
\begin_layout Description
2010-05-11 12:01:04 +00:00
Notion WARNING: use at your own risks; this function gives you too many ways of shooting yourself in the foot. A typical example is inset-forall Note note-insert which starts an infinite loop. This is mitigated by the fact that the number of actions is arbitrarily limited to 10000. Note also that inset-forall does not update metrics between iterations, which can lead to bugs. This has to be eventually fixed.
2010-01-10 16:50:34 +00:00
\end_layout
\begin_layout Description
Syntax inset-forall <NAME> <LFUN-COMMAND>
\begin_inset Newline newline
\end_inset
<NAME>: Type of Inset. If <NAME> is *, all insets are matched. The name is used like for InsetLayout in layout files: "Note" matches all note insets, while "Note:Note" only matches LyX yellow note insets.
\end_layout
\begin_layout Description
Sample Remove all index insets:
\begin_inset Newline newline
\end_inset
inset-forall Index delete-char-forward
\begin_inset Newline newline
\end_inset
Close all Notes (also works for a particular branch, for example):
\begin_inset Newline newline
\end_inset
inset-forall Note inset-toggle close
\begin_inset Newline newline
\end_inset
2010-02-12 08:45:19 +00:00
Transform all yellow notes to comments
\begin_inset Newline newline
\end_inset
2010-12-02 02:47:03 +00:00
inset-forall Note:Note inset-modify note Note Comment
2010-02-12 08:45:19 +00:00
\begin_inset Newline newline
\end_inset
2010-01-10 16:50:34 +00:00
Try to put LyX in an infinite loop if there is at least a Note:
\begin_inset Newline newline
\end_inset
inset-forall Note char-backward
\end_layout
\begin_layout Description
Origin lasgouttes, 27 Nov 2009
\end_layout
2010-01-03 00:07:24 +00:00
\begin_layout Subsection*
LFUN_GRAPHICS_RELOAD
\end_layout
\begin_layout Description
Action Reloads the image if necessary.
\end_layout
\begin_layout Description
Syntax graphics-reload
\end_layout
\begin_layout Description
Origin vfr, 10 Aug 2009
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SET_GRAPHICS_GROUP
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Set the group for the graphics inset on the cursor position.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax set-graphics-group [<GROUP>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <GROUP>: Id for an existing group. In case the Id is an empty string, the graphics inset is removed from the current group.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sanda, 6 May 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FINISHED_FORWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor out of the current slice, going forward.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Cursor movement within an inset may be different than cursor movement in the surrounding text. This action should be called automatically by the cursor movement within the inset, when movement within the inset has ceased (reached the end of the last paragraph, for example), in order to move correctly back into the surrounding text.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FINISHED_BACKWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor out of the current slice, going backwards.
\end_layout
\begin_layout Description
Notion See also LFUN_FINISHED_FORWARD.
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FINISHED_RIGHT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor out of the current slice, going right.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Notion See also LFUN_FINISHED_FORWARD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FINISHED_LEFT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Moves the cursor out of the current slice, going left.
\end_layout
\begin_layout Description
Notion See also LFUN_FINISHED_FORWARD.
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LANGUAGE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Set language from the current cursor position.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax language <LANG>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <LANG>: Requested language. Look in lib/languages for the list.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Dekel, 2 Mar 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LABEL_GOTO
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Goto a label.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax label-goto [<LABEL>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <LABEL>: Requested label. If no label is given and reference is on cursor position, Bookmark 0 is saved and cursor moves to the position of referenced label.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Ale, 6 Aug 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LABEL_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts label to text or displayed formula.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax label-insert [<LABEL>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <LABEL>: Requested label. If no label is given dialog requesting name will be opened.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_REFERENCE_NEXT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Go to the next label or cross-reference.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax reference-next
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Dekel, 14 Jan 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BOOKMARK_GOTO
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Moves the cursor to the numbered bookmark, opening the file if necessary. Note that bookmarsk are saved per-session, not per file.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Bookmark 0 has a special purpose. It is automatically set
2009-04-03 17:39:31 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
1. to the paragraph you are currently editing
2009-04-03 17:39:31 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
2. to the paragraph from where you are jumping to the last-edited position (jump-back feature)
2009-04-03 17:39:31 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
3. when jumping from crossreference to the requested label by LFUN_LABEL_GOTO.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax bookmark-goto <NUMBER>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <NUMBER>: the number of the bookmark to restore.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Dekel, 27 January 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BOOKMARK_SAVE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Save a bookmark.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Saves a numbered bookmark to the sessions file. The number must be between 1 and 9, inclusive. Note that bookmarks are saved per-session, not per file.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax bookmark-save <NUMBER>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <NUMBER>: the number of the bookmark to save.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Dekel, 27 January 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BOOKMARK_CLEAR
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Clears the list of saved bookmarks.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax bookmark-clear
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin bpeng, 31 October 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_HELP_OPEN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Open the given help file according to the language setting.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax help-open <FILE>[.lyx]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <FILE>: any document from (/usr/share/)doc directory.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Jug, 27 Jun 1999
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LYX_QUIT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Terminates the current LyX instance.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Terminates the current LyX instance, asking whether to save modified documents, etc.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax lyx-quit
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_TOOLBAR_TOGGLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles visibility of a given toolbar between on/off/auto.
\end_layout
\begin_layout Description
2010-01-03 00:07:24 +00:00
Notion Skipping "auto" when allowauto is false.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax toolbar-toggle <NAME> [allowauto]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Params <NAME>: standard|extra|table|math|mathmacrotemplate|
\begin_inset Newline newline
\end_inset
minibuffer|review|view/update|math_panels|vcs| view-others|update-others
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Edwin, 21 May 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MENU_OPEN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Opens the menu given by its name.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax menu-open <NAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <NAME>: menu name. See various .inc files in lib/ui for candidates.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_UI_TOGGLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Various UI visibility-toggling actions.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax ui-toggle <statusbar|menubar|scrollbar|frame|fullscreen>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params statusbar : Toggle visibility of the statusbar.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
menubar : Toggle visibility of the menubar.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
scrollbar : Toggle visibility of the scrollbar.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
frame : Toggle visibility of the frames around editing window.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
fullscreen : Toggle fullscreen mode. This also covers calling the previous functions. However LFUN_TOOLBAR_TOGGLE for the custom tweaks of the toolbars should be used.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sanda, 9 Feb 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WINDOW_NEW
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Creates new empty LyX window.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Already opened documents from the previous window can be found under View menu.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax window-new [<GEOMETRY>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <GEOMETRY>: pass the geometry of the window. This parameter is currently accepted only on Windows platform.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Abdel, 21 Oct 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_WINDOW_CLOSE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Closes the current LyX window.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax window-close
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Abdel, 23 Oct 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SPLIT_VIEW
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Creates another split view of current buffer.
\end_layout
\begin_layout Description
Notion All split views act in the same way indpendently.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax split-view <vertical|horizontal>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params horizontal : The work areas are laid out side by side.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
vertical : The work areas laid out vertically.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Abdel, 20 Feb 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CLOSE_TAB_GROUP
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Close the current tab group.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This only closes the work areas, not the buffer themselves. The still opened buffers can be visualized in another tab group.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax close-tab-group
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Abdel, 21 Feb 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DIALOG_SHOW
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Shows hidden dialog or create new one for a given function/inset settings etc.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax dialog-show <NAME> [<DATA>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2010-01-03 00:07:24 +00:00
compare|document|errorlist|ert|external|file|findreplace|findreplaceadv|float|
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2010-09-12 13:23:07 +00:00
graphics|href|include|index|index_print|info|label|line|listings|log|mathdelimiter|
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-23 12:12:32 +00:00
mathmatrix|mathspace|nomenclature|nomencl_print|note|paragraph|phantom|prefs|
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-23 12:12:32 +00:00
print|ref|sendto|space|spellchecker|symbols|tabular|tabularcreate|
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-23 12:12:32 +00:00
thesaurus|texinfo|toc|view-source|vspace|wrap|<SPECIAL>
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<SPECIAL>: latexlog|vclog
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
<DATA>: data, usually settings for the given dialog. Use debug mode for the details.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 17 Jun 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DIALOG_SHOW_NEW_INSET
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Shows hidden dialog or create new one for a given inset settings etc.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Internally uses LFUN_DIALOG_SHOW with processed data for a given inset.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax dialog-show-new-inset <NAME> [<DATA>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params See LFUN_DIALOG_SHOW .
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 25 Feb 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DIALOG_UPDATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Updates the dialog values from the inset/paragraph/document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax dialog-update <NAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <NAME>: paragraph|prefs|<INSET>
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<INSET>: inset name
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 25 Feb 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DIALOG_HIDE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Hides showed dialog. Counterpart to LFUN_DIALOG_SHOW .
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax dialog-hide <NAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params See LFUN_DIALOG_SHOW .
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 25 Feb 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DIALOG_TOGGLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles dialog between showed/hidden state.
\end_layout
\begin_layout Description
Notion Internally uses LFUN_DIALOG_SHOW , LFUN_DIALOG_HIDE .
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax dialog-toggle <NAME> [<DATA>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params See LFUN_DIALOG_SHOW .
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin JSpitzm, 30 Apr 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_DIALOG_DISCONNECT_INSET
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Closes opened connection to opened inset.
\end_layout
\begin_layout Description
Notion Connection is used for apply functions.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax dialog-disconnect-inset <INSET-NAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 25 Feb 2003
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MOUSE_PRESS
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action This function is called when mouse button is pressed (inside workarea). Action depends on the context.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion This is internal LFUN, not to be used by users.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 9 Aug 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MOUSE_DOUBLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action This function is called when double click on mouse button is pressed (inside workarea). Action depends on the context.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion This is internal LFUN, not to be used by users.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 9 Aug 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MOUSE_TRIPLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action This function is called when triple click on mouse button is pressed (inside workarea). Action depends on the context.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion This is internal LFUN, not to be used by users.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 9 Aug 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MOUSE_MOTION
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action This function is called when mouse cursor is moving over the text. Action depends on the context.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion This is internal LFUN, not to be used by users.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 9 Aug 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MOUSE_RELEASE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action This function is called when mouse button is released (inside workarea). Action depends on the context.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion This is internal LFUN, not to be used by users.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 9 Aug 2002
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_KEYMAP_OFF
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Turn off the loaded keyboard map.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax keymap-off
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_KEYMAP_PRIMARY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Turn on the primary keyboard map.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Maps were widely used in past, when X-windows didn't have nowadays keyboard support. They can be still used to maintain uniform keyboard layout across the various plaforms.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
The language is to be set in the Preferences dialog.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax keymap-primary
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_KEYMAP_SECONDARY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Turn on the secondary keyboard map.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax keymap-secondary
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_KEYMAP_TOGGLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles keyboard maps (first/second/off).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax keymap-toggle
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 30 Mar 2004
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SERVER_GET_LAYOUT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Returns the current layout (that is environment) name on the cursor position.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax server-get-layout
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SERVER_GET_FILENAME
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Returns path and file name of the currently edited document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax server-get-filename
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SERVER_GOTO_FILE_ROW
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Action Sets the cursor position in LyX based on the row number of generated TeX file.
2008-08-01 14:16:53 +00:00
\end_layout
2009-04-26 08:47:36 +00:00
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This can be useful for DVI inverse-search or detection of the problematic line from LaTeX compilation. Note that before this function can be used export to LaTeX output must occur (in order to map the row numbers).
2009-04-26 08:47:36 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax server-goto-file-row <FILE[.ext]> <ROW_NUMBER>
2009-05-08 16:28:26 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Params <FILE>: the path and filename. Environment variables are expanded in the path. In case this LFUN does not work make sure you are giving correct path to the file.
\begin_inset Newline newline
\end_inset
If the file is located inside LyX temporary directory it will be mapped back into the appropriate opened buffer (e.g. for the case of generated .tex file).
\begin_inset Newline newline
\end_inset
.ext: extensions will be automatically replaced by .lyx.
\begin_inset Newline newline
\end_inset
<ROW_NUMBER> The row number of the LaTeX file to which to go.
\end_layout
\begin_layout Description
Sample server-goto-file-row /home/user/example.lyx 41
2009-05-08 16:28:26 +00:00
\begin_inset Newline newline
\end_inset
2010-12-02 02:47:03 +00:00
server-goto-file-row /tmp/lyx_tmpdir.XM3088/lyx_tmpbuf0/example.tex 41
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Edmar, 23 Dec 1998
2008-08-01 14:16:53 +00:00
\end_layout
2010-05-11 12:01:04 +00:00
\begin_layout Subsection*
LFUN_FORWARD_SEARCH
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Action Sets the cursor position in the previewed (dvi/pdf) file based on the row number in LyX window.
2010-05-11 12:01:04 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Notion The external program used for forward search call can be specified in LyX Output preferences. See Additional manual for details of these settings.
2010-05-11 12:01:04 +00:00
\end_layout
\begin_layout Description
Syntax forward-search
\end_layout
\begin_layout Description
Origin sanda, 14 Apr 2010
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SERVER_NOTIFY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Sends notify message about the last key-sequence to client.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This can be used to grab last key-sequence used inside the LyX window. See also Debug extensions section in Additional features manual.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax server-notify
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SERVER_SET_XY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Sets the cursor position based on the editing area coordinates (similar as clicking on that point with left mouse button).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax server-set-xy <X> <Y>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SERVER_GET_XY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Returns the coordinates of cursor position in the editing area.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax server-get-xy
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUILD_PROGRAM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Generates the code (literate programming).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Notion Latex file with extension
\backslash
2009-10-19 23:44:11 +00:00
literate_extension is generated. Then LyX invokes
2009-05-17 00:56:08 +00:00
\backslash
build_command (with a default of``make'') to generate the code and
\backslash
build_error_filter to process the compilation error messages.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
In case you want to process your literate file with a script, or some other program, just insert in your lyxrc file an entry with:
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
\backslash
build_command "my_script my_arguments"
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
The
\backslash
build_error_filter differs from the
\backslash
2009-10-19 23:44:11 +00:00
literate_error_filter only in that the former will identify error messages from your compiler.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax build-program
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_AUTO_SAVE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Saves the current buffer to a temporary file.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Saves the current buffer to a file named "#filename#". This LFUN is called automatically by LyX, to "autosave" the current buffer.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-auto-save
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_CHILD_OPEN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Loads the given child document.
\end_layout
\begin_layout Description
Notion The current document is treated as a parent.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-child-open <FILE>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <FILE>: Filename of the child. The directory of the parent is assumed by default.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Ale, 28 May 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_CHKTEX
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Runs chktex for the current document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-chktex
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Asger, 30 Oct 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_TOGGLE_COMPRESSION
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Toggles compression of the current document on/off.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-toggle-compression
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin bpeng, 27 Apr 2006
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2010-09-12 13:23:07 +00:00
LFUN_BUFFER_TOGGLE_OUTPUT_SYNC
\end_layout
\begin_layout Description
Action Toggles including of resources for forward/reverse search of the given document.
\end_layout
\begin_layout Description
Notion When toggled on, SyncTeX is invoked for PDF, while srcltx package is used for DVI. Custom LaTeX macro can be defined in preferences.
\end_layout
\begin_layout Description
Syntax buffer-toggle-output-sync
\end_layout
\begin_layout Description
Origin sanda, 25 May 2010
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_CLOSE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Closes the current buffer.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Closes the current buffer, asking whether to save it, etc, if the buffer has been modified.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-close
2008-08-01 14:16:53 +00:00
\end_layout
2009-08-09 14:47:05 +00:00
\begin_layout Subsection*
LFUN_BUFFER_CLOSE_ALL
\end_layout
\begin_layout Description
Action Closes all buffers.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Closes all buffers, asking whether to save it, etc, if a buffer has been modified.
2009-08-09 14:47:05 +00:00
\end_layout
\begin_layout Description
Syntax buffer-close-all
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_EXPORT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Exports the current buffer (document) to the given format.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-export <FORMAT>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <FORMAT> is either "custom" or one of the formats which you can find in Tools->Preferences->File formats->Format. Usual format you will enter is "pdf2" (pdflatex), "pdflatex" (plain tex for pdflatex) or "ps" for postscript.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
In case of "custom" you will be asked for a format you want to start from and for the command that you want to apply to this format. Internally the control is then passed to LFUN_BUFFER_EXPORT_CUSTOM.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 29 Jul 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_EXPORT_CUSTOM
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Exports the current buffer (document) from the given format using the given command on it.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-export-custom <FORMAT> <COMMAND>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <FORMAT> format to start from (LyX will care to produce such intermediate file).
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
<COMMAND> this command will be launched on the file. Note that you can use "$$FName" string to qualify the intermediate file.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 27 Mar 2004
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_PRINT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Prints the current document.
\end_layout
\begin_layout Description
Notion Many settings can be given via the preferences dialog.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-print <TARGET> <TARGET-NAME> <COMMAND>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <TARGET> is either "printer" or "file".
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<TARGER-NAME> is either "default" or file name or printer name.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
<COMMAND> command ensuring the printing job.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample buffer-print file "/trash/newfile1.ps" "dvips"
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 28 Mar 2004
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_IMPORT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Import a given file as a lyx document.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion File can be imported iff lyx file format is (transitively) reachable via defined convertors in preferences. Look into File->Import menu to get an idea of the currently active import formats.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-import <FORMAT> [<FILE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Asger, 24 Jul 1998
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_NEW
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Creates a new buffer (that is, document).
\end_layout
\begin_layout Description
Notion Implicit path can be set in Preferences dialog.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-new [<FILE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <FILE>: filename of created file with absolute path.
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_NEW_TEMPLATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Creates a new buffer (that is, document) from a template.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Path for new files and templates can be set in Preferences dialog. Template will be asked for via Open-dialog.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-new-template [<FILE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <FILE>: filename of created file with absolute path.
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_RELOAD
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Reverts opened document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-reload
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Asger, 2 Feb 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_SWITCH
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-02-12 08:45:19 +00:00
Action Display/switch to the given buffer.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-02-12 08:45:19 +00:00
Syntax buffer-switch <BUFFER>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-02-12 08:45:19 +00:00
Params <BUFFER>: path and filename of already opened (but possibly hidden) document which is to be shown.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_TOGGLE_READ_ONLY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Toggle editing mode of the current document between read/write and read-only.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-01-03 00:07:24 +00:00
Notion This function is not allowed if the file is under version control, since read-only flag is often used in version control file locking.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-toggle-read-only
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 27 May 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_VIEW
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Displays current buffer in chosen format.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Displays the contents of the current buffer in the chosen format, for example, PDF or DVI. This runs the necessary converter, calls the defined viewer, and so forth.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-view [<FORMAT>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_UPDATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Exports the current document and put the result into the temporary directory.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion In case you are already viewing the exported document (see LFUN_BUFFER_VIEW) the output will be rewriten - updated. This is useful in case your viewer is able to detect such changes (e.g. ghostview for postscript).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-update [<FORMAT>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Dekel, 5 Aug 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_WRITE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Saves the current buffer.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Saves the current buffer to disk, using the filename that is already associated with the buffer, asking for one if none is yet assigned.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-write
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_WRITE_AS
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Rename and save current buffer.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-write-as <FILENAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <FILENAME>: New name of the buffer/file. A relative path is with respect to the original location of the buffer/file.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_WRITE_ALL
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Save all changed documents.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-write-all
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin rgh, gpothier 6 Aug 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_NEXT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Switch to the next opened document.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Note that this does not necessarily mean next in tabbar (for full list see View menu).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-next
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_PREVIOUS
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Switch to the previous opened document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-previous
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MASTER_BUFFER_UPDATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action When run from a child document, this updates (exports) document built from the master buffer, if available.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax master-buffer-update [<FORMAT>]
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Tommaso, 20 Sep 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MASTER_BUFFER_VIEW
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action When run from a child document, this command shows a preview built from the master buffer, if available.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax master-buffer-view [<FORMAT>]
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Tommaso, 20 Sep 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_LANGUAGE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Set language of the current document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-language <LANG>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <LANG>: language name. See lib/languages for list.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 30 Mar 2004
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_SAVE_AS_DEFAULT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Save the current document settings as default.
\end_layout
\begin_layout Description
Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-save-as-default [<ARGS>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 30 Mar 2004
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_PARAMS_APPLY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Apply the given settings to the current document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-params-apply [<ARGS>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin leeming, 30 Mar 2004
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FILE_INSERT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts another LyX file.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax file-insert [<FILE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <FILE>: Filename to be inserted.
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FILE_INSERT_PLAINTEXT
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Inserts plain text file.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax file-insert-plaintext [<FILE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <FILE>: Filename to be inserted.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin CFO-G, 19 Nov 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FILE_INSERT_PLAINTEXT_PARA
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Inserts plain text file as paragraph (i.e. join lines).
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax file-insert-plaintext-para [<FILE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <FILE>: Filename to be inserted.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Levon, 14 Feb 2001
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_FILE_OPEN
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Open LyX document.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax file-open [<FILE>]
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <FILE>: Filename to be opened.
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CALL
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Executes a command defined in a .def file.
\end_layout
\begin_layout Description
Notion The definitions are by default read from lib/commands/default.def.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
A .def file allows to define a command with
2008-08-01 14:16:53 +00:00
\backslash
2009-10-19 23:44:11 +00:00
define "<NAME>" "<LFUN>" where <NAME> is the name of the new command and <LFUN> is the lfun code to be executed (see e.g. LFUN_COMMAND_SEQUENCE).
2008-08-01 14:16:53 +00:00
\backslash
def_file "FileName" allows to include another .def file.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
This is particularly useful in connection with toolbar buttons: Since the name of the button image for this lfun is lib/images/commands/<NAME>.png this is the way to assign an image to a complex command-sequence.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax call <NAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <NAME>: Name of the command that must be called.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin broider, 2 Oct 2007
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_META_PREFIX
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Simulate halting Meta key (Alt key on PCs).
\end_layout
\begin_layout Description
Notion Used for buffer editation not for GUI control.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax meta-prefix
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CANCEL
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Cancels sequence prepared by LFUN_META_PREFIX .
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax cancel
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_COMMAND_EXECUTE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2010-01-03 00:07:24 +00:00
Action Switches the focus to the minibuffer so that the user can type in there. If necessary, it opens the minibuffer toolbar.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Notion Usually bound to M-x shortcut.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax command-execute
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_COMMAND_PREFIX
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Return the current key sequence and available options as a string.
\end_layout
\begin_layout Description
Notion No options are added if no current map exists.
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-05-17 00:56:08 +00:00
This is probably usable only with connection to lyxserver.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax command-prefix
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_COMMAND_SEQUENCE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Run more commands (LFUN and its parameters) in a sequence.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax command-sequence <CMDS>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Params <CMDS>: Sequence of commands separated by semicolons.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample command-sequence cut; ert-insert; self-insert
\backslash
; paste; self-insert {}; inset-toggle;
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Andre, 11 Nov 1999
2008-08-01 14:16:53 +00:00
\end_layout
2008-09-25 21:00:03 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_COMMAND_ALTERNATIVES
2008-09-25 21:00:03 +00:00
\end_layout
\begin_layout Description
Action Runs the first listed command that is enabled.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion This can be used to bind multiple functions to a single key, and then which one is used will depend upon the context.
2008-09-25 21:00:03 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax command-alternatives <CMDS>
2008-09-25 21:00:03 +00:00
\end_layout
\begin_layout Description
Params <CMDS>: Sequence of commands separated by semicolons.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample command-alternatives completion-accept;cell-forward
2008-09-25 21:00:03 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin rgh, 24 September 2008
2008-09-25 21:00:03 +00:00
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_MESSAGE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Shows message in statusbar (for script purposes).
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax message <STRING>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 8 Apr 2001
2008-08-01 14:16:53 +00:00
\end_layout
2010-01-03 00:07:24 +00:00
\begin_layout Subsection*
LFUN_DEBUG_LEVEL_SET
\end_layout
\begin_layout Description
Action Set debug output level.
\end_layout
\begin_layout Description
Syntax debug-level-set <LEVEL>
\end_layout
\begin_layout Description
2010-01-03 00:11:58 +00:00
Params <LEVEL>: comma separated list of levels or the correspondent number of their combination. 0 is equivalent to disabling all debug events. See lyx -dbg for the current list of debug levels and their numbers.
2010-01-03 00:07:24 +00:00
\end_layout
\begin_layout Description
Origin sanda, 28 Dec 2009
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_PREFERENCES_SAVE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Save user preferences.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax preferences-save
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Lgb, 27 Nov 1999
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_RECONFIGURE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Reconfigure the automatic settings.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax reconfigure
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin Asger, 14 Feb 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LYXRC_APPLY
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Apply the given settings to user preferences.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax lyxrc-apply <SETTINGS>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <SETTINGS>: settings which are to be set. Take a look into ~/.lyx/preferences to get an idea which commands to use and their syntax. lyx::LyXRC::LyXRCTags has the list of possible commands.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Determine whether keep cursor inside the editing window regardless the scrollbar movement.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax toggle-cursor-follows-scrollbar
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin ARRae, 2 Dec 1997
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_SET_COLOR
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Set the given LyX color to the color defined by the X11 name given.
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion A new color entry is created if the color is unknown. Color names can be stored as a part of user settings.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax set-color <LYX_NAME> <X11_NAME>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin SLior, 11 Jun 2000
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_STATISTICS
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Count the statistics (number of words and characters) in the document or in the given selection.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Notion Note that this function gives the number of words/chars written, not the number of characters which will be typeset.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax statistics
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_COMPLETION_INLINE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Show the inline completion at the cursor position.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax completion-inline
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, Feb 19 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_COMPLETION_POPUP
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Show the completion popup at the cursor position.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax completion-popup
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, Feb 19 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_COMPLETION_COMPLETE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
Action Try to complete the word or command at the cursor position.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax complete
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, Feb 19 2008
2008-08-01 14:16:53 +00:00
\end_layout
2008-09-08 19:10:23 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_COMPLETION_CANCEL
2008-09-08 19:10:23 +00:00
\end_layout
\begin_layout Description
2009-07-11 09:41:51 +00:00
Action Try to cancel completion, either the popup or the inline completion.
2008-09-08 19:10:23 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax completion-cancel
2008-09-08 19:10:23 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, Sep 07 2008
2008-09-08 19:10:23 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_COMPLETION_ACCEPT
2008-09-08 19:10:23 +00:00
\end_layout
\begin_layout Description
Action Accept suggested completion.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax completion-accept
2008-09-08 19:10:23 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sanda, Sep 08 2008
2008-09-08 19:10:23 +00:00
\end_layout
2009-07-11 09:41:51 +00:00
\begin_layout Subsection*
LFUN_BRANCH_ADD
\end_layout
\begin_layout Description
Action Add a branch to the buffer's BranchList.
\end_layout
\begin_layout Description
Syntax branch-add <BRANCH>
\end_layout
\begin_layout Description
Params <BRANCH>: Name of the branch to add
\end_layout
\begin_layout Description
Origin spitz, 7 Jul 2009
\end_layout
2008-08-01 14:16:53 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BRANCH_ACTIVATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-07-11 09:41:51 +00:00
Action Activate the branch.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax branch-activate <BRANCH>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <BRANCH>: The branch to activate
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Sample lyx -x "branch-activate answers" -e pdf2 finalexam.lyx
2008-08-01 19:15:19 +00:00
\begin_inset Newline newline
\end_inset
2009-10-19 23:44:11 +00:00
could be used to export a pdf with the answers branch included without one's having to open LyX and activate the branch manually.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin rgh, 27 May 2008
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BRANCH_DEACTIVATE
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-07-11 09:41:51 +00:00
Action De-activate the branch.
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax branch-deactivate <BRANCH>
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Params <BRANCH>: The branch to deactivate
2008-08-01 14:16:53 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin rgh, 27 May 2008
2008-08-01 14:16:53 +00:00
\end_layout
2009-07-11 09:41:51 +00:00
\begin_layout Subsection*
LFUN_BRANCHES_RENAME
\end_layout
\begin_layout Description
Action Rename all branches of a given name in a document.
\end_layout
\begin_layout Description
Syntax branches-rename <OLDNAME> <NEWNAME>
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <OLDNAME>: Current name of the branch to be renamed <NEWNAME>: New name of the branch
2009-07-11 09:41:51 +00:00
\end_layout
\begin_layout Description
Origin spitz, 9 Jul 2009
\end_layout
\begin_layout Subsection*
LFUN_BRANCH_ADD_INSERT
\end_layout
\begin_layout Description
Action Create new branch and directly put the branch inset into the document.
\end_layout
\begin_layout Description
Syntax branch-add-insert [<NAME>]
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Params <NAME>: Branch name. If it is not specified, you will be asked.
2009-07-11 09:41:51 +00:00
\end_layout
\begin_layout Description
Origin sanda, 10 Jul 2009
\end_layout
2009-01-10 23:25:22 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LABEL_COPY_AS_REF
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
2009-10-19 23:44:11 +00:00
Action Copies the label at the cursor as a cross-reference to be pasted elsewhere.
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
2009-05-23 12:12:32 +00:00
Syntax copy-label-as-reference <LABEL>
\end_layout
\begin_layout Description
Params <LABEL>: The label to copy (for multi-line math)
2009-01-10 23:25:22 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin sts, 16 Nov 2008
2009-01-10 23:25:22 +00:00
\end_layout
2009-04-11 18:18:06 +00:00
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_LABEL_INSERT_AS_REF
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
Action Inserts the label as a cross-reference at the position of the cursor.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax label-insert-as-reference
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vfr, 7 Apr 2009
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_ZOOM_IN
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
Action Increases the zoom of the screen fonts.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-zoom-in [<ZOOM>]
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
Params <ZOOM>: The zoom in %, the default is 20.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vfr, 30 Mar 2009
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Subsection*
2009-05-17 00:56:08 +00:00
LFUN_BUFFER_ZOOM_OUT
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
Action Decreases the zoom of the screen fonts.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Syntax buffer-zoom-out [<ZOOM>]
2009-04-11 18:18:06 +00:00
\end_layout
\begin_layout Description
Params <ZOOM>: The zoom in %, the default is 20.
\end_layout
\begin_layout Description
2009-05-17 00:56:08 +00:00
Origin vfr, 30 Mar 2009
2009-04-11 18:18:06 +00:00
\end_layout
2010-05-11 12:01:04 +00:00
\begin_layout Subsection*
LFUN_INSET_COPY_AS
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Action Copies the inset to the clipboard as a certain type.
2010-05-11 12:01:04 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Notion Currently used only for InsetInfo where its content is copied as a text.
2010-05-11 12:01:04 +00:00
\end_layout
\begin_layout Description
2010-12-02 02:47:03 +00:00
Syntax inset-copy-as
2010-05-11 12:01:04 +00:00
\end_layout
\begin_layout Description
Origin vfr, 18 Apr 2010
\end_layout
2008-08-01 14:16:53 +00:00
\end_body
\end_document