1 #LyX 1.6.0rc5 created this file. For more info see http://www.lyx.org/
6 \use_default_options false
14 \font_typewriter default
15 \font_default_family default
22 \paperfontsize default
30 \paperorientation portrait
37 \paragraph_separation indent
39 \quotes_language english
42 \paperpagestyle default
43 \tracking_changes false
51 \begin_layout Section*
52 LFUNs documentation automatically generated 23.10.2008.
55 \begin_layout Standard
59 \begin_layout Plain Layout
69 \begin_inset VSpace 1cm
75 \begin_layout Subsection*
79 \begin_layout Description
80 Action Adds an acute accent to the next character typed.
84 \begin_layout Description
88 \begin_layout Subsection*
92 \begin_layout Description
93 Action Adds a breve accent to the next character typed.
97 \begin_layout Description
101 \begin_layout Subsection*
105 \begin_layout Description
106 Action Adds a caron to the next character typed.
110 \begin_layout Description
114 \begin_layout Subsection*
118 \begin_layout Description
119 Action Adds a cedilla to the next character typed.
123 \begin_layout Description
124 Syntax accent-cedilla
127 \begin_layout Subsection*
131 \begin_layout Description
132 Action Adds a circle accent to the next character typed.
136 \begin_layout Description
140 \begin_layout Subsection*
141 LFUN_ACCENT_CIRCUMFLEX
144 \begin_layout Description
145 Action Adds a circumflex to the next character typed.
149 \begin_layout Description
150 Syntax accent-circumflex
153 \begin_layout Subsection*
157 \begin_layout Description
158 Action Adds a dot accent to the next character typed.
162 \begin_layout Description
166 \begin_layout Subsection*
170 \begin_layout Description
171 Action Adds a grave accent to the next character typed.
175 \begin_layout Description
179 \begin_layout Subsection*
180 LFUN_ACCENT_HUNGARIAN_UMLAUT
183 \begin_layout Description
184 Action Adds a Hungarian umlaut to the next character typed.
188 \begin_layout Description
192 \begin_layout Subsection*
196 \begin_layout Description
197 Action Adds a macron to the next character typed.
201 \begin_layout Description
205 \begin_layout Subsection*
209 \begin_layout Description
210 Action Adds an ogonek accent to the next character typed.
214 \begin_layout Description
218 \begin_layout Subsection*
222 \begin_layout Description
223 Action Adds a tie over the next two character typed.
227 \begin_layout Description
228 Notion The following char will finish the tie.
232 \begin_layout Description
236 \begin_layout Subsection*
240 \begin_layout Description
241 Action Adds a tilde over the next character typed.
245 \begin_layout Description
249 \begin_layout Subsection*
253 \begin_layout Description
254 Action Adds an umlaut over the next character typed.
258 \begin_layout Description
262 \begin_layout Subsection*
266 \begin_layout Description
267 Action Adds a bar under the next character typed.
271 \begin_layout Description
272 Syntax accent-underbar
275 \begin_layout Subsection*
279 \begin_layout Description
280 Action Adds a dot under the next character typed.
284 \begin_layout Description
285 Syntax accent-underdot
288 \begin_layout Subsection*
292 \begin_layout Description
293 Action Inserts a caption inset.
297 \begin_layout Description
298 Syntax caption-insert
301 \begin_layout Description
302 Origin Lgb, 18 Jul 2000
305 \begin_layout Subsection*
309 \begin_layout Description
310 Action Inserts the current date.
314 \begin_layout Description
315 Syntax date-insert [<ARG>]
318 \begin_layout Description
319 Params <ARG>: Format of date.
320 The default value (%x) can be set in Preferences->Date format.
321 For possible formats see manual page of strftime function.
325 \begin_layout Description
326 Origin jdblair, 31 Jan 2000
329 \begin_layout Subsection*
333 \begin_layout Description
334 Action Inserts a footnote inset.
338 \begin_layout Description
339 Syntax footnote-insert
342 \begin_layout Description
343 Origin Jug, 7 Mar 2000
346 \begin_layout Subsection*
350 \begin_layout Description
351 Action Inserts an ERT inset.
355 \begin_layout Description
359 \begin_layout Description
360 Origin Jug, 18 Feb 2000
363 \begin_layout Subsection*
367 \begin_layout Description
368 Action Inserts a float inset.
372 \begin_layout Description
373 Syntax float-insert <TYPE>
376 \begin_layout Description
377 Params <TYPE>: type of float depends on the used textclass.
378 Usually "algorithm", "table", "figure" parameters can be given.
382 \begin_layout Description
383 Origin Lgb, 27 Jun 2000
386 \begin_layout Subsection*
387 LFUN_FLOAT_WIDE_INSERT
390 \begin_layout Description
391 Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns.
395 \begin_layout Description
396 Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX.
400 \begin_layout Description
401 Syntax float-wide-insert <TYPE>
404 \begin_layout Description
405 Params <TYPE>: type of float depends on the used textclass.
406 Usually "algorithm", "table", "figure" parameters can be given.
410 \begin_layout Description
411 Origin Lgb, 31 Oct 2001
414 \begin_layout Subsection*
415 LFUN_FLOAT_LIST_INSERT
418 \begin_layout Description
419 Action Inserts the list of floats in the document.
423 \begin_layout Description
424 Syntax float-list-insert <TYPE>
427 \begin_layout Description
428 Params <TYPE>: type of float depends on the used textclass.
429 Usually "algorithm", "table", "figure" parameters can be given.
433 \begin_layout Description
434 Origin Lgb, 3 May 2001
437 \begin_layout Subsection*
441 \begin_layout Description
442 Action Inserts floats wrapped by the text around.
446 \begin_layout Description
447 Syntax wrap-insert <TYPE>
450 \begin_layout Description
451 Params <TYPE>: table|figure
454 \begin_layout Description
455 Origin Dekel, 7 Apr 2002
458 \begin_layout Subsection*
462 \begin_layout Description
463 Action Inserts an optional-argument (short title) inset.
467 \begin_layout Description
468 Syntax optional-insert
471 \begin_layout Description
472 Origin vermeer, 12 Aug 2002
475 \begin_layout Subsection*
479 \begin_layout Description
480 Action Inserts a horizontal line.
484 \begin_layout Description
488 \begin_layout Description
489 Origin Andre, Oct 27 2003
492 \begin_layout Subsection*
496 \begin_layout Description
497 Action Inserts a new page.
501 \begin_layout Description
502 Syntax newpage-insert <ARG>
505 \begin_layout Description
506 Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
510 \begin_layout Description
511 Origin uwestoehr, 24 Nov 2007
514 \begin_layout Subsection*
515 LFUN_MARGINALNOTE_INSERT
518 \begin_layout Description
519 Action Inserts a marginal note.
523 \begin_layout Description
524 Syntax marginalnote-insert
527 \begin_layout Description
528 Origin Lgb, 26 Jun 2000
531 \begin_layout Subsection*
535 \begin_layout Description
536 Action Inserts a single unicode character.
540 \begin_layout Description
541 Syntax unicode-insert <CHAR>
544 \begin_layout Description
545 Params <CHAR>: The character to insert, given as its code point, in hexadecimal.
549 \begin_layout Description
550 Sample unicode-insert 0x0100
553 \begin_layout Description
554 Origin Lgb, 22 Oct 2006
557 \begin_layout Subsection*
561 \begin_layout Description
562 Action Inserts a new listings inset.
566 \begin_layout Description
567 Syntax listing-insert
570 \begin_layout Description
571 Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
574 \begin_layout Subsection*
578 \begin_layout Description
579 Action Insert a tab into a listings inset.
583 \begin_layout Description
584 Notion It also works on a selection.
588 \begin_layout Description
592 \begin_layout Description
593 Origin vfvanravesteijn, Sep 30 2008
596 \begin_layout Subsection*
600 \begin_layout Description
601 Action Delete a tab or up to an equivalent amount of spaces from a listings
606 \begin_layout Description
607 Notion It also works on a selection - it removes a tab or spaces from the
608 beginning of each line spanned by the selection.
609 This is useful if you want to indent/unindent multiple lines in one action.
613 \begin_layout Description
617 \begin_layout Description
618 Origin vfvanravesteijn, Sep 30 2008
621 \begin_layout Subsection*
625 \begin_layout Description
626 Action Inserts quotes according to the type and quote-language preference.
630 \begin_layout Description
631 Action Currently English, Swedish, German, Polish, French, Danish quotes
636 \begin_layout Description
637 Syntax quote-insert [<TYPE>]
640 \begin_layout Description
641 Params <TYPE>: 'single' for single quotes, otherwise double quotes will
646 \begin_layout Subsection*
650 \begin_layout Description
651 Action Displays shortcuts, lyxrc, package and textclass availability and
652 menu information in a non-editable boxed InsetText.
656 \begin_layout Description
657 Notion Apart from lfun arguments you can use the following method:
658 \begin_inset Newline newline
662 input the type and argument of this inset, e.
663 \begin_inset space \thinspace{}
667 "menu paste", in the work area.
669 \begin_inset Newline newline
673 select the text and run info-insert lfun.
677 \begin_layout Description
678 Syntax info-insert <TYPE> <ARG>
681 \begin_layout Description
682 Params <TYPE>: shortcut|lyxrc|package|textclass|menu|buffer
683 \begin_inset Newline newline
686 <ARG>: argument for a given type.
687 Look into InsetInfo.h for detailed description.
691 \begin_layout Description
692 Origin bpeng, 7 Oct 2007
695 \begin_layout Subsection*
699 \begin_layout Description
700 Action Inserts branch inset.
704 \begin_layout Description
705 Syntax branch-insert <BRANCH-NAME>
708 \begin_layout Description
709 Origin vermeer, 17 Aug 2003
712 \begin_layout Subsection*
716 \begin_layout Description
717 Action Inserts Box inset.
721 \begin_layout Description
722 Syntax box-insert [<TYPE>]
725 \begin_layout Description
726 Params <TYPE>: Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox
728 \begin_inset Newline newline
731 Framed is the default one.
735 \begin_layout Description
736 Origin vermeer, 7 Oct 2003
739 \begin_layout Subsection*
743 \begin_layout Description
744 Action Inserts CharStyle, Custom inset or XML short element.
748 \begin_layout Description
749 Notion Look into the Customization manual for more information about these
752 \begin_inset Newline newline
755 To make this command enabled the layout file for the document class you're
756 using has to load the character styles.
757 There are a few contained in the Logical Markup module.
758 You can also of course create some yourself.
760 \begin_inset Newline newline
763 For dissolving the element see LFUN_INSET_DISSOLVE.
767 \begin_layout Description
768 Syntax flex-insert <TYPE:Name>
771 \begin_layout Description
772 Params TYPE: CharStyle|Custom|Element|Standard
773 \begin_inset Newline newline
776 Identifies whether this is a Character Style, a Custom Inset or an XML
777 Element, and which dynamical sub-menu this flex inset is in on the LyX
779 If Standard (currently unused): none of these.
780 Name: This name must be defined either in your layout file or imported
783 \begin_inset Newline newline
786 InsetLayout <TYPE:Name>
789 \begin_layout Description
790 Sample flex-insert CharStyle:Code
793 \begin_layout Subsection*
797 \begin_layout Description
798 Action Inserts the given string (accordingly to the correct keymap).
802 \begin_layout Description
803 Notion Automatically replace the currently selected text.
804 Depends on lyxrc settings "auto_region_delete".
808 \begin_layout Description
809 Syntax self-insert <STRING>
812 \begin_layout Subsection*
816 \begin_layout Description
817 Action Inserts one of horizontal space insets.
821 \begin_layout Description
822 Syntax space-insert <NAME> [<LEN>]
825 \begin_layout Description
826 Params <NAME>: normal, protected, thin, quad, qquad, enspace, enskip, negthinspa
827 ce, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
828 \begin_inset Newline newline
831 <LEN>: length for custom spaces (hspace, hspace* for protected)
834 \begin_layout Description
835 Origin JSpitzm, 20 May 2003, Mar 17 2008
838 \begin_layout Subsection*
839 LFUN_HYPERLINK_INSERT
842 \begin_layout Description
843 Action Inserts hyperlinks into the document (clickable in pdf output).
847 \begin_layout Description
848 Notion Hyperlink target can be set via selection + hyperlink-insert function.
852 \begin_layout Description
853 Syntax href-insert [<TARGET>]
856 \begin_layout Description
857 Origin CFO-G, 21 Nov 1997
860 \begin_layout Subsection*
861 LFUN_SPECIALCHAR_INSERT
864 \begin_layout Description
865 Action Inserts various characters into the document.
869 \begin_layout Description
870 Syntax specialchar-insert <CHAR>
873 \begin_layout Description
874 Params <CHAR>: hyphenation, ligature-break, slash, nobreakdash, dots, end-of-sen
875 tence, menu-separator.
879 \begin_layout Description
880 Origin JSpitzm, 6 Dec 2007
883 \begin_layout Subsection*
887 \begin_layout Description
888 Action Inserts table of contents.
892 \begin_layout Description
896 \begin_layout Description
897 Origin Lgb, 27 May 97
900 \begin_layout Subsection*
904 \begin_layout Description
905 Action Start (or remove) Appendix on the given cursor position.
909 \begin_layout Description
913 \begin_layout Description
914 Origin ettrich, 5 May 1998
917 \begin_layout Subsection*
921 \begin_layout Description
922 Action Inserts Index entry.
926 \begin_layout Description
927 Notion It automatically takes the word on the cursor position.
931 \begin_layout Description
935 \begin_layout Description
936 Origin leeming, 3 Aug 2000
939 \begin_layout Subsection*
943 \begin_layout Description
944 Action Inserts list of Index entries on a new page.
948 \begin_layout Description
952 \begin_layout Description
953 Origin Lgb, 27 Feb 1997
956 \begin_layout Subsection*
960 \begin_layout Description
961 Action Inserts Nomenclature entry.
965 \begin_layout Description
966 Notion It automatically takes the word on the cursor position if no symbol
971 \begin_layout Description
972 Syntax nomencl-insert [<SYMBOL>]
975 \begin_layout Description
976 Origin Ugras, 4 Nov 2006
979 \begin_layout Subsection*
980 LFUN_NOMENCLATURE_PRINT
983 \begin_layout Description
984 Action Inserts list of Nomenclature entries.
988 \begin_layout Description
989 Syntax nomenclature-print
992 \begin_layout Description
993 Origin Ugras, 4 Nov 2006
996 \begin_layout Subsection*
1000 \begin_layout Description
1001 Action Inserts Note on the current cursor postion, move selection inside
1006 \begin_layout Description
1007 Syntax note-insert [<TYPE>]
1010 \begin_layout Description
1011 Params <TYPE>: <Note|Greyedout|Comment> default: Note
1014 \begin_layout Subsection*
1018 \begin_layout Description
1019 Action Moves the cursor to the begining of next Note inset.
1023 \begin_layout Description
1027 \begin_layout Subsection*
1031 \begin_layout Description
1032 Action Changes all Note insets of a particular type (source) to a different
1033 type (target) fot the current document.
1037 \begin_layout Description
1038 Syntax notes-mutate <SOURCE> <TARGET>
1041 \begin_layout Description
1042 Params <SOURCE/TARGET>: Note|Comment|Greyedout
1045 \begin_layout Description
1046 Origin sanda, 18 Jun 2008
1049 \begin_layout Subsection*
1053 \begin_layout Description
1054 Action Inserts a line break or new line.
1058 \begin_layout Description
1059 Syntax newline-insert [<ARG>]
1062 \begin_layout Description
1063 Params <ARG>: <newline|linebreak> default: newline
1066 \begin_layout Description
1067 Origin JSpitzm, 25 Mar 2008
1070 \begin_layout Subsection*
1074 \begin_layout Description
1075 Action Clears the selection.
1076 If no text is selected call LFUN_FINISHED_FORWARD.
1080 \begin_layout Description
1084 \begin_layout Description
1085 Origin Lgb, 17 May 2001
1088 \begin_layout Subsection*
1092 \begin_layout Description
1093 Action Moves the cursor one line in downward direction.
1097 \begin_layout Description
1101 \begin_layout Subsection*
1105 \begin_layout Description
1106 Action Moves the cursor one line in upward direction.
1110 \begin_layout Description
1114 \begin_layout Subsection*
1118 \begin_layout Description
1119 Action Moves the cursor one line in downward direction adding the current
1120 position to the selection.
1124 \begin_layout Description
1128 \begin_layout Subsection*
1132 \begin_layout Description
1133 Action Moves the cursor one line in upward direction adding the current
1134 position to the selection.
1138 \begin_layout Description
1142 \begin_layout Subsection*
1146 \begin_layout Description
1147 Action Moves the cursor one page in downward direction.
1151 \begin_layout Description
1155 \begin_layout Subsection*
1159 \begin_layout Description
1160 Action Moves the cursor one page in upward direction.
1164 \begin_layout Description
1168 \begin_layout Subsection*
1169 LFUN_SCREEN_DOWN_SELECT
1172 \begin_layout Description
1173 Action Moves the cursor one screen in downward direction adding the current
1174 position to the selection.
1178 \begin_layout Description
1179 Syntax screen-down-select
1182 \begin_layout Subsection*
1183 LFUN_SCREEN_UP_SELECT
1186 \begin_layout Description
1187 Action Moves the cursor one page in upward direction adding the current
1188 position to the selection.
1192 \begin_layout Description
1193 Syntax screen-up-select
1196 \begin_layout Subsection*
1200 \begin_layout Description
1201 Action Scroll the buffer view.
1205 \begin_layout Description
1206 Notion Only scrolls the screen up or down; does not move the cursor.
1210 \begin_layout Description
1211 Syntax scroll <TYPE> <QUANTITY>
1214 \begin_layout Description
1215 Params <TYPE>: line|page
1216 \begin_inset Newline newline
1219 <QUANTITY>: up|down|<number>
1222 \begin_layout Description
1223 Origin Abdel, Dec 27 2007
1226 \begin_layout Subsection*
1227 LFUN_SCREEN_RECENTER
1230 \begin_layout Description
1231 Action Recenters the screen on the current cursor position.
1235 \begin_layout Description
1236 Syntax screen-recenter
1239 \begin_layout Subsection*
1243 \begin_layout Description
1244 Action Moves the cursor one position logically backwards.
1248 \begin_layout Description
1249 Notion This is not the action which should be bound to the arrow keys, because
1250 backwards may be left or right, depending on the language.
1251 The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions,
1252 which in turn may employ this one.
1256 \begin_layout Description
1257 Syntax char-backward
1260 \begin_layout Subsection*
1261 LFUN_CHAR_BACKWARD_SELECT
1264 \begin_layout Description
1265 Action Moves the cursor one position logically backwards, adding traversed
1266 position to the selection.
1270 \begin_layout Description
1271 Notion See also LFUN_CHAR_BACKWARD.
1275 \begin_layout Description
1276 Syntax char-backward-select
1279 \begin_layout Subsection*
1280 LFUN_CHAR_DELETE_BACKWARD
1283 \begin_layout Description
1284 Action Deletes one character in the backward direction (usually the "BackSpace"
1289 \begin_layout Description
1290 Syntax char-delete-backward
1293 \begin_layout Subsection*
1294 LFUN_CHAR_DELETE_FORWARD
1297 \begin_layout Description
1298 Action Deletes one character in the backward direction (usually the "Delete"
1303 \begin_layout Description
1304 Syntax char-delete-forward
1307 \begin_layout Subsection*
1311 \begin_layout Description
1312 Action Moves the cursor one position logically forward.
1316 \begin_layout Description
1317 Notion This is not the action which should be bound to the arrow keys, because
1318 forward may be left or right, depending on the language.
1319 The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions,
1320 which in turn may employ this one.
1324 \begin_layout Description
1328 \begin_layout Subsection*
1329 LFUN_CHAR_FORWARD_SELECT
1332 \begin_layout Description
1333 Action Moves the cursor one position logically forward, adding traversed
1334 position to the selection.
1338 \begin_layout Description
1339 Notion See also LFUN_CHAR_FORWARD.
1343 \begin_layout Description
1344 Syntax char-forward-select
1347 \begin_layout Subsection*
1351 \begin_layout Description
1352 Action Moves the cursor one position "to the left".
1356 \begin_layout Description
1357 Notion This is the action which should be taken when the "left" key is pressed.
1358 Generally, it moves the cursor one position to the left.
1359 However, in Bidi text this become slightly more complicated, and there
1360 are different modes of cursor movement.
1361 In "visual mode", this moves left, plain and simple.
1362 In "logical mode", movement is logically forward in RTL paragraphs, and
1363 logically backwards in LTR paragraphs.
1367 \begin_layout Description
1371 \begin_layout Subsection*
1372 LFUN_CHAR_LEFT_SELECT
1375 \begin_layout Description
1376 Action Moves the cursor one position "to the left", adding traversed position
1381 \begin_layout Description
1382 Notion See also LFUN_CHAR_LEFT for exact details of the movement.
1386 \begin_layout Description
1387 Syntax char-left-select
1390 \begin_layout Subsection*
1394 \begin_layout Description
1395 Action Moves the cursor one position "to the right".
1399 \begin_layout Description
1400 Notion This is the action which should be taken when the "right" key is
1402 Generally, it moves the cursor one position to the right.
1403 However, in Bidi text this become slightly more complicated, and there
1404 are different modes of cursor movement.
1405 In "visual mode", this moves right, plain and simple.
1406 In "logical mode", movement is logically forward in LTR paragraphs, and
1407 logically backwards in RTL paragraphs.
1411 \begin_layout Description
1415 \begin_layout Subsection*
1416 LFUN_CHAR_RIGHT_SELECT
1419 \begin_layout Description
1420 Action Moves the cursor one position "to the right", adding traversed position
1425 \begin_layout Description
1426 Notion See also LFUN_CHAR_RIGHT for exact details of the movement.
1430 \begin_layout Description
1431 Syntax char-right-select
1434 \begin_layout Subsection*
1438 \begin_layout Description
1439 Action Moves the cursor to the logically previous beginning of a word.
1443 \begin_layout Description
1444 Notion This is not the action which should be bound to the arrow keys, because
1445 backwards may be left or right, depending on the language.
1446 The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions,
1447 which in turn may employ this one.
1451 \begin_layout Description
1452 Syntax word-backward
1455 \begin_layout Subsection*
1456 LFUN_WORD_BACKWARD_SELECT
1459 \begin_layout Description
1460 Action Moves the cursor to the logically previous beginning of a word, adding
1461 the logically traversed text to the selection.
1465 \begin_layout Description
1466 Notion See also LFUN_WORD_BACKWARD.
1470 \begin_layout Description
1471 Syntax word-backward-select
1474 \begin_layout Subsection*
1475 LFUN_WORD_DELETE_BACKWARD
1478 \begin_layout Description
1479 Action Deletes characters to the begining of the word (usually the "C+BackSpace"
1484 \begin_layout Description
1485 Syntax word-delete-backward
1488 \begin_layout Subsection*
1489 LFUN_WORD_DELETE_FORWARD
1492 \begin_layout Description
1493 Action Deletes characters to the end of the word (usually the "C+Delete"
1498 \begin_layout Description
1499 Syntax word-delete-forward
1502 \begin_layout Subsection*
1503 LFUN_WORD_FIND_FORWARD
1506 \begin_layout Description
1507 Action Search for a given string in forward direction.
1511 \begin_layout Description
1512 Notion Case sensitive, match words.
1513 If no argument given, last search repeated.
1517 \begin_layout Description
1518 Syntax word-find-forward [<STRING>]
1521 \begin_layout Description
1522 Origin Etienne, 16 Feb 1998
1525 \begin_layout Subsection*
1526 LFUN_WORD_FIND_BACKWARD
1529 \begin_layout Description
1530 Action Search for a given string in backward direction.
1534 \begin_layout Description
1535 Notion Case sensitive, match words.
1536 If no argument given, last search repeated.
1540 \begin_layout Description
1541 Syntax word-find-backward [<STRING>]
1544 \begin_layout Description
1545 Origin Etienne, 20 Feb 1998
1548 \begin_layout Subsection*
1552 \begin_layout Description
1553 Action Search for next occurence of a string.
1557 \begin_layout Description
1558 Syntax word-find [<DATA>]
1561 \begin_layout Description
1562 Params <DATA>: data encoded from Find dialog (see lyx::find2string()).
1563 If no parameter is given, search with last find-dialog data is used for
1565 \begin_inset space \thinspace{}
1573 \begin_layout Description
1574 Origin Andre, Jan 7 2004
1577 \begin_layout Subsection*
1581 \begin_layout Description
1582 Action Replace a string in the document.
1586 \begin_layout Description
1587 Syntax word-replace [<DATA>]
1590 \begin_layout Description
1591 Params <DATA>: data is of the form "<search>
1592 \begin_inset Newline newline
1596 \begin_inset Newline newline
1599 <casesensitive> <matchword> <all> <forward>"
1602 \begin_layout Description
1603 Origin Andre, Jan 7 2004
1606 \begin_layout Subsection*
1610 \begin_layout Description
1611 Action Moves the cursor to the logically next beginning of a word.
1615 \begin_layout Description
1616 Notion This is not the action which should be bound to the arrow keys, because
1617 forward may be left or right, depending on the language.
1618 The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions,
1619 which in turn may employ this one.
1623 \begin_layout Description
1627 \begin_layout Subsection*
1628 LFUN_WORD_FORWARD_SELECT
1631 \begin_layout Description
1632 Action Moves the cursor to the logically next beginning of a word, adding
1633 the logically traversed text to the selection.
1637 \begin_layout Description
1638 Notion See also LFUN_WORD_FORWARD.
1642 \begin_layout Description
1643 Syntax word-forward-select
1646 \begin_layout Subsection*
1650 \begin_layout Description
1651 Action Moves the cursor to the next beginning of a word "on the left".
1655 \begin_layout Description
1656 Notion This is the action which should be taken when the (e.
1657 \begin_inset space \thinspace{}
1660 g., ctrl-) "left" key is pressed.
1661 Generally, it moves the cursor to the next beginning of a word on the left.
1662 However, in Bidi text this become slightly more complicated, and there
1663 are different modes of cursor movement.
1664 In "visual mode", this moves left, plain and simple.
1665 In "logical mode", movement is logically forward in RTL paragraphs, and
1666 logically backwards in LTR paragraphs.
1670 \begin_layout Description
1674 \begin_layout Description
1675 Origin dov, 28 Oct 2007
1678 \begin_layout Subsection*
1679 LFUN_WORD_LEFT_SELECT
1682 \begin_layout Description
1683 Action Moves the cursor to the next beginning of a word "on the left", adding
1684 *logically* traversed text to the selection.
1688 \begin_layout Description
1689 Notion See also LFUN_WORD_LEFT for exact details of the movement.
1693 \begin_layout Description
1694 Syntax word-left-select
1697 \begin_layout Description
1698 Origin dov, 28 Oct 2007
1701 \begin_layout Subsection*
1705 \begin_layout Description
1706 Action Moves the cursor to the next beginning of a word "on the right".
1710 \begin_layout Description
1711 Notion This is the action which should be taken when the (e.
1712 \begin_inset space \thinspace{}
1715 g., ctrl-) "right" key is pressed.
1716 Generally, it moves the cursor to the next beginning of a word on the right.
1717 However, in Bidi text this become slightly more complicated, and there
1718 are different modes of cursor movement.
1719 In "visual mode", this moves right, plain and simple.
1720 In "logical mode", movement is logically forward in LTR paragraphs, and
1721 logically backwards in RTL paragraphs.
1725 \begin_layout Description
1729 \begin_layout Description
1730 Origin dov, 28 Oct 2007
1733 \begin_layout Subsection*
1734 LFUN_WORD_RIGHT_SELECT
1737 \begin_layout Description
1738 Action Moves the cursor to the next beginning of a word "on the right",
1739 adding *logically* traversed text to the selection.
1743 \begin_layout Description
1744 Notion See also LFUN_WORD_RIGHT for exact details of the movement.
1748 \begin_layout Description
1749 Syntax word-right-select
1752 \begin_layout Description
1753 Origin dov, 28 Oct 2007
1756 \begin_layout Subsection*
1760 \begin_layout Description
1761 Action Puts the word where the cursor stands into the selection.
1765 \begin_layout Description
1769 \begin_layout Description
1770 Origin Andre, 11 Sep 2002
1773 \begin_layout Subsection*
1774 LFUN_WORD_CAPITALIZE
1777 \begin_layout Description
1778 Action Capitalizes the words in the selection (i.
1779 \begin_inset space \thinspace{}
1783 the first letters) or the letter on the cursor position.
1787 \begin_layout Description
1788 Syntax word-capitalize
1791 \begin_layout Subsection*
1795 \begin_layout Description
1796 Action Change the words in the selection or from the cursor position to
1797 the end of word to the upper case.
1801 \begin_layout Description
1805 \begin_layout Subsection*
1809 \begin_layout Description
1810 Action Change the words in the selection or from the cursor position to
1811 the end of word to the lower case.
1815 \begin_layout Description
1819 \begin_layout Subsection*
1820 LFUN_THESAURUS_ENTRY
1823 \begin_layout Description
1824 Action Look up thesaurus entries with respect to the word under the cursor.
1828 \begin_layout Description
1829 Syntax thesaurus-entry
1832 \begin_layout Description
1833 Origin Levon, 20 Jul 2001
1836 \begin_layout Subsection*
1840 \begin_layout Description
1841 Action Move the cursor to the beginning of the document.
1845 \begin_layout Description
1849 \begin_layout Subsection*
1850 LFUN_BUFFER_BEGIN_SELECT
1853 \begin_layout Description
1854 Action Move the cursor to the beginning of the document adding the traversed
1855 text to the selection.
1859 \begin_layout Description
1860 Syntax buffer-begin-select
1863 \begin_layout Subsection*
1867 \begin_layout Description
1868 Action Move the cursor to the end of the document.
1872 \begin_layout Description
1876 \begin_layout Subsection*
1877 LFUN_BUFFER_END_SELECT
1880 \begin_layout Description
1881 Action Move the cursor to the end of the document adding the traversed text
1886 \begin_layout Description
1887 Syntax buffer-end-select
1890 \begin_layout Subsection*
1894 \begin_layout Description
1895 Action Move the cursor to the begining of the (screen) line.
1899 \begin_layout Description
1903 \begin_layout Subsection*
1904 LFUN_LINE_BEGIN_SELECT
1907 \begin_layout Description
1908 Action Move the cursor to the beginning of the (screen) line adding the
1909 traversed text to the selection.
1913 \begin_layout Description
1914 Syntax line-begin-select
1917 \begin_layout Subsection*
1921 \begin_layout Description
1922 Action Move the cursor to the end of the (screen) line.
1926 \begin_layout Description
1930 \begin_layout Subsection*
1931 LFUN_LINE_END_SELECT
1934 \begin_layout Description
1935 Action Move the cursor to the end of the (screen) line adding the traversed
1936 text to the selection.
1940 \begin_layout Description
1941 Syntax line-end-select
1944 \begin_layout Subsection*
1948 \begin_layout Description
1949 Action Deletes the letters to the end of the (screen) line or deletes the
1954 \begin_layout Description
1955 Syntax line-delete-forward
1958 \begin_layout Subsection*
1962 \begin_layout Description
1963 Action Copies to the clipboard the last edit.
1967 \begin_layout Description
1971 \begin_layout Subsection*
1975 \begin_layout Description
1976 Action Cuts to the clipboard.
1980 \begin_layout Description
1984 \begin_layout Subsection*
1988 \begin_layout Description
1989 Action Pastes material from the active clipboard.
1993 \begin_layout Description
1994 Syntax paste [<TYPE>]
1997 \begin_layout Description
1998 Params <TYPE>: pdf|png|jpeg|linkback
2001 \begin_layout Subsection*
2002 LFUN_CLIPBOARD_PASTE
2005 \begin_layout Description
2006 Action Pastes text from the active clipboard.
2010 \begin_layout Description
2011 Syntax clipboard-paste [<ARG>]
2014 \begin_layout Description
2015 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.
2016 \begin_inset space \thinspace{}
2024 \begin_layout Description
2025 Origin baum, 10 Jul 2006
2028 \begin_layout Subsection*
2029 LFUN_PRIMARY_SELECTION_PASTE
2032 \begin_layout Description
2033 Action Pastes the currently text selected text.
2037 \begin_layout Description
2038 Notion Primary selection mechanism is linux-only thing.
2042 \begin_layout Description
2043 Syntax primary-selection-paste [<ARG>]
2046 \begin_layout Description
2047 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.
2048 \begin_inset space \thinspace{}
2056 \begin_layout Subsection*
2060 \begin_layout Description
2061 Action Undoes the last edit.
2065 \begin_layout Description
2069 \begin_layout Subsection*
2073 \begin_layout Description
2074 Action Redoes the last thing undone.
2078 \begin_layout Description
2082 \begin_layout Subsection*
2086 \begin_layout Description
2087 Action Repeat the given command.
2091 \begin_layout Description
2092 Syntax repeat <COUNT> <LFUN-COMMAND>
2095 \begin_layout Description
2096 Origin Andre, , 27 Oct 2003
2099 \begin_layout Subsection*
2100 LFUN_CHARS_TRANSPOSE
2103 \begin_layout Description
2104 Action Transposes the character at the cursor with the one before it.
2108 \begin_layout Description
2109 Syntax chars-transpose
2112 \begin_layout Description
2113 Origin Lgb, 25 Apr 2001
2116 \begin_layout Subsection*
2117 LFUN_DEPTH_DECREMENT
2120 \begin_layout Description
2121 Action Decrease the nesting depth of the (selected) paragraph(s) inside
2126 \begin_layout Description
2127 Syntax depth-decrement
2130 \begin_layout Subsection*
2131 LFUN_DEPTH_INCREMENT
2134 \begin_layout Description
2135 Action Increase the nesting depth of the (selected) paragraph(s) inside
2140 \begin_layout Description
2141 Syntax depth-increment
2144 \begin_layout Subsection*
2148 \begin_layout Description
2149 Action Toggles the bold font (selection-wise) using mathbf in math.
2153 \begin_layout Description
2157 \begin_layout Subsection*
2158 LFUN_FONT_BOLDSYMBOL
2161 \begin_layout Description
2162 Action Toggles the bold font (selection-wise) using boldsymbol in math.
2166 \begin_layout Description
2167 Syntax font-boldsymbol
2170 \begin_layout Subsection*
2171 LFUN_FONT_TYPEWRITER
2174 \begin_layout Description
2175 Action Toggles the typewriter family font (selection-wise).
2179 \begin_layout Description
2180 Syntax font-typewriter
2183 \begin_layout Subsection*
2187 \begin_layout Description
2188 Action Toggles underline in the font (selection-wise).
2192 \begin_layout Description
2193 Syntax font-underline
2196 \begin_layout Subsection*
2200 \begin_layout Description
2201 Action Toggles the emphasis font style (selection-wise).
2205 \begin_layout Description
2209 \begin_layout Subsection*
2213 \begin_layout Description
2214 Action Toggles Noun text style font (selection-wise).
2218 \begin_layout Description
2222 \begin_layout Subsection*
2226 \begin_layout Description
2227 Action Toggles Roman family font (selection-wise).
2231 \begin_layout Description
2235 \begin_layout Subsection*
2239 \begin_layout Description
2240 Action Toggles Sans Serif family font (selection-wise).
2244 \begin_layout Description
2248 \begin_layout Subsection*
2252 \begin_layout Description
2253 Action Toggles Fraktur family font (math-mode, selection-wise).
2257 \begin_layout Description
2261 \begin_layout Description
2262 Origin vermeer, 10 Jan 2002
2265 \begin_layout Subsection*
2269 \begin_layout Description
2270 Action Toggles Italics font shape (math-mode, selection-wise).
2274 \begin_layout Description
2278 \begin_layout Description
2279 Origin vermeer, 10 Jan 2002
2282 \begin_layout Subsection*
2286 \begin_layout Description
2287 Action Reverts the settings of the font to the default values (selection-wise).
2291 \begin_layout Description
2295 \begin_layout Subsection*
2299 \begin_layout Description
2300 Action Sets font size according to lyx format string.
2304 \begin_layout Description
2305 Syntax font-size <SIZE>
2308 \begin_layout Description
2309 Params <SIZE>: tiny|scriptsize|footnotesize|small|normal|large|larger|
2310 \begin_inset Newline newline
2313 largest|huge|giant|increase|decrease|default
2316 \begin_layout Subsection*
2317 LFUN_TEXTSTYLE_APPLY
2320 \begin_layout Description
2321 Action Toggle user-defined (=last-time used) text style.
2325 \begin_layout Description
2326 Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically
2327 trigerred when using Text Style dialog.
2331 \begin_layout Description
2332 Syntax textstyle-apply
2335 \begin_layout Description
2336 Origin leeming, 12 Mar 2003
2339 \begin_layout Subsection*
2340 LFUN_TEXTSTYLE_UPDATE
2343 \begin_layout Description
2344 Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APP
2349 \begin_layout Description
2350 Syntax textstyle-update <FONT_INFO>
2353 \begin_layout Description
2354 Params <FONT_INFO>: specifies font atributes, e.
2355 \begin_inset space \thinspace{}
2359 family, series, shape, size, emph, noun, underbar, number, color, language,
2362 \begin_inset Newline newline
2365 Use lyx -dbg action for exact syntax of text-style dialog parameters.
2369 \begin_layout Description
2370 Origin leeming, 12 Mar 2003
2373 \begin_layout Subsection*
2374 LFUN_SCREEN_FONT_UPDATE
2377 \begin_layout Description
2378 Action Update fonts and its metrics.
2382 \begin_layout Description
2383 Notion Automatically called after zoom, dpi, font names, or norm change.
2387 \begin_layout Description
2388 Syntax screen-font-update
2391 \begin_layout Description
2392 Origin ARRae, 13 Aug 2000
2395 \begin_layout Subsection*
2399 \begin_layout Description
2400 Action Returns the info about the current font.
2404 \begin_layout Description
2408 \begin_layout Subsection*
2409 LFUN_CITATION_INSERT
2412 \begin_layout Description
2413 Action Inserts citation from loaded citation database.
2417 \begin_layout Description
2418 Syntax citation-insert [<KEY>[|<TEXT_BEFORE>]]
2421 \begin_layout Description
2422 Params <KEY>: Citation (shortcut listed in available citations).
2424 \begin_inset Newline newline
2427 <TEXT_BEFORE>: text which should appear before citation.
2431 \begin_layout Description
2432 Origin AAS, 97-02-23
2435 \begin_layout Subsection*
2436 LFUN_BIBTEX_DATABASE_ADD
2439 \begin_layout Description
2440 Action Adds database, which will be used for bibtex citations.
2444 \begin_layout Description
2445 Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX
2446 bibliography) found from the cursor postion.
2450 \begin_layout Description
2451 Syntax bibtex-database-add <DATABASE-NAME>
2454 \begin_layout Description
2455 Origin Ale, 30 May 1997
2458 \begin_layout Subsection*
2459 LFUN_BIBTEX_DATABASE_DEL
2462 \begin_layout Description
2463 Action Adds database, which will be used for bibtex citations.
2467 \begin_layout Description
2468 Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTe
2469 X bibliography) found from the cursor postion.
2473 \begin_layout Description
2474 Syntax bibtex-database-del <DATABASE-NAME>
2477 \begin_layout Description
2478 Origin Ale, 30 May 1997
2481 \begin_layout Subsection*
2485 \begin_layout Description
2486 Action Sets the layout (that is, environment) for the current paragraph.
2490 \begin_layout Description
2491 Syntax layout <LAYOUT>
2494 \begin_layout Description
2495 Params <LAYOUT>: the layout to use
2498 \begin_layout Subsection*
2499 LFUN_LAYOUT_PARAGRAPH
2502 \begin_layout Description
2503 Action Launches the paragraph settings dialog.
2507 \begin_layout Description
2508 Syntax layout-paragraph
2511 \begin_layout Subsection*
2515 \begin_layout Description
2516 Action Launches the tabular settings dialog.
2520 \begin_layout Description
2521 Syntax layout-tabular
2524 \begin_layout Description
2525 Origin Jug, 31 Jul 2000
2528 \begin_layout Subsection*
2529 LFUN_DROP_LAYOUTS_CHOICE
2532 \begin_layout Description
2533 Action Displays list of layout choices.
2537 \begin_layout Description
2538 Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox
2539 allowing for choice of layout.
2543 \begin_layout Description
2544 Syntax drop-layouts-choice
2547 \begin_layout Subsection*
2548 LFUN_LAYOUT_MODULES_CLEAR
2551 \begin_layout Description
2552 Action Clears the module list.
2556 \begin_layout Description
2557 Notion Clears the list of included modules for the current buffer.
2561 \begin_layout Description
2562 Syntax layout-modules-clear
2565 \begin_layout Description
2566 Origin rgh, 25 August 2007
2569 \begin_layout Subsection*
2570 LFUN_LAYOUT_MODULE_ADD
2573 \begin_layout Description
2574 Action Adds a module.
2578 \begin_layout Description
2579 Notion Adds a module to the list of included modules for the current buffer.
2583 \begin_layout Description
2584 Syntax layout-module-add <MODULE>
2587 \begin_layout Description
2588 Params <MODULE>: the module to be added
2591 \begin_layout Description
2592 Origin rgh, 25 August 2007
2595 \begin_layout Subsection*
2599 \begin_layout Description
2600 Action Reloads layout information.
2604 \begin_layout Description
2605 Notion Reloads all layout information for the current buffer from disk,
2606 thus recognizing any changes that have been made to layout files on the
2608 This is intended to be used only by layout developers and should not be
2609 used when one is trying to do actual work.
2613 \begin_layout Description
2614 Syntax layout-reload
2617 \begin_layout Description
2618 Origin rgh, 3 September 2007
2621 \begin_layout Subsection*
2622 LFUN_TEXTCLASS_APPLY
2625 \begin_layout Description
2626 Action Sets the text class for the current buffer.
2630 \begin_layout Description
2631 Syntax textclass-apply <TEXTCLASS>
2634 \begin_layout Description
2635 Params <TEXTCLASS>: the textclass to set.
2636 Note that this must be the filename, minus the ".layout" extension.
2640 \begin_layout Subsection*
2644 \begin_layout Description
2645 Action Loads information for a textclass from disk.
2649 \begin_layout Description
2650 Syntax textclass-load <TEXTCLASS>
2653 \begin_layout Description
2654 Params <TEXTCLASS>: the textclass to load.
2655 Note that this must be the filename, minus the ".layout" extension.
2659 \begin_layout Subsection*
2663 \begin_layout Description
2664 Action Disable selecting of text-region.
2668 \begin_layout Description
2672 \begin_layout Subsection*
2676 \begin_layout Description
2677 Action Enable selecting of text-region.
2681 \begin_layout Description
2682 Notion After enabling you can simply move arrow keys to get selected region.
2686 \begin_layout Description
2690 \begin_layout Subsection*
2694 \begin_layout Description
2695 Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
2699 \begin_layout Description
2703 \begin_layout Description
2704 Origin Andre, May 5 2006
2707 \begin_layout Subsection*
2711 \begin_layout Description
2712 Action Inserts math delimiters (e.
2713 \begin_inset space \thinspace{}
2717 parentheses, brackets) enclosing expression.
2721 \begin_layout Description
2722 Syntax math-delim [<LEFT>] [<RIGHT>]
2725 \begin_layout Description
2726 Params <LEFT/RIGHT>: Delimiters to be used.
2727 Each delimiter can be specified by either a LaTeX name or a valid character.
2728 ( is the default letter.
2732 \begin_layout Description
2733 Sample math-delim { rangle
2736 \begin_layout Description
2737 Origin Alejandro, 18 Jun 1996
2740 \begin_layout Subsection*
2744 \begin_layout Description
2745 Action Inserts math fixed size delimiters (e.
2746 \begin_inset space \thinspace{}
2750 parentheses, brackets) enclosing expression.
2754 \begin_layout Description
2755 Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
2758 \begin_layout Description
2759 Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
2760 \begin_inset Newline newline
2763 <L/RDELIM>: TeX code for delimiter.
2764 See Delimiter dialog for delimiters to be used.
2768 \begin_layout Description
2769 Sample math-bigdelim "Bigl" "Downarrow" "Bigr" "}"
2772 \begin_layout Description
2773 Origin Enrico & Georg, 7 May 2006
2776 \begin_layout Subsection*
2780 \begin_layout Description
2781 Action Creates a new displayed equation in text mode.
2782 Toggles inlined/display formula in math mode.
2786 \begin_layout Description
2787 Syntax math-display [<ARG>]
2790 \begin_layout Description
2791 Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating
2792 new equation from the text mode.
2796 \begin_layout Description
2797 Origin Alejandro, 18 Jun 1996
2800 \begin_layout Subsection*
2804 \begin_layout Description
2805 Action Inserts math objects and symbols.
2809 \begin_layout Description
2810 Syntax math-insert <ARG>
2813 \begin_layout Description
2814 Params <ARG>: Symbol or LaTeX code to be inserted.
2818 \begin_layout Subsection*
2822 \begin_layout Description
2823 Action Enters subscript expression in math expression.
2827 \begin_layout Description
2828 Syntax math-subscript
2831 \begin_layout Description
2832 Origin vermeer, 12 Dec 2001
2835 \begin_layout Subsection*
2836 LFUN_MATH_SUPERSCRIPT
2839 \begin_layout Description
2840 Action Enters subscript expression in math expression.
2844 \begin_layout Description
2845 Syntax math-superscript
2848 \begin_layout Description
2849 Origin vermeer, 12 Dec 2001
2852 \begin_layout Subsection*
2856 \begin_layout Description
2857 Action Toggles the position of the limits from above/below to the right
2858 side an vice versa in integral symbol, a limit, a summation, etc.
2862 \begin_layout Description
2863 Notion Put the cursor before the symbol with the limits and then invoke
2868 \begin_layout Description
2869 Syntax math-limits [<STATE>]
2872 \begin_layout Description
2873 Params <STATE>: limits|nolimits
2876 \begin_layout Subsection*
2880 \begin_layout Description
2881 Action Inserts a math macro definition at the cursor position in the text.
2885 \begin_layout Description
2886 Syntax math-macro <NAME> [<NARGS>] [def]
2889 \begin_layout Description
2890 Params <NAME>: The name of the macro, e.
2891 \begin_inset space \thinspace{}
2896 <NARGS>: The number of parameters of the macro.
2898 "def": Has no effect anymore, just for compatibility with former LyX versions.
2902 \begin_layout Description
2903 Origin ale, 10 May 1997; sts, 21 Dec 2007
2906 \begin_layout Subsection*
2910 \begin_layout Description
2911 Action Mutates the type of math inset to the newly selected one.
2915 \begin_layout Description
2916 Syntax math-mutate <TYPE>
2919 \begin_layout Description
2920 Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat|
2921 multline|gather|flalign
2924 \begin_layout Description
2925 Origin Andre, 23 May 2001
2928 \begin_layout Subsection*
2932 \begin_layout Description
2933 Action Inserts space into math expression.
2937 \begin_layout Description
2938 Notion Use spacebar after entering this space to change type of space.
2942 \begin_layout Description
2943 Syntax math-space [<TYPE>]
2946 \begin_layout Description
2947 Params <TYPE>: negative spaces: !|negmedspace|negthickspace
2948 \begin_inset Newline newline
2951 positive spaces: ,|:|;|quad|qquad
2952 \begin_inset Newline newline
2955 "," used by default.
2959 \begin_layout Description
2960 Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
2963 \begin_layout Subsection*
2967 \begin_layout Description
2968 Action Inserts a matrix.
2972 \begin_layout Description
2973 Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
2976 \begin_layout Description
2977 Params <ALIGN>: Alignment is a word composed of the vertical alignment (b,
2979 \begin_inset space \thinspace{}
2983 1 char) and the horizontal alignments (l, c or r) (i.
2984 \begin_inset space \thinspace{}
2992 \begin_layout Description
2993 Sample math-matrix 3 3 bccc
2996 \begin_layout Subsection*
3000 \begin_layout Description
3001 Action In text mode enters math mode (i.
3002 \begin_inset space \thinspace{}
3006 puts math insets on the current cursor position), in math mode enters text
3007 mode inside math expression.
3011 \begin_layout Description
3012 Notion If there is some selected text, it puts the text inside created math
3017 \begin_layout Description
3018 Syntax math-mode [<ARG>]
3021 \begin_layout Description
3022 Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT
3027 \begin_layout Description
3028 Origin Alejandro, 4 Jun 1996
3031 \begin_layout Subsection*
3032 LFUN_MATH_NUMBER_LINE_TOGGLE
3035 \begin_layout Description
3036 Action Toggles numbering of the current formula line.
3040 \begin_layout Description
3041 Notion Must be in display formula mode.
3045 \begin_layout Description
3046 Syntax math-number-line-toggle
3049 \begin_layout Description
3050 Origin Alejandro, 18 Jun 1996
3053 \begin_layout Subsection*
3054 LFUN_MATH_NUMBER_TOGGLE
3057 \begin_layout Description
3058 Action Toggles numbering/labeling of the current formula.
3062 \begin_layout Description
3063 Notion Must be in display formula mode.
3067 \begin_layout Description
3068 Syntax math-number-toggle
3071 \begin_layout Description
3072 Origin Alejandro, 4 Jun 1996
3075 \begin_layout Subsection*
3079 \begin_layout Description
3080 Action Calls external program and passes the current expression/equation
3081 as an argument for the calculation in the format appropriate to the given
3086 \begin_layout Description
3087 Notion Selection can be used to determine the input for the external program.
3091 \begin_layout Description
3092 Syntax math-extern <LANG> [<COMMAND>]
3095 \begin_layout Description
3096 Params <LANG>: octave|maxima|maple|mathematica|script
3097 \begin_inset Newline newline
3100 where "script" stands fot the external script (normalized expression will
3104 \begin_layout Description
3105 Origin Andre, 24 Apr 2001
3108 \begin_layout Description
3109 Sample math-extern maple simplify
3112 \begin_layout Subsection*
3116 \begin_layout Description
3117 Action Changes arbitrarily the size used by math fonts inside a context.
3121 \begin_layout Description
3122 Notion Provides an interface to the LaTeX math mode font size commands.
3126 \begin_layout Description
3127 Syntax math-size <STYLE>
3130 \begin_layout Description
3131 Params <STYLE>: displaystyle|
3140 \begin_layout Description
3141 Origin Alejandro, 15 Aug 1996; ps, 14 Jun 2008
3144 \begin_layout Subsection*
3145 LFUN_MATH_MACRO_UNFOLD
3148 \begin_layout Description
3149 Action Unfold a Math Macro.
3153 \begin_layout Description
3154 Notion Unfold the Math Macro the cursor is in, i.
3155 \begin_inset space \thinspace{}
3163 \begin_layout Description
3164 Syntax math-macro-unfold
3167 \begin_layout Description
3168 Origin sts, 06 January 2008
3171 \begin_layout Subsection*
3172 LFUN_MATH_MACRO_FOLD
3175 \begin_layout Description
3176 Action Fold a Math Macro.
3180 \begin_layout Description
3181 Notion Fold the Math Macro the cursor is in if it was unfolded, i.
3182 \begin_inset space \thinspace{}
3186 displayed as foo before.
3190 \begin_layout Description
3191 Syntax math-macro-fold
3194 \begin_layout Description
3195 Origin sts, 06 January 2008
3198 \begin_layout Subsection*
3199 LFUN_MATH_MACRO_ADD_PARAM
3202 \begin_layout Description
3203 Action Add a parameter.
3207 \begin_layout Description
3208 Notion Add a parameter to a Math Macro.
3212 \begin_layout Description
3213 Params <NUM>: The number of the parameter behind which the new one will
3214 be added (1 for the first, i.
3215 \begin_inset space \thinspace{}
3219 use 0 for add a parameter at the left), defaults to the last one.
3223 \begin_layout Description
3224 Syntax math-macro-add-param <NUM>
3227 \begin_layout Description
3228 Origin sts, 06 January 2008
3231 \begin_layout Subsection*
3232 LFUN_MATH_MACRO_REMOVE_PARAM
3235 \begin_layout Description
3236 Action Remove the last parameter.
3240 \begin_layout Description
3241 Notion Remove the last parameter of a Math Macro and remove its value in
3242 all instances of the macro in the buffer.
3246 \begin_layout Description
3247 Params <NUM>: The number of the parameter to be deleted (1 for the first),
3248 defaults to the last one.
3252 \begin_layout Description
3253 Syntax math-macro-remove-param <NUM>
3256 \begin_layout Description
3257 Origin sts, 06 January 2008
3260 \begin_layout Subsection*
3261 LFUN_MATH_MACRO_APPEND_GREEDY_PARAM
3264 \begin_layout Description
3265 Action Append a greedy parameter.
3269 \begin_layout Description
3270 Notion Append a greedy parameter to a Math Macro which eats the following
3271 mathed cell in every instance of the macro in the buffer.
3275 \begin_layout Description
3276 Syntax math-macro-append-greedy-param
3279 \begin_layout Description
3280 Origin sts, 06 January 2008
3283 \begin_layout Subsection*
3284 LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM
3287 \begin_layout Description
3288 Action Remove a greedy parameter.
3292 \begin_layout Description
3293 Notion Remove a greedy parameter of a Math Macro and spit out the values
3294 of it in every instance of the macro in the buffer.
3295 If it is an optional parameter the [valud] format is used.
3299 \begin_layout Description
3300 Syntax math-macro-remove-greedy-param
3303 \begin_layout Description
3304 Origin sts, 06 January 2008
3307 \begin_layout Subsection*
3308 LFUN_MATH_MACRO_MAKE_OPTIONAL
3311 \begin_layout Description
3312 Action Make a parameter optional.
3316 \begin_layout Description
3317 Notion Turn the first non-optional parameter of a Math Macro into an optional
3318 parameter with a default value.
3322 \begin_layout Description
3323 Syntax math-macro-make-optional
3326 \begin_layout Description
3327 Origin sts, 06 January 2008
3330 \begin_layout Subsection*
3331 LFUN_MATH_MACRO_MAKE_NONOPTIONAL
3334 \begin_layout Description
3335 Action Make a parameter non-optional.
3339 \begin_layout Description
3340 Notion Turn the last optional parameter of a Math Macro into a non-optional
3342 The default value is remembered to be reused later if the user changes
3347 \begin_layout Description
3348 Syntax math-macro-make-nonoptional
3351 \begin_layout Description
3352 Origin sts, 06 January 2008
3355 \begin_layout Subsection*
3356 LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM
3359 \begin_layout Description
3360 Action Add an optional parameter.
3364 \begin_layout Description
3365 Notion Insert an optional parameter just behind the already existing optional
3370 \begin_layout Description
3371 Syntax math-macro-add-optional-param
3374 \begin_layout Description
3375 Origin sts, 06 January 2008
3378 \begin_layout Subsection*
3379 LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
3382 \begin_layout Description
3383 Action Remove the last optional parameter.
3387 \begin_layout Description
3388 Notion Remove the last optional parameter of a Math Macro and remove it
3389 in all the instances of the macro in the buffer.
3393 \begin_layout Description
3394 Syntax math-macro-remove-optional-param
3397 \begin_layout Description
3398 Origin sts, 06 January 2008
3401 \begin_layout Subsection*
3402 LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM
3405 \begin_layout Description
3406 Action Add a greedy optional parameter.
3410 \begin_layout Description
3411 Notion Add a greedy optional parameter which eats the value from the following
3412 cells in mathed which are in the [value] format.
3416 \begin_layout Description
3417 Syntax math-macro-add-greedy-optional-param
3420 \begin_layout Description
3421 Origin sts, 06 January 2008
3424 \begin_layout Subsection*
3425 LFUN_IN_MATHMACROTEMPLATE
3428 \begin_layout Description
3429 Action Only active in Math Macro definition.
3433 \begin_layout Description
3434 Notion Dummy function which is only active in a Math Macro definition.
3435 It's used to toggle the Math Macro toolbar if the cursor moves into a Math
3440 \begin_layout Description
3441 Syntax in-mathmacrotemplate
3444 \begin_layout Description
3445 Origin sts, 06 January 2008
3448 \begin_layout Subsection*
3449 LFUN_PARAGRAPH_MOVE_DOWN
3452 \begin_layout Description
3453 Action Moves the current paragraph downwards in the document.
3457 \begin_layout Description
3458 Syntax paragraph-move-down
3461 \begin_layout Description
3462 Origin Edwin, 8 Apr 2006
3465 \begin_layout Subsection*
3466 LFUN_PARAGRAPH_MOVE_UP
3469 \begin_layout Description
3470 Action Moves the current paragraph upwards in the document.
3474 \begin_layout Description
3475 Syntax paragraph-move-up
3478 \begin_layout Description
3479 Origin Edwin, 8 Apr 2006
3482 \begin_layout Subsection*
3486 \begin_layout Description
3487 Action Move the cursor to the next paragraph (or begining of the current
3488 one) in upward direction.
3492 \begin_layout Description
3496 \begin_layout Description
3497 Origin Asger, 1 Oct 1996
3500 \begin_layout Subsection*
3501 LFUN_PARAGRAPH_UP_SELECT
3504 \begin_layout Description
3505 Action Move the cursor and select the text to the next paragraph (or begining
3506 of the current one) in upward direction.
3510 \begin_layout Description
3511 Syntax paragraph-up-select
3514 \begin_layout Description
3515 Origin Asger, 1 Oct 1996
3518 \begin_layout Subsection*
3522 \begin_layout Description
3523 Action Move the cursor to the next paragraph (or begining of the current
3524 one) in downward direction.
3528 \begin_layout Description
3529 Syntax paragraph-down
3532 \begin_layout Description
3533 Origin Asger, 1 Oct 1996
3536 \begin_layout Subsection*
3537 LFUN_PARAGRAPH_DOWN_SELECT
3540 \begin_layout Description
3541 Action Move the cursor and select the text to the next paragraph (or begining
3542 of the current one) in downward direction.
3546 \begin_layout Description
3547 Syntax paragraph-down-select
3550 \begin_layout Description
3551 Origin Asger, 1 Oct 1996
3554 \begin_layout Subsection*
3558 \begin_layout Description
3559 Action Jump to a paragraph given by its id number and optionally the desired
3560 position within the paragraph.
3564 \begin_layout Description
3565 Notion Note that id number of paragraph is not the sequential number of
3566 paragraph seen on the screen.
3567 Moreover the id is unique for all opened buffers (documents).
3571 \begin_layout Description
3572 Syntax paragraph-goto <PAR_ID_NUMBER> <POSITION_IN_PAR>
3575 \begin_layout Description
3576 Params <PAR_ID_NUMBER>: paragraph id
3577 \begin_inset Newline newline
3580 <POSITION_IN_PAR>: desired position within the paragraph
3583 \begin_layout Description
3584 Origin Dekel, 26 Aug 2000
3587 \begin_layout Subsection*
3588 LFUN_BREAK_PARAGRAPH
3591 \begin_layout Description
3592 Action Breaks the current paragraph at the current location.
3596 \begin_layout Description
3597 Syntax break-paragraph
3600 \begin_layout Subsection*
3601 LFUN_BREAK_PARAGRAPH
3604 \begin_layout Description
3605 Action Breaks the current paragraph at the current location.
3609 \begin_layout Description
3610 Notion Removes the selection.
3614 \begin_layout Description
3615 Syntax break-paragraph [<LAYOUT>]
3618 \begin_layout Description
3619 Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to
3620 default layout) when the cursor is at the end of the line.
3624 \begin_layout Subsection*
3625 LFUN_PARAGRAPH_PARAMS
3628 \begin_layout Description
3629 Action Change paragraph settings.
3633 \begin_layout Description
3634 Notion Modifies the current paragraph, or currently selected paragraphs.
3635 This function only modifies, and does not override, existing settings.
3636 Note that the "leftindent" indent setting is deprecated.
3640 \begin_layout Description
3641 Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
3644 \begin_layout Description
3654 \begin_inset Newline newline
3659 paragraph_spacing default|single|onehalf|double|other
3660 \begin_inset Newline newline
3665 align block|left|right|center|default
3666 \begin_inset Newline newline
3671 labelwidthstring WIDTH|
3674 \begin_inset Newline newline
3680 \begin_layout Description
3681 Origin rgh, Aug 15 2007
3684 \begin_layout Subsection*
3685 LFUN_PARAGRAPH_PARAMS_APPLY
3688 \begin_layout Description
3689 Action Change paragraph settings.
3693 \begin_layout Description
3694 Notion Overwrite all nonspecified settings to the default ones.
3695 Use paragraph-params lfun if you don't want to overwrite others settings.
3699 \begin_layout Description
3700 Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
3703 \begin_layout Description
3704 Params For parameters see LFUN_PARAGRAPH_PARAMS
3707 \begin_layout Description
3708 Origin leeming, 30 Mar 2004
3711 \begin_layout Subsection*
3712 LFUN_PARAGRAPH_UPDATE
3715 \begin_layout Description
3716 Action Updates the values inside the paragraph dialog from the paragraph.
3720 \begin_layout Description
3721 Notion This is internal LFUN, not to be used by users.
3722 Called internally by LFUN_DIALOG_UPDATE.
3726 \begin_layout Description
3727 Origin leeming, 13 Mar 2003
3730 \begin_layout Subsection*
3734 \begin_layout Description
3735 Action Move the current group in the upward direction in the structure of
3740 \begin_layout Description
3741 Notion The "group" can be Part/Chapter/Section/etc.
3742 It moves the whole substructure of the group.
3746 \begin_layout Description
3750 \begin_layout Description
3751 Origin Vermeer, 23 Mar 2006
3754 \begin_layout Subsection*
3758 \begin_layout Description
3759 Action Move the current group in the downward direction in the structure
3764 \begin_layout Description
3765 Notion The "group" can be Part/Chapter/Section/etc.
3766 It moves the whole substructure of the group.
3770 \begin_layout Description
3774 \begin_layout Description
3775 Origin Vermeer, 23 Mar 2006
3778 \begin_layout Subsection*
3782 \begin_layout Description
3783 Action Moves the current group in the downward direction in the hierarchy
3784 of the document structure.
3788 \begin_layout Description
3789 Notion Part -> Chapter -> Section -> etc.
3793 \begin_layout Description
3797 \begin_layout Description
3798 Origin Vermeer, 23 Mar 2006
3801 \begin_layout Subsection*
3805 \begin_layout Description
3806 Action Moves the current group in the upward direction in the hierarchy
3807 of the document structure.
3811 \begin_layout Description
3812 Notion Part <- Chapter <- Section <- etc.
3816 \begin_layout Description
3820 \begin_layout Description
3821 Origin Vermeer, 23 Mar 2006
3824 \begin_layout Subsection*
3828 \begin_layout Description
3829 Action Edit the inset at cursor with an external application, *
3830 if one is attributed.
3834 \begin_layout Description
3835 Syntax inset-edit [<INSET_PARAMS>]
3838 \begin_layout Description
3839 Params <INSET_PARAMS>: Parameters for the inset.
3841 \begin_inset Newline newline
3844 Currently only the filename will be considered.
3848 \begin_layout Description
3849 Origin JSpitzm, 27 Apr 2006
3852 \begin_layout Subsection*
3856 \begin_layout Description
3857 Action Inserts table into the document.
3861 \begin_layout Description
3862 Syntax tabular-insert [<ROWS> <COLUMNS>]
3865 \begin_layout Description
3866 Params In case no arguments are given show insert dialog.
3870 \begin_layout Description
3871 Origin Jug, 12 Apr 2000
3874 \begin_layout Subsection*
3875 LFUN_TABULAR_FEATURE
3878 \begin_layout Description
3879 Action Sets various features to the table/cell on the current cursor position.
3883 \begin_layout Description
3884 Notion Various math-environment features are handled here as well, e.
3885 \begin_inset space \thinspace{}
3889 add-vline-left/right for Grid/Cases environment
3892 \begin_layout Description
3893 Syntax tabular-feature <FEATURE> [<ARG>]
3896 \begin_layout Description
3897 Params <FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|cop
3898 y-column| toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right|
3899 align-left|align-right|align-center|align-block|valign-top|valign-bottom|
3900 valign-middle|m-align-left|m-align-right|m-align-center|m-valign-top| m-valign-
3901 bottom|m-valign-middle|multicolumn|set-all-lines|unset-all-lines| set-longtabula
3902 r|unset-longtabular|set-pwidth|set-mpwidth| set-rotate-tabular|unset-rotate-tabu
3903 lar|toggle-rotate-tabular| set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|
3904 set-usebox|set-lthead| unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot
3905 |unset-ltfoot| set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption|
3906 set-special-column|set-special-multi|set-booktabs|unset-booktabs| set-top-space
3907 |set-bottom-space|set-interline-space|set-border-lines
3908 \begin_inset Newline newline
3911 <ARG>: additional argument for some commands, use debug mode to explore
3916 \begin_layout Description
3917 Origin Jug, 28 Jul 2000
3920 \begin_layout Subsection*
3924 \begin_layout Description
3925 Action Moves the cursor to the previous cell inside the table.
3929 \begin_layout Description
3930 Syntax cell-backward
3933 \begin_layout Description
3934 Origin Jug, 22 May 2000
3937 \begin_layout Subsection*
3941 \begin_layout Description
3942 Action Moves the cursor to the next cell inside the table.
3946 \begin_layout Description
3950 \begin_layout Subsection*
3954 \begin_layout Description
3955 Action Splits cell and shifts right part to the next cell (inside the math
3960 \begin_layout Description
3964 \begin_layout Description
3965 Origin Ale, 15 May 1997
3968 \begin_layout Subsection*
3972 \begin_layout Description
3973 Action Register the document as an file inside version control system (RCS,
3978 \begin_layout Description
3979 Notion File is registered inside cvs, svn or rcs repository acording to
3980 the existence of cvs/svn/rcs entries in the document's directory.
3982 \begin_inset Newline newline
3985 See LyX Extended Manual (Version Control Chapter) for additional information.
3989 \begin_layout Description
3993 \begin_layout Description
3994 Origin Lgb, 1 Jul 1997
3997 \begin_layout Subsection*
4001 \begin_layout Description
4002 Action Checks-in/commits the changes of the registered file to the repository.
4006 \begin_layout Description
4007 Notion In RCS case this also unlocks the file.
4011 \begin_layout Description
4015 \begin_layout Description
4016 Origin Lgb, 1 Jul 1997
4019 \begin_layout Subsection*
4023 \begin_layout Description
4024 Action Checks-out the document for edit (and locks it for RCS).
4028 \begin_layout Description
4029 Notion This is implemented only for RCS and SVN, not CVS.
4033 \begin_layout Description
4037 \begin_layout Description
4038 Origin Lgb, 1 Jul 1997
4041 \begin_layout Subsection*
4045 \begin_layout Description
4046 Action Reverts the document to the last check-in/commit in VCS.
4050 \begin_layout Description
4054 \begin_layout Description
4055 Origin Lgb, 1 Jul 1997
4058 \begin_layout Subsection*
4062 \begin_layout Description
4063 Action Undo last check-in.
4067 \begin_layout Description
4068 Notion This is currently implemented only for RCS.
4072 \begin_layout Description
4076 \begin_layout Description
4077 Origin Lgb, 1 Jul 1997
4080 \begin_layout Subsection*
4084 \begin_layout Description
4085 Action Toggles change tracking to on/off.
4089 \begin_layout Description
4090 Syntax changes-track
4093 \begin_layout Description
4094 Origin levon, 1 Oct 2002
4097 \begin_layout Subsection*
4101 \begin_layout Description
4102 Action Toggles showing of change tracking in typesetted output.
4106 \begin_layout Description
4107 Syntax changes-output
4110 \begin_layout Description
4111 Origin jspitzm, 21 Jan 2005
4114 \begin_layout Subsection*
4118 \begin_layout Description
4119 Action Moves the cursor to the position of the next change of the change
4124 \begin_layout Description
4128 \begin_layout Description
4129 Origin schmitt, 4 Oct 2006
4132 \begin_layout Subsection*
4136 \begin_layout Description
4137 Action Open change tracking dialog for merging and moves the cursor to the
4138 position of the next change.
4142 \begin_layout Description
4143 Syntax changes-merge
4146 \begin_layout Description
4147 Origin Levon, 16 Oct 2002
4150 \begin_layout Subsection*
4154 \begin_layout Description
4155 Action Accepts tracked change inside the selection.
4159 \begin_layout Description
4160 Syntax change-accept
4163 \begin_layout Description
4164 Origin Levon, 16 Oct 2002
4167 \begin_layout Subsection*
4171 \begin_layout Description
4172 Action Rejects tracked change inside the selection.
4176 \begin_layout Description
4177 Syntax change-accept
4180 \begin_layout Description
4181 Origin Levon, 16 Oct 2002
4184 \begin_layout Subsection*
4185 LFUN_ALL_CHANGES_ACCEPT
4188 \begin_layout Description
4189 Action Accepts all tracked changes in the document.
4193 \begin_layout Description
4194 Syntax all-changes-accept
4197 \begin_layout Description
4198 Origin Levon, 16 Oct 2002
4201 \begin_layout Subsection*
4202 LFUN_ALL_CHANGES_REJECT
4205 \begin_layout Description
4206 Action Rejects all tracked changes in the document.
4210 \begin_layout Description
4211 Notion Reject does not work recursively; the user may have to repeat the
4216 \begin_layout Description
4217 Syntax all-changes-reject
4220 \begin_layout Description
4221 Origin Levon, 16 Oct 2002
4224 \begin_layout Subsection*
4228 \begin_layout Description
4229 Action Apply data for an inset.
4233 \begin_layout Description
4234 Notion LFUN_INSET_APPLY is sent from the dialogs when the data should be
4236 This is either changed to LFUN_INSET_MODIFY or LFUN_INSET_INSERT depending
4237 on the context where it is called.
4241 \begin_layout Description
4242 Syntax inset-apply <ARGS>
4245 \begin_layout Description
4246 Params See LFUN_INSET_INSERT .
4250 \begin_layout Subsection*
4254 \begin_layout Description
4255 Action Dissolve the current inset into text.
4259 \begin_layout Description
4260 Syntax inset-dissolve [<INSET>]
4263 \begin_layout Description
4264 Params <INSET>: this can be used to make sure the right kind of inset is
4266 For example "dissolve" entry in the charstyles sub-menu should only dissolve
4267 the charstyle inset, even if the cursor is inside several nested insets
4270 \begin_inset Newline newline
4273 For values see lyx::InsetLayout::lyxtype_ .
4277 \begin_layout Description
4278 Origin JSpitz, 7 Aug 2006
4281 \begin_layout Subsection*
4285 \begin_layout Description
4286 Action Insert new inset (type given by the parameters).
4290 \begin_layout Description
4291 Syntax inset-insert <INSET> <ARGS>
4294 \begin_layout Description
4295 Params <INSET>: <bibitem|bibtex|cite|ert|listings|external|graphics| hyperlink|i
4296 nclude|index|label|nomencl|vspace|ref|toc>
4297 \begin_inset Newline newline
4300 <ARGS>: depends on the given inset.
4301 Use "lyx -dbg action" to explore.
4305 \begin_layout Description
4306 Sample inset-insert ref LatexCommand <Format> reference "<label name>"
4309 \begin_inset Newline newline
4312 where <label name> is the name of the referenced label and<Format> is one
4314 \begin_inset Newline newline
4318 \begin_inset Newline newline
4321 eqref -- (<reference>)
4322 \begin_inset Newline newline
4326 \begin_inset Newline newline
4329 vpageref -- on <page>
4330 \begin_inset Newline newline
4333 vref -- <reference> on <page>
4334 \begin_inset Newline newline
4337 prettyref -- Formatted reference
4340 \begin_layout Subsection*
4344 \begin_layout Description
4345 Action Modify existing inset.
4349 \begin_layout Description
4350 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4351 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4356 \begin_layout Description
4357 Syntax inset-modify <INSET> <ARGS>
4360 \begin_layout Description
4361 Params See LFUN_INSET_INSERT for further details.
4365 \begin_layout Subsection*
4366 LFUN_NEXT_INSET_MODIFY
4369 \begin_layout Description
4370 Action Modify the inset at cursor position, if there is one.
4374 \begin_layout Description
4375 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4376 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4381 \begin_layout Description
4382 Syntax next-inset-modify <INSET> <ARGS>
4385 \begin_layout Description
4386 Syntax next-inset-modify changetype <TYPE>
4389 \begin_layout Description
4390 Params See LFUN_INSET_INSERT for further details.
4394 \begin_layout Description
4395 Origin JSpitzm, 23 Mar 2008
4398 \begin_layout Subsection*
4399 LFUN_INSET_DIALOG_UPDATE
4402 \begin_layout Description
4403 Action Updates the values inside the dialog from the inset.
4407 \begin_layout Description
4408 Notion This is internal LFUN, not to be used by users.
4409 Called internally by LFUN_DIALOG_UPDATE
4412 \begin_layout Description
4413 Params <DIALOG-NAME>
4416 \begin_layout Description
4417 Origin leeming, 25 Feb 2003
4420 \begin_layout Subsection*
4424 \begin_layout Description
4425 Action Open the inset's properties dialog.
4429 \begin_layout Description
4430 Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets.
4434 \begin_layout Description
4435 Syntax inset-settings <INSET>
4438 \begin_layout Description
4439 Params <INSET>: <box|branch|ert|float|listings|note|tabular|wrap>
4442 \begin_layout Subsection*
4443 LFUN_NEXT_INSET_TOGGLE
4446 \begin_layout Description
4447 Action Toggles the inset at cursor position.
4448 For collapsables, this means it will be (un-)collapsed, in case of other
4449 insets, the editing widget (dialog) will be entered.
4451 LFUN_INSET_SETTINGS.
4455 \begin_layout Description
4456 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4457 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4462 \begin_layout Description
4463 Syntax next-inset-toggle <ARG>
4466 \begin_layout Description
4467 Params <ARG>: these are passed as arguments to LFUN_INSET_TOGGLE .
4471 \begin_layout Description
4472 Origin leeming, 30 Mar 2004
4475 \begin_layout Subsection*
4479 \begin_layout Description
4480 Action Toggles the collapsable inset we are currently in.
4484 \begin_layout Description
4485 Syntax inset-toggle [<ARG>]
4488 \begin_layout Description
4489 Params <ARG>: <open|close|toggle|assign>.
4491 \begin_inset Newline newline
4494 open/close/toggle are for collapsable insets.
4495 close can be currently used by LFUN_NEXT_INSET_TOGGLE.
4496 toggle is used when no argument is given.
4498 \begin_inset Newline newline
4501 assign is for branch inset.
4505 \begin_layout Description
4506 Origin lasgouttes, 19 Jul 2001
4509 \begin_layout Subsection*
4510 LFUN_ALL_INSETS_TOGGLE
4513 \begin_layout Description
4514 Action Toggles (open/closes) all collapsable insets (of a given type) in
4519 \begin_layout Description
4520 Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets.
4524 \begin_layout Description
4525 Syntax all-insets-toggle <STATE> <INSET>
4528 \begin_layout Description
4529 Params <STATE>: <toggle|open|close> default: toggle
4530 \begin_inset Newline newline
4533 <INSET>: <box|branch|ert|float|listings|note|tabular|wrap> default: all
4537 \begin_layout Description
4538 Origin leeming, 30 Mar 2004
4541 \begin_layout Subsection*
4542 LFUN_SET_GRAPHICS_GROUP
4545 \begin_layout Description
4546 Action Set the group for the graphics inset on the cursor position.
4550 \begin_layout Description
4551 Syntax set-graphics-group [<GROUP>]
4554 \begin_layout Description
4555 Params <GROUP>: Id for an existing group.
4556 In case the Id is an empty string, the graphics inset is removed from the
4561 \begin_layout Description
4562 Origin sanda, 6 May 2008
4565 \begin_layout Subsection*
4566 LFUN_FINISHED_FORWARD
4569 \begin_layout Description
4570 Action Moves the cursor out of the current slice, going forward.
4574 \begin_layout Description
4575 Notion Cursor movement within an inset may be different than cursor movement
4576 in the surrounding text.
4577 This action should be called automatically by the cursor movement within
4578 the inset, when movement within the inset has ceased (reached the end of
4579 the last paragraph, for example), in order to move correctly back into
4580 the surrounding text.
4584 \begin_layout Subsection*
4585 LFUN_FINISHED_BACKWARD
4588 \begin_layout Description
4589 Action Moves the cursor out of the current slice, going backwards.
4593 \begin_layout Description
4594 Notion See also LFUN_FINISHED_FORWARD.
4598 \begin_layout Subsection*
4602 \begin_layout Description
4603 Action Moves the cursor out of the current slice, going right.
4607 \begin_layout Description
4608 Notion See also LFUN_FINISHED_FORWARD
4611 \begin_layout Subsection*
4615 \begin_layout Description
4616 Action Moves the cursor out of the current slice, going left.
4620 \begin_layout Description
4621 Notion See also LFUN_FINISHED_FORWARD.
4625 \begin_layout Subsection*
4629 \begin_layout Description
4630 Action Set language from the current cursor position.
4634 \begin_layout Description
4635 Syntax language <LANG>
4638 \begin_layout Description
4639 Params <LANG>: Requested language.
4640 Look in lib/languages for the list.
4644 \begin_layout Description
4645 Origin Dekel, 2 Mar 2000
4648 \begin_layout Subsection*
4652 \begin_layout Description
4653 Action Goto a label.
4657 \begin_layout Description
4658 Syntax label-goto [<LABEL>]
4661 \begin_layout Description
4662 Params <LABEL>: Requested label.
4663 If no label is given and refernce is on cursor position, Bookmark 0 is
4664 saved and cursor moves to the position of referenced label.
4668 \begin_layout Description
4669 Origin Ale, 6 Aug 1997
4672 \begin_layout Subsection*
4676 \begin_layout Description
4677 Action Inserts label to text or displayed formula.
4681 \begin_layout Description
4682 Syntax label-insert [<LABEL>]
4685 \begin_layout Description
4686 Params <LABEL>: Requested label.
4687 If no label is given dialog requesting name will be opened.
4691 \begin_layout Subsection*
4695 \begin_layout Description
4696 Action Go to the next label or cross-reference.
4700 \begin_layout Description
4701 Syntax reference-next
4704 \begin_layout Description
4705 Origin Dekel, 14 Jan 2001
4708 \begin_layout Subsection*
4712 \begin_layout Description
4713 Action Goto a bookmark.
4717 \begin_layout Description
4718 Notion Moves the cursor to the numbered bookmark, opening the file if necessary.
4719 Note that bookmarsk are saved per-session, not per file.
4723 \begin_layout Description
4724 Syntax bookmark-goto <NUMBER>
4727 \begin_layout Description
4728 Params <NUMBER>: the number of the bookmark to restore.
4732 \begin_layout Description
4733 Origin Dekel, 27 January 2001
4736 \begin_layout Subsection*
4740 \begin_layout Description
4741 Action Save a bookmark.
4745 \begin_layout Description
4746 Notion Saves a numbered bookmark to the sessions file.
4747 The number must be between 1 and 9, inclusive.
4748 Note that bookmarks are saved per-session, not per file.
4752 \begin_layout Description
4753 Syntax bookmark-save <NUMBER>
4756 \begin_layout Description
4757 Params <NUMBER>: the number of the bookmark to save.
4761 \begin_layout Description
4762 Origin Dekel, 27 January 2001
4765 \begin_layout Subsection*
4769 \begin_layout Description
4770 Action Clears the list of saved bookmarks.
4774 \begin_layout Description
4775 Syntax bookmark-clear
4778 \begin_layout Description
4779 Origin bpeng, 31 October 2006
4782 \begin_layout Subsection*
4786 \begin_layout Description
4787 Action Open the given help file according to the language setting.
4791 \begin_layout Description
4792 Syntax help-open <FILE>[.lyx]
4795 \begin_layout Description
4796 Params <FILE>: any document from (/usr/share/)doc directory.
4800 \begin_layout Description
4801 Origin Jug, 27 Jun 1999
4804 \begin_layout Subsection*
4808 \begin_layout Description
4809 Action Terminates the current LyX instance.
4813 \begin_layout Description
4814 Notion Terminates the current LyX instance, asking whether to save modified
4819 \begin_layout Description
4823 \begin_layout Subsection*
4827 \begin_layout Description
4828 Action Toggles visibility of a given toolbar between on/off/auto.
4832 \begin_layout Description
4833 Notion Skiping "auto" when allowauto is false.
4837 \begin_layout Description
4838 Syntax toolbar-toggle <NAME> [allowauto]
4841 \begin_layout Description
4842 Params <NAME>: standard|extra|table|math|mathmacrotemplate| minibuffer|review|vi
4843 ew/update|math_panels|vcs
4846 \begin_layout Description
4847 Origin Edwin, 21 May 2007
4850 \begin_layout Subsection*
4854 \begin_layout Description
4855 Action Opens the menu given by its name.
4859 \begin_layout Description
4860 Syntax menu-open <NAME>
4863 \begin_layout Description
4864 Params <NAME>: menu name.
4865 See various .inc files in lib/ui for candidates.
4869 \begin_layout Subsection*
4873 \begin_layout Description
4874 Action Various UI visibility-toggling actions.
4878 \begin_layout Description
4879 Syntax ui-toggle <statusbar|menubar|frame|fullscreen>
4882 \begin_layout Description
4883 Params statusbar : Toggle visibility of the statusbar.
4885 \begin_inset Newline newline
4888 menubar : Toggle visibility of the menubar.
4890 \begin_inset Newline newline
4893 scrollbar : Toggle visibility of the scrollbar.
4895 \begin_inset Newline newline
4898 frame : Toggle visibility of the frames around editing window.
4900 \begin_inset Newline newline
4903 fullscreen : Toggle fullscreen mode.
4904 This also covers calling the previous functions.
4905 However LFUN_TOOLBAR_TOGGLE for the custom tweaks of the toolbars should
4910 \begin_layout Description
4911 Origin sanda, 9 Feb 2007
4914 \begin_layout Subsection*
4918 \begin_layout Description
4919 Action Creates new empty LyX window.
4923 \begin_layout Description
4924 Notion Already opened documents from the previous window can be found under
4929 \begin_layout Description
4930 Syntax window-new [<GEOMETRY>]
4933 \begin_layout Description
4934 Params <GEOMETRY>: pass the geometry of the window.
4935 This parameter is currently accepted only on Windows platform.
4939 \begin_layout Description
4940 Origin Abdel, 21 Oct 2006
4943 \begin_layout Subsection*
4947 \begin_layout Description
4948 Action Closes the current LyX window.
4952 \begin_layout Description
4956 \begin_layout Description
4957 Origin Abdel, 23 Oct 2006
4960 \begin_layout Subsection*
4964 \begin_layout Description
4965 Action Creates another split view of current buffer.
4969 \begin_layout Description
4970 Notion All split views act in the same way indpendently.
4974 \begin_layout Description
4975 Syntax split-view <vertical|horizontal>
4978 \begin_layout Description
4979 Params horizontal : The work areas are laid out side by side.
4981 \begin_inset Newline newline
4984 vertical : The work areas laid out vertically.
4988 \begin_layout Description
4989 Origin Abdel, 20 Feb 2008
4992 \begin_layout Subsection*
4993 LFUN_CLOSE_TAB_GROUP
4996 \begin_layout Description
4997 Action Close the current tab group.
5001 \begin_layout Description
5002 Notion This only closes the work areas, not the buffer themselves.
5003 The still opened buffers can be visualized in another tab group.
5007 \begin_layout Description
5008 Syntax close-tab-group
5011 \begin_layout Description
5012 Origin Abdel, 21 Feb 2008
5015 \begin_layout Subsection*
5019 \begin_layout Description
5020 Action Shows hidden dialog or create new one for a given function/inset
5025 \begin_layout Description
5026 Syntax dialog-show <NAME> [<DATA>]
5029 \begin_layout Description
5030 Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
5032 \begin_inset Newline newline
5035 document|errorlist|ert|external|file|findreplace|float|graphics|
5036 \begin_inset Newline newline
5039 include|index|info|nomenclature|label|log|mathdelimiter|mathmatrix|
5040 \begin_inset Newline newline
5043 note|paragraph|prefs|print|ref|sendto|space|spellchecker|symbols|
5044 \begin_inset Newline newline
5047 tabular|tabularcreate|thesaurus|texinfo|toc|href|view-source|vspace
5048 \begin_inset Newline newline
5051 wrap|listings|<SPECIAL>
5052 \begin_inset Newline newline
5055 <SPECIAL>: latexlog|vclog
5056 \begin_inset Newline newline
5059 <DATA>: data, usually settings for the given dialog.
5060 Use debug mode for the details.
5064 \begin_layout Description
5065 Origin leeming, 17 Jun 2003
5068 \begin_layout Subsection*
5069 LFUN_DIALOG_SHOW_NEW_INSET
5072 \begin_layout Description
5073 Action Shows hidden dialog or create new one for a given inset settings
5078 \begin_layout Description
5079 Notion Internally uses LFUN_DIALOG_SHOW with processed data for a given
5084 \begin_layout Description
5085 Syntax dialog-show-new-inset <NAME> [<DATA>]
5088 \begin_layout Description
5089 Params See LFUN_DIALOG_SHOW .
5093 \begin_layout Description
5094 Origin leeming, 25 Feb 2003
5097 \begin_layout Subsection*
5101 \begin_layout Description
5102 Action Updates the dialog values from the inset/paragraph/document.
5106 \begin_layout Description
5107 Syntax dialog-update <NAME>
5110 \begin_layout Description
5111 Params <NAME>: paragraph|prefs|<INSET>
5112 \begin_inset Newline newline
5118 \begin_layout Description
5119 Origin leeming, 25 Feb 2003
5122 \begin_layout Subsection*
5126 \begin_layout Description
5127 Action Hides showed dialog.
5128 Counterpart to LFUN_DIALOG_SHOW .
5132 \begin_layout Description
5133 Syntax dialog-hide <NAME>
5136 \begin_layout Description
5137 Params See LFUN_DIALOG_SHOW .
5141 \begin_layout Description
5142 Origin leeming, 25 Feb 2003
5145 \begin_layout Subsection*
5149 \begin_layout Description
5150 Action Toggles dialog between showed/hidden state.
5154 \begin_layout Description
5155 Notion Internally uses LFUN_DIALOG_SHOW , LFUN_DIALOG_HIDE .
5159 \begin_layout Description
5160 Syntax dialog-toggle <NAME> [<DATA>]
5163 \begin_layout Description
5164 Params See LFUN_DIALOG_SHOW .
5168 \begin_layout Description
5169 Origin JSpitzm, 30 Apr 2007
5172 \begin_layout Subsection*
5173 LFUN_DIALOG_DISCONNECT_INSET
5176 \begin_layout Description
5177 Action Closes opened connection to opened inset.
5181 \begin_layout Description
5182 Notion Connection is used for apply functions.
5186 \begin_layout Description
5187 Syntax dialog-disconnect-inset <INSET-NAME>
5190 \begin_layout Description
5191 Origin leeming, 25 Feb 2003
5194 \begin_layout Subsection*
5198 \begin_layout Description
5199 Action This function is called when mouse button is pressed (inside workarea).Act
5200 ion depends on the context.
5204 \begin_layout Description
5205 Notion This is internal LFUN, not to be used by users.
5209 \begin_layout Description
5210 Origin Andre, 9 Aug 2002
5213 \begin_layout Subsection*
5217 \begin_layout Description
5218 Action This function is called when double click on mouse button is pressed
5220 Action depends on the context.
5224 \begin_layout Description
5225 Notion This is internal LFUN, not to be used by users.
5229 \begin_layout Description
5230 Origin Andre, 9 Aug 2002
5233 \begin_layout Subsection*
5237 \begin_layout Description
5238 Action This function is called when triple click on mouse button is pressed
5240 Action depends on the context.
5244 \begin_layout Description
5245 Notion This is internal LFUN, not to be used by users.
5249 \begin_layout Description
5250 Origin Andre, 9 Aug 2002
5253 \begin_layout Subsection*
5257 \begin_layout Description
5258 Action This function is called when mouse cursor is moving over the text.Action
5259 depends on the context.
5263 \begin_layout Description
5264 Notion This is internal LFUN, not to be used by users.
5268 \begin_layout Description
5269 Origin Andre, 9 Aug 2002
5272 \begin_layout Subsection*
5276 \begin_layout Description
5277 Action This function is called when mouse button is released (inside workarea).Ac
5278 tion depends on the context.
5282 \begin_layout Description
5283 Notion This is internal LFUN, not to be used by users.
5287 \begin_layout Description
5288 Origin Andre, 9 Aug 2002
5291 \begin_layout Subsection*
5295 \begin_layout Description
5296 Action Turn off the loaded keyboard map.
5300 \begin_layout Description
5304 \begin_layout Subsection*
5308 \begin_layout Description
5309 Action Turn on the primary keyboard map.
5313 \begin_layout Description
5314 Notion Maps were widely used in past, when X-windows didn't have nowadays
5316 They can be still used to maintain uniform keyboard layout across the various
5319 \begin_inset Newline newline
5322 The language is to be set in the Preferences dialog.
5326 \begin_layout Description
5327 Syntax keymap-primary
5330 \begin_layout Subsection*
5331 LFUN_KEYMAP_SECONDARY
5334 \begin_layout Description
5335 Action Turn on the secondary keyboard map.
5339 \begin_layout Description
5340 Syntax keymap-secondary
5343 \begin_layout Subsection*
5347 \begin_layout Description
5348 Action Toggles keyboard maps (first/second/off).
5352 \begin_layout Description
5353 Syntax keymap-toggle
5356 \begin_layout Description
5357 Origin leeming, 30 Mar 2004
5360 \begin_layout Subsection*
5361 LFUN_SERVER_GET_LAYOUT
5364 \begin_layout Description
5365 Action Returns the current layout (that is environment) name on the cursor
5370 \begin_layout Description
5371 Syntax server-get-layout
5374 \begin_layout Subsection*
5375 LFUN_SERVER_GET_FILENAME
5378 \begin_layout Description
5379 Action Returns path and file name of the currently edited document.
5383 \begin_layout Description
5384 Syntax server-get-filename
5387 \begin_layout Subsection*
5388 LFUN_SERVER_GOTO_FILE_ROW
5391 \begin_layout Description
5392 Action Sets the cursor position based on the row number of generated TeX
5397 \begin_layout Description
5398 Syntax server-goto-file-row <LYX_FILE_NAME> <ROW_NUMBER>
5401 \begin_layout Description
5402 Origin Edmar, 23 Dec 1998
5405 \begin_layout Subsection*
5409 \begin_layout Description
5410 Action Sends notify message about the last key-sequence to client.
5414 \begin_layout Description
5415 Notion This can be used to grab last key-sequence used inside the LyX window.
5416 See also Debug extensions section in Extended features manual.
5420 \begin_layout Description
5421 Syntax server-notify
5424 \begin_layout Subsection*
5428 \begin_layout Description
5429 Action Sets the cursor position based on the editing area coordinates (similar
5430 as clicking on that point with left mouse button).
5434 \begin_layout Description
5435 Syntax server-set-xy <X> <Y>
5438 \begin_layout Subsection*
5442 \begin_layout Description
5443 Action Returns the coordinates of cursor position in the editing area.
5447 \begin_layout Description
5448 Syntax server-get-xy
5451 \begin_layout Subsection*
5455 \begin_layout Description
5456 Action Generates the code (literate programming).
5460 \begin_layout Description
5461 Notion Latex file with extension literate_extension is generated.
5462 Then LyX invokes build_command (with a default of``make'') to generate
5463 the code and build_error_filter to process the compilation error messages.
5465 \begin_inset Newline newline
5468 In case you want to process your literate file with a script, or some other
5469 program, just insert in your lyxrc file an entry with:
5470 \begin_inset Newline newline
5473 build_command "my_script my_arguments"
5474 \begin_inset Newline newline
5477 The build_error_filter differs from the literate_error_filter only in that
5478 the former will identify error messages from your compiler.
5482 \begin_layout Description
5483 Syntax build-program
5486 \begin_layout Subsection*
5487 LFUN_BUFFER_AUTO_SAVE
5490 \begin_layout Description
5491 Action Saves the current buffer to a temporary file.
5495 \begin_layout Description
5496 Notion Saves the current buffer to a file named "#filename#".
5497 This LFUN is called automatically by LyX, to "autosave" the current buffer.
5501 \begin_layout Description
5502 Syntax buffer-auto-save
5505 \begin_layout Subsection*
5506 LFUN_BUFFER_CHILD_OPEN
5509 \begin_layout Description
5510 Action Loads the given child document.
5514 \begin_layout Description
5515 Notion The current document is treated as a parent.
5519 \begin_layout Description
5520 Syntax buffer-child-open <FILE>
5523 \begin_layout Description
5524 Params <FILE>: Filename of the child.
5525 The directory of the parent is assumed by default.
5529 \begin_layout Description
5530 Origin Ale, 28 May 1997
5533 \begin_layout Subsection*
5537 \begin_layout Description
5538 Action Runs chktex for the current document.
5542 \begin_layout Description
5543 Syntax buffer-chktex
5546 \begin_layout Description
5547 Origin Asger, 30 Oct 1997
5550 \begin_layout Subsection*
5551 LFUN_BUFFER_TOGGLE_COMPRESSION
5554 \begin_layout Description
5555 Action Toggles compression of the current document on/off.
5559 \begin_layout Description
5560 Syntax buffer-toggle-compression
5563 \begin_layout Description
5564 Origin bpeng, 27 Apr 2006
5567 \begin_layout Subsection*
5571 \begin_layout Description
5572 Action Closes the current buffer.
5576 \begin_layout Description
5577 Notion Closes the current buffer, asking whether to save it, etc, if the
5578 buffer has been modified.
5582 \begin_layout Description
5586 \begin_layout Subsection*
5590 \begin_layout Description
5591 Action Exports the current buffer (document) to the given format.
5595 \begin_layout Description
5596 Syntax buffer-export <FORMAT>
5599 \begin_layout Description
5600 Params <FORMAT> is either "custom" or one of the formats which you can find
5601 in Tools->Preferences->File formats->Format.
5602 Usual format you will enter is "pdf2" (pdflatex), "pdflatex" (plain tex
5603 for pdflatex) or "ps" for postscript.
5605 \begin_inset Newline newline
5608 In case of "custom" you will be asked for a format you want to start from
5609 and for the command that you want to apply to this format.
5610 Internally the control is then passed to LFUN_BUFFER_EXPORT_CUSTOM.
5614 \begin_layout Description
5615 Origin Lgb, 29 Jul 1997
5618 \begin_layout Subsection*
5619 LFUN_BUFFER_EXPORT_CUSTOM
5622 \begin_layout Description
5623 Action Exports the current buffer (document) from the given format using
5624 the given command on it.
5628 \begin_layout Description
5629 Syntax buffer-export-custom <FORMAT> <COMMAND>
5632 \begin_layout Description
5633 Params <FORMAT> format to start from (LyX will care to produce such intermediate
5636 \begin_inset Newline newline
5639 <COMMAND> this command will be launched on the file.
5640 Note that you can use "$$FName" string to qualify the intermediate file.
5644 \begin_layout Description
5645 Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
5648 \begin_layout Description
5649 Origin leeming, 27 Mar 2004
5652 \begin_layout Subsection*
5656 \begin_layout Description
5657 Action Prints the current document.
5661 \begin_layout Description
5662 Notion Many settings can be given via the preferences dialog.
5666 \begin_layout Description
5667 Syntax buffer-print <TARGET> <TARGET-NAME> <COMMAND>
5670 \begin_layout Description
5671 Params <TARGET> is either "printer" or "file".
5673 \begin_inset Newline newline
5676 <TARGER-NAME> is either "default" or file name or printer name.
5678 \begin_inset Newline newline
5681 <COMMAND> command ensuring the printing job.
5685 \begin_layout Description
5686 Sample buffer-print file "/trash/newfile1.ps" "dvips"
5689 \begin_layout Description
5690 Origin leeming, 28 Mar 2004
5693 \begin_layout Subsection*
5697 \begin_layout Description
5698 Action Import a given file as a lyx document.
5702 \begin_layout Description
5703 Notion File can be imported iff lyx file format is (transitively) reachable
5704 via defined convertors in preferences.
5705 Look into File->Import menu to get an idea of the currently active import
5710 \begin_layout Description
5711 Syntax buffer-import <FORMAT> [<FILE>]
5714 \begin_layout Description
5715 Origin Asger, 24 Jul 1998
5718 \begin_layout Subsection*
5722 \begin_layout Description
5723 Action Creates a new buffer (that is, document).
5727 \begin_layout Description
5728 Notion Implicit path can be set in Preferences dialog.
5732 \begin_layout Description
5733 Syntax buffer-new [<FILE>]
5736 \begin_layout Description
5737 Params <FILE>: filename of created file with absolute path.
5741 \begin_layout Subsection*
5742 LFUN_BUFFER_NEW_TEMPLATE
5745 \begin_layout Description
5746 Action Creates a new buffer (that is, document) from a template.
5750 \begin_layout Description
5751 Notion Path for new files and templates can be set in Preferences dialog.
5752 Template will be asked for via Open-dialog.
5756 \begin_layout Description
5757 Syntax buffer-new-template [<FILE>]
5760 \begin_layout Description
5761 Params <FILE>: filename of created file with absolute path.
5765 \begin_layout Subsection*
5769 \begin_layout Description
5770 Action Reverts opened document.
5774 \begin_layout Description
5775 Syntax buffer-reload
5778 \begin_layout Description
5779 Origin Asger, 2 Feb 1997
5782 \begin_layout Subsection*
5786 \begin_layout Description
5787 Action Switch to the given buffer.
5791 \begin_layout Description
5792 Notion This is useful also in case you need simultaneously more views of
5793 the edited document in different LyX windows.
5797 \begin_layout Description
5798 Syntax buffer-new-template <BUFFER>
5801 \begin_layout Description
5802 Params <BUFFER>: already opened document which is to be shown.
5806 \begin_layout Subsection*
5807 LFUN_BUFFER_TOGGLE_READ_ONLY
5810 \begin_layout Description
5811 Action Toggle editing mode of the current document between read/write and
5816 \begin_layout Description
5817 Notion In the ->Readonly mode checks-in/commits the data if the file is
5818 under version control.
5819 In the Readonly-> mode checkouts the data from repository.
5821 \begin_inset Newline newline
5824 If these operations fail, buffer won't be toggled.
5828 \begin_layout Description
5829 Syntax buffer-toggle-read-only
5832 \begin_layout Description
5833 Origin Lgb, 27 May 1997
5836 \begin_layout Subsection*
5840 \begin_layout Description
5841 Action Displays current buffer in chosen format.
5845 \begin_layout Description
5846 Notion Displays the contents of the current buffer in the chosen format,
5847 for example, PDF or DVI.
5848 This runs the necessary converter, calls the defined viewer, and so forth.
5852 \begin_layout Description
5853 Syntax buffer-view <FORMAT>
5856 \begin_layout Description
5857 Params <FORMAT>: The format to display, where this is one of the formats
5858 defined (in the current GUI) in the Tools>Preferences>File Formats dialog.
5862 \begin_layout Subsection*
5866 \begin_layout Description
5867 Action Exports the current document and put the result into the temporary
5872 \begin_layout Description
5873 Notion In case you are already viewing the exported document (see LFUN_BUFFER_VI
5874 EW) the output will be rewriten - updated.
5875 This is useful in case your viewer is able to detect such changes (e.
5876 \begin_inset space \thinspace{}
5880 ghostview for postscript).
5884 \begin_layout Description
5885 Syntax buffer-update <FORMAT>
5888 \begin_layout Description
5889 Params <FORMAT>: The format to display, where this is one of the formats
5890 defined (in the current GUI) in the Tools>Preferences>File Formats dialog.
5894 \begin_layout Description
5895 Origin Dekel, 5 Aug 2000
5898 \begin_layout Subsection*
5902 \begin_layout Description
5903 Action Saves the current buffer.
5907 \begin_layout Description
5908 Notion Saves the current buffer to disk, using the filename that is already
5909 associated with the buffer, asking for one if none is yet assigned.
5913 \begin_layout Description
5917 \begin_layout Subsection*
5918 LFUN_BUFFER_WRITE_AS
5921 \begin_layout Description
5922 Action Rename and save current buffer.
5926 \begin_layout Description
5927 Syntax buffer-write-as <FILENAME>
5930 \begin_layout Description
5931 Params <FILENAME>: New name of the buffer/file.
5932 A relative path is with respect to the original location of the buffer/file.
5936 \begin_layout Subsection*
5937 LFUN_BUFFER_WRITE_ALL
5940 \begin_layout Description
5941 Action Save all changed documents.
5945 \begin_layout Description
5946 Syntax buffer-write-all
5949 \begin_layout Description
5950 Origin rgh, gpothier 6 Aug 2007
5953 \begin_layout Subsection*
5957 \begin_layout Description
5958 Action Switch to the next opened document.
5962 \begin_layout Description
5963 Notion Note that this does not necessarily mean next in tabbar (for full
5964 list see View menu).
5968 \begin_layout Description
5972 \begin_layout Subsection*
5973 LFUN_BUFFER_PREVIOUS
5976 \begin_layout Description
5977 Action Switch to the previous opened document.
5981 \begin_layout Description
5982 Syntax buffer-previous
5985 \begin_layout Subsection*
5986 LFUN_MASTER_BUFFER_UPDATE
5989 \begin_layout Description
5990 Action When run from a child document, this updates (exports) document built
5991 from the master buffer.
5992 If a master is not found, it updates the current buffer.
5996 \begin_layout Description
5997 Syntax master-buffer-update
6000 \begin_layout Description
6001 Origin Tommaso, 20 Sep 2007
6004 \begin_layout Subsection*
6005 LFUN_MASTER_BUFFER_VIEW
6008 \begin_layout Description
6009 Action When run from a child document, this command shows a preview built
6010 from the master buffer.
6011 If a master is not found, it previews the current buffer.
6015 \begin_layout Description
6016 Syntax master-buffer-view
6019 \begin_layout Description
6020 Origin Tommaso, 20 Sep 2007
6023 \begin_layout Subsection*
6024 LFUN_BUFFER_LANGUAGE
6027 \begin_layout Description
6028 Action Set language of the current document.
6032 \begin_layout Description
6033 Syntax buffer-language <LANG>
6036 \begin_layout Description
6037 Params <LANG>: language name.
6038 See lib/languages for list.
6042 \begin_layout Description
6043 Origin leeming, 30 Mar 2004
6046 \begin_layout Subsection*
6047 LFUN_BUFFER_SAVE_AS_DEFAULT
6050 \begin_layout Description
6051 Action Save the current document settings as default.
6055 \begin_layout Description
6056 Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
6060 \begin_layout Description
6061 Syntax buffer-save-as-default [<ARGS>]
6064 \begin_layout Description
6065 Params <ARGS>: contains the particular settings to be saved.
6066 They obey the syntax you can find in document header of usual .lyx file.
6070 \begin_layout Description
6071 Origin leeming, 30 Mar 2004
6074 \begin_layout Subsection*
6075 LFUN_BUFFER_PARAMS_APPLY
6078 \begin_layout Description
6079 Action Apply the given settings to the current document.
6083 \begin_layout Description
6084 Syntax buffer-params-apply [<ARGS>]
6087 \begin_layout Description
6088 Params <ARGS>: contains the particular settings to be saved.
6089 They obey the syntax you can find in document header of usual .lyx file.
6093 \begin_layout Description
6094 Origin leeming, 30 Mar 2004
6097 \begin_layout Subsection*
6101 \begin_layout Description
6102 Action Inserts another LyX file.
6106 \begin_layout Description
6107 Syntax file-insert [<FILE>]
6110 \begin_layout Description
6111 Params <FILE>: Filename to be inserted.
6115 \begin_layout Subsection*
6116 LFUN_FILE_INSERT_PLAINTEXT
6119 \begin_layout Description
6120 Action Inserts plain text file.
6124 \begin_layout Description
6125 Syntax file-insert-plaintext [<FILE>]
6128 \begin_layout Description
6129 Params <FILE>: Filename to be inserted.
6133 \begin_layout Description
6134 Origin CFO-G, 19 Nov 1997
6137 \begin_layout Subsection*
6138 LFUN_FILE_INSERT_PLAINTEXT_PARA
6141 \begin_layout Description
6142 Action Inserts plain text file as paragraph (i.
6143 \begin_inset space \thinspace{}
6151 \begin_layout Description
6152 Syntax file-insert-plaintext-para [<FILE>]
6155 \begin_layout Description
6156 Params <FILE>: Filename to be inserted.
6160 \begin_layout Description
6161 Origin Levon, 14 Feb 2001
6164 \begin_layout Subsection*
6168 \begin_layout Description
6169 Action Open LyX document.
6173 \begin_layout Description
6174 Syntax file-open [<FILE>]
6177 \begin_layout Description
6178 Params <FILE>: Filename to be opened.
6182 \begin_layout Subsection*
6186 \begin_layout Description
6187 Action Executes a command defined in a .def file.
6191 \begin_layout Description
6192 Notion The definitions are by default read from lib/commands/default.def.
6194 \begin_inset Newline newline
6197 A .def file allows to define a command with
6199 define "<NAME>" "<LFUN>" where <NAME> is the name of the new command and
6200 <LFUN> is the lfun code to be executed (see e.
6201 \begin_inset space \thinspace{}
6205 LFUN_COMMAND_SEQUENCE).
6208 def_file "FileName" allows to include another .def file.
6210 \begin_inset Newline newline
6213 This is particularly useful in connection with toolbar buttons: Since the
6214 name of the button image for this lfun is lib/images/commands/<NAME>.png
6215 this is the way to assign an image to a complex command-sequence.
6219 \begin_layout Description
6223 \begin_layout Description
6224 Params <NAME>: Name of the command that must be called.
6228 \begin_layout Description
6229 Origin broider, 2 Oct 2007
6232 \begin_layout Subsection*
6236 \begin_layout Description
6237 Action Simulate halting Meta key (Alt key on PCs).
6241 \begin_layout Description
6242 Notion Used for buffer editation not for GUI control.
6246 \begin_layout Description
6250 \begin_layout Subsection*
6254 \begin_layout Description
6255 Action Cancels sequence prepared by LFUN_META_PREFIX .
6259 \begin_layout Description
6263 \begin_layout Subsection*
6264 LFUN_COMMAND_EXECUTE
6267 \begin_layout Description
6268 Action Opens the minibuffer toolbar so that the user can type in there.
6272 \begin_layout Description
6273 Notion Usually bound to M-x shortcut.
6277 \begin_layout Description
6278 Syntax command-execute
6281 \begin_layout Subsection*
6285 \begin_layout Description
6286 Action Return the current key sequence and available options as a string.
6290 \begin_layout Description
6291 Notion No options are added if no current map exists.
6293 \begin_inset Newline newline
6296 This is probably usable only with connection to lyxserver.
6300 \begin_layout Description
6301 Syntax command-prefix
6304 \begin_layout Subsection*
6305 LFUN_COMMAND_SEQUENCE
6308 \begin_layout Description
6309 Action Run more commands (LFUN and its parameters) in a sequence.
6313 \begin_layout Description
6314 Syntax command-sequence <CMDS>
6317 \begin_layout Description
6318 Params <CMDS>: Sequence of commands separated by semicolons.
6322 \begin_layout Description
6323 Sample command-sequence cut; ert-insert; self-insert ; paste; self-insert
6327 \begin_layout Description
6328 Origin Andre, 11 Nov 1999
6331 \begin_layout Subsection*
6332 LFUN_COMMAND_ALTERNATIVES
6335 \begin_layout Description
6336 Action Runs the first listed command that is enabled.
6340 \begin_layout Description
6341 Notion This can be used to bind multiple functions to a single key, and
6342 then which one is used will depend upon the context.
6346 \begin_layout Description
6347 Syntax command-alternatives <CMDS>
6350 \begin_layout Description
6351 Params <CMDS>: Sequence of commands separated by semicolons.
6355 \begin_layout Description
6356 Sample command-alternatives completion-accept;cell-forward
6359 \begin_layout Description
6360 Origin rgh, 24 September 2008
6363 \begin_layout Subsection*
6367 \begin_layout Description
6368 Action Shows message in statusbar (for script purposes).
6372 \begin_layout Description
6373 Syntax message <STRING>
6376 \begin_layout Description
6377 Origin Lgb, 8 Apr 2001
6380 \begin_layout Subsection*
6381 LFUN_PREFERENCES_SAVE
6384 \begin_layout Description
6385 Action Save user preferences.
6389 \begin_layout Description
6390 Syntax preferences-save
6393 \begin_layout Description
6394 Origin Lgb, 27 Nov 1999
6397 \begin_layout Subsection*
6401 \begin_layout Description
6402 Action Reconfigure the automatic settings.
6406 \begin_layout Description
6410 \begin_layout Description
6411 Origin Asger, 14 Feb 1997
6414 \begin_layout Subsection*
6418 \begin_layout Description
6419 Action Apply the given settings to user preferences.
6423 \begin_layout Description
6424 Syntax lyxrc-apply <SETTINGS>
6427 \begin_layout Description
6428 Params <SETTINGS>: settings which are to be set.
6429 Take a look into ~/.lyx/preferences to get an idea which commands to use
6431 lyx::LyXRC::LyXRCTags has the list of possible commands.
6435 \begin_layout Subsection*
6436 LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE
6439 \begin_layout Description
6440 Action Determine whether keep cursor inside the editing window regardless
6441 the scrollbar movement.
6445 \begin_layout Description
6446 Syntax toggle-cursor-follows-scrollbar
6449 \begin_layout Description
6450 Origin ARRae, 2 Dec 1997
6453 \begin_layout Subsection*
6457 \begin_layout Description
6458 Action Set the given LyX color to the color defined by the X11 name given.
6462 \begin_layout Description
6463 Notion A new color entry is created if the color is unknown.
6464 Color names can be stored as a part of user settings.
6468 \begin_layout Description
6469 Syntax set-color <LYX_NAME> <X11_NAME>
6472 \begin_layout Description
6473 Origin SLior, 11 Jun 2000
6476 \begin_layout Subsection*
6480 \begin_layout Description
6481 Action Count the statistics (number of words and characters) in the document
6482 or in the given selection.
6486 \begin_layout Description
6487 Notion Note that this function gives the number of words/chars written,
6488 not the number of characters which will be typeset.
6492 \begin_layout Description
6496 \begin_layout Description
6497 Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
6500 \begin_layout Subsection*
6501 LFUN_COMPLETION_INLINE
6504 \begin_layout Description
6505 Action Show the inline completion at the cursor position.
6509 \begin_layout Description
6510 Syntax completion-inline
6513 \begin_layout Description
6514 Origin sts, Feb 19 2008
6517 \begin_layout Subsection*
6518 LFUN_COMPLETION_POPUP
6521 \begin_layout Description
6522 Action Show the completion popup at the cursor position.
6526 \begin_layout Description
6527 Syntax completion-popup
6530 \begin_layout Description
6531 Origin sts, Feb 19 2008
6534 \begin_layout Subsection*
6535 LFUN_COMPLETION_COMPLETE
6538 \begin_layout Description
6539 Action Try to complete the word or command at the cursor position.
6543 \begin_layout Description
6547 \begin_layout Description
6548 Origin sts, Feb 19 2008
6551 \begin_layout Subsection*
6552 LFUN_COMPLETION_CANCEL
6555 \begin_layout Description
6556 Action Try to cancel completion, either the popup or the inline completion
6560 \begin_layout Description
6561 Syntax completion-cancel
6564 \begin_layout Description
6565 Origin sts, Sep 07 2008
6568 \begin_layout Subsection*
6569 LFUN_COMPLETION_ACCEPT
6572 \begin_layout Description
6573 Action Accept suggested completion.
6577 \begin_layout Description
6578 Syntax completion-accept
6581 \begin_layout Description
6582 Origin sanda, Sep 08 2008
6585 \begin_layout Subsection*
6586 LFUN_BRANCH_ACTIVATE
6589 \begin_layout Description
6590 Action Activate the branch
6593 \begin_layout Description
6594 Syntax branch-activate <BRANCH>
6597 \begin_layout Description
6598 Params <BRANCH>: The branch to activate
6601 \begin_layout Description
6602 Sample lyx -e pdf2 -x "branch-activate answers" finalexam.lyx
6603 \begin_inset Newline newline
6606 could be used to export a pdf with the answers branch includedwithout one's
6607 having to open LyX and activate the branch manually.
6610 \begin_layout Description
6611 Origin rgh, 27 May 2008
6614 \begin_layout Subsection*
6615 LFUN_BRANCH_ACTIVATE
6618 \begin_layout Description
6619 Action De-activate the branch
6622 \begin_layout Description
6623 Syntax branch-deactivate <BRANCH>
6626 \begin_layout Description
6627 Params <BRANCH>: The branch to deactivate
6630 \begin_layout Description
6631 Origin rgh, 27 May 2008