]> git.lyx.org Git - features.git/blobdiff - lib/doc/LFUNs.lyx
symbols: update HTML entities and Unicode encodings for Greek letter variations.
[features.git] / lib / doc / LFUNs.lyx
index 9d3ce9147ad104ff5f46c31cdea276a9c009466f..e9790bba255e272cdc52221f06999e0da57a1598 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.3 created this file. For more info see http://www.lyx.org/
-\lyxformat 544
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 608
 \begin_document
 \begin_header
 \save_transient_properties true
@@ -16,7 +16,7 @@
 }
 \end_preamble
 \use_default_options false
-\maintain_unincluded_children false
+\maintain_unincluded_children no
 \begin_local_layout
 Style Description
 LabelIndent           MM
@@ -25,8 +25,8 @@ End
 \end_local_layout
 \language english
 \language_package default
-\inputencoding auto
-\fontencoding global
+\inputencoding auto-legacy
+\fontencoding auto
 \font_roman "default" "default"
 \font_sans "default" "default"
 \font_typewriter "default" "default"
@@ -34,7 +34,9 @@ End
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
-\font_osf false
+\font_roman_osf false
+\font_sans_osf false
+\font_typewriter_osf false
 \font_sf_scale 100 100
 \font_tt_scale 100 100
 \use_microtype false
@@ -69,6 +71,7 @@ End
 \justification true
 \use_refstyle 0
 \use_minted 0
+\use_lineno 0
 \index Index
 \shortcut idx
 \color #008000
@@ -88,11 +91,16 @@ End
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
+\tablestyle default
 \tracking_changes false
 \output_changes false
+\change_bars false
+\postpone_fragile_content false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
+\docbook_table_output 0
+\docbook_mathml_prefix 1
 \end_header
 
 \begin_body
@@ -171,8 +179,7 @@ Action Displays list of layout choices.
 \end_layout
 
 \begin_layout Description
-Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox
- allowing for choice of layout.
+Notion This LFUN opens the dropbox allowing for choice of layout.
 \end_layout
 
 \begin_layout Description
@@ -198,7 +205,7 @@ Params outer:    If this is given, LyX will split the outermost environment
 \end_inset
 
 previous: If this is given, LyX will split the environment in the previous
- paragraph (is there is one).
+ paragraph (if there is one).
 \begin_inset Newline newline
 \end_inset
 
@@ -306,6 +313,22 @@ Syntax font-ital
 Origin vermeer, 10 Jan 2002
 \end_layout
 
+\begin_layout Subsection*
+font-nospellcheck
+\end_layout
+
+\begin_layout Description
+Action Toggles nospellcheck status in the font (selection-wise).
+\end_layout
+
+\begin_layout Description
+Syntax font-nospellcheck
+\end_layout
+
+\begin_layout Description
+Origin spitz, 5 March 2021
+\end_layout
+
 \begin_layout Subsection*
 font-noun
 \end_layout
@@ -455,7 +478,7 @@ Action Sets the layout (that is, environment) for the current paragraph.
 \end_layout
 
 \begin_layout Description
-Syntax layout <LAYOUT> [ignorenests]
+Syntax layout <LAYOUT> [ignoreautonests]
 \end_layout
 
 \begin_layout Description
@@ -463,7 +486,7 @@ Params <LAYOUT>: the layout to use
 \begin_inset Newline newline
 \end_inset
 
-ignorenests: If specified, nesting advices will be ignored.
+ignoreautonests: If specified, nesting advices will be ignored.
 \end_layout
 
 \begin_layout Subsection*
@@ -562,6 +585,36 @@ Syntax layout-tabular
 Origin Jug, 31 Jul 2000
 \end_layout
 
