X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=5925351b826f78b0de273901d77f10c8e8e31db8;hb=5d66da88876e1e6b12697fce3da0f71462de94bc;hp=a6574e259e2779194d5e19c4e9006f2a2b9ca3d4;hpb=772d040c1693d2507f664dfa69df63a285f2809d;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index a6574e259e..5925351b82 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -290,6 +290,16 @@ void LyXAction::init() * \endvar */ { LFUN_FLOAT_WIDE_INSERT, "float-wide-insert", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_FLOAT_LIST_INSERT + * \li Action: Inserts the list of floats in the document. + * \li Syntax: float-list-insert + * \li Params: : type of float depends on the used textclass. Usually + "algorithm", "table", "figure" parameters can be given. + * \li Origin: Lgb, 3 May 2001 + * \endvar + */ + { LFUN_FLOAT_LIST_INSERT, "float-list-insert", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_WRAP_INSERT * \li Action: Inserts floats wrapped by the text around. @@ -470,29 +480,78 @@ void LyXAction::init() */ { LFUN_APPENDIX, "appendix", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_INDEX_INSERT + * \li Action: Inserts Index entry. + * \li Notion: It automatically takes the word on the cursor position. + * \li Syntax: index-insert + * \li Origin: Angus, 3 Aug 2000 + * \endvar + */ { LFUN_INDEX_INSERT, "index-insert", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_INDEX_PRINT + * \li Action: Inserts list of Index entries on a new page. + * \li Syntax: index-print + * \li Origin: Lgb, 27 Feb 1997 + * \endvar + */ { LFUN_INDEX_PRINT, "index-print", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_NOMENCL_INSERT + * \li Action: Inserts Nomenclature entry. + * \li Notion: It automatically takes the word on the cursor position if no symbol is given. + * \li Syntax: nomencl-insert [] + * \li Origin: Ugras, 4 Nov 2006 + * \endvar + */ { LFUN_NOMENCL_INSERT, "nomencl-insert", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_NOMENCLATURE_PRINT + * \li Action: Inserts list of Nomenclature entries. + * \li Syntax: nomenclature-print + * \li Origin: Ugras, 4 Nov 2006 + * \endvar + */ { LFUN_NOMENCL_PRINT, "nomencl-print", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_NOTE_INSERT + * \li Action: Inserts Note on the current cursor postion, + move selection inside the inset. + * \li Syntax: note-insert [] + * \li Params: : default: Note + * \endvar + */ { LFUN_NOTE_INSERT, "note-insert", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_NOTE_NEXT + * \li Action: Moves the cursor to the begining of next Note inset. + * \li Syntax: note-next + * \endvar + */ { LFUN_NOTE_NEXT, "note-next", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_NOTES_MUTATE + * \li Action: Changes all Note insets of a particular type (source) + to a different type (target) fot the current document. + * \li Syntax: notes-mutate + * \li Params: : Note|Comment|Greyedout + * \li Origin: ps, 18 Jun 2008 + * \endvar + */ + { LFUN_NOTES_MUTATE, "notes-mutate", Argument, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_NEWLINE_INSERT * \li Action: Inserts a line break or new line. - * \li Syntax: newline-insert + * \li Syntax: newline-insert [] * \li Params: : default: newline * \li Origin: JSpitzm, 25 Mar 2008 * \endvar */ { LFUN_NEWLINE_INSERT, "newline-insert", Noop, Edit }, - -#if 0 - { LFUN_LIST_INSERT, "list-insert", Noop, Edit }, -#endif - /*! * \var lyx::FuncCode lyx::LFUN_ESCAPE * \li Action: Clears the selection. If no text is selected call #LFUN_FINISHED_FORWARD. @@ -501,14 +560,66 @@ void LyXAction::init() * \endvar */ { LFUN_ESCAPE, "escape", ReadOnly, Edit }, - { LFUN_DELETE_BACKWARD_SKIP, "delete-backward-skip", Noop, Edit }, - { LFUN_DELETE_FORWARD_SKIP, "delete-forward-skip", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_DOWN + * \li Action: Moves the cursor one line in downward direction. + * \li Syntax: down + * \endvar + */ { LFUN_DOWN, "down", ReadOnly | NoUpdate, Edit }, - { LFUN_DOWN_SELECT, "down-select", ReadOnly | SingleParUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_UP + * \li Action: Moves the cursor one line in upward direction. + * \li Syntax: up + * \endvar + */ { LFUN_UP, "up", ReadOnly | NoUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_DOWN_SELECT + * \li Action: Moves the cursor one line in downward direction adding the current + position to the selection. + * \li Syntax: down-select + * \endvar + */ + { LFUN_DOWN_SELECT, "down-select", ReadOnly | SingleParUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_UP_SELECT + * \li Action: Moves the cursor one line in upward direction adding the current + position to the selection. + * \li Syntax: up-select + * \endvar + */ { LFUN_UP_SELECT, "up-select", ReadOnly | SingleParUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::SCREEN_DOWN + * \li Action: Moves the cursor one page in downward direction. + * \li Syntax: screen-down + * \endvar + */ { LFUN_SCREEN_DOWN, "screen-down", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_SCREEN_UP + * \li Action: Moves the cursor one page in upward direction. + * \li Syntax: screen-up + * \endvar + */ + { LFUN_SCREEN_UP, "screen-up", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_SCREEN_DOWN_SELECT + * \li Action: Moves the cursor one screen in downward direction adding the current + position to the selection. + * \li Syntax: screen-down-select + * \endvar + */ { LFUN_SCREEN_DOWN_SELECT, "screen-down-select", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_SCREEN_UP_SELECT + * \li Action: Moves the cursor one page in upward direction adding the current + position to the selection. + * \li Syntax: screen-up-select + * \endvar + */ + { LFUN_SCREEN_UP_SELECT, "screen-up-select", ReadOnly, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_SCROLL * \li Action: Scroll the buffer view. @@ -527,10 +638,7 @@ void LyXAction::init() * \endvar */ { LFUN_SCREEN_RECENTER, "screen-recenter", ReadOnly, Edit }, - { LFUN_SCREEN_UP, "screen-up", ReadOnly, Edit }, - { LFUN_SCREEN_UP_SELECT, "screen-up-select", ReadOnly, Edit }, - { LFUN_ERROR_NEXT, "error-next", ReadOnly, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_CHAR_BACKWARD * \li Action: Moves the cursor one position logically backwards. @@ -551,8 +659,20 @@ void LyXAction::init() * \endvar */ { LFUN_CHAR_BACKWARD_SELECT, "char-backward-select", ReadOnly | SingleParUpdate, Edit }, - { LFUN_CHAR_DELETE_BACKWARD, "delete-backward", SingleParUpdate, Edit }, - { LFUN_CHAR_DELETE_FORWARD, "delete-forward", SingleParUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_CHAR_DELETE_BACKWARD + * \li Action: Deletes one character in the backward direction (usually the "BackSpace" key). + * \li Syntax: char-delete-backward + * \endvar + */ + { LFUN_CHAR_DELETE_BACKWARD, "char-delete-backward", SingleParUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_CHAR_DELETE_FORWARD + * \li Action: Deletes one character in the backward direction (usually the "Delete" key). + * \li Syntax: char-delete-forward + * \endvar + */ + { LFUN_CHAR_DELETE_FORWARD, "char-delete-forward", SingleParUpdate, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_CHAR_FORWARD * \li Action: Moves the cursor one position logically forward. @@ -640,7 +760,19 @@ void LyXAction::init() * \endvar */ { LFUN_WORD_BACKWARD_SELECT, "word-backward-select", ReadOnly | SingleParUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_WORD_DELETE_BACKWARD + * \li Action: Deletes characters to the begining of the word (usually the "C+BackSpace" key). + * \li Syntax: word-delete-backward + * \endvar + */ { LFUN_WORD_DELETE_BACKWARD, "word-delete-backward", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_WORD_DELETE_FORWARD + * \li Action: Deletes characters to the end of the word (usually the "C+Delete" key). + * \li Syntax: word-delete-forward + * \endvar + */ { LFUN_WORD_DELETE_FORWARD, "word-delete-forward", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_WORD_FIND_FORWARD @@ -671,6 +803,17 @@ void LyXAction::init() * \endvar */ { LFUN_WORD_FIND, "word-find", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_WORD_FIND + * \li Action: Replace a string in the document. + * \li Syntax: word-replace [] + * \li Params: : data is of the form + " \n + \n + " + * \li Origin: poenitz, Jan 7 2004 + * \endvar + */ { LFUN_WORD_REPLACE, "word-replace", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_WORD_FORWARD @@ -743,6 +886,13 @@ void LyXAction::init() * \endvar */ { LFUN_WORD_RIGHT_SELECT, "word-right-select", ReadOnly | SingleParUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_WORD_SELECT + * \li Action: Puts the word where the cursor stands into the selection. + * \li Syntax: word-select + * \li Author: Andre, 11 Sep 2002 + * \endvar + */ { LFUN_WORD_SELECT, "word-select", ReadOnly, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_WORD_CAPITALIZE @@ -776,16 +926,75 @@ void LyXAction::init() * \endvar */ { LFUN_THESAURUS_ENTRY, "thesaurus-entry", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_BUFFER_BEGIN + * \li Action: Move the cursor to the beginning of the document. + * \li Syntax: buffer-begin + * \endvar + */ { LFUN_BUFFER_BEGIN, "buffer-begin", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_BUFFER_BEGIN_SELECT + * \li Action: Move the cursor to the beginning of the document adding the + traversed text to the selection. + * \li Syntax: buffer-begin-select + * \endvar + */ { LFUN_BUFFER_BEGIN_SELECT, "buffer-begin-select", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_BUFFER_END + * \li Action: Move the cursor to the end of the document. + * \li Syntax: buffer-end + * \endvar + */ { LFUN_BUFFER_END, "buffer-end", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_BUFFER_END_SELECT + * \li Action: Move the cursor to the end of the document adding the + traversed text to the selection. + * \li Syntax: buffer-end-select + * \endvar + */ { LFUN_BUFFER_END_SELECT, "buffer-end-select", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_LINE_BEGIN + * \li Action: Move the cursor to the begining of the (screen) line. + * \li Syntax: line-begin + * \endvar + */ { LFUN_LINE_BEGIN, "line-begin", ReadOnly | NoUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_LINE_BEGIN_SELECT + * \li Action: Move the cursor to the beginning of the (screen) line adding the + traversed text to the selection. + * \li Syntax: line-begin-select + * \endvar + */ { LFUN_LINE_BEGIN_SELECT, "line-begin-select", ReadOnly | SingleParUpdate, Edit }, - { LFUN_LINE_DELETE, "line-delete-forward", Noop, Edit }, // there is no line-delete-backward +/*! + * \var lyx::FuncCode lyx::LFUN_LINE_END + * \li Action: Move the cursor to the end of the (screen) line. + * \li Syntax: line-end + * \endvar + */ { LFUN_LINE_END, "line-end", ReadOnly | NoUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_LINE_END_SELECT + * \li Action: Move the cursor to the end of the (screen) line adding the + traversed text to the selection. + * \li Syntax: line-end-select + * \endvar + */ { LFUN_LINE_END_SELECT, "line-end-select", ReadOnly | SingleParUpdate, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_LINE_DELETE + * \li Action: Deletes the letters to the end of the (screen) line or + deletes the selection. + * \li Syntax: line-delete-forward + * \endvar + */ + { LFUN_LINE_DELETE, "line-delete-forward", Noop, Edit }, // there is no line-delete-backward /*! * \var lyx::FuncCode lyx::LFUN_COPY * \li Action: Copies to the clipboard the last edit. @@ -846,7 +1055,21 @@ void LyXAction::init() */ { LFUN_CHARS_TRANSPOSE, "chars-transpose", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_DEPTH_DECREMENT + * \li Action: Decrease the nesting depth of the (selected) paragraph(s) + inside lists. + * \li Syntax: depth-decrement + * \endvar + */ { LFUN_DEPTH_DECREMENT, "depth-decrement", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_DEPTH_INCREMENT + * \li Action: Increase the nesting depth of the (selected) paragraph(s) + inside lists. + * \li Syntax: depth-increment + * \endvar + */ { LFUN_DEPTH_INCREMENT, "depth-increment", Noop, Edit }, { LFUN_ENVIRONMENT_INSERT, "environment-insert", Noop, Edit }, @@ -922,10 +1145,47 @@ void LyXAction::init() * \endvar */ { LFUN_FONT_DEFAULT, "font-default", Noop, Layout }, - { LFUN_FONT_FREE_APPLY, "font-free-apply", Noop, Layout }, - { LFUN_FONT_FREE_UPDATE, "font-free-update", Noop, Layout }, - { LFUN_SCREEN_FONT_UPDATE, "screen-font-update", NoBuffer, Layout }, +/*! + * \var lyx::FuncCode lyx::LFUN_FONT_SIZE + * \li Action: Sets font size according to lyx format string. + * \li Syntax: font-size + * \li Params: : tiny|scriptsize|footnotesize|small|normal|large|larger| + largest|huge|giant|increase|decrease|default + * \endvar + */ { LFUN_FONT_SIZE, "font-size", Noop, Layout }, +/*! + * \var lyx::FuncCode lyx::LFUN_TEXTSTYLE_APPLY + * \li Action: Toggle user-defined (=last-time used) text style. + * \li Notion: This style is set via #LFUN_TEXTSTYLE_UPDATE, which is + automatically trigerred when using Text Style dialog. + * \li Syntax: textstyle-apply + * \li Origin: leeming, 12 Mar 2003 + * \endvar + */ + { LFUN_TEXTSTYLE_APPLY, "textstyle-apply", Noop, Layout }, +/*! + * \var lyx::FuncCode lyx::LFUN_TEXTSTYLE_UPDATE + * \li Action: Apply text style and update the settings to be used by #LFUN_TEXTSTYLE_APPLY. + * \li Syntax: textstyle-update + * \li Params: : specifies font atributes, e.g. family, series, shape, + size, emph, noun, underbar, number, color, language, + toggleall.\n + Use lyx -dbg action for exact syntax of text-style + dialog parameters. + * \li Origin: leeming, 12 Mar 2003 + * \endvar + */ + { LFUN_TEXTSTYLE_UPDATE, "textstyle-update", Noop, Layout }, +/*! + * \var lyx::FuncCode lyx::LFUN_SCREEN_FONT_UPDATE + * \li Action: Update fonts and its metrics. + * \li Notion: Automatically called after zoom, dpi, font names, or norm change. + * \li Syntax: screen-font-update + * \li Origin: ARRae, 13 Aug 2000 + * \endvar + */ + { LFUN_SCREEN_FONT_UPDATE, "screen-font-update", NoBuffer, Layout }, /*! * \var lyx::FuncCode lyx::LFUN_FONT_STATE * \li Action: Returns the info about the current font. @@ -1045,25 +1305,136 @@ void LyXAction::init() */ { LFUN_MARK_TOGGLE, "mark-toggle", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_DELIM + * \li Action: Inserts math delimiters (e.g. parentheses, brackets) enclosing expression. + * \li Syntax: math-delim [] [] + * \li Params: : Delimiters to be used. Each delimiter can be specified by + either a LaTeX name or a valid character. + ( is the default letter. + * \li Sample: math-delim { rangle + * \li Origin: Alejandro, 18 Jun 1996 + * \endvar + */ { LFUN_MATH_DELIM, "math-delim", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_BIGDELIM + * \li Action: Inserts math fixed size delimiters (e.g. parentheses, brackets) enclosing expression. + * \li Syntax: math-bigdelim + * \li Params: : bigl/r|Bigl/r|biggl/r|Biggl/r \n + : TeX code for delimiter. See Delimiter dialog for delimiters to be used. + * \li Sample: math-bigdelim "Bigl" "\Downarrow" "Bigr" "\}" + * \li Origin: Enrico & Georg, 7 May 2006 + * \endvar + */ { LFUN_MATH_BIGDELIM, "math-bigdelim", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_DISPLAY + * \li Action: Creates a new displayed equation in text mode. + Toggles inlined/display formula in math mode. + * \li Syntax: math-display [] + * \li Params: : this argument will be passed to #LFUN_MATH_INSERT when creating + new equation from the text mode. + * \li Origin: Alejandro, 18 Jun 1996 + * \endvar + */ { LFUN_MATH_DISPLAY, "math-display", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_INSERT + * \li Action: Inserts math objects and symbols. + * \li Syntax: math-insert + * \li Params: : Symbol or LaTeX code to be inserted. + * \endvar + */ { LFUN_MATH_INSERT, "math-insert", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_SUBSCRIPT + * \li Action: Enters subscript expression in math expression. + * \li Syntax: math-subscript + * \li Origin: vermeer, 12 Dec 2001 + * \endvar + */ { LFUN_MATH_SUBSCRIPT, "math-subscript", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_SUPERSCRIPT + * \li Action: Enters subscript expression in math expression. + * \li Syntax: math-superscript + * \li Origin: vermeer, 12 Dec 2001 + * \endvar + */ { LFUN_MATH_SUPERSCRIPT, "math-superscript", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_LIMITS + * \li 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. + * \li Notion: Put the cursor before the symbol with the limits and then invoke + math-limits. + * \li Syntax: math-limits [] + * \li Params: : limits|nolimits + * \endvar + */ { LFUN_MATH_LIMITS, "math-limits", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_MACRO + * \li Action: Inserts a math macro definition at the cursor position in the text. + * \li Syntax: math-macro [] [def] + * \li Params: : The name of the macro, e.g. "mymacro". + : The number of parameters of the macro. Default is 0. + "def": Has no effect anymore, just for compatibility with former LyX versions. + * \li Origin: ale, 10 May 1997; sts, 21 Dec 2007 + * \endvar + */ { LFUN_MATH_MACRO, "math-macro", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_MUTATE + * \li Action: Mutates the type of math inset to the newly selected one. + * \li Syntax: math-mutate + * \li Params: : none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat| + multline|gather|flalign + * \li Origin: Andre', 23 May 2001 + * \endvar + */ { LFUN_MATH_MUTATE, "math-mutate", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_SPACE + * \li Action: Inserts space into math expression. + * \li Notion: Use spacebar after entering this space to change type of space. + * \li Syntax: math-space [] + * \li Params: : negative spaces: !|negmedspace|negthickspace \n + positive spaces: ,|:|;|quad|qquad \n + "," used by default. + * \li Origin: Andre', 25 Jul 2001; ps, 16 Jun 2008 + * \endvar + */ { LFUN_MATH_SPACE, "math-space", Noop, Math }, - { LFUN_MATH_IMPORT_SELECTION, "math-import-selection", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_MATRIX + * \li Action: Inserts a matrix. + * \li Syntax: math-matrix [] + * \li Params: : 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. chars). + * \li Sample: math-matrix 3 3 bccc + * \endvar + */ { LFUN_MATH_MATRIX, "math-matrix", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_MODE + * \li 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. + * \li Notion: If there is some selected text, it puts the text inside created math box. + * \li Syntax: math-mode [] + * \li Params: : eventual argument (LaTeX code) is passed to #LFUN_MATH_INSERT . + * \li Origin: Alejandro, 4 Jun 1996 + * \endvar + */ { LFUN_MATH_MODE, "math-mode", Noop, Math }, /*! * \var lyx::FuncCode lyx::LFUN_MATH_NUMBER_LINE_TOGGLE * \li Action: Toggles numbering of the current formula line. * \li Notion: Must be in display formula mode. * \li Syntax: math-number-line-toggle - * \li Origin: Alejandro 18 Jun 1996 + * \li Origin: Alejandro, 18 Jun 1996 * \endvar */ { LFUN_MATH_NUMBER_LINE_TOGGLE, "math-number-line-toggle", Noop, Math }, @@ -1072,11 +1443,34 @@ void LyXAction::init() * \li Action: Toggles numbering/labeling of the current formula. * \li Notion: Must be in display formula mode. * \li Syntax: math-number-toggle - * \li Origin: Alejandro 4 Jun 1996 + * \li Origin: Alejandro, 4 Jun 1996 * \endvar */ { LFUN_MATH_NUMBER_TOGGLE, "math-number-toggle", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_EXTERN + * \li Action: Calls external program and passes the current expression/equation + as an argument for the calculation in the format appropriate to the + given language. + * \li Notion: Selection can be used to determine the input for the external program. + * \li Syntax: math-extern [] + * \li Params: : octave|maxima|maple|mathematica|script \n + where "script" stands fot the external script (normalized + expression will be passed) + * \li Origin: Andre', 24 Apr 2001 + * \li Sample: math-extern maple simplify + * \endvar + */ { LFUN_MATH_EXTERN, "math-extern", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_MATH_SIZE + * \li Action: Changes arbitrarily the size used by math fonts inside a context. + * \li Notion: Provides an interface to the LaTeX math mode font size commands. + * \li Syntax: math-size