-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 444
\begin_document
\begin_header
\textclass article
\font_roman default
\font_sans default
\font_typewriter default
+\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
-
\graphics default
\default_output_format default
\output_sync 0
\use_hyperref false
\papersize default
\use_geometry true
-\use_amsmath 1
-\use_esint 1
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package esint 1
+\use_package mathdots 0
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package undertilde 0
\cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
+\justification true
\use_refstyle 0
\index Index
\shortcut idx
\begin_body
\begin_layout Section*
-LFUNs documentation automatically generated 2011-03-28
+LFUNs documentation automatically generated 2012-09-29
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Description
-Params <NAME>: normal, protected, thin, quad, qquad, enspace, enskip, negthinspa
-ce, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
+Params <NAME>: normal, protected, visible, thin, quad, qquad, enspace, enskip,
+ negthinspace, negmedspace, negthickspace, hfill, hfill*, dotfill, hrulefill,
+ hspace, hspace*
+\begin_inset Newline newline
+\end_inset
+
+Only in math mode: med and thick.
\begin_inset Newline newline
\end_inset
\begin_layout Description
Params <TYPE:Name>: name of the index, if multiple indices are defined.
- with an empty argument, the default index is selected.
+ With an empty argument, the default index is selected.
\end_layout
\begin_layout Description
\begin_layout Description
Params <TYPE:Name>: name of the index, if multiple indices are defined.
- with an empty argument, the default index is selected.
+ With an empty argument, the default index is selected.
\end_layout
\begin_layout Description
Origin Lgb, 27 Feb 1997
\end_layout
+\begin_layout Subsection*
+LFUN_IPA_INSERT
+\end_layout
+
+\begin_layout Description
+Action Inserts an IPA inset.
+\end_layout
+
+\begin_layout Description
+Syntax ipa-insert
+\end_layout
+
+\begin_layout Description
+Origin spitz, 05 Mar 2012
+\end_layout
+
+\begin_layout Subsection*
+LFUN_IN_IPA
+\end_layout
+
+\begin_layout Description
+Action Only active in IPA inset.
+\end_layout
+
+\begin_layout Description
+Notion Dummy function which is only active in a IPA inset.
+ It's used to toggle the IPA toolbar if the cursor moves into an IPA inset.
+\end_layout
+
+\begin_layout Description
+Syntax in-ipa
+\end_layout
+
+\begin_layout Description
+Origin spitz, 20 May 2012
+\end_layout
+
+\begin_layout Subsection*
+LFUN_IPAMACRO_INSERT
+\end_layout
+
+\begin_layout Description
+Action Inserts special IPA macros into the document.
+\end_layout
+
+\begin_layout Description
+Syntax ipamacro-insert <CHAR>
+\end_layout
+
+\begin_layout Description
+Params <CHAR>: tone-falling, tone-rising, tone-high-rising, tone-low-rising,
+ tone-high-rising-falling, deco bottomtiebar, deco toptiebar.
+\end_layout
+
+\begin_layout Description
+Origin JSpitzm, 22 Aug 2012
+\end_layout
+
\begin_layout Subsection*
LFUN_NOMENCL_INSERT
\end_layout
\end_layout
\begin_layout Description
-Action Inserts Note on the current cursor postion, move selection inside
+Action Inserts Note on the current cursor position, move selection inside
the inset.
\end_layout
\end_layout
\begin_layout Description
-Action Moves the cursor to the begining of next Note inset.
+Action Moves the cursor to the beginning of next Note inset.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Action Inserts phantom on the current cursor postion, move selection inside
+Action Inserts phantom on the current cursor position, move selection inside
the inset.
\end_layout
\end_layout
\begin_layout Description
-Action Deletes characters to the begining of the word (usually the "C+BackSpace"
- key).
+Action Deletes characters to the beginning of the word (usually the "C+BackSpace
+" key).
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Action Search for next occurence of a string.
+Action Search for next occurrence of a string.
\end_layout
\begin_layout Description
\begin_inset Newline newline
\end_inset
-<casesensitive> <matchword> <all> <forward>"
+<casesensitive> <matchword> <all> <forward> <findnext>"
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Action Search for next occurence of a pattern.
+Action Search for next occurrence of a pattern.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Action Move the cursor to the begining of the (screen) line.
+Action Move the cursor to the beginning of the (screen) line.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Action Copies to the clipboard the last edit.
+Action Copies the current selection to the clipboard.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Action Pastes the the internal selection text in permanent selection.
+Action Pastes the internal selection text in permanent selection.
\end_layout
\begin_layout Description
Origin lasgouttes, 14 Jan 2009
\end_layout
+\begin_layout Subsection*
+LFUN_CLIPBOARD_PASTE_SIMPLE
+\end_layout
+
+\begin_layout Description
+Action Pastes simple unformatted text from the active clipboard.
+\end_layout
+
+\begin_layout Description
+Syntax clipboard-paste-simple [<ARG>]
+\end_layout
+
+\begin_layout Description
+Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e.
+ "Join lines".
+\end_layout
+
\begin_layout Subsection*
LFUN_UNDO
\end_layout
\begin_layout Description
Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically
- trigerred when using Text Style dialog.
+ triggered when using Text Style dialog.
\end_layout
\begin_layout Description
\begin_layout Description
Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX
- bibliography) found from the cursor postion.
+ bibliography) found from the cursor position.
\end_layout
\begin_layout Description
\begin_layout Description
Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTe
-X bibliography) found from the cursor postion.
+X bibliography) found from the cursor position.
\end_layout
\begin_layout Description
\begin_inset Newline newline
\end_inset
-where "script" stands fot the external script (normalized expression will
+where "script" stands for the external script (normalized expression will
be passed)
\end_layout
Action Moves the current paragraph upwards in the document.
\end_layout
+\begin_layout Description
+Notion Movement through the document will possibly break the paragraph-depth
+ (e.g.
+ itemize structure).
+\end_layout
+
\begin_layout Description
Syntax paragraph-move-up
\end_layout
\end_layout
\begin_layout Description
-Action Move the cursor to the next paragraph (or begining of the current
+Action Move the cursor to the next paragraph (or beginning of the current
one) in upward direction.
\end_layout
\end_layout
\begin_layout Description
-Action Move the cursor and select the text to the next paragraph (or begining
+Action Move the cursor and select the text to the next paragraph (or beginning
of the current one) in upward direction.
\end_layout
\end_layout
\begin_layout Description
-Action Move the cursor to the next paragraph (or begining of the current
+Action Move the cursor to the next paragraph (or beginning of the current
one) in downward direction.
\end_layout
\end_layout
\begin_layout Description
-Action Move the cursor and select the text to the next paragraph (or begining
+Action Move the cursor and select the text to the next paragraph (or beginning
of the current one) in downward direction.
\end_layout
\end_layout
\begin_layout Subsection*
-LFUN_BREAK_PARAGRAPH
+LFUN_PARAGRAPH_BREAK
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Syntax break-paragraph [<LAYOUT>]
+Syntax paragraph-break [<LAYOUT>]
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Notion This is internal LFUN, not to be used by users.
+Notion This is an internal LFUN, not to be used by users.
Called internally by LFUN_DIALOG_UPDATE.
\end_layout
\end_layout
\begin_layout Description
-Params <INSET>: <bibitem|bibtex|cite|ert|listings|external|graphics|tabular|
+Params <INSET>: <bibitem|bibtex|citation|ert|listings|external|graphics|tabular|
\begin_inset Newline newline
\end_inset
\end_layout
\begin_layout Description
-Notion This is internal LFUN, not to be used by users.
+Notion This is an internal LFUN, not to be used by users.
Called internally by LFUN_DIALOG_UPDATE
\end_layout
\begin_inset Newline newline
\end_inset
-graphics|href|include|index|index_print|label|line| listings|note|phantom|ref|sp
-ace|tabular|vspace|wrap>.
+graphics|href|include|index|index_print|label|line|
+\begin_inset Newline newline
+\end_inset
+
+listings|note|phantom|ref|space|tabular|vspace|wrap>.
\end_layout
\begin_layout Subsection*
\end_layout
\begin_layout Description
-Action Toggles the collapsable inset at cursor position, or the inset we
+Action Toggles the collapsible inset at cursor position, or the inset we
are currently in.
\end_layout
\begin_inset Newline newline
\end_inset
-open/close/toggle are for collapsable insets.
+open/close/toggle are for collapsible insets.
toggle is used when no argument is given.
\begin_inset Newline newline
\end_inset
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.
+ limited to 100000.
Note also that inset-forall does not update metrics between iterations,
which can lead to bugs.
This has to be eventually fixed.
\begin_layout Description
Action Moves the cursor to the numbered bookmark, opening the file if necessary.
- Note that bookmarsk are saved per-session, not per file.
+ Note that bookmarks are saved per-session, not per file.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Subsection*
-LFUN_SPLIT_VIEW
+LFUN_VIEW_SPLIT
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Notion All split views act in the same way indpendently.
+Notion All split views act in the same way independently.
\end_layout
\begin_layout Description
-Syntax split-view <vertical|horizontal>
+Syntax view-split <vertical|horizontal>
\end_layout
\begin_layout Description
\end_layout
\begin_layout Subsection*
-LFUN_CLOSE_TAB_GROUP
+LFUN_VIEW_CLOSE
+\end_layout
+
+\begin_layout Description
+Action Close the current document work area.
+\end_layout
+
+\begin_layout Description
+Notion Close the current work area.
+ If no other work areas are showing the buffer, then close the associated
+ buffer as well.
+\end_layout
+
+\begin_layout Description
+Syntax view-close
+\end_layout
+
+\begin_layout Description
+Origin Tommaso, 15 Sep 2012
+\end_layout
+
+\begin_layout Subsection*
+LFUN_TAB_GROUP_CLOSE
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Notion This only closes the work areas, not the buffer themselves.
+Notion This only closes the work areas, not the buffers themselves.
The still opened buffers can be visualized in another tab group.
\end_layout
\begin_layout Description
-Syntax close-tab-group
+Syntax tab-group-close
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Action Shows hidden dialog or create new one for a given function/inset
+Action Shows hidden dialog or creates new one for a given function/inset
settings etc.
\end_layout
\end_layout
\begin_layout Description
-Notion This is internal LFUN, not to be used by users.
+Notion This is an internal LFUN, not to be used by users.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Notion This is internal LFUN, not to be used by users.
+Notion This is an internal LFUN, not to be used by users.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Notion This is internal LFUN, not to be used by users.
+Notion This is an internal LFUN, not to be used by users.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Notion This is internal LFUN, not to be used by users.
+Notion This is an internal LFUN, not to be used by users.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Notion This is internal LFUN, not to be used by users.
+Notion This is an internal LFUN, not to be used by users.
\end_layout
\begin_layout Description
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.
+ platforms.
\begin_inset Newline newline
\end_inset
\begin_layout Description
Action Sets the cursor position based on the editing area coordinates (similar
- as clicking on that point with left mouse button).
+ to clicking on that point with left mouse button).
\end_layout
\begin_layout Description
literate_extension is generated.
Then LyX invokes
\backslash
-build_command (with a default of``make'') to generate the code and
+build_command (with a default of ``make'') to generate the code and
\backslash
build_error_filter to process the compilation error messages.
\begin_inset Newline newline
\end_layout
\begin_layout Description
-Syntax buffer-export <FORMAT>
+Syntax buffer-export <FORMAT> [<DEST>]
\end_layout
\begin_layout Description
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.
+ <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 leeming, 27 Mar 2004
\end_layout
+\begin_layout Subsection*
+LFUN_BUFFER_EXPORT_AS
+\end_layout
+
+\begin_layout Description
+Action Pops up a dialog for exporting the current buffer.
+\end_layout
+
+\begin_layout Description
+Syntax buffer-export-as
+\end_layout
+
+\begin_layout Description
+Origin tommaso, 6 Oct 2011
+\end_layout
+
\begin_layout Subsection*
LFUN_BUFFER_PRINT
\end_layout
\begin_layout Description
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
+ via defined converters in preferences.
+ Look in the File->Import menu to get an idea of the currently active import
formats.
\end_layout
\end_layout
\begin_layout Description
-Action Creates a new buffer (that is, document).
+Action Creates a new buffer (that is, document) and switches to it.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Action Display/switch to the given buffer.
+Action Display and switch to the given buffer.
\end_layout
\begin_layout Description
\begin_layout Description
Notion In case you are already viewing the exported document (see LFUN_BUFFER_VI
-EW) the output will be rewriten - updated.
+EW) the output will be rewritten - updated.
This is useful in case your viewer is able to detect such changes (e.g.
ghostview for postscript).
\end_layout
A relative path is with respect to the original location of the buffer/file.
\end_layout
+\begin_layout Subsection*
+LFUN_BUFFER_FORALL
+\end_layout
+
+\begin_layout Description
+Action Applies a command to all visible, hidden, or both types of buffers
+ in the active window.
+\end_layout
+
+\begin_layout Description
+Syntax buffer-forall [<BUFFER-TYPE>] <LFUN-COMMAND>
+\end_layout
+
+\begin_layout Description
+Params <BUFFER-TYPE>: <visible|hidden|both default:> default: visible <LFUN-COMM
+AND>: The command that is to be applied to the buffers.
+\end_layout
+
+\begin_layout Description
+Sample Close all Notes in all visible documents:
+\begin_inset Newline newline
+\end_inset
+
+ buffer-forall inset-forall Note inset-toggle close
+\begin_inset Newline newline
+\end_inset
+
+Toggle change tracking on all documents:
+\begin_inset Newline newline
+\end_inset
+
+ buffer-forall both changes-track
+\begin_inset Newline newline
+\end_inset
+
+Toggle read-only for all visible documents:
+\begin_inset Newline newline
+\end_inset
+
+ buffer-forall buffer-toggle-read-only
+\begin_inset Newline newline
+\end_inset
+
+Show statistics for each document:
+\begin_inset Newline newline
+\end_inset
+
+ buffer-forall both statistics
+\begin_inset Newline newline
+\end_inset
+
+Activate the branch named "Solutions" in all visible documents:
+\begin_inset Newline newline
+\end_inset
+
+ buffer-forall branch-activate Solutions
+\begin_inset Newline newline
+\end_inset
+
+Export all visible documents to PDF (pdflatex):
+\begin_inset Newline newline
+\end_inset
+
+ buffer-forall buffer-export pdf2
+\begin_inset Newline newline
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Origin scottkostyshak, 20 Jul 2012
+\end_layout
+
\begin_layout Subsection*
LFUN_BUFFER_WRITE_ALL
\end_layout
\end_layout
\begin_layout Description
-Action Determine whether keep cursor inside the editing window regardless
- the scrollbar movement.
+Action Determine whether to keep cursor inside the editing window regardless
+ of the scrollbar movement.
\end_layout
\begin_layout Description