+\begin_layout Subsection*
+layout-toggle
+\end_layout
+
+\begin_layout Description
+Action Toggles the layout (that is, environment) for the current paragraph.
+\end_layout
+
+\begin_layout Description
+Notion Contrary to `layout', this function resets the current (or selection)
+ layout to the standard layout it already has the correct layout.
+ Useful for toolbar icons.
+\end_layout
+
+\begin_layout Description
+Syntax layout-toggle <LAYOUT> [ignoreautonests]
+\end_layout
+
+\begin_layout Description
+Params <LAYOUT>: the layout to toggle
+\begin_inset Newline newline
+\end_inset
+
+ignoreautonests: If specified, nesting advices will be ignored.
+\end_layout
+
+\begin_layout Description
+Origin lasgouttes, 14 May 2018
+\end_layout
+
 \begin_layout Subsection*
 screen-font-update
 \end_layout
@@ -621,16 +674,21 @@ textstyle-apply
 \end_layout
 
 \begin_layout Description
-Action Toggle user-defined (=last-time used) text style.
+Action Apply last used text properties.
+\end_layout
+
+\begin_layout Description
+Notion These properties are stored via LFUN_TEXTSTYLE_UPDATE, which is automatic
+ally triggered when using Text Style dialog.
 \end_layout
 
 \begin_layout Description
-Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically
- triggered when using Text Style dialog.
+Syntax textstyle-apply [<NUM>]textstyle-apply
 \end_layout
 
 \begin_layout Description
-Syntax textstyle-apply
+Params <NUM>: number of the selection in the internal freefonts stack to
+ be applied.
 \end_layout
 
 \begin_layout Description
@@ -651,7 +709,7 @@ Syntax textstyle-update <FONT_INFO>
 \end_layout
 
 \begin_layout Description
-Params <FONT_INFO>: specifies font atributes, e.g.
+Params <FONT_INFO>: specifies font attributes, e.g.
  family, series, shape, size, emph, noun, underbar, number, color, language,
  toggleall.
 \begin_inset Newline newline
@@ -1115,6 +1173,24 @@ Syntax branch-insert <BRANCH-NAME>
 Origin vermeer, 17 Aug 2003
 \end_layout
 
+\begin_layout Subsection*
+buffer-anonymize
+\end_layout
+
+\begin_layout Description
+Action For debug purposes only.
+ Convert all [a-zA-Z0-1] characters to single character.
+ Useful when submitting docs to list or bugzilla.
+\end_layout
+
+\begin_layout Description
+Syntax buffer-anonymize
+\end_layout
+
+\begin_layout Description
+Origin sanda, Feb 1 2018
+\end_layout
+
 \begin_layout Subsection*
 buffer-begin
 \end_layout
@@ -1566,6 +1642,39 @@ Params <KEY>: Citation (shortcut listed in available citations).
 Origin AAS, 97-02-23
 \end_layout
 
+\begin_layout Subsection*
+citation-open
+\end_layout
+
+\begin_layout Description
+Action Opens the corresponding pdf/url for a given citation inset.
+\end_layout
+
+\begin_layout Description
+Syntax citation-open [EXTERNAL] TARGET
+\end_layout
+
+\begin_layout Description
+Params <TARGET>: URL (https:,file:) of the document.
+\begin_inset Newline newline
+\end_inset
+
+<EXTERNAL>: Use external executable script for finding target
+\begin_inset Newline newline
+\end_inset
+
+              and launching viewer.
+ In this case TARGET consists of author and year
+\begin_inset Newline newline
+\end_inset
+
+              and will be passed as an input argument to the script.
+\end_layout
+
+\begin_layout Description
+Origin Sanda, 16 Aug 2020
+\end_layout
+
 \begin_layout Subsection*
 clipboard-paste
 \end_layout
@@ -1742,28 +1851,6 @@ Action Cuts to the clipboard.
 Syntax cut
 \end_layout
 
-\begin_layout Subsection*
-date-insert
-\end_layout
-
-\begin_layout Description
-Action Inserts the current date.
-\end_layout
-
-\begin_layout Description
-Syntax date-insert [<ARG>]
-\end_layout
-
-\begin_layout Description
-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.
-\end_layout
-
-\begin_layout Description
-Origin jdblair, 31 Jan 2000
-\end_layout
-
 \begin_layout Subsection*
 depth-decrement
 \end_layout
@@ -1849,7 +1936,8 @@ Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
 \begin_inset Newline newline
 \end_inset
 
-compare|document|errorlist|ert|external|file|findreplace|findreplaceadv|float|
+compare|counter|document|errorlist|ert|external|file|findreplace|findreplaceadv|
+float|
 \begin_inset Newline newline
 \end_inset
 
@@ -2040,11 +2128,13 @@ Action Inserts another LyX file.
 \end_layout
 
 \begin_layout Description
-Syntax file-insert [<FILE>]
+Syntax file-insert [<FILE>] [ignorelang]
 \end_layout
 
 \begin_layout Description
 Params <FILE>: Filename to be inserted.
+ ignorelang: If given, the (main) language of the inserted file is ignored
+ (the context language is used).
 \end_layout
 
 \begin_layout Subsection*
@@ -2226,6 +2316,50 @@ Syntax graphics-reload
 Origin vfr, 10 Aug 2009
 \end_layout
 
+\begin_layout Subsection*
+graphics-set-group
+\end_layout
+
+\begin_layout Description
+Action Set the group for the graphics inset on the cursor position.
+\end_layout
+
+\begin_layout Description
+Syntax graphics-set-group [<GROUP>]
+\end_layout
+
+\begin_layout Description
+Params <GROUP>: Id for an existing group.
+ In case the Id is an empty string, the graphics inset is removed from the
+ current group.
+\end_layout
+
+\begin_layout Description
+Origin sanda, 6 May 2008
+\end_layout
+
+\begin_layout Subsection*
+graphics-unify
+\end_layout
+
+\begin_layout Description
+Action Set the same group for all graphics insets in the marked block.
+\end_layout
+
+\begin_layout Description
+Syntax graphics-unify [<GROUP>]
+\end_layout
+
+\begin_layout Description
+Params <GROUP>: Id for an existing group.
+ In case the Id is an empty string, the group Id from the first graphics
+ inset will be used.
+\end_layout
+
+\begin_layout Description
+Origin sanda, 7 Feb 2018
+\end_layout
+
 \begin_layout Subsection*
 href-insert
 \end_layout
@@ -2342,7 +2476,8 @@ Syntax info-insert <TYPE> <ARG>
 \end_layout
 
 \begin_layout Description
-Params <TYPE>: shortcut[s]|lyxrc|lyxinfo|package|textclass|menu|icon|buffer
+Params <TYPE>: date|moddate|fixdate|time|modtime|fixtime|shortcut|shortcuts|lyxr
+c| lyxinfo|package|textclass|menu|l7n|icon|buffer|vcs
 \begin_inset Newline newline
 \end_inset
 
@@ -2351,6 +2486,30 @@ Params <TYPE>: shortcut[s]|lyxrc|lyxinfo|package|textclass|menu|icon|buffer
 \begin_inset Newline newline
 \end_inset
 
+date: current date (formatted and localized)
+\begin_inset Newline newline
+\end_inset
+
+moddate: date of last modification (saving) (formatted and localized)
+\begin_inset Newline newline
+\end_inset
+
+fixdate: a static date (formatted and localized)
+\begin_inset Newline newline
+\end_inset
+
+time: current time (formatted and localized)
+\begin_inset Newline newline
+\end_inset
+
+modtime: time of last modification (saving) (formatted and localized)
+\begin_inset Newline newline
+\end_inset
+
+fixtime: a static time (formatted and localized)
+\begin_inset Newline newline
+\end_inset
+
 shortcut[s]: name of lfun (e.g math-insert 
 \backslash
 alpha)
@@ -2380,12 +2539,16 @@ menu: name of lfun used in menu
 \begin_inset Newline newline
 \end_inset
 
+l7n: localizable string.
+\begin_inset Newline newline
+\end_inset
+
 icon: icon of lfun used in toolbar or direct icon name
 \begin_inset Newline newline
 \end_inset
 
-buffer: "name"|"path"|"class"|"vcs-tree-revision"| "vcs-revision"|"vcs-author"|"
-vcs-date"|"vcs-time"
+buffer: "name"|"name-noext"|"path"|"class" vcs: "tree-revision"|"revision"|"auth
+or"|"date"|"time"
 \end_layout
 
 \begin_layout Description
@@ -2425,7 +2588,10 @@ inset-begin
 
 \begin_layout Description
 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
+ already there.
+ If the cursor is already at the beginning of the current inset, move it
+ to the beginning of the enclosing inset or the main work area, respectively,
+ if there is no enclosing inset.
 \end_layout
 
 \begin_layout Description
@@ -2442,8 +2608,10 @@ inset-begin-select
 
 \begin_layout Description
 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).
+ already there.
+ If the cursor is already at the beginning of the current inset, move it
+ to the beginning of the enclosing inset or the main work area, respectively,
+ if there is no enclosing inset (adding the traversed text to the selection).
 \end_layout
 
 \begin_layout Description
@@ -2510,6 +2678,11 @@ inset-edit
 \begin_layout Description
 Action Edit the inset at cursor with an external application, if one is
  attributed.
+ If the inset is file based, the referenced file is edited.
+ Otherwise, the inset contents is written to a temporary file, the inset
+ is locked, and the temporary file is edited.
+ In this case, LFUN_INSET_END_EDIT must be called to overtake the changes
+ and unlock the inset after editing is finished.
 \end_layout
 
 \begin_layout Description
@@ -2534,7 +2707,10 @@ inset-end
 
 \begin_layout Description
 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
+ there.
+ If the cursor is already at the end of the current inset, move it to the
+ end of the enclosing inset or the main work area, respectively, if there
+ is no enclosing inset.
 \end_layout
 
 \begin_layout Description
@@ -2545,14 +2721,34 @@ Syntax inset-end
 Origin lasgouttes, 16 Mar 2009
 \end_layout
 
+\begin_layout Subsection*
+inset-end-edit
+\end_layout
+
+\begin_layout Description
+Action End editing the inset at cursor with an external application.
+ This replaces the inset contents with the contents of the temporary file,
+ deletes the file and unlocks the inset.
+\end_layout
+
+\begin_layout Description
+Syntax inset-end-edit
+\end_layout
+
+\begin_layout Description
+Origin gb, 11 Oct 2015
+\end_layout
+
 \begin_layout Subsection*
 inset-end-select
 \end_layout
 
 \begin_layout Description
 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).
+ there.
+ If the cursor is already at the end of the current inset, move it to the
+ end of the enclosing inset or the main work area, respectively, if there
+ is no enclosing inset (adding the traversed text to the selection).
 \end_layout
 
 \begin_layout Description
@@ -2803,6 +2999,34 @@ graphics|href|include|index|index_print|label|line|
 listings|note|phantom|ref|space|tabular|vspace|wrap>.
 \end_layout
 
+\begin_layout Subsection*
+inset-split
+\end_layout
+
+\begin_layout Description
+Action Splits the current inset into two at current position.
+\end_layout
+
+\begin_layout Description
+Syntax inset-split [<INSET>]
+\end_layout
+
+\begin_layout Description
+Params <INSET>: this can be used to make sure the right kind of inset                  is
+ dissolved.
+ For example "split" entry in the charstyles                   sub-menu should only dissolve
+ the charstyle inset, even if the                      cursor is inside several nested insets
+ of different type.
+\begin_inset Newline newline
+\end_inset
+
+                       For values see lyx::InsetLayout::lyxtype_ .
+\end_layout
+
+\begin_layout Description
+Origin spitz, 22 Dec 2020
+\end_layout
+
 \begin_layout Subsection*
 inset-toggle
 \end_layout
@@ -3578,6 +3802,27 @@ Params For parameters see LFUN_PARAGRAPH_PARAMS
 Origin leeming, 30 Mar 2004
 \end_layout
 
+\begin_layout Subsection*
+paragraph-select
+\end_layout
+
+\begin_layout Description
+Action Move cursor to beginning of current paragraph and select to the end
+ in downward direction
+\end_layout
+
+\begin_layout Description
+Notion This function is by default bound to triple mouse click
+\end_layout
+
+\begin_layout Description
+Syntax paragraph-select
+\end_layout
+
+\begin_layout Description
+Origin Kornel, 16 Apr 2019
+\end_layout
+
 \begin_layout Subsection*
 paragraph-up
 \end_layout
@@ -3957,6 +4202,27 @@ Params <TYPE>:  line|page
 Origin Abdel, Dec 27 2007
 \end_layout
 
+\begin_layout Subsection*
+search-string-set
+\end_layout
+
+\begin_layout Description
+Action Set search string buffer.
+\end_layout
+
+\begin_layout Description
+Syntax search-string-set [<DATA>]
+\end_layout
+
+\begin_layout Description
+Params <DATA>: string to search for.
+ If no parameter is given, use (word under) selection.
+\end_layout
+
+\begin_layout Description
+Origin stwitt, spitz, Feb 12 2021
+\end_layout
+
 \begin_layout Subsection*
 section-select
 \end_layout
@@ -4018,28 +4284,6 @@ Params <ARG>: <plain|parbreak|latexpar> default: plain
 Origin ef, 2 May 2014
 \end_layout
 
-\begin_layout Subsection*
-set-graphics-group
-\end_layout
-
-\begin_layout Description
-Action Set the group for the graphics inset on the cursor position.
-\end_layout
-
-\begin_layout Description
-Syntax set-graphics-group [<GROUP>]
-\end_layout
-
-\begin_layout Description
-Params <GROUP>: Id for an existing group.
- In case the Id is an empty string, the graphics inset is removed from the
- current group.
-\end_layout
-
-\begin_layout Description
-Origin sanda, 6 May 2008
-\end_layout
-
 \begin_layout Subsection*
 space-insert
 \end_layout
@@ -4112,6 +4356,28 @@ Params <WORD>: word to add <LANG>: language name (see file languages)
 Origin spitz, 18 Jan 2010
 \end_layout
 
+\begin_layout Subsection*
+spelling-add-local
+\end_layout
+
+\begin_layout Description
+Action Add the word under the cursor to the document's local spell checker
+ dictionary.
+ The default for the language is retrieved from the cursor position.
+\end_layout
+
+\begin_layout Description
+Syntax spelling-add-local [<STRING>] [<LANG>]
+\end_layout
+
+\begin_layout Description
+Params <WORD>: word to add            <LANG>: language name (see file languages)
+\end_layout
+
+\begin_layout Description
+Origin spitz, 6 Mar 2021
+\end_layout
+
 \begin_layout Subsection*
 spelling-continuously
 \end_layout
@@ -4172,6 +4438,28 @@ Params <WORD>: word to remove <LANG>: language name (see file languages)
 Origin SWitt, 28 July 2010
 \end_layout
 
+\begin_layout Subsection*
+spelling-remove-local
+\end_layout
+
+\begin_layout Description
+Action Remove the word under the cursor from the document's local spell
+ checker dictionary.
+ The default for the language is retrieved from the cursor position.
+\end_layout
+
+\begin_layout Description
+Syntax spelling-remove-local [<STRING>] [<LANG>]
+\end_layout
+
+\begin_layout Description
+Params <WORD>: word to remove         <LANG>: language name (see file languages)
+\end_layout
+
+\begin_layout Description
+Origin spitz, 7 Mar 2021
+\end_layout
+
 \begin_layout Subsection*
 tab-delete
 \end_layout
@@ -4240,10 +4528,22 @@ copy-column|move-column-right|move-column-left|move-row-down|move-row-up|
 \begin_inset Newline newline
 \end_inset
 
+set-line-top|set-line-bottom|set-line-left|set-line-right|
+\begin_inset Newline newline
+\end_inset
+
 toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right|
 \begin_inset Newline newline
 \end_inset
 
+set-ltrim-top|set-rtrim-top|set-ltrim-bottom|set-rtrim-bottom
+\begin_inset Newline newline
+\end_inset
+
+toggle-ltrim-top|toggle-rtrim-top|toggle-ltrim-bottom|toggle-rtrim-bottom
+\begin_inset Newline newline
+\end_inset
+
 align-left|align-right|align-center|align-block|align-decimal|set-decimal-point|
 \begin_inset Newline newline
 \end_inset
@@ -4260,8 +4560,11 @@ m-align-center|m-valign-top|m-valign-bottom|m-valign-middle|multicolumn|
 \begin_inset Newline newline
 \end_inset
 
-set-all-lines|unset-all-lines|toggle-longtabular|set-longtabular|unset-longtabul
-ar|set-pwidth|
+reset-formal-default|set-all-lines|unset-all-lines|toggle-longtabular|
+\begin_inset Newline newline
+\end_inset
+
+set-longtabular|unset-longtabular|set-pwidth|
 \begin_inset Newline newline
 \end_inset
 
@@ -4293,11 +4596,12 @@ set-interline-space|set-border-lines|tabular-valign-top|
 \begin_inset Newline newline
 \end_inset
 
-tabular-valign-middle|tabular-valign-bottom|set-tabular-width
+tabular-valign-middle|tabular-valign-bottom|set-tabular-width|
 \begin_inset Newline newline
 \end_inset
 
-Various math-environment features are handled as well, e.g.
+toggle-varwidth-column Various math-environment features are handled as
+ well, e.g.
  add-vline-left/right for
 \begin_inset Newline newline
 \end_inset
@@ -4339,6 +4643,32 @@ Params In case no arguments are given show insert dialog.
 Origin Jug, 12 Apr 2000
 \end_layout
 
+\begin_layout Subsection*
+tabular-style-insert
+\end_layout
+
+\begin_layout Description
+Action Inserts table of a given style into the document.
+\end_layout
+
+\begin_layout Description
+Notion See LFUN_TABULAR_FEATURE for some more details         about tabular
+ modifications.
+\end_layout
+
+\begin_layout Description
+Syntax tabular-style-insert <style> <ROWS> <COLUMNS>
+\end_layout
+
+\begin_layout Description
+Params Valid styles are the names of the files in lib/tabletemplates, minus
+ _1x<n> and .lyx suffix.
+\end_layout
+
+\begin_layout Description
+Origin spitz, 25 Mar 2019
+\end_layout
+
 \begin_layout Subsection*
 thesaurus-entry
 \end_layout
@@ -4380,15 +4710,15 @@ Action Inserts a single unicode character.
 \end_layout
 
 \begin_layout Description
-Syntax unicode-insert <CHAR>
+Syntax unicode-insert <CHAR1> <CHAR2> ...
 \end_layout
 
 \begin_layout Description
-Params <CHAR>: The character to insert, given as its code point, in hexadecimal.
+Params <CHARn>: The character to insert, given as its code point, in hexadecimal.
 \end_layout
 
 \begin_layout Description
-Sample unicode-insert 0x0100
+Sample unicode-insert 0x0100 0x0259
 \end_layout
 
 \begin_layout Description
@@ -4713,11 +5043,11 @@ Syntax word-replace [<DATA>]
 \end_layout
 
 \begin_layout Description
-Params <DATA>: data is of the form "<replace>
+Params <DATA>: data is of the form "<replacestring>
 \begin_inset Newline newline
 \end_inset
 
-<search>
+<searchstring>
 \begin_inset Newline newline
 \end_inset
 
@@ -4872,8 +5202,8 @@ Syntax math-matrix <COLS> <ROWS> [<DECORATION>]
 \begin_layout Description
 Params <DECORATION>: Decoration determines the LaTeX name of the matrix
  that should be created.
- Possible values include pmatrix, bmatrix, Bmatrix, vmatrix, Vmatrix and
- matrix.
+ Possible values include pmatrix, bmatrix, Bmatrix, vmatrix, Vmatrix, smallmatri
+x, and matrix.
  The default is 'matrix'.
 \end_layout
 
@@ -6177,11 +6507,14 @@ Notion Path for new files and templates can be set in Preferences dialog.
 \end_layout
 
 \begin_layout Description
-Syntax buffer-new-template [<FILE>]
+Syntax buffer-new-template [<FILE>] [<TEMPLATE FILE>]
 \end_layout
 
 \begin_layout Description
 Params <FILE>: filename of created file with absolute path.
+ If empty or "newfile", a file with appropriate name is generated.
+ <TEMPLATE FILE>: filename of template with absolute path.
+ If empty, a dialog is opened to select the new file.
 \end_layout
 
 \begin_layout Subsection*
@@ -6243,13 +6576,35 @@ Action Reverts opened document.
 \end_layout
 
 \begin_layout Description
-Syntax buffer-reload
+Syntax buffer-reload [dump]
+\end_layout
+
+\begin_layout Description
+Params dump: do not ask for any confirmation, just reload.
+ All changes will be lost.
 \end_layout
 
 \begin_layout Description
 Origin Asger, 2 Feb 1997
 \end_layout
 
+\begin_layout Subsection*
+buffer-reset-export
+\end_layout
+
+\begin_layout Description
+Action Removes the auxiliary file before next export to assure export is
+ done afresh.
+\end_layout
+
+\begin_layout Description
+Syntax buffer-reset-export
+\end_layout
+
+\begin_layout Description
+Origin spitz, 27 Dec 2019
+\end_layout
+
 \begin_layout Subsection*
 buffer-save-as-default
 \end_layout
@@ -6419,7 +6774,11 @@ Notion Saves the current buffer to disk, using the filename that is already
 \end_layout
 
 \begin_layout Description
-Syntax buffer-write
+Syntax buffer-write [force]
+\end_layout
+
+\begin_layout Description
+Params force: write even if buffer is clean.
 \end_layout
 
 \begin_layout Subsection*
@@ -6455,6 +6814,24 @@ Params <FILENAME>: New name of the buffer/file.
  A relative path is with respect to the original location of the buffer/file.
 \end_layout
 
+\begin_layout Subsection*
+buffer-write-as-template
+\end_layout
+
+\begin_layout Description
+Action Rename and save current buffer in the local templates directory.
+\end_layout
+
+\begin_layout Description
+Syntax buffer-write-as-template <FILENAME>
+\end_layout
+
+\begin_layout Description
+Params <FILENAME>: New name of the buffer/file.
+ A relative path              is with respect to the original location of the
+ buffer/file.
+\end_layout
+
 \begin_layout Subsection*
 buffer-zoom
 \end_layout
@@ -6618,6 +6995,28 @@ big|huge|giant, the default is normal (whose size in px is icon set dependent).
 Origin 11 July 2016
 \end_layout
 
+\begin_layout Subsection*
+ifrelatives
+\end_layout
+
+\begin_layout Description
+Action Helper function for master-related actions
+\end_layout
+
+\begin_layout Description
+Notion In a buffer, the function will be disabled if the buffer has no master
+ or children.
+ It thus allows to enable actions only in documents with master/children
+\end_layout
+
+\begin_layout Description
+Syntax ifrelatives <ACTION>
+\end_layout
+
+\begin_layout Description
+Origin spitz, 2 January 2020
+\end_layout
+
 \begin_layout Subsection*
 lyx-quit
 \end_layout
@@ -6635,6 +7034,131 @@ Notion Terminates the current LyX instance, asking whether to save modified
 Syntax lyx-quit
 \end_layout
 
+\begin_layout Subsection*
+lyxfiles-open
+\end_layout
+
+\begin_layout Description
+Action Open lyxfiles (templates/examples).
+ Create a view if he have none.
+\end_layout
+
+\begin_layout Description
+Syntax lyxfiles-open [<TYPE>]
+\end_layout
+
+\begin_layout Description
+Params <TYPE>: templates or examples.
+ Default is templates.
+\end_layout
+
+\begin_layout Description
+Origin spitz, 10 Feb 2021
+\end_layout
+
+\begin_layout Subsection*
+master-buffer-export
+\end_layout
+
+\begin_layout Description
+Action Exports the master buffer (document) to the given format.
+\end_layout
+
+\begin_layout Description
+Syntax master-buffer-export [<FORMAT>] [<DEST>]
+\end_layout
+
+\begin_layout Description
+Params <FORMAT> is 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.
+\begin_inset Newline newline
+\end_inset
+
+Note that "custom" is not allowed in this case.
+\begin_inset Newline newline
+\end_inset
+
+If absent or "default", then the default output format of the document is
+ used.
+\begin_inset Newline newline
+\end_inset
+
+<DEST>   If present, this argument provides the export destination filename.
+ Its containing folder will also be the destination folder, where all the
+ needed external files will be copied.
+\end_layout
+
+\begin_layout Description
+Origin rkh, 18 April 2018
+\end_layout
+
+\begin_layout Subsection*
+master-buffer-forall
+\end_layout
+
+\begin_layout Description
+Action Applies a command to a buffer and all it children, starting from
+ the master.
+\end_layout
+
+\begin_layout Description
+Syntax master-buffer-forall <LFUN-COMMAND>
+\end_layout
+
+\begin_layout Description
+Params <LFUN-COMMAND>: The command to be applied to the buffers.
+\end_layout
+
+\begin_layout Description
+Sample Close all Notes in buffers:
+\begin_inset Newline newline
+\end_inset
+
+              master-buffer-forall inset-forall Note inset-toggle close
+\begin_inset Newline newline
+\end_inset
+
+              Toggle change tracking on buffers:
+\begin_inset Newline newline
+\end_inset
+
+              master-buffer-forall changes-track
+\begin_inset Newline newline
+\end_inset
+
+              Toggle read-only for buffers:
+\begin_inset Newline newline
+\end_inset
+
+              master-buffer-forall buffer-toggle-read-only
+\begin_inset Newline newline
+\end_inset
+
+              Show statistics for individual buffers:
+\begin_inset Newline newline
+\end_inset
+
+              master-buffer-forall statistics
+\begin_inset Newline newline
+\end_inset
+
+              Activate the branch named "Solutions" in buffers:
+\begin_inset Newline newline
+\end_inset
+
+              master-buffer-forall branch-activate Solutions
+\begin_inset Newline newline
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Origin spitz, 31 Dec 2019
+\end_layout
+
 \begin_layout Subsection*
 master-buffer-update
 \end_layout
@@ -6742,6 +7266,35 @@ view/update|math_panels|vcs| view-others|update-others
 Origin daniel, 12 July 2016
 \end_layout
 
+\begin_layout Subsection*
+toolbar-set
+\end_layout
+
+\begin_layout Description
+Action Sets visibility of a given toolbar to on, off, or auto.
+\end_layout
+
+\begin_layout Description
+Notion Skipping "auto" when allowauto is false.
+\end_layout
+
+\begin_layout Description
+Syntax toolbar-set <NAME> [on|off|auto]
+\end_layout
+
+\begin_layout Description
+Params <NAME>: standard|extra|table|math|mathmacrotemplate|
+\begin_inset Newline newline
+\end_inset
+
+                      minibuffer|review|view/update|math_panels|vcs|                  view-others|upd
+ate-others
+\end_layout
+
+\begin_layout Description
+Origin spitz, 17 Dec 2020
+\end_layout
+
 \begin_layout Subsection*
 toolbar-toggle
 \end_layout
@@ -7203,6 +7756,23 @@ Syntax reconfigure
 Origin Asger, 14 Feb 1997
 \end_layout
 
+\begin_layout Subsection*
+search-ignore
+\end_layout
+
+\begin_layout Description
+Action Enables/disables searching for features in findadv
+\end_layout
+
+\begin_layout Description
+Syntax search-ignore <type> <value>
+\end_layout
+
+\begin_layout Description
+Params <type>: language|color|sectioning|font|series|shape|family|markup|underli
+ne|strike|deleted<value>: true|false
+\end_layout
+
 \begin_layout Subsection*
 server-get-filename
 \end_layout
@@ -7367,7 +7937,8 @@ set-color
 \end_layout
 
 \begin_layout Description
-Action Set the given LyX color to the color defined by the X11 name given.
+Action Set the given LyX color to the color defined by the X11 name given,
+ and optionally a specific color for dark mode.
 \end_layout
 
 \begin_layout Description
@@ -7376,7 +7947,7 @@ Notion A new color entry is created if the color is unknown.
 \end_layout
 
 \begin_layout Description
-Syntax set-color <LYX_NAME> <X11_NAME>
+Syntax set-color <LYX_NAME> <X11_NAME> [<X11_DARKNAME>]
 \end_layout
 
 \begin_layout Description
@@ -7787,5 +8358,28 @@ Notion Automatically replace the currently selected text.
 Syntax self-insert <STRING>
 \end_layout
 
+\begin_layout Subsection*
+window-raise
+\end_layout
+
+\begin_layout Description
+Action Raises the LyX window.
+\end_layout
+
+\begin_layout Description
+Notion Brings the LyX window to the front.
+ Such behavior is allowed on Windows only when no other application has
+ focus.
+ This action is used when LyX is in single instance mode.
+\end_layout
+
+\begin_layout Description
+Syntax window-raise
+\end_layout
+
+\begin_layout Description
+Origin forenr, 21 Apr 2020
+\end_layout
+
 \end_body
 \end_document