1 #LyX 1.5.6svn created this file. For more info see http://www.lyx.org/
10 \font_typewriter default
11 \font_default_family default
17 \paperfontsize default
25 \paperorientation portrait
32 \paragraph_separation indent
34 \quotes_language english
37 \paperpagestyle default
38 \tracking_changes false
45 \begin_layout Section*
46 LFUNs documentation automatically generated 23.7.2008.
49 \begin_layout Standard
53 \begin_layout Standard
63 \begin_inset VSpace 1cm
69 \begin_layout Subsection*
73 \begin_layout Description
74 Action Adds an acute accent to the next character typed.
78 \begin_layout Description
82 \begin_layout Subsection*
86 \begin_layout Description
87 Action Adds a breve accent to the next character typed.
91 \begin_layout Description
95 \begin_layout Subsection*
99 \begin_layout Description
100 Action Adds a caron to the next character typed.
104 \begin_layout Description
108 \begin_layout Subsection*
112 \begin_layout Description
113 Action Adds a cedilla to the next character typed.
117 \begin_layout Description
118 Syntax accent-cedilla
121 \begin_layout Subsection*
125 \begin_layout Description
126 Action Adds a circle accent to the next character typed.
130 \begin_layout Description
134 \begin_layout Subsection*
135 LFUN_ACCENT_CIRCUMFLEX
138 \begin_layout Description
139 Action Adds a circumflex to the next character typed.
143 \begin_layout Description
144 Syntax accent-circumflex
147 \begin_layout Subsection*
151 \begin_layout Description
152 Action Adds a dot accent to the next character typed.
156 \begin_layout Description
160 \begin_layout Subsection*
164 \begin_layout Description
165 Action Adds a grave accent to the next character typed.
169 \begin_layout Description
173 \begin_layout Subsection*
174 LFUN_ACCENT_HUNGARIAN_UMLAUT
177 \begin_layout Description
178 Action Adds a Hungarian umlaut to the next character typed.
182 \begin_layout Description
186 \begin_layout Subsection*
190 \begin_layout Description
191 Action Adds a macron to the next character typed.
195 \begin_layout Description
199 \begin_layout Subsection*
203 \begin_layout Description
204 Action Adds an ogonek accent to the next character typed.
208 \begin_layout Description
212 \begin_layout Subsection*
216 \begin_layout Description
217 Action Adds a tie over the next two character typed.
221 \begin_layout Description
222 Notion The following char will finish the tie.
226 \begin_layout Description
230 \begin_layout Subsection*
234 \begin_layout Description
235 Action Adds a tilde over the next character typed.
239 \begin_layout Description
243 \begin_layout Subsection*
247 \begin_layout Description
248 Action Adds an umlaut over the next character typed.
252 \begin_layout Description
256 \begin_layout Subsection*
260 \begin_layout Description
261 Action Adds a bar under the next character typed.
265 \begin_layout Description
266 Syntax accent-underbar
269 \begin_layout Subsection*
273 \begin_layout Description
274 Action Adds a dot under the next character typed.
278 \begin_layout Description
279 Syntax accent-underdot
282 \begin_layout Subsection*
286 \begin_layout Description
287 Action Inserts a caption inset.
291 \begin_layout Description
292 Syntax caption-insert
295 \begin_layout Description
296 Origin Lgb, 18 Jul 2000
299 \begin_layout Subsection*
303 \begin_layout Description
304 Action Inserts the current date.
308 \begin_layout Description
309 Syntax date-insert [<ARG>]
312 \begin_layout Description
313 Params <ARG>: Format of date.
314 The default value (%x) can be set in Preferences->Date format.
315 For possible formats see manual page of strftime function.
319 \begin_layout Description
320 Origin jdblair, 31 Jan 2000
323 \begin_layout Subsection*
327 \begin_layout Description
328 Action Inserts a footnote inset.
332 \begin_layout Description
333 Syntax footnote-insert
336 \begin_layout Description
337 Origin Jug, 7 Mar 2000
340 \begin_layout Subsection*
344 \begin_layout Description
345 Action Inserts an ERT inset.
349 \begin_layout Description
353 \begin_layout Description
354 Origin Jug, 18 Feb 2000
357 \begin_layout Subsection*
361 \begin_layout Description
362 Action Inserts a float inset.
366 \begin_layout Description
367 Syntax float-insert <TYPE>
370 \begin_layout Description
371 Params <TYPE>: type of float depends on the used textclass.
372 Usually "algorithm", "table", "figure" parameters can be given.
376 \begin_layout Description
377 Origin Lgb, 27 Jun 2000
380 \begin_layout Subsection*
381 LFUN_FLOAT_WIDE_INSERT
384 \begin_layout Description
385 Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns.
389 \begin_layout Description
390 Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX.
394 \begin_layout Description
395 Syntax float-wide-insert <TYPE>
398 \begin_layout Description
399 Params <TYPE>: type of float depends on the used textclass.
400 Usually "algorithm", "table", "figure" parameters can be given.
404 \begin_layout Description
405 Origin Lgb, 31 Oct 2001
408 \begin_layout Subsection*
409 LFUN_FLOAT_LIST_INSERT
412 \begin_layout Description
413 Action Inserts the list of floats in the document.
417 \begin_layout Description
418 Syntax float-list-insert <TYPE>
421 \begin_layout Description
422 Params <TYPE>: type of float depends on the used textclass.
423 Usually "algorithm", "table", "figure" parameters can be given.
427 \begin_layout Description
428 Origin Lgb, 3 May 2001
431 \begin_layout Subsection*
435 \begin_layout Description
436 Action Inserts floats wrapped by the text around.
440 \begin_layout Description
441 Syntax wrap-insert <TYPE>
444 \begin_layout Description
445 Params <TYPE>: table|figure
448 \begin_layout Description
449 Origin Dekel, 7 Apr 2002
452 \begin_layout Subsection*
456 \begin_layout Description
457 Action Inserts an optional-argument (short title) inset.
461 \begin_layout Description
462 Syntax optional-insert
465 \begin_layout Description
466 Origin vermeer, 12 Aug 2002
469 \begin_layout Subsection*
473 \begin_layout Description
474 Action Inserts a horizontal line.
478 \begin_layout Description
482 \begin_layout Description
483 Origin Andre, Oct 27 2003
486 \begin_layout Subsection*
490 \begin_layout Description
491 Action Inserts a new page.
495 \begin_layout Description
496 Syntax newpage-insert <ARG>
499 \begin_layout Description
500 Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
504 \begin_layout Description
505 Origin uwestoehr, 24 Nov 2007
508 \begin_layout Subsection*
509 LFUN_MARGINALNOTE_INSERT
512 \begin_layout Description
513 Action Inserts a marginal note.
517 \begin_layout Description
518 Syntax marginalnote-insert
521 \begin_layout Description
522 Origin Lgb, 26 Jun 2000
525 \begin_layout Subsection*
529 \begin_layout Description
530 Action Inserts a single unicode character.
534 \begin_layout Description
535 Syntax unicode-insert <CHAR>
538 \begin_layout Description
539 Params <CHAR>: The character to insert, given as its code point, in hexadecimal.
543 \begin_layout Description
544 Sample unicode-insert 0x0100
547 \begin_layout Description
548 Origin Lgb, 22 Oct 2006
551 \begin_layout Subsection*
555 \begin_layout Description
556 Action Inserts a new listings inset.
560 \begin_layout Description
561 Syntax listing-insert
564 \begin_layout Description
565 Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
568 \begin_layout Subsection*
572 \begin_layout Description
573 Action Inserts quotes according to the type and quote-language preference.
577 \begin_layout Description
578 Action Currently English, Swedish, German, Polish, French, Danish quotes
583 \begin_layout Description
584 Syntax quote-insert [<TYPE>]
587 \begin_layout Description
588 Params <TYPE>: 'single' for single quotes, otherwise double quotes will
593 \begin_layout Subsection*
597 \begin_layout Description
598 Action Displays shortcuts, lyxrc, package and textclass availability and
599 menu information in a non-editable boxed InsetText.
603 \begin_layout Description
604 Notion Apart from lfun arguments you can use the following method:
607 input the type and argument of this inset, e.g.
608 "menu paste", in the work area.
612 select the text and run info-insert lfun.
616 \begin_layout Description
617 Syntax info-insert <TYPE> <ARG>
620 \begin_layout Description
621 Params <TYPE>: shortcut|lyxrc|package|textclass|menu|buffer
625 Look into InsetInfo.h for detailed description.
629 \begin_layout Description
630 Origin bpeng, 7 Oct 2007
633 \begin_layout Subsection*
637 \begin_layout Description
638 Action Inserts branch inset.
642 \begin_layout Description
643 Syntax branch-insert <BRANCH-NAME>
646 \begin_layout Description
647 Origin vermeer, 17 Aug 2003
650 \begin_layout Subsection*
654 \begin_layout Description
655 Action Inserts Box inset.
659 \begin_layout Description
660 Syntax box-insert [<TYPE>]
663 \begin_layout Description
664 Params <TYPE>: Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox
667 Framed is the default one.
671 \begin_layout Description
672 Origin vermeer, 7 Oct 2003
675 \begin_layout Subsection*
679 \begin_layout Description
680 Action Inserts CharStyle, Custom inset or XML short element.
684 \begin_layout Description
685 Notion Look into the Customization manual for more information about these
689 To make this command enabled the layout file for the document class you're
690 using has to load the character styles.
691 There are a few contained in the Logical Markup module.
692 You can also of course create some yourself.
695 For dissolving the element see LFUN_INSET_DISSOLVE.
699 \begin_layout Description
700 Syntax flex-insert <TYPE:Name>
703 \begin_layout Description
704 Params TYPE: CharStyle|Custom|Element|Standard
706 Identifies whether this
707 is a Character Style, a Custom Inset or an XML Element, and which dynamical
708 sub-menu this flex inset is in on the LyX menu tree.
709 If Standard (currently unused): none of these.
710 Name: This name must be defined either in your layout file or imported
714 InsetLayout <TYPE:Name>
717 \begin_layout Description
718 Sample flex-insert CharStyle:Code
721 \begin_layout Subsection*
725 \begin_layout Description
726 Action Inserts the given string (accordingly to the correct keymap).
730 \begin_layout Description
731 Notion Automatically replace the currently selected text.
732 Depends on lyxrc settings "auto_region_delete".
736 \begin_layout Description
737 Syntax self-insert <STRING>
740 \begin_layout Subsection*
744 \begin_layout Description
745 Action Inserts one of horizontal space insets.
749 \begin_layout Description
750 Syntax space-insert <NAME> [<LEN>]
753 \begin_layout Description
754 Params <NAME>: normal, protected, thin, quad, qquad, enspace, enskip, negthinspa
755 ce, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
758 custom spaces (hspace, hspace* for protected)
761 \begin_layout Description
762 Origin JSpitzm, 20 May 2003, Mar 17 2008
765 \begin_layout Subsection*
766 LFUN_HYPERLINK_INSERT
769 \begin_layout Description
770 Action Inserts hyperlinks into the document (clickable in pdf output).
774 \begin_layout Description
775 Notion Hyperlink target can be set via selection + hyperlink-insert function.
779 \begin_layout Description
780 Syntax href-insert [<TARGET>]
783 \begin_layout Description
784 Origin CFO-G, 21 Nov 1997
787 \begin_layout Subsection*
788 LFUN_SPECIALCHAR_INSERT
791 \begin_layout Description
792 Action Inserts various characters into the document.
796 \begin_layout Description
797 Syntax specialchar-insert <CHAR>
800 \begin_layout Description
801 Params <CHAR>: hyphenation, ligature-break, slash, nobreakdash, dots, end-of-sen
802 tence, menu-separator.
806 \begin_layout Description
807 Origin JSpitzm, 6 Dec 2007
810 \begin_layout Subsection*
814 \begin_layout Description
815 Action Inserts table of contents.
819 \begin_layout Description
823 \begin_layout Description
824 Origin Lgb, 27 May 97
827 \begin_layout Subsection*
831 \begin_layout Description
832 Action Start (or remove) Appendix on the given cursor position.
836 \begin_layout Description
840 \begin_layout Description
841 Origin ettrich, 5 May 1998
844 \begin_layout Subsection*
848 \begin_layout Description
849 Action Inserts Index entry.
853 \begin_layout Description
854 Notion It automatically takes the word on the cursor position.
858 \begin_layout Description
862 \begin_layout Description
863 Origin leeming, 3 Aug 2000
866 \begin_layout Subsection*
870 \begin_layout Description
871 Action Inserts list of Index entries on a new page.
875 \begin_layout Description
879 \begin_layout Description
880 Origin Lgb, 27 Feb 1997
883 \begin_layout Subsection*
887 \begin_layout Description
888 Action Inserts Nomenclature entry.
892 \begin_layout Description
893 Notion It automatically takes the word on the cursor position if no symbol
898 \begin_layout Description
899 Syntax nomencl-insert [<SYMBOL>]
902 \begin_layout Description
903 Origin Ugras, 4 Nov 2006
906 \begin_layout Subsection*
907 LFUN_NOMENCLATURE_PRINT
910 \begin_layout Description
911 Action Inserts list of Nomenclature entries.
915 \begin_layout Description
916 Syntax nomenclature-print
919 \begin_layout Description
920 Origin Ugras, 4 Nov 2006
923 \begin_layout Subsection*
927 \begin_layout Description
928 Action Inserts Note on the current cursor postion, move selection inside
933 \begin_layout Description
934 Syntax note-insert [<TYPE>]
937 \begin_layout Description
938 Params <TYPE>: <Note|Greyedout|Comment> default: Note
941 \begin_layout Subsection*
945 \begin_layout Description
946 Action Moves the cursor to the begining of next Note inset.
950 \begin_layout Description
954 \begin_layout Subsection*
958 \begin_layout Description
959 Action Changes all Note insets of a particular type (source) to a different
960 type (target) fot the current document.
964 \begin_layout Description
965 Syntax notes-mutate <SOURCE> <TARGET>
968 \begin_layout Description
969 Params <SOURCE/TARGET>: Note|Comment|Greyedout
972 \begin_layout Description
973 Origin sanda, 18 Jun 2008
976 \begin_layout Subsection*
980 \begin_layout Description
981 Action Inserts a line break or new line.
985 \begin_layout Description
986 Syntax newline-insert [<ARG>]
989 \begin_layout Description
990 Params <ARG>: <newline|linebreak> default: newline
993 \begin_layout Description
994 Origin JSpitzm, 25 Mar 2008
997 \begin_layout Subsection*
1001 \begin_layout Description
1002 Action Clears the selection.
1003 If no text is selected call LFUN_FINISHED_FORWARD.
1007 \begin_layout Description
1011 \begin_layout Description
1012 Origin Lgb, 17 May 2001
1015 \begin_layout Subsection*
1019 \begin_layout Description
1020 Action Moves the cursor one line in downward direction.
1024 \begin_layout Description
1028 \begin_layout Subsection*
1032 \begin_layout Description
1033 Action Moves the cursor one line in upward direction.
1037 \begin_layout Description
1041 \begin_layout Subsection*
1045 \begin_layout Description
1046 Action Moves the cursor one line in downward direction adding the current
1047 position to the selection.
1051 \begin_layout Description
1055 \begin_layout Subsection*
1059 \begin_layout Description
1060 Action Moves the cursor one line in upward direction adding the current
1061 position to the selection.
1065 \begin_layout Description
1069 \begin_layout Subsection*
1073 \begin_layout Description
1074 Action Moves the cursor one page in downward direction.
1078 \begin_layout Description
1082 \begin_layout Subsection*
1086 \begin_layout Description
1087 Action Moves the cursor one page in upward direction.
1091 \begin_layout Description
1095 \begin_layout Subsection*
1096 LFUN_SCREEN_DOWN_SELECT
1099 \begin_layout Description
1100 Action Moves the cursor one screen in downward direction adding the current
1101 position to the selection.
1105 \begin_layout Description
1106 Syntax screen-down-select
1109 \begin_layout Subsection*
1110 LFUN_SCREEN_UP_SELECT
1113 \begin_layout Description
1114 Action Moves the cursor one page in upward direction adding the current
1115 position to the selection.
1119 \begin_layout Description
1120 Syntax screen-up-select
1123 \begin_layout Subsection*
1127 \begin_layout Description
1128 Action Scroll the buffer view.
1132 \begin_layout Description
1133 Notion Only scrolls the screen up or down; does not move the cursor.
1137 \begin_layout Description
1138 Syntax scroll <TYPE> <QUANTITY>
1141 \begin_layout Description
1142 Params <TYPE>: line|page
1144 <QUANTITY>: up|down|<number>
1147 \begin_layout Description
1148 Origin Abdel, Dec 27 2007
1151 \begin_layout Subsection*
1152 LFUN_SCREEN_RECENTER
1155 \begin_layout Description
1156 Action Recenters the screen on the current cursor position.
1160 \begin_layout Description
1161 Syntax screen-recenter
1164 \begin_layout Subsection*
1168 \begin_layout Description
1169 Action Moves the cursor one position logically backwards.
1173 \begin_layout Description
1174 Notion This is not the action which should be bound to the arrow keys, because
1175 backwards may be left or right, depending on the language.
1176 The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions,
1177 which in turn may employ this one.
1181 \begin_layout Description
1182 Syntax char-backward
1185 \begin_layout Subsection*
1186 LFUN_CHAR_BACKWARD_SELECT
1189 \begin_layout Description
1190 Action Moves the cursor one position logically backwards, adding traversed
1191 position to the selection.
1195 \begin_layout Description
1196 Notion See also LFUN_CHAR_BACKWARD.
1200 \begin_layout Description
1201 Syntax char-backward-select
1204 \begin_layout Subsection*
1205 LFUN_CHAR_DELETE_BACKWARD
1208 \begin_layout Description
1209 Action Deletes one character in the backward direction (usually the "BackSpace"
1214 \begin_layout Description
1215 Syntax char-delete-backward
1218 \begin_layout Subsection*
1219 LFUN_CHAR_DELETE_FORWARD
1222 \begin_layout Description
1223 Action Deletes one character in the backward direction (usually the "Delete"
1228 \begin_layout Description
1229 Syntax char-delete-forward
1232 \begin_layout Subsection*
1236 \begin_layout Description
1237 Action Moves the cursor one position logically forward.
1241 \begin_layout Description
1242 Notion This is not the action which should be bound to the arrow keys, because
1243 forward may be left or right, depending on the language.
1244 The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions,
1245 which in turn may employ this one.
1249 \begin_layout Description
1253 \begin_layout Subsection*
1254 LFUN_CHAR_FORWARD_SELECT
1257 \begin_layout Description
1258 Action Moves the cursor one position logically forward, adding traversed
1259 position to the selection.
1263 \begin_layout Description
1264 Notion See also LFUN_CHAR_FORWARD.
1268 \begin_layout Description
1269 Syntax char-forward-select
1272 \begin_layout Subsection*
1276 \begin_layout Description
1277 Action Moves the cursor one position "to the left".
1281 \begin_layout Description
1282 Notion This is the action which should be taken when the "left" key is pressed.
1283 Generally, it moves the cursor one position to the left.
1284 However, in Bidi text this become slightly more complicated, and there
1285 are different modes of cursor movement.
1286 In "visual mode", this moves left, plain and simple.
1287 In "logical mode", movement is logically forward in RTL paragraphs, and
1288 logically backwards in LTR paragraphs.
1292 \begin_layout Description
1296 \begin_layout Subsection*
1297 LFUN_CHAR_LEFT_SELECT
1300 \begin_layout Description
1301 Action Moves the cursor one position "to the left", adding traversed position
1306 \begin_layout Description
1307 Notion See also LFUN_CHAR_LEFT for exact details of the movement.
1311 \begin_layout Description
1312 Syntax char-left-select
1315 \begin_layout Subsection*
1319 \begin_layout Description
1320 Action Moves the cursor one position "to the right".
1324 \begin_layout Description
1325 Notion This is the action which should be taken when the "right" key is
1327 Generally, it moves the cursor one position to the right.
1328 However, in Bidi text this become slightly more complicated, and there
1329 are different modes of cursor movement.
1330 In "visual mode", this moves right, plain and simple.
1331 In "logical mode", movement is logically forward in LTR paragraphs, and
1332 logically backwards in RTL paragraphs.
1336 \begin_layout Description
1340 \begin_layout Subsection*
1341 LFUN_CHAR_RIGHT_SELECT
1344 \begin_layout Description
1345 Action Moves the cursor one position "to the right", adding traversed position
1350 \begin_layout Description
1351 Notion See also LFUN_CHAR_RIGHT for exact details of the movement.
1355 \begin_layout Description
1356 Syntax char-right-select
1359 \begin_layout Subsection*
1363 \begin_layout Description
1364 Action Moves the cursor to the logically previous beginning of a word.
1368 \begin_layout Description
1369 Notion This is not the action which should be bound to the arrow keys, because
1370 backwards may be left or right, depending on the language.
1371 The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions,
1372 which in turn may employ this one.
1376 \begin_layout Description
1377 Syntax word-backward
1380 \begin_layout Subsection*
1381 LFUN_WORD_BACKWARD_SELECT
1384 \begin_layout Description
1385 Action Moves the cursor to the logically previous beginning of a word, adding
1386 the logically traversed text to the selection.
1390 \begin_layout Description
1391 Notion See also LFUN_WORD_BACKWARD.
1395 \begin_layout Description
1396 Syntax word-backward-select
1399 \begin_layout Subsection*
1400 LFUN_WORD_DELETE_BACKWARD
1403 \begin_layout Description
1404 Action Deletes characters to the begining of the word (usually the "C+BackSpace"
1409 \begin_layout Description
1410 Syntax word-delete-backward
1413 \begin_layout Subsection*
1414 LFUN_WORD_DELETE_FORWARD
1417 \begin_layout Description
1418 Action Deletes characters to the end of the word (usually the "C+Delete"
1423 \begin_layout Description
1424 Syntax word-delete-forward
1427 \begin_layout Subsection*
1428 LFUN_WORD_FIND_FORWARD
1431 \begin_layout Description
1432 Action Search for a given string in forward direction.
1436 \begin_layout Description
1437 Notion Case sensitive, match words.
1438 If no argument given, last search repeated.
1442 \begin_layout Description
1443 Syntax word-find-forward [<STRING>]
1446 \begin_layout Description
1447 Origin Etienne, 16 Feb 1998
1450 \begin_layout Subsection*
1451 LFUN_WORD_FIND_BACKWARD
1454 \begin_layout Description
1455 Action Search for a given string in backward direction.
1459 \begin_layout Description
1460 Notion Case sensitive, match words.
1461 If no argument given, last search repeated.
1465 \begin_layout Description
1466 Syntax word-find-backward [<STRING>]
1469 \begin_layout Description
1470 Origin Etienne, 20 Feb 1998
1473 \begin_layout Subsection*
1477 \begin_layout Description
1478 Action Search for next occurence of a string.
1482 \begin_layout Description
1483 Syntax word-find [<DATA>]
1486 \begin_layout Description
1487 Params <DATA>: data encoded from Find dialog (see lyx::find2string()).
1488 If no parameter is given, search with last find-dialog data is used for
1494 \begin_layout Description
1495 Origin Andre, Jan 7 2004
1498 \begin_layout Subsection*
1502 \begin_layout Description
1503 Action Replace a string in the document.
1507 \begin_layout Description
1508 Syntax word-replace [<DATA>]
1511 \begin_layout Description
1512 Params <DATA>: data is of the form "<search>
1517 <matchword> <all> <forward>"
1520 \begin_layout Description
1521 Origin Andre, Jan 7 2004
1524 \begin_layout Subsection*
1528 \begin_layout Description
1529 Action Moves the cursor to the logically next beginning of a word.
1533 \begin_layout Description
1534 Notion This is not the action which should be bound to the arrow keys, because
1535 forward may be left or right, depending on the language.
1536 The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions,
1537 which in turn may employ this one.
1541 \begin_layout Description
1545 \begin_layout Subsection*
1546 LFUN_WORD_FORWARD_SELECT
1549 \begin_layout Description
1550 Action Moves the cursor to the logically next beginning of a word, adding
1551 the logically traversed text to the selection.
1555 \begin_layout Description
1556 Notion See also LFUN_WORD_FORWARD.
1560 \begin_layout Description
1561 Syntax word-forward-select
1564 \begin_layout Subsection*
1568 \begin_layout Description
1569 Action Moves the cursor to the next beginning of a word "on the left".
1573 \begin_layout Description
1574 Notion This is the action which should be taken when the (e.g., ctrl-) "left"
1576 Generally, it moves the cursor to the next beginning of a word on the left.
1577 However, in Bidi text this become slightly more complicated, and there
1578 are different modes of cursor movement.
1579 In "visual mode", this moves left, plain and simple.
1580 In "logical mode", movement is logically forward in RTL paragraphs, and
1581 logically backwards in LTR paragraphs.
1585 \begin_layout Description
1589 \begin_layout Description
1590 Origin dov, 28 Oct 2007
1593 \begin_layout Subsection*
1594 LFUN_WORD_LEFT_SELECT
1597 \begin_layout Description
1598 Action Moves the cursor to the next beginning of a word "on the left", adding
1599 *logically* traversed text to the selection.
1603 \begin_layout Description
1604 Notion See also LFUN_WORD_LEFT for exact details of the movement.
1608 \begin_layout Description
1609 Syntax word-left-select
1612 \begin_layout Description
1613 Origin dov, 28 Oct 2007
1616 \begin_layout Subsection*
1620 \begin_layout Description
1621 Action Moves the cursor to the next beginning of a word "on the right".
1625 \begin_layout Description
1626 Notion This is the action which should be taken when the (e.g., ctrl-) "right"
1628 Generally, it moves the cursor to the next beginning of a word on the right.
1629 However, in Bidi text this become slightly more complicated, and there
1630 are different modes of cursor movement.
1631 In "visual mode", this moves right, plain and simple.
1632 In "logical mode", movement is logically forward in LTR paragraphs, and
1633 logically backwards in RTL paragraphs.
1637 \begin_layout Description
1641 \begin_layout Description
1642 Origin dov, 28 Oct 2007
1645 \begin_layout Subsection*
1646 LFUN_WORD_RIGHT_SELECT
1649 \begin_layout Description
1650 Action Moves the cursor to the next beginning of a word "on the right",
1651 adding *logically* traversed text to the selection.
1655 \begin_layout Description
1656 Notion See also LFUN_WORD_RIGHT for exact details of the movement.
1660 \begin_layout Description
1661 Syntax word-right-select
1664 \begin_layout Description
1665 Origin dov, 28 Oct 2007
1668 \begin_layout Subsection*
1672 \begin_layout Description
1673 Action Puts the word where the cursor stands into the selection.
1677 \begin_layout Description
1681 \begin_layout Description
1682 Origin Andre, 11 Sep 2002
1685 \begin_layout Subsection*
1686 LFUN_WORD_CAPITALIZE
1689 \begin_layout Description
1690 Action Capitalizes the words in the selection (i.e.
1691 the first letters) or the letter on the cursor position.
1695 \begin_layout Description
1696 Syntax word-capitalize
1699 \begin_layout Subsection*
1703 \begin_layout Description
1704 Action Change the words in the selection or from the cursor position to
1705 the end of word to the upper case.
1709 \begin_layout Description
1713 \begin_layout Subsection*
1717 \begin_layout Description
1718 Action Change the words in the selection or from the cursor position to
1719 the end of word to the lower case.
1723 \begin_layout Description
1727 \begin_layout Subsection*
1728 LFUN_THESAURUS_ENTRY
1731 \begin_layout Description
1732 Action Look up thesaurus entries with respect to the word under the cursor.
1736 \begin_layout Description
1737 Syntax thesaurus-entry
1740 \begin_layout Description
1741 Origin Levon, 20 Jul 2001
1744 \begin_layout Subsection*
1748 \begin_layout Description
1749 Action Move the cursor to the beginning of the document.
1753 \begin_layout Description
1757 \begin_layout Subsection*
1758 LFUN_BUFFER_BEGIN_SELECT
1761 \begin_layout Description
1762 Action Move the cursor to the beginning of the document adding the traversed
1763 text to the selection.
1767 \begin_layout Description
1768 Syntax buffer-begin-select
1771 \begin_layout Subsection*
1775 \begin_layout Description
1776 Action Move the cursor to the end of the document.
1780 \begin_layout Description
1784 \begin_layout Subsection*
1785 LFUN_BUFFER_END_SELECT
1788 \begin_layout Description
1789 Action Move the cursor to the end of the document adding the traversed text
1794 \begin_layout Description
1795 Syntax buffer-end-select
1798 \begin_layout Subsection*
1802 \begin_layout Description
1803 Action Move the cursor to the begining of the (screen) line.
1807 \begin_layout Description
1811 \begin_layout Subsection*
1812 LFUN_LINE_BEGIN_SELECT
1815 \begin_layout Description
1816 Action Move the cursor to the beginning of the (screen) line adding the
1817 traversed text to the selection.
1821 \begin_layout Description
1822 Syntax line-begin-select
1825 \begin_layout Subsection*
1829 \begin_layout Description
1830 Action Move the cursor to the end of the (screen) line.
1834 \begin_layout Description
1838 \begin_layout Subsection*
1839 LFUN_LINE_END_SELECT
1842 \begin_layout Description
1843 Action Move the cursor to the end of the (screen) line adding the traversed
1844 text to the selection.
1848 \begin_layout Description
1849 Syntax line-end-select
1852 \begin_layout Subsection*
1856 \begin_layout Description
1857 Action Deletes the letters to the end of the (screen) line or deletes the
1862 \begin_layout Description
1863 Syntax line-delete-forward
1866 \begin_layout Subsection*
1870 \begin_layout Description
1871 Action Copies to the clipboard the last edit.
1875 \begin_layout Description
1879 \begin_layout Subsection*
1883 \begin_layout Description
1884 Action Cuts to the clipboard.
1888 \begin_layout Description
1892 \begin_layout Subsection*
1896 \begin_layout Description
1897 Action Pastes material from the active clipboard.
1901 \begin_layout Description
1902 Syntax paste [<TYPE>]
1905 \begin_layout Description
1906 Params <TYPE>: pdf|png|jpeg|linkback
1909 \begin_layout Subsection*
1910 LFUN_CLIPBOARD_PASTE
1913 \begin_layout Description
1914 Action Pastes text from the active clipboard.
1918 \begin_layout Description
1919 Syntax clipboard-paste [<ARG>]
1922 \begin_layout Description
1923 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e.
1928 \begin_layout Description
1929 Origin baum, 10 Jul 2006
1932 \begin_layout Subsection*
1933 LFUN_PRIMARY_SELECTION_PASTE
1936 \begin_layout Description
1937 Action Pastes the currently text selected text.
1941 \begin_layout Description
1942 Notion Primary selection mechanism is linux-only thing.
1946 \begin_layout Description
1947 Syntax primary-selection-paste [<ARG>]
1950 \begin_layout Description
1951 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e.
1956 \begin_layout Subsection*
1960 \begin_layout Description
1961 Action Undoes the last edit.
1965 \begin_layout Description
1969 \begin_layout Subsection*
1973 \begin_layout Description
1974 Action Redoes the last thing undone.
1978 \begin_layout Description
1982 \begin_layout Subsection*
1986 \begin_layout Description
1987 Action Repeat the given command.
1991 \begin_layout Description
1992 Syntax repeat <COUNT> <LFUN-COMMAND>
1995 \begin_layout Description
1996 Origin Andre, , 27 Oct 2003
1999 \begin_layout Subsection*
2000 LFUN_CHARS_TRANSPOSE
2003 \begin_layout Description
2004 Action Transposes the character at the cursor with the one before it.
2008 \begin_layout Description
2009 Syntax chars-transpose
2012 \begin_layout Description
2013 Origin Lgb, 25 Apr 2001
2016 \begin_layout Subsection*
2017 LFUN_DEPTH_DECREMENT
2020 \begin_layout Description
2021 Action Decrease the nesting depth of the (selected) paragraph(s) inside
2026 \begin_layout Description
2027 Syntax depth-decrement
2030 \begin_layout Subsection*
2031 LFUN_DEPTH_INCREMENT
2034 \begin_layout Description
2035 Action Increase the nesting depth of the (selected) paragraph(s) inside
2040 \begin_layout Description
2041 Syntax depth-increment
2044 \begin_layout Subsection*
2048 \begin_layout Description
2049 Action Toggles the bold font (selection-wise).
2053 \begin_layout Description
2057 \begin_layout Subsection*
2058 LFUN_FONT_TYPEWRITER
2061 \begin_layout Description
2062 Action Toggles the typewriter family font (selection-wise).
2066 \begin_layout Description
2067 Syntax font-typewriter
2070 \begin_layout Subsection*
2074 \begin_layout Description
2075 Action Toggles underline in the font (selection-wise).
2079 \begin_layout Description
2080 Syntax font-underline
2083 \begin_layout Subsection*
2087 \begin_layout Description
2088 Action Toggles the emphasis font style (selection-wise).
2092 \begin_layout Description
2096 \begin_layout Subsection*
2100 \begin_layout Description
2101 Action Toggles Noun text style font (selection-wise).
2105 \begin_layout Description
2109 \begin_layout Subsection*
2113 \begin_layout Description
2114 Action Toggles Roman family font (selection-wise).
2118 \begin_layout Description
2122 \begin_layout Subsection*
2126 \begin_layout Description
2127 Action Toggles Sans Serif family font (selection-wise).
2131 \begin_layout Description
2135 \begin_layout Subsection*
2139 \begin_layout Description
2140 Action Toggles Fraktur family font (math-mode, selection-wise).
2144 \begin_layout Description
2148 \begin_layout Description
2149 Origin vermeer, 10 Jan 2002
2152 \begin_layout Subsection*
2156 \begin_layout Description
2157 Action Toggles Italics font shape (math-mode, selection-wise).
2161 \begin_layout Description
2165 \begin_layout Description
2166 Origin vermeer, 10 Jan 2002
2169 \begin_layout Subsection*
2173 \begin_layout Description
2174 Action Reverts the settings of the font to the default values (selection-wise).
2178 \begin_layout Description
2182 \begin_layout Subsection*
2186 \begin_layout Description
2187 Action Sets font size according to lyx format string.
2191 \begin_layout Description
2192 Syntax font-size <SIZE>
2195 \begin_layout Description
2196 Params <SIZE>: tiny|scriptsize|footnotesize|small|normal|large|larger|
2199 largest|huge|giant|increase|decrease|default
2202 \begin_layout Subsection*
2203 LFUN_TEXTSTYLE_APPLY
2206 \begin_layout Description
2207 Action Toggle user-defined (=last-time used) text style.
2211 \begin_layout Description
2212 Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically
2213 trigerred when using Text Style dialog.
2217 \begin_layout Description
2218 Syntax textstyle-apply
2221 \begin_layout Description
2222 Origin leeming, 12 Mar 2003
2225 \begin_layout Subsection*
2226 LFUN_TEXTSTYLE_UPDATE
2229 \begin_layout Description
2230 Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APP
2235 \begin_layout Description
2236 Syntax textstyle-update <FONT_INFO>
2239 \begin_layout Description
2240 Params <FONT_INFO>: specifies font atributes, e.g.
2241 family, series, shape, size, emph, noun, underbar, number, color, language,
2245 Use lyx -dbg action for exact syntax of text-style dialog parameters.
2249 \begin_layout Description
2250 Origin leeming, 12 Mar 2003
2253 \begin_layout Subsection*
2254 LFUN_SCREEN_FONT_UPDATE
2257 \begin_layout Description
2258 Action Update fonts and its metrics.
2262 \begin_layout Description
2263 Notion Automatically called after zoom, dpi, font names, or norm change.
2267 \begin_layout Description
2268 Syntax screen-font-update
2271 \begin_layout Description
2272 Origin ARRae, 13 Aug 2000
2275 \begin_layout Subsection*
2279 \begin_layout Description
2280 Action Returns the info about the current font.
2284 \begin_layout Description
2288 \begin_layout Subsection*
2289 LFUN_CITATION_INSERT
2292 \begin_layout Description
2293 Action Inserts citation from loaded citation database.
2297 \begin_layout Description
2298 Syntax citation-insert [<KEY>[|<TEXT_BEFORE>]]
2301 \begin_layout Description
2302 Params <KEY>: Citation (shortcut listed in available citations).
2305 <TEXT_BEFORE>: text which should appear before citation.
2309 \begin_layout Description
2310 Origin AAS, 97-02-23
2313 \begin_layout Subsection*
2314 LFUN_BIBTEX_DATABASE_ADD
2317 \begin_layout Description
2318 Action Adds database, which will be used for bibtex citations.
2322 \begin_layout Description
2323 Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX
2324 bibliography) found from the cursor postion.
2328 \begin_layout Description
2329 Syntax bibtex-database-add <DATABASE-NAME>
2332 \begin_layout Description
2333 Origin Ale, 30 May 1997
2336 \begin_layout Subsection*
2337 LFUN_BIBTEX_DATABASE_DEL
2340 \begin_layout Description
2341 Action Adds database, which will be used for bibtex citations.
2345 \begin_layout Description
2346 Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTe
2347 X bibliography) found from the cursor postion.
2351 \begin_layout Description
2352 Syntax bibtex-database-del <DATABASE-NAME>
2355 \begin_layout Description
2356 Origin Ale, 30 May 1997
2359 \begin_layout Subsection*
2363 \begin_layout Description
2364 Action Sets the layout (that is, environment) for the current paragraph.
2368 \begin_layout Description
2369 Syntax layout <LAYOUT>
2372 \begin_layout Description
2373 Params <LAYOUT>: the layout to use
2376 \begin_layout Subsection*
2377 LFUN_LAYOUT_PARAGRAPH
2380 \begin_layout Description
2381 Action Launches the paragraph settings dialog.
2385 \begin_layout Description
2386 Syntax layout-paragraph
2389 \begin_layout Subsection*
2393 \begin_layout Description
2394 Action Launches the tabular settings dialog.
2398 \begin_layout Description
2399 Syntax layout-tabular
2402 \begin_layout Description
2403 Origin Jug, 31 Jul 2000
2406 \begin_layout Subsection*
2407 LFUN_DROP_LAYOUTS_CHOICE
2410 \begin_layout Description
2411 Action Displays list of layout choices.
2415 \begin_layout Description
2416 Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox
2417 allowing for choice of layout.
2421 \begin_layout Description
2422 Syntax drop-layouts-choice
2425 \begin_layout Subsection*
2426 LFUN_LAYOUT_MODULES_CLEAR
2429 \begin_layout Description
2430 Action Clears the module list.
2434 \begin_layout Description
2435 Notion Clears the list of included modules for the current buffer.
2439 \begin_layout Description
2440 Syntax layout-modules-clear
2443 \begin_layout Description
2444 Origin rgh, 25 August 2007
2447 \begin_layout Subsection*
2448 LFUN_LAYOUT_MODULE_ADD
2451 \begin_layout Description
2452 Action Adds a module.
2456 \begin_layout Description
2457 Notion Adds a module to the list of included modules for the current buffer.
2461 \begin_layout Description
2462 Syntax layout-module-add <MODULE>
2465 \begin_layout Description
2466 Params <MODULE>: the module to be added
2469 \begin_layout Description
2470 Origin rgh, 25 August 2007
2473 \begin_layout Subsection*
2477 \begin_layout Description
2478 Action Reloads layout information.
2482 \begin_layout Description
2483 Notion Reloads all layout information for the current buffer from disk,
2484 thus recognizing any changes that have been made to layout files on the
2486 This is intended to be used only by layout developers and should not be
2487 used when one is trying to do actual work.
2491 \begin_layout Description
2492 Syntax layout-reload
2495 \begin_layout Description
2496 Origin rgh, 3 September 2007
2499 \begin_layout Subsection*
2500 LFUN_TEXTCLASS_APPLY
2503 \begin_layout Description
2504 Action Sets the text class for the current buffer.
2508 \begin_layout Description
2509 Syntax textclass-apply <TEXTCLASS>
2512 \begin_layout Description
2513 Params <TEXTCLASS>: the textclass to set.
2514 Note that this must be the filename, minus the ".layout" extension.
2518 \begin_layout Subsection*
2522 \begin_layout Description
2523 Action Loads information for a textclass from disk.
2527 \begin_layout Description
2528 Syntax textclass-load <TEXTCLASS>
2531 \begin_layout Description
2532 Params <TEXTCLASS>: the textclass to load.
2533 Note that this must be the filename, minus the ".layout" extension.
2537 \begin_layout Subsection*
2541 \begin_layout Description
2542 Action Disable selecting of text-region.
2546 \begin_layout Description
2550 \begin_layout Subsection*
2554 \begin_layout Description
2555 Action Enable selecting of text-region.
2559 \begin_layout Description
2560 Notion After enabling you can simply move arrow keys to get selected region.
2564 \begin_layout Description
2568 \begin_layout Subsection*
2572 \begin_layout Description
2573 Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
2577 \begin_layout Description
2581 \begin_layout Description
2582 Origin Andre, May 5 2006
2585 \begin_layout Subsection*
2589 \begin_layout Description
2590 Action Inserts math delimiters (e.g.
2591 parentheses, brackets) enclosing expression.
2595 \begin_layout Description
2596 Syntax math-delim [<LEFT>] [<RIGHT>]
2599 \begin_layout Description
2600 Params <LEFT/RIGHT>: Delimiters to be used.
2601 Each delimiter can be specified by either a LaTeX name or a valid character.
2602 ( is the default letter.
2606 \begin_layout Description
2607 Sample math-delim { rangle
2610 \begin_layout Description
2611 Origin Alejandro, 18 Jun 1996
2614 \begin_layout Subsection*
2618 \begin_layout Description
2619 Action Inserts math fixed size delimiters (e.g.
2620 parentheses, brackets) enclosing expression.
2624 \begin_layout Description
2625 Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
2628 \begin_layout Description
2629 Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
2631 <L/RDELIM>: TeX code for
2633 See Delimiter dialog for delimiters to be used.
2637 \begin_layout Description
2638 Sample math-bigdelim "Bigl" "Downarrow" "Bigr" "}"
2641 \begin_layout Description
2642 Origin Enrico & Georg, 7 May 2006
2645 \begin_layout Subsection*
2649 \begin_layout Description
2650 Action Creates a new displayed equation in text mode.
2651 Toggles inlined/display formula in math mode.
2655 \begin_layout Description
2656 Syntax math-display [<ARG>]
2659 \begin_layout Description
2660 Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating
2661 new equation from the text mode.
2665 \begin_layout Description
2666 Origin Alejandro, 18 Jun 1996
2669 \begin_layout Subsection*
2673 \begin_layout Description
2674 Action Inserts math objects and symbols.
2678 \begin_layout Description
2679 Syntax math-insert <ARG>
2682 \begin_layout Description
2683 Params <ARG>: Symbol or LaTeX code to be inserted.
2687 \begin_layout Subsection*
2691 \begin_layout Description
2692 Action Enters subscript expression in math expression.
2696 \begin_layout Description
2697 Syntax math-subscript
2700 \begin_layout Description
2701 Origin vermeer, 12 Dec 2001
2704 \begin_layout Subsection*
2705 LFUN_MATH_SUPERSCRIPT
2708 \begin_layout Description
2709 Action Enters subscript expression in math expression.
2713 \begin_layout Description
2714 Syntax math-superscript
2717 \begin_layout Description
2718 Origin vermeer, 12 Dec 2001
2721 \begin_layout Subsection*
2725 \begin_layout Description
2726 Action Toggles the position of the limits from above/below to the right
2727 side an vice versa in integral symbol, a limit, a summation, etc.
2731 \begin_layout Description
2732 Notion Put the cursor before the symbol with the limits and then invoke
2737 \begin_layout Description
2738 Syntax math-limits [<STATE>]
2741 \begin_layout Description
2742 Params <STATE>: limits|nolimits
2745 \begin_layout Subsection*
2749 \begin_layout Description
2750 Action Inserts a math macro definition at the cursor position in the text.
2754 \begin_layout Description
2755 Syntax math-macro <NAME> [<NARGS>] [def]
2758 \begin_layout Description
2759 Params <NAME>: The name of the macro, e.g.
2761 <NARGS>: The number of parameters of the macro.
2763 "def": Has no effect anymore, just for compatibility with former LyX versions.
2767 \begin_layout Description
2768 Origin ale, 10 May 1997; sts, 21 Dec 2007
2771 \begin_layout Subsection*
2775 \begin_layout Description
2776 Action Mutates the type of math inset to the newly selected one.
2780 \begin_layout Description
2781 Syntax math-mutate <TYPE>
2784 \begin_layout Description
2785 Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat|
2786 multline|gather|flalign
2789 \begin_layout Description
2790 Origin Andre, 23 May 2001
2793 \begin_layout Subsection*
2797 \begin_layout Description
2798 Action Inserts space into math expression.
2802 \begin_layout Description
2803 Notion Use spacebar after entering this space to change type of space.
2807 \begin_layout Description
2808 Syntax math-space [<TYPE>]
2811 \begin_layout Description
2812 Params <TYPE>: negative spaces: !|negmedspace|negthickspace
2817 "," used by default.
2821 \begin_layout Description
2822 Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
2825 \begin_layout Subsection*
2829 \begin_layout Description
2830 Action Inserts a matrix.
2834 \begin_layout Description
2835 Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
2838 \begin_layout Description
2839 Params <ALIGN>: Alignment is a word composed of the vertical alignment (b,
2841 1 char) and the horizontal alignments (l, c or r) (i.e.
2846 \begin_layout Description
2847 Sample math-matrix 3 3 bccc
2850 \begin_layout Subsection*
2854 \begin_layout Description
2855 Action In text mode enters math mode (i.e.
2856 puts math insets on the current cursor position), in math mode enters text
2857 mode inside math expression.
2861 \begin_layout Description
2862 Notion If there is some selected text, it puts the text inside created math
2867 \begin_layout Description
2868 Syntax math-mode [<ARG>]
2871 \begin_layout Description
2872 Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT
2877 \begin_layout Description
2878 Origin Alejandro, 4 Jun 1996
2881 \begin_layout Subsection*
2882 LFUN_MATH_NUMBER_LINE_TOGGLE
2885 \begin_layout Description
2886 Action Toggles numbering of the current formula line.
2890 \begin_layout Description
2891 Notion Must be in display formula mode.
2895 \begin_layout Description
2896 Syntax math-number-line-toggle
2899 \begin_layout Description
2900 Origin Alejandro, 18 Jun 1996
2903 \begin_layout Subsection*
2904 LFUN_MATH_NUMBER_TOGGLE
2907 \begin_layout Description
2908 Action Toggles numbering/labeling of the current formula.
2912 \begin_layout Description
2913 Notion Must be in display formula mode.
2917 \begin_layout Description
2918 Syntax math-number-toggle
2921 \begin_layout Description
2922 Origin Alejandro, 4 Jun 1996
2925 \begin_layout Subsection*
2929 \begin_layout Description
2930 Action Calls external program and passes the current expression/equation
2931 as an argument for the calculation in the format appropriate to the given
2936 \begin_layout Description
2937 Notion Selection can be used to determine the input for the external program.
2941 \begin_layout Description
2942 Syntax math-extern <LANG> [<COMMAND>]
2945 \begin_layout Description
2946 Params <LANG>: octave|maxima|maple|mathematica|script
2948 where "script" stands
2949 fot the external script (normalized expression will be passed)
2952 \begin_layout Description
2953 Origin Andre, 24 Apr 2001
2956 \begin_layout Description
2957 Sample math-extern maple simplify
2960 \begin_layout Subsection*
2964 \begin_layout Description
2965 Action Changes arbitrarily the size used by math fonts inside a context.
2969 \begin_layout Description
2970 Notion Provides an interface to the LaTeX math mode font size commands.
2974 \begin_layout Description
2975 Syntax math-size <STYLE>
2978 \begin_layout Description
2979 Params <STYLE>: displaystyle|
2988 \begin_layout Description
2989 Origin Alejandro, 15 Aug 1996; ps, 14 Jun 2008
2992 \begin_layout Subsection*
2993 LFUN_MATH_MACRO_UNFOLD
2996 \begin_layout Description
2997 Action Unfold a Math Macro.
3001 \begin_layout Description
3002 Notion Unfold the Math Macro the cursor is in, i.e.
3007 \begin_layout Description
3008 Syntax math-macro-unfold
3011 \begin_layout Description
3012 Origin sts, 06 January 2008
3015 \begin_layout Subsection*
3016 LFUN_MATH_MACRO_FOLD
3019 \begin_layout Description
3020 Action Fold a Math Macro.
3024 \begin_layout Description
3025 Notion Fold the Math Macro the cursor is in if it was unfolded, i.e.
3026 displayed as foo before.
3030 \begin_layout Description
3031 Syntax math-macro-fold
3034 \begin_layout Description
3035 Origin sts, 06 January 2008
3038 \begin_layout Subsection*
3039 LFUN_MATH_MACRO_ADD_PARAM
3042 \begin_layout Description
3043 Action Add a parameter.
3047 \begin_layout Description
3048 Notion Add a parameter to a Math Macro.
3052 \begin_layout Description
3053 Params <NUM>: The number of the parameter behind which the new one will
3054 be added (1 for the first, i.e.
3055 use 0 for add a parameter at the left), defaults to the last one.
3059 \begin_layout Description
3060 Syntax math-macro-add-param <NUM>
3063 \begin_layout Description
3064 Origin sts, 06 January 2008
3067 \begin_layout Subsection*
3068 LFUN_MATH_MACRO_REMOVE_PARAM
3071 \begin_layout Description
3072 Action Remove the last parameter.
3076 \begin_layout Description
3077 Notion Remove the last parameter of a Math Macro and remove its value in
3078 all instances of the macro in the buffer.
3082 \begin_layout Description
3083 Params <NUM>: The number of the parameter to be deleted (1 for the first),
3084 defaults to the last one.
3088 \begin_layout Description
3089 Syntax math-macro-remove-param <NUM>
3092 \begin_layout Description
3093 Origin sts, 06 January 2008
3096 \begin_layout Subsection*
3097 LFUN_MATH_MACRO_APPEND_GREEDY_PARAM
3100 \begin_layout Description
3101 Action Append a greedy parameter.
3105 \begin_layout Description
3106 Notion Append a greedy parameter to a Math Macro which eats the following
3107 mathed cell in every instance of the macro in the buffer.
3111 \begin_layout Description
3112 Syntax math-macro-append-greedy-param
3115 \begin_layout Description
3116 Origin sts, 06 January 2008
3119 \begin_layout Subsection*
3120 LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM
3123 \begin_layout Description
3124 Action Remove a greedy parameter.
3128 \begin_layout Description
3129 Notion Remove a greedy parameter of a Math Macro and spit out the values
3130 of it in every instance of the macro in the buffer.
3131 If it is an optional parameter the [valud] format is used.
3135 \begin_layout Description
3136 Syntax math-macro-remove-greedy-param
3139 \begin_layout Description
3140 Origin sts, 06 January 2008
3143 \begin_layout Subsection*
3144 LFUN_MATH_MACRO_MAKE_OPTIONAL
3147 \begin_layout Description
3148 Action Make a parameter optional.
3152 \begin_layout Description
3153 Notion Turn the first non-optional parameter of a Math Macro into an optional
3154 parameter with a default value.
3158 \begin_layout Description
3159 Syntax math-macro-make-optional
3162 \begin_layout Description
3163 Origin sts, 06 January 2008
3166 \begin_layout Subsection*
3167 LFUN_MATH_MACRO_MAKE_NONOPTIONAL
3170 \begin_layout Description
3171 Action Make a parameter non-optional.
3175 \begin_layout Description
3176 Notion Turn the last optional parameter of a Math Macro into a non-optional
3178 The default value is remembered to be reused later if the user changes
3183 \begin_layout Description
3184 Syntax math-macro-make-nonoptional
3187 \begin_layout Description
3188 Origin sts, 06 January 2008
3191 \begin_layout Subsection*
3192 LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM
3195 \begin_layout Description
3196 Action Add an optional parameter.
3200 \begin_layout Description
3201 Notion Insert an optional parameter just behind the already existing optional
3206 \begin_layout Description
3207 Syntax math-macro-add-optional-param
3210 \begin_layout Description
3211 Origin sts, 06 January 2008
3214 \begin_layout Subsection*
3215 LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
3218 \begin_layout Description
3219 Action Remove the last optional parameter.
3223 \begin_layout Description
3224 Notion Remove the last optional parameter of a Math Macro and remove it
3225 in all the instances of the macro in the buffer.
3229 \begin_layout Description
3230 Syntax math-macro-remove-optional-param
3233 \begin_layout Description
3234 Origin sts, 06 January 2008
3237 \begin_layout Subsection*
3238 LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM
3241 \begin_layout Description
3242 Action Add a greedy optional parameter.
3246 \begin_layout Description
3247 Notion Add a greedy optional parameter which eats the value from the following
3248 cells in mathed which are in the [value] format.
3252 \begin_layout Description
3253 Syntax math-macro-add-greedy-optional-param
3256 \begin_layout Description
3257 Origin sts, 06 January 2008
3260 \begin_layout Subsection*
3261 LFUN_IN_MATHMACROTEMPLATE
3264 \begin_layout Description
3265 Action Only active in Math Macro definition.
3269 \begin_layout Description
3270 Notion Dummy function which is only active in a Math Macro definition.
3271 It's used to toggle the Math Macro toolbar if the cursor moves into a Math
3276 \begin_layout Description
3277 Syntax in-mathmacrotemplate
3280 \begin_layout Description
3281 Origin sts, 06 January 2008
3284 \begin_layout Subsection*
3285 LFUN_PARAGRAPH_MOVE_DOWN
3288 \begin_layout Description
3289 Action Moves the current paragraph downwards in the document.
3293 \begin_layout Description
3294 Syntax paragraph-move-down
3297 \begin_layout Description
3298 Origin Edwin, 8 Apr 2006
3301 \begin_layout Subsection*
3302 LFUN_PARAGRAPH_MOVE_UP
3305 \begin_layout Description
3306 Action Moves the current paragraph upwards in the document.
3310 \begin_layout Description
3311 Syntax paragraph-move-up
3314 \begin_layout Description
3315 Origin Edwin, 8 Apr 2006
3318 \begin_layout Subsection*
3322 \begin_layout Description
3323 Action Move the cursor to the next paragraph (or begining of the current
3324 one) in upward direction.
3328 \begin_layout Description
3332 \begin_layout Description
3333 Origin Asger, 1 Oct 1996
3336 \begin_layout Subsection*
3337 LFUN_PARAGRAPH_UP_SELECT
3340 \begin_layout Description
3341 Action Move the cursor and select the text to the next paragraph (or begining
3342 of the current one) in upward direction.
3346 \begin_layout Description
3347 Syntax paragraph-up-select
3350 \begin_layout Description
3351 Origin Asger, 1 Oct 1996
3354 \begin_layout Subsection*
3358 \begin_layout Description
3359 Action Move the cursor to the next paragraph (or begining of the current
3360 one) in downward direction.
3364 \begin_layout Description
3365 Syntax paragraph-down
3368 \begin_layout Description
3369 Origin Asger, 1 Oct 1996
3372 \begin_layout Subsection*
3373 LFUN_PARAGRAPH_DOWN_SELECT
3376 \begin_layout Description
3377 Action Move the cursor and select the text to the next paragraph (or begining
3378 of the current one) in downward direction.
3382 \begin_layout Description
3383 Syntax paragraph-down-select
3386 \begin_layout Description
3387 Origin Asger, 1 Oct 1996
3390 \begin_layout Subsection*
3394 \begin_layout Description
3395 Action Jump to a paragraph given by its id number and optionally the desired
3396 position within the paragraph.
3400 \begin_layout Description
3401 Notion Note that id number of paragraph is not the sequential number of
3402 paragraph seen on the screen.
3403 Moreover the id is unique for all opened buffers (documents).
3407 \begin_layout Description
3408 Syntax paragraph-goto <PAR_ID_NUMBER> <POSITION_IN_PAR>
3411 \begin_layout Description
3412 Params <PAR_ID_NUMBER>: paragraph id
3414 <POSITION_IN_PAR>: desired position
3415 within the paragraph
3418 \begin_layout Description
3419 Origin Dekel, 26 Aug 2000
3422 \begin_layout Subsection*
3423 LFUN_BREAK_PARAGRAPH
3426 \begin_layout Description
3427 Action Breaks the current paragraph at the current location.
3431 \begin_layout Description
3432 Syntax break-paragraph
3435 \begin_layout Subsection*
3436 LFUN_BREAK_PARAGRAPH
3439 \begin_layout Description
3440 Action Breaks the current paragraph at the current location.
3444 \begin_layout Description
3445 Notion Removes the selection.
3449 \begin_layout Description
3450 Syntax break-paragraph [<LAYOUT>]
3453 \begin_layout Description
3454 Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to
3455 default layout) when the cursor is at the end of the line.
3459 \begin_layout Subsection*
3460 LFUN_PARAGRAPH_PARAMS
3463 \begin_layout Description
3464 Action Change paragraph settings.
3468 \begin_layout Description
3469 Notion Modifies the current paragraph, or currently selected paragraphs.
3470 This function only modifies, and does not override, existing settings.
3471 Note that the "leftindent" indent setting is deprecated.
3475 \begin_layout Description
3476 Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
3479 \begin_layout Description
3492 paragraph_spacing default|single|onehalf|double|other
3496 align block|left|right|center|default
3500 labelwidthstring WIDTH|
3507 \begin_layout Description
3508 Origin rgh, Aug 15 2007
3511 \begin_layout Subsection*
3512 LFUN_PARAGRAPH_PARAMS_APPLY
3515 \begin_layout Description
3516 Action Change paragraph settings.
3520 \begin_layout Description
3521 Notion Overwrite all nonspecified settings to the default ones.
3522 Use paragraph-params lfun if you don't want to overwrite others settings.
3526 \begin_layout Description
3527 Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
3530 \begin_layout Description
3531 Params For parameters see LFUN_PARAGRAPH_PARAMS
3534 \begin_layout Description
3535 Origin leeming, 30 Mar 2004
3538 \begin_layout Subsection*
3539 LFUN_PARAGRAPH_UPDATE
3542 \begin_layout Description
3543 Action Updates the values inside the paragraph dialog from the paragraph.
3547 \begin_layout Description
3548 Notion This is internal LFUN, not to be used by users.
3549 Called internally by LFUN_DIALOG_UPDATE.
3553 \begin_layout Description
3554 Origin leeming, 13 Mar 2003
3557 \begin_layout Subsection*
3561 \begin_layout Description
3562 Action Move the current group in the upward direction in the structure of
3567 \begin_layout Description
3568 Notion The "group" can be Part/Chapter/Section/etc.
3569 It moves the whole substructure of the group.
3573 \begin_layout Description
3577 \begin_layout Description
3578 Origin Vermeer, 23 Mar 2006
3581 \begin_layout Subsection*
3585 \begin_layout Description
3586 Action Move the current group in the downward direction in the structure
3591 \begin_layout Description
3592 Notion The "group" can be Part/Chapter/Section/etc.
3593 It moves the whole substructure of the group.
3597 \begin_layout Description
3601 \begin_layout Description
3602 Origin Vermeer, 23 Mar 2006
3605 \begin_layout Subsection*
3609 \begin_layout Description
3610 Action Moves the current group in the downward direction in the hierarchy
3611 of the document structure.
3615 \begin_layout Description
3616 Notion Part -> Chapter -> Section -> etc.
3620 \begin_layout Description
3624 \begin_layout Description
3625 Origin Vermeer, 23 Mar 2006
3628 \begin_layout Subsection*
3632 \begin_layout Description
3633 Action Moves the current group in the upward direction in the hierarchy
3634 of the document structure.
3638 \begin_layout Description
3639 Notion Part <- Chapter <- Section <- etc.
3643 \begin_layout Description
3647 \begin_layout Description
3648 Origin Vermeer, 23 Mar 2006
3651 \begin_layout Subsection*
3655 \begin_layout Description
3656 Action Edit the inset at cursor with an external application, *
3657 if one is attributed.
3661 \begin_layout Description
3662 Syntax inset-edit [<INSET_PARAMS>]
3665 \begin_layout Description
3666 Params <INSET_PARAMS>: Parameters for the inset.
3669 Currently only the filename will be considered.
3673 \begin_layout Description
3674 Origin JSpitzm, 27 Apr 2006
3677 \begin_layout Subsection*
3681 \begin_layout Description
3682 Action Inserts table into the document.
3686 \begin_layout Description
3687 Syntax tabular-insert [<ROWS> <COLUMNS>]
3690 \begin_layout Description
3691 Params In case no arguments are given show insert dialog.
3695 \begin_layout Description
3696 Origin Jug, 12 Apr 2000
3699 \begin_layout Subsection*
3700 LFUN_TABULAR_FEATURE
3703 \begin_layout Description
3704 Action Sets various features to the table/cell on the current cursor position.
3708 \begin_layout Description
3709 Notion Various math-environment features are handled here as well, e.g.
3710 add-vline-left/right for Grid/Cases environment
3713 \begin_layout Description
3714 Syntax tabular-feature <FEATURE> [<ARG>]
3717 \begin_layout Description
3718 Params <FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|cop
3719 y-column| toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right|
3720 align-left|align-right|align-center|align-block|valign-top|valign-bottom|
3721 valign-middle|m-align-left|m-align-right|m-align-center|m-valign-top| m-valign-
3722 bottom|m-valign-middle|multicolumn|set-all-lines|unset-all-lines| set-longtabula
3723 r|unset-longtabular|set-pwidth|set-mpwidth| set-rotate-tabular|unset-rotate-tabu
3724 lar|toggle-rotate-tabular| set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|
3725 set-usebox|set-lthead| unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot
3726 |unset-ltfoot| set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption|
3727 set-special-column|set-special-multi|set-booktabs|unset-booktabs| set-top-space
3728 |set-bottom-space|set-interline-space|set-border-lines
3731 argument for some commands, use debug mode to explore its values.
3735 \begin_layout Description
3736 Origin Jug, 28 Jul 2000
3739 \begin_layout Subsection*
3743 \begin_layout Description
3744 Action Moves the cursor to the previous cell inside the table.
3748 \begin_layout Description
3749 Syntax cell-backward
3752 \begin_layout Description
3753 Origin Jug, 22 May 2000
3756 \begin_layout Subsection*
3760 \begin_layout Description
3761 Action Moves the cursor to the next cell inside the table.
3765 \begin_layout Description
3769 \begin_layout Subsection*
3773 \begin_layout Description
3774 Action Splits cell and shifts right part to the next cell (inside the math
3779 \begin_layout Description
3783 \begin_layout Description
3784 Origin Ale, 15 May 1997
3787 \begin_layout Subsection*
3791 \begin_layout Description
3792 Action Register the document as an file inside version control system (RCS,
3797 \begin_layout Description
3798 Notion File is registered inside cvs, svn or rcs repository acording to
3799 the existence of cvs/svn/rcs entries in the document's directory.
3802 See LyX Extended Manual (Version Control Chapter) for additional information.
3806 \begin_layout Description
3810 \begin_layout Description
3811 Origin Lgb, 1 Jul 1997
3814 \begin_layout Subsection*
3818 \begin_layout Description
3819 Action Checks-in/commits the changes of the registered file to the repository.
3823 \begin_layout Description
3824 Notion In RCS case this also unlocks the file.
3828 \begin_layout Description
3832 \begin_layout Description
3833 Origin Lgb, 1 Jul 1997
3836 \begin_layout Subsection*
3840 \begin_layout Description
3841 Action Checks-out the document for edit (and locks it for RCS).
3845 \begin_layout Description
3846 Notion This is implemented only for RCS and SVN, not CVS.
3850 \begin_layout Description
3854 \begin_layout Description
3855 Origin Lgb, 1 Jul 1997
3858 \begin_layout Subsection*
3862 \begin_layout Description
3863 Action Reverts the document to the last check-in/commit in VCS.
3867 \begin_layout Description
3871 \begin_layout Description
3872 Origin Lgb, 1 Jul 1997
3875 \begin_layout Subsection*
3879 \begin_layout Description
3880 Action Undo last check-in.
3884 \begin_layout Description
3885 Notion This is currently implemented only for RCS.
3889 \begin_layout Description
3893 \begin_layout Description
3894 Origin Lgb, 1 Jul 1997
3897 \begin_layout Subsection*
3901 \begin_layout Description
3902 Action Toggles change tracking to on/off.
3906 \begin_layout Description
3907 Syntax changes-track
3910 \begin_layout Description
3911 Origin levon, 1 Oct 2002
3914 \begin_layout Subsection*
3918 \begin_layout Description
3919 Action Toggles showing of change tracking in typesetted output.
3923 \begin_layout Description
3924 Syntax changes-output
3927 \begin_layout Description
3928 Origin jspitzm, 21 Jan 2005
3931 \begin_layout Subsection*
3935 \begin_layout Description
3936 Action Moves the cursor to the position of the next change of the change
3941 \begin_layout Description
3945 \begin_layout Description
3946 Origin schmitt, 4 Oct 2006
3949 \begin_layout Subsection*
3953 \begin_layout Description
3954 Action Open change tracking dialog for merging and moves the cursor to the
3955 position of the next change.
3959 \begin_layout Description
3960 Syntax changes-merge
3963 \begin_layout Description
3964 Origin Levon, 16 Oct 2002
3967 \begin_layout Subsection*
3971 \begin_layout Description
3972 Action Accepts tracked change inside the selection.
3976 \begin_layout Description
3977 Syntax change-accept
3980 \begin_layout Description
3981 Origin Levon, 16 Oct 2002
3984 \begin_layout Subsection*
3988 \begin_layout Description
3989 Action Rejects tracked change inside the selection.
3993 \begin_layout Description
3994 Syntax change-accept
3997 \begin_layout Description
3998 Origin Levon, 16 Oct 2002
4001 \begin_layout Subsection*
4002 LFUN_ALL_CHANGES_ACCEPT
4005 \begin_layout Description
4006 Action Accepts all tracked changes in the document.
4010 \begin_layout Description
4011 Syntax all-changes-accept
4014 \begin_layout Description
4015 Origin Levon, 16 Oct 2002
4018 \begin_layout Subsection*
4019 LFUN_ALL_CHANGES_REJECT
4022 \begin_layout Description
4023 Action Rejects all tracked changes in the document.
4027 \begin_layout Description
4028 Notion Reject does not work recursively; the user may have to repeat the
4033 \begin_layout Description
4034 Syntax all-changes-reject
4037 \begin_layout Description
4038 Origin Levon, 16 Oct 2002
4041 \begin_layout Subsection*
4045 \begin_layout Description
4046 Action Apply data for an inset.
4050 \begin_layout Description
4051 Notion LFUN_INSET_APPLY is sent from the dialogs when the data should be
4053 This is either changed to LFUN_INSET_MODIFY or LFUN_INSET_INSERT depending
4054 on the context where it is called.
4058 \begin_layout Description
4059 Syntax inset-apply <ARGS>
4062 \begin_layout Description
4063 Params See LFUN_INSET_INSERT .
4067 \begin_layout Subsection*
4071 \begin_layout Description
4072 Action Dissolve the current inset into text.
4076 \begin_layout Description
4077 Syntax inset-dissolve [<INSET>]
4080 \begin_layout Description
4081 Params <INSET>: this can be used to make sure the right kind of inset is
4083 For example "dissolve" entry in the charstyles sub-menu should only dissolve
4084 the charstyle inset, even if the cursor is inside several nested insets
4088 For values see lyx::InsetLayout::lyxtype_ .
4092 \begin_layout Description
4093 Origin JSpitz, 7 Aug 2006
4096 \begin_layout Subsection*
4100 \begin_layout Description
4101 Action Insert new inset (type given by the parameters).
4105 \begin_layout Description
4106 Syntax inset-insert <INSET> <ARGS>
4109 \begin_layout Description
4110 Params <INSET>: <bibitem|bibtex|cite|ert|listings|external|graphics| hyperlink|i
4111 nclude|index|label|nomencl|vspace|ref|toc>
4113 <ARGS>: depends on the given
4115 Use "lyx -dbg action" to explore.
4119 \begin_layout Description
4120 Sample inset-insert ref LatexCommand <Format> reference "<label name>"
4124 where <label name> is the name of the referenced label and<Format>
4125 is one of the following:
4129 eqref -- (<reference>)
4134 vpageref -- on <page>
4136 vref -- <reference> on <page>
4139 -- Formatted reference
4142 \begin_layout Subsection*
4146 \begin_layout Description
4147 Action Modify existing inset.
4151 \begin_layout Description
4152 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4153 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4158 \begin_layout Description
4159 Syntax inset-modify <INSET> <ARGS>
4162 \begin_layout Description
4163 Params See LFUN_INSET_INSERT for further details.
4167 \begin_layout Subsection*
4168 LFUN_NEXT_INSET_MODIFY
4171 \begin_layout Description
4172 Action Modify the inset at cursor position, if there is one.
4176 \begin_layout Description
4177 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4178 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4183 \begin_layout Description
4184 Syntax next-inset-modify <INSET> <ARGS>
4187 \begin_layout Description
4188 Syntax next-inset-modify changetype <TYPE>
4191 \begin_layout Description
4192 Params See LFUN_INSET_INSERT for further details.
4196 \begin_layout Description
4197 Origin JSpitzm, 23 Mar 2008
4200 \begin_layout Subsection*
4201 LFUN_INSET_DIALOG_UPDATE
4204 \begin_layout Description
4205 Action Updates the values inside the dialog from the inset.
4209 \begin_layout Description
4210 Notion This is internal LFUN, not to be used by users.
4211 Called internally by LFUN_DIALOG_UPDATE
4214 \begin_layout Description
4215 Params <DIALOG-NAME>
4218 \begin_layout Description
4219 Origin leeming, 25 Feb 2003
4222 \begin_layout Subsection*
4226 \begin_layout Description
4227 Action Open the inset's properties dialog.
4231 \begin_layout Description
4232 Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets.
4236 \begin_layout Description
4237 Syntax inset-settings <INSET>
4240 \begin_layout Description
4241 Params <INSET>: <box|branch|ert|float|listings|note|tabular|wrap>
4244 \begin_layout Subsection*
4245 LFUN_NEXT_INSET_TOGGLE
4248 \begin_layout Description
4249 Action Toggles the inset at cursor position.
4250 For collapsables, this means it will be (un-)collapsed, in case of other
4251 insets, the editing widget (dialog) will be entered.
4253 LFUN_INSET_SETTINGS.
4257 \begin_layout Description
4258 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4259 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4264 \begin_layout Description
4265 Syntax next-inset-toggle <ARG>
4268 \begin_layout Description
4269 Params <ARG>: these are passed as arguments to LFUN_INSET_TOGGLE .
4273 \begin_layout Description
4274 Origin leeming, 30 Mar 2004
4277 \begin_layout Subsection*
4281 \begin_layout Description
4282 Action Toggles the collapsable inset we are currently in.
4286 \begin_layout Description
4287 Syntax inset-toggle [<ARG>]
4290 \begin_layout Description
4291 Params <ARG>: <open|close|toggle|assign>.
4294 open/close/toggle are for collapsable insets.
4295 close can be currently used by LFUN_NEXT_INSET_TOGGLE.
4296 toggle is used when no argument is given.
4299 assign is for branch inset.
4303 \begin_layout Description
4304 Origin lasgouttes, 19 Jul 2001
4307 \begin_layout Subsection*
4308 LFUN_ALL_INSETS_TOGGLE
4311 \begin_layout Description
4312 Action Toggles (open/closes) all collapsable insets (of a given type) in
4317 \begin_layout Description
4318 Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets.
4322 \begin_layout Description
4323 Syntax all-insets-toggle <STATE> <INSET>
4326 \begin_layout Description
4327 Params <STATE>: <toggle|open|close> default: toggle
4329 <INSET>: <box|branch|ert|f
4330 loat|listings|note|tabular|wrap> default: all insets
4333 \begin_layout Description
4334 Origin leeming, 30 Mar 2004
4337 \begin_layout Subsection*
4338 LFUN_GRAPHICS_GROUPS_UNIFY
4341 \begin_layout Description
4342 Action Unify all graphics insets with the one given as an parameter.
4346 \begin_layout Description
4347 Notion This is internally used for synchronize certain group of graphics
4352 \begin_layout Description
4353 Syntax graphics-groups-unigfy <GRAPHICS_PARAMS>
4356 \begin_layout Description
4357 Params <GRAPHICS_PARAMS>: Parameters for graphics inset (syntax can be seen
4362 \begin_layout Description
4363 Origin sanda, 6 May 2008
4366 \begin_layout Subsection*
4367 LFUN_SET_GRAPHICS_GROUP
4370 \begin_layout Description
4371 Action Set the group for the graphics inset on the cursor position.
4375 \begin_layout Description
4376 Syntax set-graphics-group [<GROUP>]
4379 \begin_layout Description
4380 Params <GROUP>: Id for an existing group.
4381 In case tthe Id is an empty string, the graphics inset is removed from
4386 \begin_layout Description
4387 Origin sanda, 6 May 2008
4390 \begin_layout Subsection*
4391 LFUN_FINISHED_FORWARD
4394 \begin_layout Description
4395 Action Moves the cursor out of the current slice, going forward.
4399 \begin_layout Description
4400 Notion Cursor movement within an inset may be different than cursor movement
4401 in the surrounding text.
4402 This action should be called automatically by the cursor movement within
4403 the inset, when movement within the inset has ceased (reached the end of
4404 the last paragraph, for example), in order to move correctly back into
4405 the surrounding text.
4409 \begin_layout Subsection*
4410 LFUN_FINISHED_BACKWARD
4413 \begin_layout Description
4414 Action Moves the cursor out of the current slice, going backwards.
4418 \begin_layout Description
4419 Notion See also LFUN_FINISHED_FORWARD.
4423 \begin_layout Subsection*
4427 \begin_layout Description
4428 Action Moves the cursor out of the current slice, going right.
4432 \begin_layout Description
4433 Notion See also LFUN_FINISHED_FORWARD
4436 \begin_layout Subsection*
4440 \begin_layout Description
4441 Action Moves the cursor out of the current slice, going left.
4445 \begin_layout Description
4446 Notion See also LFUN_FINISHED_FORWARD.
4450 \begin_layout Subsection*
4454 \begin_layout Description
4455 Action Set language from the current cursor position.
4459 \begin_layout Description
4460 Syntax language <LANG>
4463 \begin_layout Description
4464 Params <LANG>: Requested language.
4465 Look in lib/languages for the list.
4469 \begin_layout Description
4470 Origin Dekel, 2 Mar 2000
4473 \begin_layout Subsection*
4477 \begin_layout Description
4478 Action Goto a label.
4482 \begin_layout Description
4483 Syntax label-goto [<LABEL>]
4486 \begin_layout Description
4487 Params <LABEL>: Requested label.
4488 If no label is given and refernce is on cursor position, Bookmark 0 is
4489 saved and cursor moves to the position of referenced label.
4493 \begin_layout Description
4494 Origin Ale, 6 Aug 1997
4497 \begin_layout Subsection*
4501 \begin_layout Description
4502 Action Inserts label to text or displayed formula.
4506 \begin_layout Description
4507 Syntax label-insert [<LABEL>]
4510 \begin_layout Description
4511 Params <LABEL>: Requested label.
4512 If no label is given dialog requesting name will be opened.
4516 \begin_layout Subsection*
4520 \begin_layout Description
4521 Action Go to the next label or cross-reference.
4525 \begin_layout Description
4526 Syntax reference-next
4529 \begin_layout Description
4530 Origin Dekel, 14 Jan 2001
4533 \begin_layout Subsection*
4537 \begin_layout Description
4538 Action Goto a bookmark.
4542 \begin_layout Description
4543 Notion Moves the cursor to the numbered bookmark, opening the file if necessary.
4544 Note that bookmarsk are saved per-session, not per file.
4548 \begin_layout Description
4549 Syntax bookmark-goto <NUMBER>
4552 \begin_layout Description
4553 Params <NUMBER>: the number of the bookmark to restore.
4557 \begin_layout Description
4558 Origin Dekel, 27 January 2001
4561 \begin_layout Subsection*
4565 \begin_layout Description
4566 Action Save a bookmark.
4570 \begin_layout Description
4571 Notion Saves a numbered bookmark to the sessions file.
4572 The number must be between 1 and 9, inclusive.
4573 Note that bookmarks are saved per-session, not per file.
4577 \begin_layout Description
4578 Syntax bookmark-save <NUMBER>
4581 \begin_layout Description
4582 Params <NUMBER>: the number of the bookmark to save.
4586 \begin_layout Description
4587 Origin Dekel, 27 January 2001
4590 \begin_layout Subsection*
4594 \begin_layout Description
4595 Action Clears the list of saved bookmarks.
4599 \begin_layout Description
4600 Syntax bookmark-clear
4603 \begin_layout Description
4604 Origin bpeng, 31 October 2006
4607 \begin_layout Subsection*
4611 \begin_layout Description
4612 Action Open the given help file according to the language setting.
4616 \begin_layout Description
4617 Syntax help-open <FILE>[.lyx]
4620 \begin_layout Description
4621 Params <FILE>: any document from (/usr/share/)doc directory.
4625 \begin_layout Description
4626 Origin Jug, 27 Jun 1999
4629 \begin_layout Subsection*
4633 \begin_layout Description
4634 Action Terminates the current LyX instance.
4638 \begin_layout Description
4639 Notion Terminates the current LyX instance, asking whether to save modified
4644 \begin_layout Description
4648 \begin_layout Subsection*
4652 \begin_layout Description
4653 Action Toggles visibility of a given toolbar between on/off/auto.
4657 \begin_layout Description
4658 Notion Skiping "auto" when allowauto is false.
4662 \begin_layout Description
4663 Syntax toolbar-toggle <NAME> [allowauto]
4666 \begin_layout Description
4667 Params <NAME>: standard|extra|table|math|mathmacrotemplate| minibuffer|review|vi
4668 ew/update|math_panels
4671 \begin_layout Description
4672 Origin Edwin, 21 May 2007
4675 \begin_layout Subsection*
4679 \begin_layout Description
4680 Action Opens the menu given by its name.
4684 \begin_layout Description
4685 Syntax menu-open <NAME>
4688 \begin_layout Description
4689 Params <NAME>: menu name.
4690 See various .inc files in lib/ui for candidates.
4694 \begin_layout Subsection*
4698 \begin_layout Description
4699 Action Various UI visibility-toggling actions.
4703 \begin_layout Description
4704 Syntax ui-toggle <statusbar|menubar|frame|fullscreen>
4707 \begin_layout Description
4708 Params statusbar : Toggle visibility of the statusbar.
4711 menubar : Toggle visibility of the menubar.
4714 scrollbar : Toggle visibility of the scrollbar.
4717 frame : Toggle visibility of the frames around editing window.
4720 fullscreen : Toggle fullscreen mode.
4721 This also covers calling the previous functions.
4722 However LFUN_TOOLBAR_TOGGLE for the custom tweaks of the toolbars should
4727 \begin_layout Description
4728 Origin sanda, 9 Feb 2007
4731 \begin_layout Subsection*
4735 \begin_layout Description
4736 Action Creates new empty LyX window.
4740 \begin_layout Description
4741 Notion Already opened documents from the previous window can be found under
4746 \begin_layout Description
4747 Syntax window-new [<GEOMETRY>]
4750 \begin_layout Description
4751 Params <GEOMETRY>: pass the geometry of the window.
4752 This parameter is currently accepted only on Windows platform.
4756 \begin_layout Description
4757 Origin Abdel, 21 Oct 2006
4760 \begin_layout Subsection*
4764 \begin_layout Description
4765 Action Closes the current LyX window.
4769 \begin_layout Description
4773 \begin_layout Description
4774 Origin Abdel, 23 Oct 2006
4777 \begin_layout Subsection*
4781 \begin_layout Description
4782 Action Creates another split view of current buffer.
4786 \begin_layout Description
4787 Notion All split views act in the same way indpendently.
4791 \begin_layout Description
4792 Syntax split-view <vertical|horizontal>
4795 \begin_layout Description
4796 Params horizontal : The work areas are laid out side by side.
4799 vertical : The work areas laid out vertically.
4803 \begin_layout Description
4804 Origin Abdel, 20 Feb 2008
4807 \begin_layout Subsection*
4808 LFUN_CLOSE_TAB_GROUP
4811 \begin_layout Description
4812 Action Close the current tab group.
4816 \begin_layout Description
4817 Notion This only closes the work areas, not the buffer themselves.
4818 The still opened buffers can be visualized in another tab group.
4822 \begin_layout Description
4823 Syntax close-tab-group
4826 \begin_layout Description
4827 Origin Abdel, 21 Feb 2008
4830 \begin_layout Subsection*
4834 \begin_layout Description
4835 Action Shows hidden dialog or create new one for a given function/inset
4840 \begin_layout Description
4841 Syntax dialog-show <NAME> [<DATA>]
4844 \begin_layout Description
4845 Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
4848 document|errorlist|ert|external|file|findreplace|float|graphics|
4851 x|info|nomenclature|label|log|mathdelimiter|mathmatrix|
4853 note|paragraph|prefs|pr
4854 int|ref|sendto|space|spellchecker|symbols|
4856 tabular|tabularcreate|thesaurus|texi
4857 nfo|toc|href|view-source|vspace
4859 wrap|listings|<SPECIAL>
4861 <SPECIAL>: latexlog|v
4864 <DATA>: data, usually settings for the given dialog.
4865 Use debug mode for the details.
4869 \begin_layout Description
4870 Origin leeming, 17 Jun 2003
4873 \begin_layout Subsection*
4874 LFUN_DIALOG_SHOW_NEW_INSET
4877 \begin_layout Description
4878 Action Shows hidden dialog or create new one for a given inset settings
4883 \begin_layout Description
4884 Notion Internally uses LFUN_DIALOG_SHOW with processed data for a given
4889 \begin_layout Description
4890 Syntax dialog-show-new-inset <NAME> [<DATA>]
4893 \begin_layout Description
4894 Params See LFUN_DIALOG_SHOW .
4898 \begin_layout Description
4899 Origin leeming, 25 Feb 2003
4902 \begin_layout Subsection*
4906 \begin_layout Description
4907 Action Updates the dialog values from the inset/paragraph/document.
4911 \begin_layout Description
4912 Syntax dialog-update <NAME>
4915 \begin_layout Description
4916 Params <NAME>: paragraph|prefs|<INSET>
4921 \begin_layout Description
4922 Origin leeming, 25 Feb 2003
4925 \begin_layout Subsection*
4929 \begin_layout Description
4930 Action Hides showed dialog.
4931 Counterpart to LFUN_DIALOG_SHOW .
4935 \begin_layout Description
4936 Syntax dialog-hide <NAME>
4939 \begin_layout Description
4940 Params See LFUN_DIALOG_SHOW .
4944 \begin_layout Description
4945 Origin leeming, 25 Feb 2003
4948 \begin_layout Subsection*
4952 \begin_layout Description
4953 Action Toggles dialog between showed/hidden state.
4957 \begin_layout Description
4958 Notion Internally uses LFUN_DIALOG_SHOW , LFUN_DIALOG_HIDE .
4962 \begin_layout Description
4963 Syntax dialog-toggle <NAME> [<DATA>]
4966 \begin_layout Description
4967 Params See LFUN_DIALOG_SHOW .
4971 \begin_layout Description
4972 Origin JSpitzm, 30 Apr 2007
4975 \begin_layout Subsection*
4976 LFUN_DIALOG_DISCONNECT_INSET
4979 \begin_layout Description
4980 Action Closes opened connection to opened inset.
4984 \begin_layout Description
4985 Notion Connection is used for apply functions.
4989 \begin_layout Description
4990 Syntax dialog-disconnect-inset <INSET-NAME>
4993 \begin_layout Description
4994 Origin leeming, 25 Feb 2003
4997 \begin_layout Subsection*
5001 \begin_layout Description
5002 Action This function is called when mouse button is pressed (inside workarea).Act
5003 ion depends on the context.
5007 \begin_layout Description
5008 Notion This is internal LFUN, not to be used by users.
5012 \begin_layout Description
5013 Origin Andre, 9 Aug 2002
5016 \begin_layout Subsection*
5020 \begin_layout Description
5021 Action This function is called when double click on mouse button is pressed
5023 Action depends on the context.
5027 \begin_layout Description
5028 Notion This is internal LFUN, not to be used by users.
5032 \begin_layout Description
5033 Origin Andre, 9 Aug 2002
5036 \begin_layout Subsection*
5040 \begin_layout Description
5041 Action This function is called when triple click on mouse button is pressed
5043 Action depends on the context.
5047 \begin_layout Description
5048 Notion This is internal LFUN, not to be used by users.
5052 \begin_layout Description
5053 Origin Andre, 9 Aug 2002
5056 \begin_layout Subsection*
5060 \begin_layout Description
5061 Action This function is called when mouse cursor is moving over the text.Action
5062 depends on the context.
5066 \begin_layout Description
5067 Notion This is internal LFUN, not to be used by users.
5071 \begin_layout Description
5072 Origin Andre, 9 Aug 2002
5075 \begin_layout Subsection*
5079 \begin_layout Description
5080 Action This function is called when mouse button is released (inside workarea).Ac
5081 tion depends on the context.
5085 \begin_layout Description
5086 Notion This is internal LFUN, not to be used by users.
5090 \begin_layout Description
5091 Origin Andre, 9 Aug 2002
5094 \begin_layout Subsection*
5098 \begin_layout Description
5099 Action Turn off the loaded keyboard map.
5103 \begin_layout Description
5107 \begin_layout Subsection*
5111 \begin_layout Description
5112 Action Turn on the primary keyboard map.
5116 \begin_layout Description
5117 Notion Maps were widely used in past, when X-windows didn't have nowadays
5119 They can be still used to maintain uniform keyboard layout across the various
5123 The language is to be set in the Preferences dialog.
5127 \begin_layout Description
5128 Syntax keymap-primary
5131 \begin_layout Subsection*
5132 LFUN_KEYMAP_SECONDARY
5135 \begin_layout Description
5136 Action Turn on the secondary keyboard map.
5140 \begin_layout Description
5141 Syntax keymap-secondary
5144 \begin_layout Subsection*
5148 \begin_layout Description
5149 Action Toggles keyboard maps (first/second/off).
5153 \begin_layout Description
5154 Syntax keymap-toggle
5157 \begin_layout Description
5158 Origin leeming, 30 Mar 2004
5161 \begin_layout Subsection*
5162 LFUN_SERVER_GET_LAYOUT
5165 \begin_layout Description
5166 Action Returns the current layout (that is environment) name on the cursor
5171 \begin_layout Description
5172 Syntax server-get-layout
5175 \begin_layout Subsection*
5176 LFUN_SERVER_GET_FILENAME
5179 \begin_layout Description
5180 Action Returns path and file name of the currently edited document.
5184 \begin_layout Description
5185 Syntax server-get-filename
5188 \begin_layout Subsection*
5189 LFUN_SERVER_GOTO_FILE_ROW
5192 \begin_layout Description
5193 Action Sets the cursor position based on the row number of generated TeX
5198 \begin_layout Description
5199 Syntax server-goto-file-row <LYX_FILE_NAME> <ROW_NUMBER>
5202 \begin_layout Description
5203 Origin Edmar, 23 Dec 1998
5206 \begin_layout Subsection*
5210 \begin_layout Description
5211 Action Sends notify message about the last key-sequence to client.
5215 \begin_layout Description
5216 Notion This can be used to grab last key-sequence used inside the LyX window.
5220 \begin_layout Description
5221 Syntax server-notify
5224 \begin_layout Subsection*
5228 \begin_layout Description
5229 Action Sets the cursor position based on the editing area coordinates (similar
5230 as clicking on that point with left mouse button).
5234 \begin_layout Description
5235 Syntax server-set-xy <X> <Y>
5238 \begin_layout Subsection*
5242 \begin_layout Description
5243 Action Returns the coordinates of cursor position in the editing area.
5247 \begin_layout Description
5248 Syntax server-get-xy
5251 \begin_layout Subsection*
5255 \begin_layout Description
5256 Action Generates the code (literate programming).
5260 \begin_layout Description
5261 Notion Latex file with extension literate_extension is generated.
5262 Then LyX invokes build_command (with a default of``make'') to generate
5263 the code and build_error_filter to process the compilation error messages.
5266 In case you want to process your literate file with a script, or some
5267 other program, just insert in your lyxrc file an entry with:
5270 "my_script my_arguments"
5272 The build_error_filter differs from the literate_err
5273 or_filter only in that the former will identify error messages from your
5278 \begin_layout Description
5279 Syntax build-program
5282 \begin_layout Subsection*
5283 LFUN_BUFFER_AUTO_SAVE
5286 \begin_layout Description
5287 Action Saves the current buffer to a temporary file.
5291 \begin_layout Description
5292 Notion Saves the current buffer to a file named "#filename#".
5293 This LFUN is called automatically by LyX, to "autosave" the current buffer.
5297 \begin_layout Description
5298 Syntax buffer-auto-save
5301 \begin_layout Subsection*
5302 LFUN_BUFFER_CHILD_OPEN
5305 \begin_layout Description
5306 Action Loads the given child document.
5310 \begin_layout Description
5311 Notion The current document is treated as a parent.
5315 \begin_layout Description
5316 Syntax buffer-child-open <FILE>
5319 \begin_layout Description
5320 Params <FILE>: Filename of the child.
5321 The directory of the parent is assumed by default.
5325 \begin_layout Description
5326 Origin Ale, 28 May 1997
5329 \begin_layout Subsection*
5333 \begin_layout Description
5334 Action Runs chktex for the current document.
5338 \begin_layout Description
5339 Syntax buffer-chktex
5342 \begin_layout Description
5343 Origin Asger, 30 Oct 1997
5346 \begin_layout Subsection*
5347 LFUN_BUFFER_TOGGLE_COMPRESSION
5350 \begin_layout Description
5351 Action Toggles compression of the current document on/off.
5355 \begin_layout Description
5356 Syntax buffer-toggle-compression
5359 \begin_layout Description
5360 Origin bpeng, 27 Apr 2006
5363 \begin_layout Subsection*
5367 \begin_layout Description
5368 Action Closes the current buffer.
5372 \begin_layout Description
5373 Notion Closes the current buffer, asking whether to save it, etc, if the
5374 buffer has been modified.
5378 \begin_layout Description
5382 \begin_layout Subsection*
5386 \begin_layout Description
5387 Action Exports the current buffer (document) to the given format.
5391 \begin_layout Description
5392 Syntax buffer-export <FORMAT>
5395 \begin_layout Description
5396 Params <FORMAT> is either "custom" or one of the formats which you can find
5397 in Tools->Preferences->File formats->Format.
5398 Usual format you will enter is "pdf2" (pdflatex), "pdflatex" (plain tex
5399 for pdflatex) or "ps" for postscript.
5402 In case of "custom" you will be asked for a format you want to start from
5403 and for the command that you want to apply to this format.
5404 Internally the control is then passed to LFUN_BUFFER_EXPORT_CUSTOM.
5408 \begin_layout Description
5409 Origin Lgb, 29 Jul 1997
5412 \begin_layout Subsection*
5413 LFUN_BUFFER_EXPORT_CUSTOM
5416 \begin_layout Description
5417 Action Exports the current buffer (document) from the given format using
5418 the given command on it.
5422 \begin_layout Description
5423 Syntax buffer-export-custom <FORMAT> <COMMAND>
5426 \begin_layout Description
5427 Params <FORMAT> format to start from (LyX will care to produce such intermediate
5431 <COMMAND> this command will be launched on the file.
5432 Note that you can use "$$FName" string to qualify the intermediate file.
5436 \begin_layout Description
5437 Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
5440 \begin_layout Description
5441 Origin leeming, 27 Mar 2004
5444 \begin_layout Subsection*
5448 \begin_layout Description
5449 Action Prints the current document.
5453 \begin_layout Description
5454 Notion Many settings can be given via the preferences dialog.
5458 \begin_layout Description
5459 Syntax buffer-print <TARGET> <TARGET-NAME> <COMMAND>
5462 \begin_layout Description
5463 Params <TARGET> is either "printer" or "file".
5466 <TARGER-NAME> is either "default" or file name or printer name.
5469 <COMMAND> command ensuring the printing job.
5473 \begin_layout Description
5474 Sample buffer-print file "/trash/newfile1.ps" "dvips"
5477 \begin_layout Description
5478 Origin leeming, 28 Mar 2004
5481 \begin_layout Subsection*
5485 \begin_layout Description
5486 Action Import a given file as a lyx document.
5490 \begin_layout Description
5491 Notion File can be imported iff lyx file format is (transitively) reachable
5492 via defined convertors in preferences.
5493 Look into File->Import menu to get an idea of the currently active import
5498 \begin_layout Description
5499 Syntax buffer-import <FORMAT> [<FILE>]
5502 \begin_layout Description
5503 Origin Asger, 24 Jul 1998
5506 \begin_layout Subsection*
5510 \begin_layout Description
5511 Action Creates a new buffer (that is, document).
5515 \begin_layout Description
5516 Notion Implicit path can be set in Preferences dialog.
5520 \begin_layout Description
5521 Syntax buffer-new [<FILE>]
5524 \begin_layout Description
5525 Params <FILE>: filename of created file with absolute path.
5529 \begin_layout Subsection*
5530 LFUN_BUFFER_NEW_TEMPLATE
5533 \begin_layout Description
5534 Action Creates a new buffer (that is, document) from a template.
5538 \begin_layout Description
5539 Notion Path for new files and templates can be set in Preferences dialog.
5540 Template will be asked for via Open-dialog.
5544 \begin_layout Description
5545 Syntax buffer-new-template [<FILE>]
5548 \begin_layout Description
5549 Params <FILE>: filename of created file with absolute path.
5553 \begin_layout Subsection*
5557 \begin_layout Description
5558 Action Reverts opened document.
5562 \begin_layout Description
5563 Syntax buffer-reload
5566 \begin_layout Description
5567 Origin Asger, 2 Feb 1997
5570 \begin_layout Subsection*
5574 \begin_layout Description
5575 Action Switch to the given buffer.
5579 \begin_layout Description
5580 Notion This is useful also in case you need simultaneously more views of
5581 the edited document in different LyX windows.
5585 \begin_layout Description
5586 Syntax buffer-new-template <BUFFER>
5589 \begin_layout Description
5590 Params <BUFFER>: already opened document which is to be shown.
5594 \begin_layout Subsection*
5595 LFUN_BUFFER_TOGGLE_READ_ONLY
5598 \begin_layout Description
5599 Action Toggle editing mode of the current document between read/write and
5604 \begin_layout Description
5605 Notion In the ->Readonly mode checks-in/commits the data if the file is
5606 under version control.
5607 In the Readonly-> mode checkouts the data from repository.
5610 If these operations fail, buffer won't be toggled.
5614 \begin_layout Description
5615 Syntax buffer-toggle-read-only
5618 \begin_layout Description
5619 Origin Lgb, 27 May 1997
5622 \begin_layout Subsection*
5626 \begin_layout Description
5627 Action Displays current buffer in chosen format.
5631 \begin_layout Description
5632 Notion Displays the contents of the current buffer in the chosen format,
5633 for example, PDF or DVI.
5634 This runs the necessary converter, calls the defined viewer, and so forth.
5638 \begin_layout Description
5639 Syntax buffer-view <FORMAT>
5642 \begin_layout Description
5643 Params <FORMAT>: The format to display, where this is one of the formats
5644 defined (in the current GUI) in the Tools>Preferences>File Formats dialog.
5648 \begin_layout Subsection*
5652 \begin_layout Description
5653 Action Exports the current document and put the result into the temporary
5658 \begin_layout Description
5659 Notion In case you are already viewing the exported document (see LFUN_BUFFER_VI
5660 EW) the output will be rewriten - updated.
5661 This is useful in case your viewer is able to detect such changes (e.g.
5662 ghostview for postscript).
5666 \begin_layout Description
5667 Syntax buffer-update <FORMAT>
5670 \begin_layout Description
5671 Params <FORMAT>: The format to display, where this is one of the formats
5672 defined (in the current GUI) in the Tools>Preferences>File Formats dialog.
5676 \begin_layout Description
5677 Origin Dekel, 5 Aug 2000
5680 \begin_layout Subsection*
5684 \begin_layout Description
5685 Action Saves the current buffer.
5689 \begin_layout Description
5690 Notion Saves the current buffer to disk, using the filename that is already
5691 associated with the buffer, asking for one if none is yet assigned.
5695 \begin_layout Description
5699 \begin_layout Subsection*
5700 LFUN_BUFFER_WRITE_AS
5703 \begin_layout Description
5704 Action Rename and save current buffer.
5708 \begin_layout Description
5709 Syntax buffer-write-as <FILENAME>
5712 \begin_layout Description
5713 Params <FILENAME>: New name of the buffer/file.
5714 A relative path is with respect to the original location of the buffer/file.
5718 \begin_layout Subsection*
5719 LFUN_BUFFER_WRITE_ALL
5722 \begin_layout Description
5723 Action Save all changed documents.
5727 \begin_layout Description
5728 Syntax buffer-write-all
5731 \begin_layout Description
5732 Origin rgh, gpothier 6 Aug 2007
5735 \begin_layout Subsection*
5739 \begin_layout Description
5740 Action Switch to the next opened document.
5744 \begin_layout Description
5745 Notion Note that this does not necessarily mean next in tabbar (for full
5746 list see View menu).
5750 \begin_layout Description
5754 \begin_layout Subsection*
5755 LFUN_BUFFER_PREVIOUS
5758 \begin_layout Description
5759 Action Switch to the previous opened document.
5763 \begin_layout Description
5764 Syntax buffer-previous
5767 \begin_layout Subsection*
5768 LFUN_MASTER_BUFFER_UPDATE
5771 \begin_layout Description
5772 Action When run from a child document, this updates (exports) document built
5773 from the master buffer.
5774 If a master is not found, it updates the current buffer.
5778 \begin_layout Description
5779 Syntax master-buffer-update
5782 \begin_layout Description
5783 Origin Tommaso, 20 Sep 2007
5786 \begin_layout Subsection*
5787 LFUN_MASTER_BUFFER_VIEW
5790 \begin_layout Description
5791 Action When run from a child document, this command shows a preview built
5792 from the master buffer.
5793 If a master is not found, it previews the current buffer.
5797 \begin_layout Description
5798 Syntax master-buffer-view
5801 \begin_layout Description
5802 Origin Tommaso, 20 Sep 2007
5805 \begin_layout Subsection*
5806 LFUN_BUFFER_LANGUAGE
5809 \begin_layout Description
5810 Action Set language of the current document.
5814 \begin_layout Description
5815 Syntax buffer-language <LANG>
5818 \begin_layout Description
5819 Params <LANG>: language name.
5820 See lib/languages for list.
5824 \begin_layout Description
5825 Origin leeming, 30 Mar 2004
5828 \begin_layout Subsection*
5829 LFUN_BUFFER_SAVE_AS_DEFAULT
5832 \begin_layout Description
5833 Action Save the current document settings as default.
5837 \begin_layout Description
5838 Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
5842 \begin_layout Description
5843 Syntax buffer-save-as-default [<ARGS>]
5846 \begin_layout Description
5847 Params <ARGS>: contains the particular settings to be saved.
5848 They obey the syntax you can find in document header of usual .lyx file.
5852 \begin_layout Description
5853 Origin leeming, 30 Mar 2004
5856 \begin_layout Subsection*
5857 LFUN_BUFFER_PARAMS_APPLY
5860 \begin_layout Description
5861 Action Apply the given settings to the current document.
5865 \begin_layout Description
5866 Syntax buffer-params-apply [<ARGS>]
5869 \begin_layout Description
5870 Params <ARGS>: contains the particular settings to be saved.
5871 They obey the syntax you can find in document header of usual .lyx file.
5875 \begin_layout Description
5876 Origin leeming, 30 Mar 2004
5879 \begin_layout Subsection*
5883 \begin_layout Description
5884 Action Inserts another LyX file.
5888 \begin_layout Description
5889 Syntax file-insert [<FILE>]
5892 \begin_layout Description
5893 Params <FILE>: Filename to be inserted.
5897 \begin_layout Subsection*
5898 LFUN_FILE_INSERT_PLAINTEXT
5901 \begin_layout Description
5902 Action Inserts plain text file.
5906 \begin_layout Description
5907 Syntax file-insert-plaintext [<FILE>]
5910 \begin_layout Description
5911 Params <FILE>: Filename to be inserted.
5915 \begin_layout Description
5916 Origin CFO-G, 19 Nov 1997
5919 \begin_layout Subsection*
5920 LFUN_FILE_INSERT_PLAINTEXT_PARA
5923 \begin_layout Description
5924 Action Inserts plain text file as paragraph (i.e.
5929 \begin_layout Description
5930 Syntax file-insert-plaintext-para [<FILE>]
5933 \begin_layout Description
5934 Params <FILE>: Filename to be inserted.
5938 \begin_layout Description
5939 Origin Levon, 14 Feb 2001
5942 \begin_layout Subsection*
5946 \begin_layout Description
5947 Action Open LyX document.
5951 \begin_layout Description
5952 Syntax file-open [<FILE>]
5955 \begin_layout Description
5956 Params <FILE>: Filename to be opened.
5960 \begin_layout Subsection*
5964 \begin_layout Description
5965 Action Executes a command defined in a .def file.
5969 \begin_layout Description
5970 Notion The definitions are by default read from lib/commands/default.def.
5973 A .def file allows to define a command with
5975 define "<NAME>" "<LFUN>" where <NAME> is the name of the new command and
5976 <LFUN> is the lfun code to be executed (see e.g.
5977 LFUN_COMMAND_SEQUENCE).
5980 def_file "FileName" allows to include another .def file.
5983 This is particularly useful in connection with toolbar buttons: Since
5984 the name of the button image for this lfun is lib/images/commands/<NAME>.png
5985 this is the way to assign an image to a complex command-sequence.
5989 \begin_layout Description
5993 \begin_layout Description
5994 Params <NAME>: Name of the command that must be called.
5998 \begin_layout Description
5999 Origin broider, 2 Oct 2007
6002 \begin_layout Subsection*
6006 \begin_layout Description
6007 Action Simulate halting Meta key (Alt key on PCs).
6011 \begin_layout Description
6012 Notion Used for buffer editation not for GUI control.
6016 \begin_layout Description
6020 \begin_layout Subsection*
6024 \begin_layout Description
6025 Action Cancels sequence prepared by LFUN_META_PREFIX .
6029 \begin_layout Description
6033 \begin_layout Subsection*
6034 LFUN_COMMAND_EXECUTE
6037 \begin_layout Description
6038 Action Opens the minibuffer toolbar so that the user can type in there.
6042 \begin_layout Description
6043 Notion Usually bound to M-x shortcut.
6047 \begin_layout Description
6048 Syntax command-execute
6051 \begin_layout Subsection*
6055 \begin_layout Description
6056 Action Return the current key sequence and available options as a string.
6060 \begin_layout Description
6061 Notion No options are added if no current map exists.
6064 This is probably usable only with connection to lyxserver.
6068 \begin_layout Description
6069 Syntax command-prefix
6072 \begin_layout Subsection*
6073 LFUN_COMMAND_SEQUENCE
6076 \begin_layout Description
6077 Action Run more commands (LFUN and its parameters) in a sequence.
6081 \begin_layout Description
6082 Syntax command-sequence <CMDS>
6085 \begin_layout Description
6086 Params <CMDS>: Sequence of commands separated by semicolons.
6090 \begin_layout Description
6091 Sample command-sequence cut; ert-insert; self-insert ; paste; self-insert
6095 \begin_layout Description
6096 Origin Andre, 11 Nov 1999
6099 \begin_layout Subsection*
6103 \begin_layout Description
6104 Action Shows message in statusbar (for script purposes).
6108 \begin_layout Description
6109 Syntax message <STRING>
6112 \begin_layout Description
6113 Origin Lgb, 8 Apr 2001
6116 \begin_layout Subsection*
6117 LFUN_PREFERENCES_SAVE
6120 \begin_layout Description
6121 Action Save user preferences.
6125 \begin_layout Description
6126 Syntax preferences-save
6129 \begin_layout Description
6130 Origin Lgb, 27 Nov 1999
6133 \begin_layout Subsection*
6137 \begin_layout Description
6138 Action Reconfigure the automatic settings.
6142 \begin_layout Description
6146 \begin_layout Description
6147 Origin Asger, 14 Feb 1997
6150 \begin_layout Subsection*
6154 \begin_layout Description
6155 Action Apply the given settings to user preferences.
6159 \begin_layout Description
6160 Syntax lyxrc-apply <SETTINGS>
6163 \begin_layout Description
6164 Params <SETTINGS>: settings which are to be set.
6165 Take a look into ~/.lyx/preferences to get an idea which commands to use
6167 lyx::LyXRC::LyXRCTags has the list of possible commands.
6171 \begin_layout Subsection*
6172 LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE
6175 \begin_layout Description
6176 Action Determine whether keep cursor inside the editing window regardless
6177 the scrollbar movement.
6181 \begin_layout Description
6182 Syntax toggle-cursor-follows-scrollbar
6185 \begin_layout Description
6186 Origin ARRae, 2 Dec 1997
6189 \begin_layout Subsection*
6193 \begin_layout Description
6194 Action Set the given LyX color to the color defined by the X11 name given.
6198 \begin_layout Description
6199 Notion A new color entry is created if the color is unknown.
6200 Color names can be stored as a part of user settings.
6204 \begin_layout Description
6205 Syntax set-color <LYX_NAME> <X11_NAME>
6208 \begin_layout Description
6209 Origin SLior, 11 Jun 2000
6212 \begin_layout Subsection*
6216 \begin_layout Description
6217 Action Count the statistics (number of words and characters) in the document
6218 or in the given selection.
6222 \begin_layout Description
6223 Notion Note that this function gives the number of words/chars written,
6224 not the number of characters which will be typeset.
6228 \begin_layout Description
6232 \begin_layout Description
6233 Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
6236 \begin_layout Subsection*
6237 LFUN_COMPLETION_INLINE
6240 \begin_layout Description
6241 Action Show the inline completion at the cursor position.
6245 \begin_layout Description
6246 Syntax completion-inline
6249 \begin_layout Description
6250 Origin sts, Feb 19 2008
6253 \begin_layout Subsection*
6254 LFUN_COMPLETION_POPUP
6257 \begin_layout Description
6258 Action Show the completion popup at the cursor position.
6262 \begin_layout Description
6263 Syntax completion-popup
6266 \begin_layout Description
6267 Origin sts, Feb 19 2008
6270 \begin_layout Subsection*
6271 LFUN_COMPLETION_COMPLETE
6274 \begin_layout Description
6275 Action Try to complete the word or command at the cursor position.
6279 \begin_layout Description
6280 Syntax completion-complete
6283 \begin_layout Description
6284 Origin sts, Feb 19 2008
6287 \begin_layout Subsection*
6288 LFUN_BRANCH_ACTIVATE
6291 \begin_layout Description
6292 Action Activate the branch
6295 \begin_layout Description
6296 Syntax branch-activate <BRANCH>
6299 \begin_layout Description
6300 Params <BRANCH>: The branch to activate
6303 \begin_layout Description
6304 Sample lyx -e pdf2 -x "branch-activate answers" finalexam.lyx
6307 to export a pdf with the answers branch includedwithout one's having to
6308 open LyX and activate the branch manually.
6311 \begin_layout Description
6312 Origin rgh, 27 May 2008
6315 \begin_layout Subsection*
6316 LFUN_BRANCH_ACTIVATE
6319 \begin_layout Description
6320 Action De-activate the branch
6323 \begin_layout Description
6324 Syntax branch-deactivate <BRANCH>
6327 \begin_layout Description
6328 Params <BRANCH>: The branch to deactivate
6331 \begin_layout Description
6332 Origin rgh, 27 May 2008