1 #LyX 1.6.0 created this file. For more info see http://www.lyx.org/
6 \use_default_options false
14 \font_typewriter default
15 \font_default_family default
21 \paperfontsize default
29 \paperorientation portrait
36 \paragraph_separation indent
38 \quotes_language english
41 \paperpagestyle default
42 \tracking_changes false
50 \begin_layout Section*
51 LFUNs documentation automatically generated 23.10.2008.
54 \begin_layout Standard
58 \begin_layout Plain Layout
68 \begin_inset VSpace 1cm
74 \begin_layout Subsection*
78 \begin_layout Description
79 Action Adds an acute accent to the next character typed.
83 \begin_layout Description
87 \begin_layout Subsection*
91 \begin_layout Description
92 Action Adds a breve accent to the next character typed.
96 \begin_layout Description
100 \begin_layout Subsection*
104 \begin_layout Description
105 Action Adds a caron to the next character typed.
109 \begin_layout Description
113 \begin_layout Subsection*
117 \begin_layout Description
118 Action Adds a cedilla to the next character typed.
122 \begin_layout Description
123 Syntax accent-cedilla
126 \begin_layout Subsection*
130 \begin_layout Description
131 Action Adds a circle accent to the next character typed.
135 \begin_layout Description
139 \begin_layout Subsection*
140 LFUN_ACCENT_CIRCUMFLEX
143 \begin_layout Description
144 Action Adds a circumflex to the next character typed.
148 \begin_layout Description
149 Syntax accent-circumflex
152 \begin_layout Subsection*
156 \begin_layout Description
157 Action Adds a dot accent to the next character typed.
161 \begin_layout Description
165 \begin_layout Subsection*
169 \begin_layout Description
170 Action Adds a grave accent to the next character typed.
174 \begin_layout Description
178 \begin_layout Subsection*
179 LFUN_ACCENT_HUNGARIAN_UMLAUT
182 \begin_layout Description
183 Action Adds a Hungarian umlaut to the next character typed.
187 \begin_layout Description
191 \begin_layout Subsection*
195 \begin_layout Description
196 Action Adds a macron to the next character typed.
200 \begin_layout Description
204 \begin_layout Subsection*
208 \begin_layout Description
209 Action Adds an ogonek accent to the next character typed.
213 \begin_layout Description
217 \begin_layout Subsection*
221 \begin_layout Description
222 Action Adds a tie over the next two character typed.
226 \begin_layout Description
227 Notion The following char will finish the tie.
231 \begin_layout Description
235 \begin_layout Subsection*
239 \begin_layout Description
240 Action Adds a tilde over the next character typed.
244 \begin_layout Description
248 \begin_layout Subsection*
252 \begin_layout Description
253 Action Adds an umlaut over the next character typed.
257 \begin_layout Description
261 \begin_layout Subsection*
265 \begin_layout Description
266 Action Adds a bar under the next character typed.
270 \begin_layout Description
271 Syntax accent-underbar
274 \begin_layout Subsection*
278 \begin_layout Description
279 Action Adds a dot under the next character typed.
283 \begin_layout Description
284 Syntax accent-underdot
287 \begin_layout Subsection*
291 \begin_layout Description
292 Action Inserts a caption inset.
296 \begin_layout Description
297 Syntax caption-insert
300 \begin_layout Description
301 Origin Lgb, 18 Jul 2000
304 \begin_layout Subsection*
308 \begin_layout Description
309 Action Inserts the current date.
313 \begin_layout Description
314 Syntax date-insert [<ARG>]
317 \begin_layout Description
318 Params <ARG>: Format of date.
319 The default value (%x) can be set in Preferences->Date format.
320 For possible formats see manual page of strftime function.
324 \begin_layout Description
325 Origin jdblair, 31 Jan 2000
328 \begin_layout Subsection*
332 \begin_layout Description
333 Action Inserts a footnote inset.
337 \begin_layout Description
338 Syntax footnote-insert
341 \begin_layout Description
342 Origin Jug, 7 Mar 2000
345 \begin_layout Subsection*
349 \begin_layout Description
350 Action Inserts an ERT inset.
354 \begin_layout Description
358 \begin_layout Description
359 Origin Jug, 18 Feb 2000
362 \begin_layout Subsection*
366 \begin_layout Description
367 Action Inserts a float inset.
371 \begin_layout Description
372 Syntax float-insert <TYPE>
375 \begin_layout Description
376 Params <TYPE>: type of float depends on the used textclass.
377 Usually "algorithm", "table", "figure" parameters can be given.
381 \begin_layout Description
382 Origin Lgb, 27 Jun 2000
385 \begin_layout Subsection*
386 LFUN_FLOAT_WIDE_INSERT
389 \begin_layout Description
390 Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns.
394 \begin_layout Description
395 Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX.
399 \begin_layout Description
400 Syntax float-wide-insert <TYPE>
403 \begin_layout Description
404 Params <TYPE>: type of float depends on the used textclass.
405 Usually "algorithm", "table", "figure" parameters can be given.
409 \begin_layout Description
410 Origin Lgb, 31 Oct 2001
413 \begin_layout Subsection*
414 LFUN_FLOAT_LIST_INSERT
417 \begin_layout Description
418 Action Inserts the list of floats in the document.
422 \begin_layout Description
423 Syntax float-list-insert <TYPE>
426 \begin_layout Description
427 Params <TYPE>: type of float depends on the used textclass.
428 Usually "algorithm", "table", "figure" parameters can be given.
432 \begin_layout Description
433 Origin Lgb, 3 May 2001
436 \begin_layout Subsection*
440 \begin_layout Description
441 Action Inserts floats wrapped by the text around.
445 \begin_layout Description
446 Syntax wrap-insert <TYPE>
449 \begin_layout Description
450 Params <TYPE>: table|figure
453 \begin_layout Description
454 Origin Dekel, 7 Apr 2002
457 \begin_layout Subsection*
461 \begin_layout Description
462 Action Inserts an optional-argument (short title) inset.
466 \begin_layout Description
467 Syntax optional-insert
470 \begin_layout Description
471 Origin vermeer, 12 Aug 2002
474 \begin_layout Subsection*
478 \begin_layout Description
479 Action Inserts a horizontal line.
483 \begin_layout Description
487 \begin_layout Description
488 Origin Andre, Oct 27 2003
491 \begin_layout Subsection*
495 \begin_layout Description
496 Action Inserts a new page.
500 \begin_layout Description
501 Syntax newpage-insert <ARG>
504 \begin_layout Description
505 Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
509 \begin_layout Description
510 Origin uwestoehr, 24 Nov 2007
513 \begin_layout Subsection*
514 LFUN_MARGINALNOTE_INSERT
517 \begin_layout Description
518 Action Inserts a marginal note.
522 \begin_layout Description
523 Syntax marginalnote-insert
526 \begin_layout Description
527 Origin Lgb, 26 Jun 2000
530 \begin_layout Subsection*
534 \begin_layout Description
535 Action Inserts a single unicode character.
539 \begin_layout Description
540 Syntax unicode-insert <CHAR>
543 \begin_layout Description
544 Params <CHAR>: The character to insert, given as its code point, in hexadecimal.
548 \begin_layout Description
549 Sample unicode-insert 0x0100
552 \begin_layout Description
553 Origin Lgb, 22 Oct 2006
556 \begin_layout Subsection*
560 \begin_layout Description
561 Action Inserts a new listings inset.
565 \begin_layout Description
566 Syntax listing-insert
569 \begin_layout Description
570 Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
573 \begin_layout Subsection*
577 \begin_layout Description
578 Action Insert a tab into a listings inset.
582 \begin_layout Description
583 Notion It also works on a selection.
587 \begin_layout Description
591 \begin_layout Description
592 Origin vfvanravesteijn, Sep 30 2008
595 \begin_layout Subsection*
599 \begin_layout Description
600 Action Delete a tab or up to an equivalent amount of spaces from a listings
605 \begin_layout Description
606 Notion It also works on a selection - it removes a tab or spaces from the
607 beginning of each line spanned by the selection.
608 This is useful if you want to indent/unindent multiple lines in one action.
612 \begin_layout Description
616 \begin_layout Description
617 Origin vfvanravesteijn, Sep 30 2008
620 \begin_layout Subsection*
624 \begin_layout Description
625 Action Inserts quotes according to the type and quote-language preference.
629 \begin_layout Description
630 Action Currently English, Swedish, German, Polish, French, Danish quotes
635 \begin_layout Description
636 Syntax quote-insert [<TYPE>]
639 \begin_layout Description
640 Params <TYPE>: 'single' for single quotes, otherwise double quotes will
645 \begin_layout Subsection*
649 \begin_layout Description
650 Action Displays shortcuts, lyxrc, package and textclass availability and
651 menu information in a non-editable boxed InsetText.
655 \begin_layout Description
656 Notion Apart from lfun arguments you can use the following method:
657 \begin_inset Newline newline
661 input the type and argument of this inset, e.
662 \begin_inset space \thinspace{}
666 "menu paste", in the work area.
668 \begin_inset Newline newline
672 select the text and run info-insert lfun.
676 \begin_layout Description
677 Syntax info-insert <TYPE> <ARG>
680 \begin_layout Description
681 Params <TYPE>: shortcut|lyxrc|package|textclass|menu|buffer
682 \begin_inset Newline newline
685 <ARG>: argument for a given type.
686 Look into InsetInfo.h for detailed description.
690 \begin_layout Description
691 Origin bpeng, 7 Oct 2007
694 \begin_layout Subsection*
698 \begin_layout Description
699 Action Inserts branch inset.
703 \begin_layout Description
704 Syntax branch-insert <BRANCH-NAME>
707 \begin_layout Description
708 Origin vermeer, 17 Aug 2003
711 \begin_layout Subsection*
715 \begin_layout Description
716 Action Inserts Box inset.
720 \begin_layout Description
721 Syntax box-insert [<TYPE>]
724 \begin_layout Description
725 Params <TYPE>: Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox
727 \begin_inset Newline newline
730 Framed is the default one.
734 \begin_layout Description
735 Origin vermeer, 7 Oct 2003
738 \begin_layout Subsection*
742 \begin_layout Description
743 Action Inserts CharStyle, Custom inset or XML short element.
747 \begin_layout Description
748 Notion Look into the Customization manual for more information about these
751 \begin_inset Newline newline
754 To make this command enabled the layout file for the document class you're
755 using has to load the character styles.
756 There are a few contained in the Logical Markup module.
757 You can also of course create some yourself.
759 \begin_inset Newline newline
762 For dissolving the element see LFUN_INSET_DISSOLVE.
766 \begin_layout Description
767 Syntax flex-insert <TYPE:Name>
770 \begin_layout Description
771 Params TYPE: CharStyle|Custom|Element|Standard
772 \begin_inset Newline newline
775 Identifies whether this is a Character Style, a Custom Inset or an XML
776 Element, and which dynamical sub-menu this flex inset is in on the LyX
778 If Standard (currently unused): none of these.
779 Name: This name must be defined either in your layout file or imported
782 \begin_inset Newline newline
785 InsetLayout <TYPE:Name>
788 \begin_layout Description
789 Sample flex-insert CharStyle:Code
792 \begin_layout Subsection*
796 \begin_layout Description
797 Action Inserts the given string (accordingly to the correct keymap).
801 \begin_layout Description
802 Notion Automatically replace the currently selected text.
803 Depends on lyxrc settings "auto_region_delete".
807 \begin_layout Description
808 Syntax self-insert <STRING>
811 \begin_layout Subsection*
815 \begin_layout Description
816 Action Inserts one of horizontal space insets.
820 \begin_layout Description
821 Syntax space-insert <NAME> [<LEN>]
824 \begin_layout Description
825 Params <NAME>: normal, protected, thin, quad, qquad, enspace, enskip, negthinspa
826 ce, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
827 \begin_inset Newline newline
830 <LEN>: length for custom spaces (hspace, hspace* for protected)
833 \begin_layout Description
834 Origin JSpitzm, 20 May 2003, Mar 17 2008
837 \begin_layout Subsection*
838 LFUN_HYPERLINK_INSERT
841 \begin_layout Description
842 Action Inserts hyperlinks into the document (clickable in pdf output).
846 \begin_layout Description
847 Notion Hyperlink target can be set via selection + hyperlink-insert function.
851 \begin_layout Description
852 Syntax href-insert [<TARGET>]
855 \begin_layout Description
856 Origin CFO-G, 21 Nov 1997
859 \begin_layout Subsection*
860 LFUN_SPECIALCHAR_INSERT
863 \begin_layout Description
864 Action Inserts various characters into the document.
868 \begin_layout Description
869 Syntax specialchar-insert <CHAR>
872 \begin_layout Description
873 Params <CHAR>: hyphenation, ligature-break, slash, nobreakdash, dots, end-of-sen
874 tence, menu-separator.
878 \begin_layout Description
879 Origin JSpitzm, 6 Dec 2007
882 \begin_layout Subsection*
886 \begin_layout Description
887 Action Inserts table of contents.
891 \begin_layout Description
895 \begin_layout Description
896 Origin Lgb, 27 May 97
899 \begin_layout Subsection*
903 \begin_layout Description
904 Action Start (or remove) Appendix on the given cursor position.
908 \begin_layout Description
912 \begin_layout Description
913 Origin ettrich, 5 May 1998
916 \begin_layout Subsection*
920 \begin_layout Description
921 Action Inserts Index entry.
925 \begin_layout Description
926 Notion It automatically takes the word on the cursor position.
930 \begin_layout Description
934 \begin_layout Description
935 Origin leeming, 3 Aug 2000
938 \begin_layout Subsection*
942 \begin_layout Description
943 Action Inserts list of Index entries on a new page.
947 \begin_layout Description
951 \begin_layout Description
952 Origin Lgb, 27 Feb 1997
955 \begin_layout Subsection*
959 \begin_layout Description
960 Action Inserts Nomenclature entry.
964 \begin_layout Description
965 Notion It automatically takes the word on the cursor position if no symbol
970 \begin_layout Description
971 Syntax nomencl-insert [<SYMBOL>]
974 \begin_layout Description
975 Origin Ugras, 4 Nov 2006
978 \begin_layout Subsection*
979 LFUN_NOMENCLATURE_PRINT
982 \begin_layout Description
983 Action Inserts list of Nomenclature entries.
987 \begin_layout Description
988 Syntax nomenclature-print
991 \begin_layout Description
992 Origin Ugras, 4 Nov 2006
995 \begin_layout Subsection*
999 \begin_layout Description
1000 Action Inserts Note on the current cursor postion, move selection inside
1005 \begin_layout Description
1006 Syntax note-insert [<TYPE>]
1009 \begin_layout Description
1010 Params <TYPE>: <Note|Greyedout|Comment> default: Note
1013 \begin_layout Subsection*
1017 \begin_layout Description
1018 Action Moves the cursor to the begining of next Note inset.
1022 \begin_layout Description
1026 \begin_layout Subsection*
1030 \begin_layout Description
1031 Action Changes all Note insets of a particular type (source) to a different
1032 type (target) fot the current document.
1036 \begin_layout Description
1037 Syntax notes-mutate <SOURCE> <TARGET>
1040 \begin_layout Description
1041 Params <SOURCE/TARGET>: Note|Comment|Greyedout
1044 \begin_layout Description
1045 Origin sanda, 18 Jun 2008
1048 \begin_layout Subsection*
1052 \begin_layout Description
1053 Action Inserts a line break or new line.
1057 \begin_layout Description
1058 Syntax newline-insert [<ARG>]
1061 \begin_layout Description
1062 Params <ARG>: <newline|linebreak> default: newline
1065 \begin_layout Description
1066 Origin JSpitzm, 25 Mar 2008
1069 \begin_layout Subsection*
1073 \begin_layout Description
1074 Action Clears the selection.
1075 If no text is selected call LFUN_FINISHED_FORWARD.
1079 \begin_layout Description
1083 \begin_layout Description
1084 Origin Lgb, 17 May 2001
1087 \begin_layout Subsection*
1091 \begin_layout Description
1092 Action Moves the cursor one line in downward direction.
1096 \begin_layout Description
1100 \begin_layout Subsection*
1104 \begin_layout Description
1105 Action Moves the cursor one line in upward direction.
1109 \begin_layout Description
1113 \begin_layout Subsection*
1117 \begin_layout Description
1118 Action Moves the cursor one line in downward direction adding the current
1119 position to the selection.
1123 \begin_layout Description
1127 \begin_layout Subsection*
1131 \begin_layout Description
1132 Action Moves the cursor one line in upward direction adding the current
1133 position to the selection.
1137 \begin_layout Description
1141 \begin_layout Subsection*
1145 \begin_layout Description
1146 Action Moves the cursor one page in downward direction.
1150 \begin_layout Description
1154 \begin_layout Subsection*
1158 \begin_layout Description
1159 Action Moves the cursor one page in upward direction.
1163 \begin_layout Description
1167 \begin_layout Subsection*
1168 LFUN_SCREEN_DOWN_SELECT
1171 \begin_layout Description
1172 Action Moves the cursor one screen in downward direction adding the current
1173 position to the selection.
1177 \begin_layout Description
1178 Syntax screen-down-select
1181 \begin_layout Subsection*
1182 LFUN_SCREEN_UP_SELECT
1185 \begin_layout Description
1186 Action Moves the cursor one page in upward direction adding the current
1187 position to the selection.
1191 \begin_layout Description
1192 Syntax screen-up-select
1195 \begin_layout Subsection*
1199 \begin_layout Description
1200 Action Scroll the buffer view.
1204 \begin_layout Description
1205 Notion Only scrolls the screen up or down; does not move the cursor.
1209 \begin_layout Description
1210 Syntax scroll <TYPE> <QUANTITY>
1213 \begin_layout Description
1214 Params <TYPE>: line|page
1215 \begin_inset Newline newline
1218 <QUANTITY>: up|down|<number>
1221 \begin_layout Description
1222 Origin Abdel, Dec 27 2007
1225 \begin_layout Subsection*
1226 LFUN_SCREEN_RECENTER
1229 \begin_layout Description
1230 Action Recenters the screen on the current cursor position.
1234 \begin_layout Description
1235 Syntax screen-recenter
1238 \begin_layout Subsection*
1242 \begin_layout Description
1243 Action Moves the cursor one position logically backwards.
1247 \begin_layout Description
1248 Notion This is not the action which should be bound to the arrow keys, because
1249 backwards may be left or right, depending on the language.
1250 The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions,
1251 which in turn may employ this one.
1255 \begin_layout Description
1256 Syntax char-backward
1259 \begin_layout Subsection*
1260 LFUN_CHAR_BACKWARD_SELECT
1263 \begin_layout Description
1264 Action Moves the cursor one position logically backwards, adding traversed
1265 position to the selection.
1269 \begin_layout Description
1270 Notion See also LFUN_CHAR_BACKWARD.
1274 \begin_layout Description
1275 Syntax char-backward-select
1278 \begin_layout Subsection*
1279 LFUN_CHAR_DELETE_BACKWARD
1282 \begin_layout Description
1283 Action Deletes one character in the backward direction (usually the "BackSpace"
1288 \begin_layout Description
1289 Syntax char-delete-backward
1292 \begin_layout Subsection*
1293 LFUN_CHAR_DELETE_FORWARD
1296 \begin_layout Description
1297 Action Deletes one character in the backward direction (usually the "Delete"
1302 \begin_layout Description
1303 Syntax char-delete-forward
1306 \begin_layout Subsection*
1310 \begin_layout Description
1311 Action Moves the cursor one position logically forward.
1315 \begin_layout Description
1316 Notion This is not the action which should be bound to the arrow keys, because
1317 forward may be left or right, depending on the language.
1318 The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions,
1319 which in turn may employ this one.
1323 \begin_layout Description
1327 \begin_layout Subsection*
1328 LFUN_CHAR_FORWARD_SELECT
1331 \begin_layout Description
1332 Action Moves the cursor one position logically forward, adding traversed
1333 position to the selection.
1337 \begin_layout Description
1338 Notion See also LFUN_CHAR_FORWARD.
1342 \begin_layout Description
1343 Syntax char-forward-select
1346 \begin_layout Subsection*
1350 \begin_layout Description
1351 Action Moves the cursor one position "to the left".
1355 \begin_layout Description
1356 Notion This is the action which should be taken when the "left" key is pressed.
1357 Generally, it moves the cursor one position to the left.
1358 However, in Bidi text this become slightly more complicated, and there
1359 are different modes of cursor movement.
1360 In "visual mode", this moves left, plain and simple.
1361 In "logical mode", movement is logically forward in RTL paragraphs, and
1362 logically backwards in LTR paragraphs.
1366 \begin_layout Description
1370 \begin_layout Subsection*
1371 LFUN_CHAR_LEFT_SELECT
1374 \begin_layout Description
1375 Action Moves the cursor one position "to the left", adding traversed position
1380 \begin_layout Description
1381 Notion See also LFUN_CHAR_LEFT for exact details of the movement.
1385 \begin_layout Description
1386 Syntax char-left-select
1389 \begin_layout Subsection*
1393 \begin_layout Description
1394 Action Moves the cursor one position "to the right".
1398 \begin_layout Description
1399 Notion This is the action which should be taken when the "right" key is
1401 Generally, it moves the cursor one position to the right.
1402 However, in Bidi text this become slightly more complicated, and there
1403 are different modes of cursor movement.
1404 In "visual mode", this moves right, plain and simple.
1405 In "logical mode", movement is logically forward in LTR paragraphs, and
1406 logically backwards in RTL paragraphs.
1410 \begin_layout Description
1414 \begin_layout Subsection*
1415 LFUN_CHAR_RIGHT_SELECT
1418 \begin_layout Description
1419 Action Moves the cursor one position "to the right", adding traversed position
1424 \begin_layout Description
1425 Notion See also LFUN_CHAR_RIGHT for exact details of the movement.
1429 \begin_layout Description
1430 Syntax char-right-select
1433 \begin_layout Subsection*
1437 \begin_layout Description
1438 Action Moves the cursor to the logically previous beginning of a word.
1442 \begin_layout Description
1443 Notion This is not the action which should be bound to the arrow keys, because
1444 backwards may be left or right, depending on the language.
1445 The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions,
1446 which in turn may employ this one.
1450 \begin_layout Description
1451 Syntax word-backward
1454 \begin_layout Subsection*
1455 LFUN_WORD_BACKWARD_SELECT
1458 \begin_layout Description
1459 Action Moves the cursor to the logically previous beginning of a word, adding
1460 the logically traversed text to the selection.
1464 \begin_layout Description
1465 Notion See also LFUN_WORD_BACKWARD.
1469 \begin_layout Description
1470 Syntax word-backward-select
1473 \begin_layout Subsection*
1474 LFUN_WORD_DELETE_BACKWARD
1477 \begin_layout Description
1478 Action Deletes characters to the begining of the word (usually the "C+BackSpace"
1483 \begin_layout Description
1484 Syntax word-delete-backward
1487 \begin_layout Subsection*
1488 LFUN_WORD_DELETE_FORWARD
1491 \begin_layout Description
1492 Action Deletes characters to the end of the word (usually the "C+Delete"
1497 \begin_layout Description
1498 Syntax word-delete-forward
1501 \begin_layout Subsection*
1502 LFUN_WORD_FIND_FORWARD
1505 \begin_layout Description
1506 Action Search for a given string in forward direction.
1510 \begin_layout Description
1511 Notion Case sensitive, match words.
1512 If no argument given, last search repeated.
1516 \begin_layout Description
1517 Syntax word-find-forward [<STRING>]
1520 \begin_layout Description
1521 Origin Etienne, 16 Feb 1998
1524 \begin_layout Subsection*
1525 LFUN_WORD_FIND_BACKWARD
1528 \begin_layout Description
1529 Action Search for a given string in backward direction.
1533 \begin_layout Description
1534 Notion Case sensitive, match words.
1535 If no argument given, last search repeated.
1539 \begin_layout Description
1540 Syntax word-find-backward [<STRING>]
1543 \begin_layout Description
1544 Origin Etienne, 20 Feb 1998
1547 \begin_layout Subsection*
1551 \begin_layout Description
1552 Action Search for next occurence of a string.
1556 \begin_layout Description
1557 Syntax word-find [<DATA>]
1560 \begin_layout Description
1561 Params <DATA>: data encoded from Find dialog (see lyx::find2string()).
1562 If no parameter is given, search with last find-dialog data is used for
1564 \begin_inset space \thinspace{}
1572 \begin_layout Description
1573 Origin Andre, Jan 7 2004
1576 \begin_layout Subsection*
1580 \begin_layout Description
1581 Action Replace a string in the document.
1585 \begin_layout Description
1586 Syntax word-replace [<DATA>]
1589 \begin_layout Description
1590 Params <DATA>: data is of the form "<search>
1591 \begin_inset Newline newline
1595 \begin_inset Newline newline
1598 <casesensitive> <matchword> <all> <forward>"
1601 \begin_layout Description
1602 Origin Andre, Jan 7 2004
1605 \begin_layout Subsection*
1609 \begin_layout Description
1610 Action Moves the cursor to the logically next beginning of a word.
1614 \begin_layout Description
1615 Notion This is not the action which should be bound to the arrow keys, because
1616 forward may be left or right, depending on the language.
1617 The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions,
1618 which in turn may employ this one.
1622 \begin_layout Description
1626 \begin_layout Subsection*
1627 LFUN_WORD_FORWARD_SELECT
1630 \begin_layout Description
1631 Action Moves the cursor to the logically next beginning of a word, adding
1632 the logically traversed text to the selection.
1636 \begin_layout Description
1637 Notion See also LFUN_WORD_FORWARD.
1641 \begin_layout Description
1642 Syntax word-forward-select
1645 \begin_layout Subsection*
1649 \begin_layout Description
1650 Action Moves the cursor to the next beginning of a word "on the left".
1654 \begin_layout Description
1655 Notion This is the action which should be taken when the (e.
1656 \begin_inset space \thinspace{}
1659 g., ctrl-) "left" key is pressed.
1660 Generally, it moves the cursor to the next beginning of a word on the left.
1661 However, in Bidi text this become slightly more complicated, and there
1662 are different modes of cursor movement.
1663 In "visual mode", this moves left, plain and simple.
1664 In "logical mode", movement is logically forward in RTL paragraphs, and
1665 logically backwards in LTR paragraphs.
1669 \begin_layout Description
1673 \begin_layout Description
1674 Origin dov, 28 Oct 2007
1677 \begin_layout Subsection*
1678 LFUN_WORD_LEFT_SELECT
1681 \begin_layout Description
1682 Action Moves the cursor to the next beginning of a word "on the left", adding
1683 *logically* traversed text to the selection.
1687 \begin_layout Description
1688 Notion See also LFUN_WORD_LEFT for exact details of the movement.
1692 \begin_layout Description
1693 Syntax word-left-select
1696 \begin_layout Description
1697 Origin dov, 28 Oct 2007
1700 \begin_layout Subsection*
1704 \begin_layout Description
1705 Action Moves the cursor to the next beginning of a word "on the right".
1709 \begin_layout Description
1710 Notion This is the action which should be taken when the (e.
1711 \begin_inset space \thinspace{}
1714 g., ctrl-) "right" key is pressed.
1715 Generally, it moves the cursor to the next beginning of a word on the right.
1716 However, in Bidi text this become slightly more complicated, and there
1717 are different modes of cursor movement.
1718 In "visual mode", this moves right, plain and simple.
1719 In "logical mode", movement is logically forward in LTR paragraphs, and
1720 logically backwards in RTL paragraphs.
1724 \begin_layout Description
1728 \begin_layout Description
1729 Origin dov, 28 Oct 2007
1732 \begin_layout Subsection*
1733 LFUN_WORD_RIGHT_SELECT
1736 \begin_layout Description
1737 Action Moves the cursor to the next beginning of a word "on the right",
1738 adding *logically* traversed text to the selection.
1742 \begin_layout Description
1743 Notion See also LFUN_WORD_RIGHT for exact details of the movement.
1747 \begin_layout Description
1748 Syntax word-right-select
1751 \begin_layout Description
1752 Origin dov, 28 Oct 2007
1755 \begin_layout Subsection*
1759 \begin_layout Description
1760 Action Puts the word where the cursor stands into the selection.
1764 \begin_layout Description
1768 \begin_layout Description
1769 Origin Andre, 11 Sep 2002
1772 \begin_layout Subsection*
1773 LFUN_WORD_CAPITALIZE
1776 \begin_layout Description
1777 Action Capitalizes the words in the selection (i.
1778 \begin_inset space \thinspace{}
1782 the first letters) or the letter on the cursor position.
1786 \begin_layout Description
1787 Syntax word-capitalize
1790 \begin_layout Subsection*
1794 \begin_layout Description
1795 Action Change the words in the selection or from the cursor position to
1796 the end of word to the upper case.
1800 \begin_layout Description
1804 \begin_layout Subsection*
1808 \begin_layout Description
1809 Action Change the words in the selection or from the cursor position to
1810 the end of word to the lower case.
1814 \begin_layout Description
1818 \begin_layout Subsection*
1819 LFUN_THESAURUS_ENTRY
1822 \begin_layout Description
1823 Action Look up thesaurus entries with respect to the word under the cursor.
1827 \begin_layout Description
1828 Syntax thesaurus-entry
1831 \begin_layout Description
1832 Origin Levon, 20 Jul 2001
1835 \begin_layout Subsection*
1839 \begin_layout Description
1840 Action Move the cursor to the beginning of the document.
1844 \begin_layout Description
1848 \begin_layout Subsection*
1849 LFUN_BUFFER_BEGIN_SELECT
1852 \begin_layout Description
1853 Action Move the cursor to the beginning of the document adding the traversed
1854 text to the selection.
1858 \begin_layout Description
1859 Syntax buffer-begin-select
1862 \begin_layout Subsection*
1866 \begin_layout Description
1867 Action Move the cursor to the end of the document.
1871 \begin_layout Description
1875 \begin_layout Subsection*
1876 LFUN_BUFFER_END_SELECT
1879 \begin_layout Description
1880 Action Move the cursor to the end of the document adding the traversed text
1885 \begin_layout Description
1886 Syntax buffer-end-select
1889 \begin_layout Subsection*
1893 \begin_layout Description
1894 Action Move the cursor to the begining of the (screen) line.
1898 \begin_layout Description
1902 \begin_layout Subsection*
1903 LFUN_LINE_BEGIN_SELECT
1906 \begin_layout Description
1907 Action Move the cursor to the beginning of the (screen) line adding the
1908 traversed text to the selection.
1912 \begin_layout Description
1913 Syntax line-begin-select
1916 \begin_layout Subsection*
1920 \begin_layout Description
1921 Action Move the cursor to the end of the (screen) line.
1925 \begin_layout Description
1929 \begin_layout Subsection*
1930 LFUN_LINE_END_SELECT
1933 \begin_layout Description
1934 Action Move the cursor to the end of the (screen) line adding the traversed
1935 text to the selection.
1939 \begin_layout Description
1940 Syntax line-end-select
1943 \begin_layout Subsection*
1947 \begin_layout Description
1948 Action Deletes the letters to the end of the (screen) line or deletes the
1953 \begin_layout Description
1954 Syntax line-delete-forward
1957 \begin_layout Subsection*
1961 \begin_layout Description
1962 Action Copies to the clipboard the last edit.
1966 \begin_layout Description
1970 \begin_layout Subsection*
1974 \begin_layout Description
1975 Action Cuts to the clipboard.
1979 \begin_layout Description
1983 \begin_layout Subsection*
1987 \begin_layout Description
1988 Action Pastes material from the active clipboard.
1992 \begin_layout Description
1993 Syntax paste [<TYPE>]
1996 \begin_layout Description
1997 Params <TYPE>: pdf|png|jpeg|linkback
2000 \begin_layout Subsection*
2001 LFUN_CLIPBOARD_PASTE
2004 \begin_layout Description
2005 Action Pastes text from the active clipboard.
2009 \begin_layout Description
2010 Syntax clipboard-paste [<ARG>]
2013 \begin_layout Description
2014 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.
2015 \begin_inset space \thinspace{}
2023 \begin_layout Description
2024 Origin baum, 10 Jul 2006
2027 \begin_layout Subsection*
2028 LFUN_PRIMARY_SELECTION_PASTE
2031 \begin_layout Description
2032 Action Pastes the currently text selected text.
2036 \begin_layout Description
2037 Notion Primary selection mechanism is linux-only thing.
2041 \begin_layout Description
2042 Syntax primary-selection-paste [<ARG>]
2045 \begin_layout Description
2046 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.
2047 \begin_inset space \thinspace{}
2055 \begin_layout Subsection*
2059 \begin_layout Description
2060 Action Undoes the last edit.
2064 \begin_layout Description
2068 \begin_layout Subsection*
2072 \begin_layout Description
2073 Action Redoes the last thing undone.
2077 \begin_layout Description
2081 \begin_layout Subsection*
2085 \begin_layout Description
2086 Action Repeat the given command.
2090 \begin_layout Description
2091 Syntax repeat <COUNT> <LFUN-COMMAND>
2094 \begin_layout Description
2095 Origin Andre, , 27 Oct 2003
2098 \begin_layout Subsection*
2099 LFUN_CHARS_TRANSPOSE
2102 \begin_layout Description
2103 Action Transposes the character at the cursor with the one before it.
2107 \begin_layout Description
2108 Syntax chars-transpose
2111 \begin_layout Description
2112 Origin Lgb, 25 Apr 2001
2115 \begin_layout Subsection*
2116 LFUN_DEPTH_DECREMENT
2119 \begin_layout Description
2120 Action Decrease the nesting depth of the (selected) paragraph(s) inside
2125 \begin_layout Description
2126 Syntax depth-decrement
2129 \begin_layout Subsection*
2130 LFUN_DEPTH_INCREMENT
2133 \begin_layout Description
2134 Action Increase the nesting depth of the (selected) paragraph(s) inside
2139 \begin_layout Description
2140 Syntax depth-increment
2143 \begin_layout Subsection*
2147 \begin_layout Description
2148 Action Toggles the bold font (selection-wise) using mathbf in math.
2152 \begin_layout Description
2156 \begin_layout Subsection*
2157 LFUN_FONT_BOLDSYMBOL
2160 \begin_layout Description
2161 Action Toggles the bold font (selection-wise) using boldsymbol in math.
2165 \begin_layout Description
2166 Syntax font-boldsymbol
2169 \begin_layout Subsection*
2170 LFUN_FONT_TYPEWRITER
2173 \begin_layout Description
2174 Action Toggles the typewriter family font (selection-wise).
2178 \begin_layout Description
2179 Syntax font-typewriter
2182 \begin_layout Subsection*
2186 \begin_layout Description
2187 Action Toggles underline in the font (selection-wise).
2191 \begin_layout Description
2192 Syntax font-underline
2195 \begin_layout Subsection*
2199 \begin_layout Description
2200 Action Toggles the emphasis font style (selection-wise).
2204 \begin_layout Description
2208 \begin_layout Subsection*
2212 \begin_layout Description
2213 Action Toggles Noun text style font (selection-wise).
2217 \begin_layout Description
2221 \begin_layout Subsection*
2225 \begin_layout Description
2226 Action Toggles Roman family font (selection-wise).
2230 \begin_layout Description
2234 \begin_layout Subsection*
2238 \begin_layout Description
2239 Action Toggles Sans Serif family font (selection-wise).
2243 \begin_layout Description
2247 \begin_layout Subsection*
2251 \begin_layout Description
2252 Action Toggles Fraktur family font (math-mode, selection-wise).
2256 \begin_layout Description
2260 \begin_layout Description
2261 Origin vermeer, 10 Jan 2002
2264 \begin_layout Subsection*
2268 \begin_layout Description
2269 Action Toggles Italics font shape (math-mode, selection-wise).
2273 \begin_layout Description
2277 \begin_layout Description
2278 Origin vermeer, 10 Jan 2002
2281 \begin_layout Subsection*
2285 \begin_layout Description
2286 Action Reverts the settings of the font to the default values (selection-wise).
2290 \begin_layout Description
2294 \begin_layout Subsection*
2298 \begin_layout Description
2299 Action Sets font size according to lyx format string.
2303 \begin_layout Description
2304 Syntax font-size <SIZE>
2307 \begin_layout Description
2308 Params <SIZE>: tiny|scriptsize|footnotesize|small|normal|large|larger|
2309 \begin_inset Newline newline
2312 largest|huge|giant|increase|decrease|default
2315 \begin_layout Subsection*
2316 LFUN_TEXTSTYLE_APPLY
2319 \begin_layout Description
2320 Action Toggle user-defined (=last-time used) text style.
2324 \begin_layout Description
2325 Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically
2326 trigerred when using Text Style dialog.
2330 \begin_layout Description
2331 Syntax textstyle-apply
2334 \begin_layout Description
2335 Origin leeming, 12 Mar 2003
2338 \begin_layout Subsection*
2339 LFUN_TEXTSTYLE_UPDATE
2342 \begin_layout Description
2343 Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APP
2348 \begin_layout Description
2349 Syntax textstyle-update <FONT_INFO>
2352 \begin_layout Description
2353 Params <FONT_INFO>: specifies font atributes, e.
2354 \begin_inset space \thinspace{}
2358 family, series, shape, size, emph, noun, underbar, number, color, language,
2361 \begin_inset Newline newline
2364 Use lyx -dbg action for exact syntax of text-style dialog parameters.
2368 \begin_layout Description
2369 Origin leeming, 12 Mar 2003
2372 \begin_layout Subsection*
2373 LFUN_SCREEN_FONT_UPDATE
2376 \begin_layout Description
2377 Action Update fonts and its metrics.
2381 \begin_layout Description
2382 Notion Automatically called after zoom, dpi, font names, or norm change.
2386 \begin_layout Description
2387 Syntax screen-font-update
2390 \begin_layout Description
2391 Origin ARRae, 13 Aug 2000
2394 \begin_layout Subsection*
2398 \begin_layout Description
2399 Action Returns the info about the current font.
2403 \begin_layout Description
2407 \begin_layout Subsection*
2408 LFUN_CITATION_INSERT
2411 \begin_layout Description
2412 Action Inserts citation from loaded citation database.
2416 \begin_layout Description
2417 Syntax citation-insert [<KEY>[|<TEXT_BEFORE>]]
2420 \begin_layout Description
2421 Params <KEY>: Citation (shortcut listed in available citations).
2423 \begin_inset Newline newline
2426 <TEXT_BEFORE>: text which should appear before citation.
2430 \begin_layout Description
2431 Origin AAS, 97-02-23
2434 \begin_layout Subsection*
2435 LFUN_BIBTEX_DATABASE_ADD
2438 \begin_layout Description
2439 Action Adds database, which will be used for bibtex citations.
2443 \begin_layout Description
2444 Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX
2445 bibliography) found from the cursor postion.
2449 \begin_layout Description
2450 Syntax bibtex-database-add <DATABASE-NAME>
2453 \begin_layout Description
2454 Origin Ale, 30 May 1997
2457 \begin_layout Subsection*
2458 LFUN_BIBTEX_DATABASE_DEL
2461 \begin_layout Description
2462 Action Adds database, which will be used for bibtex citations.
2466 \begin_layout Description
2467 Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTe
2468 X bibliography) found from the cursor postion.
2472 \begin_layout Description
2473 Syntax bibtex-database-del <DATABASE-NAME>
2476 \begin_layout Description
2477 Origin Ale, 30 May 1997
2480 \begin_layout Subsection*
2484 \begin_layout Description
2485 Action Sets the layout (that is, environment) for the current paragraph.
2489 \begin_layout Description
2490 Syntax layout <LAYOUT>
2493 \begin_layout Description
2494 Params <LAYOUT>: the layout to use
2497 \begin_layout Subsection*
2498 LFUN_LAYOUT_PARAGRAPH
2501 \begin_layout Description
2502 Action Launches the paragraph settings dialog.
2506 \begin_layout Description
2507 Syntax layout-paragraph
2510 \begin_layout Subsection*
2514 \begin_layout Description
2515 Action Launches the tabular settings dialog.
2519 \begin_layout Description
2520 Syntax layout-tabular
2523 \begin_layout Description
2524 Origin Jug, 31 Jul 2000
2527 \begin_layout Subsection*
2528 LFUN_DROP_LAYOUTS_CHOICE
2531 \begin_layout Description
2532 Action Displays list of layout choices.
2536 \begin_layout Description
2537 Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox
2538 allowing for choice of layout.
2542 \begin_layout Description
2543 Syntax drop-layouts-choice
2546 \begin_layout Subsection*
2547 LFUN_LAYOUT_MODULES_CLEAR
2550 \begin_layout Description
2551 Action Clears the module list.
2555 \begin_layout Description
2556 Notion Clears the list of included modules for the current buffer.
2560 \begin_layout Description
2561 Syntax layout-modules-clear
2564 \begin_layout Description
2565 Origin rgh, 25 August 2007
2568 \begin_layout Subsection*
2569 LFUN_LAYOUT_MODULE_ADD
2572 \begin_layout Description
2573 Action Adds a module.
2577 \begin_layout Description
2578 Notion Adds a module to the list of included modules for the current buffer.
2582 \begin_layout Description
2583 Syntax layout-module-add <MODULE>
2586 \begin_layout Description
2587 Params <MODULE>: the module to be added
2590 \begin_layout Description
2591 Origin rgh, 25 August 2007
2594 \begin_layout Subsection*
2598 \begin_layout Description
2599 Action Reloads layout information.
2603 \begin_layout Description
2604 Notion Reloads all layout information for the current buffer from disk,
2605 thus recognizing any changes that have been made to layout files on the
2607 This is intended to be used only by layout developers and should not be
2608 used when one is trying to do actual work.
2612 \begin_layout Description
2613 Syntax layout-reload
2616 \begin_layout Description
2617 Origin rgh, 3 September 2007
2620 \begin_layout Subsection*
2621 LFUN_TEXTCLASS_APPLY
2624 \begin_layout Description
2625 Action Sets the text class for the current buffer.
2629 \begin_layout Description
2630 Syntax textclass-apply <TEXTCLASS>
2633 \begin_layout Description
2634 Params <TEXTCLASS>: the textclass to set.
2635 Note that this must be the filename, minus the ".layout" extension.
2639 \begin_layout Subsection*
2643 \begin_layout Description
2644 Action Loads information for a textclass from disk.
2648 \begin_layout Description
2649 Syntax textclass-load <TEXTCLASS>
2652 \begin_layout Description
2653 Params <TEXTCLASS>: the textclass to load.
2654 Note that this must be the filename, minus the ".layout" extension.
2658 \begin_layout Subsection*
2662 \begin_layout Description
2663 Action Disable selecting of text-region.
2667 \begin_layout Description
2671 \begin_layout Subsection*
2675 \begin_layout Description
2676 Action Enable selecting of text-region.
2680 \begin_layout Description
2681 Notion After enabling you can simply move arrow keys to get selected region.
2685 \begin_layout Description
2689 \begin_layout Subsection*
2693 \begin_layout Description
2694 Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
2698 \begin_layout Description
2702 \begin_layout Description
2703 Origin Andre, May 5 2006
2706 \begin_layout Subsection*
2710 \begin_layout Description
2711 Action Inserts math delimiters (e.
2712 \begin_inset space \thinspace{}
2716 parentheses, brackets) enclosing expression.
2720 \begin_layout Description
2721 Syntax math-delim [<LEFT>] [<RIGHT>]
2724 \begin_layout Description
2725 Params <LEFT/RIGHT>: Delimiters to be used.
2726 Each delimiter can be specified by either a LaTeX name or a valid character.
2727 ( is the default letter.
2731 \begin_layout Description
2732 Sample math-delim { rangle
2735 \begin_layout Description
2736 Origin Alejandro, 18 Jun 1996
2739 \begin_layout Subsection*
2743 \begin_layout Description
2744 Action Inserts math fixed size delimiters (e.
2745 \begin_inset space \thinspace{}
2749 parentheses, brackets) enclosing expression.
2753 \begin_layout Description
2754 Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
2757 \begin_layout Description
2758 Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
2759 \begin_inset Newline newline
2762 <L/RDELIM>: TeX code for delimiter.
2763 See Delimiter dialog for delimiters to be used.
2767 \begin_layout Description
2768 Sample math-bigdelim "Bigl" "Downarrow" "Bigr" "}"
2771 \begin_layout Description
2772 Origin Enrico & Georg, 7 May 2006
2775 \begin_layout Subsection*
2779 \begin_layout Description
2780 Action Creates a new displayed equation in text mode.
2781 Toggles inlined/display formula in math mode.
2785 \begin_layout Description
2786 Syntax math-display [<ARG>]
2789 \begin_layout Description
2790 Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating
2791 new equation from the text mode.
2795 \begin_layout Description
2796 Origin Alejandro, 18 Jun 1996
2799 \begin_layout Subsection*
2803 \begin_layout Description
2804 Action Inserts math objects and symbols.
2808 \begin_layout Description
2809 Syntax math-insert <ARG>
2812 \begin_layout Description
2813 Params <ARG>: Symbol or LaTeX code to be inserted.
2817 \begin_layout Subsection*
2821 \begin_layout Description
2822 Action Enters subscript expression in math expression.
2826 \begin_layout Description
2827 Syntax math-subscript
2830 \begin_layout Description
2831 Origin vermeer, 12 Dec 2001
2834 \begin_layout Subsection*
2835 LFUN_MATH_SUPERSCRIPT
2838 \begin_layout Description
2839 Action Enters subscript expression in math expression.
2843 \begin_layout Description
2844 Syntax math-superscript
2847 \begin_layout Description
2848 Origin vermeer, 12 Dec 2001
2851 \begin_layout Subsection*
2855 \begin_layout Description
2856 Action Toggles the position of the limits from above/below to the right
2857 side an vice versa in integral symbol, a limit, a summation, etc.
2861 \begin_layout Description
2862 Notion Put the cursor before the symbol with the limits and then invoke
2867 \begin_layout Description
2868 Syntax math-limits [<STATE>]
2871 \begin_layout Description
2872 Params <STATE>: limits|nolimits
2875 \begin_layout Subsection*
2879 \begin_layout Description
2880 Action Inserts a math macro definition at the cursor position in the text.
2884 \begin_layout Description
2885 Syntax math-macro <NAME> [<NARGS>] [def]
2888 \begin_layout Description
2889 Params <NAME>: The name of the macro, e.
2890 \begin_inset space \thinspace{}
2895 <NARGS>: The number of parameters of the macro.
2897 "def": Has no effect anymore, just for compatibility with former LyX versions.
2901 \begin_layout Description
2902 Origin ale, 10 May 1997; sts, 21 Dec 2007
2905 \begin_layout Subsection*
2909 \begin_layout Description
2910 Action Mutates the type of math inset to the newly selected one.
2914 \begin_layout Description
2915 Syntax math-mutate <TYPE>
2918 \begin_layout Description
2919 Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat|
2920 multline|gather|flalign
2923 \begin_layout Description
2924 Origin Andre, 23 May 2001
2927 \begin_layout Subsection*
2931 \begin_layout Description
2932 Action Inserts space into math expression.
2936 \begin_layout Description
2937 Notion Use spacebar after entering this space to change type of space.
2941 \begin_layout Description
2942 Syntax math-space [<TYPE>]
2945 \begin_layout Description
2946 Params <TYPE>: negative spaces: !|negmedspace|negthickspace
2947 \begin_inset Newline newline
2950 positive spaces: ,|:|;|quad|qquad
2951 \begin_inset Newline newline
2954 "," used by default.
2958 \begin_layout Description
2959 Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
2962 \begin_layout Subsection*
2966 \begin_layout Description
2967 Action Inserts a matrix.
2971 \begin_layout Description
2972 Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
2975 \begin_layout Description
2976 Params <ALIGN>: Alignment is a word composed of the vertical alignment (b,
2978 \begin_inset space \thinspace{}
2982 1 char) and the horizontal alignments (l, c or r) (i.
2983 \begin_inset space \thinspace{}
2991 \begin_layout Description
2992 Sample math-matrix 3 3 bccc
2995 \begin_layout Subsection*
2999 \begin_layout Description
3000 Action In text mode enters math mode (i.
3001 \begin_inset space \thinspace{}
3005 puts math insets on the current cursor position), in math mode enters text
3006 mode inside math expression.
3010 \begin_layout Description
3011 Notion If there is some selected text, it puts the text inside created math
3016 \begin_layout Description
3017 Syntax math-mode [<ARG>]
3020 \begin_layout Description
3021 Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT
3026 \begin_layout Description
3027 Origin Alejandro, 4 Jun 1996
3030 \begin_layout Subsection*
3031 LFUN_MATH_NUMBER_LINE_TOGGLE
3034 \begin_layout Description
3035 Action Toggles numbering of the current formula line.
3039 \begin_layout Description
3040 Notion Must be in display formula mode.
3044 \begin_layout Description
3045 Syntax math-number-line-toggle
3048 \begin_layout Description
3049 Origin Alejandro, 18 Jun 1996
3052 \begin_layout Subsection*
3053 LFUN_MATH_NUMBER_TOGGLE
3056 \begin_layout Description
3057 Action Toggles numbering/labeling of the current formula.
3061 \begin_layout Description
3062 Notion Must be in display formula mode.
3066 \begin_layout Description
3067 Syntax math-number-toggle
3070 \begin_layout Description
3071 Origin Alejandro, 4 Jun 1996
3074 \begin_layout Subsection*
3078 \begin_layout Description
3079 Action Calls external program and passes the current expression/equation
3080 as an argument for the calculation in the format appropriate to the given
3085 \begin_layout Description
3086 Notion Selection can be used to determine the input for the external program.
3090 \begin_layout Description
3091 Syntax math-extern <LANG> [<COMMAND>]
3094 \begin_layout Description
3095 Params <LANG>: octave|maxima|maple|mathematica|script
3096 \begin_inset Newline newline
3099 where "script" stands fot the external script (normalized expression will
3103 \begin_layout Description
3104 Origin Andre, 24 Apr 2001
3107 \begin_layout Description
3108 Sample math-extern maple simplify
3111 \begin_layout Subsection*
3115 \begin_layout Description
3116 Action Changes arbitrarily the size used by math fonts inside a context.
3120 \begin_layout Description
3121 Notion Provides an interface to the LaTeX math mode font size commands.
3125 \begin_layout Description
3126 Syntax math-size <STYLE>
3129 \begin_layout Description
3130 Params <STYLE>: displaystyle|
3139 \begin_layout Description
3140 Origin Alejandro, 15 Aug 1996; ps, 14 Jun 2008
3143 \begin_layout Subsection*
3144 LFUN_MATH_MACRO_UNFOLD
3147 \begin_layout Description
3148 Action Unfold a Math Macro.
3152 \begin_layout Description
3153 Notion Unfold the Math Macro the cursor is in, i.
3154 \begin_inset space \thinspace{}
3162 \begin_layout Description
3163 Syntax math-macro-unfold
3166 \begin_layout Description
3167 Origin sts, 06 January 2008
3170 \begin_layout Subsection*
3171 LFUN_MATH_MACRO_FOLD
3174 \begin_layout Description
3175 Action Fold a Math Macro.
3179 \begin_layout Description
3180 Notion Fold the Math Macro the cursor is in if it was unfolded, i.
3181 \begin_inset space \thinspace{}
3185 displayed as foo before.
3189 \begin_layout Description
3190 Syntax math-macro-fold
3193 \begin_layout Description
3194 Origin sts, 06 January 2008
3197 \begin_layout Subsection*
3198 LFUN_MATH_MACRO_ADD_PARAM
3201 \begin_layout Description
3202 Action Add a parameter.
3206 \begin_layout Description
3207 Notion Add a parameter to a Math Macro.
3211 \begin_layout Description
3212 Params <NUM>: The number of the parameter behind which the new one will
3213 be added (1 for the first, i.
3214 \begin_inset space \thinspace{}
3218 use 0 for add a parameter at the left), defaults to the last one.
3222 \begin_layout Description
3223 Syntax math-macro-add-param <NUM>
3226 \begin_layout Description
3227 Origin sts, 06 January 2008
3230 \begin_layout Subsection*
3231 LFUN_MATH_MACRO_REMOVE_PARAM
3234 \begin_layout Description
3235 Action Remove the last parameter.
3239 \begin_layout Description
3240 Notion Remove the last parameter of a Math Macro and remove its value in
3241 all instances of the macro in the buffer.
3245 \begin_layout Description
3246 Params <NUM>: The number of the parameter to be deleted (1 for the first),
3247 defaults to the last one.
3251 \begin_layout Description
3252 Syntax math-macro-remove-param <NUM>
3255 \begin_layout Description
3256 Origin sts, 06 January 2008
3259 \begin_layout Subsection*
3260 LFUN_MATH_MACRO_APPEND_GREEDY_PARAM
3263 \begin_layout Description
3264 Action Append a greedy parameter.
3268 \begin_layout Description
3269 Notion Append a greedy parameter to a Math Macro which eats the following
3270 mathed cell in every instance of the macro in the buffer.
3274 \begin_layout Description
3275 Syntax math-macro-append-greedy-param
3278 \begin_layout Description
3279 Origin sts, 06 January 2008
3282 \begin_layout Subsection*
3283 LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM
3286 \begin_layout Description
3287 Action Remove a greedy parameter.
3291 \begin_layout Description
3292 Notion Remove a greedy parameter of a Math Macro and spit out the values
3293 of it in every instance of the macro in the buffer.
3294 If it is an optional parameter the [valud] format is used.
3298 \begin_layout Description
3299 Syntax math-macro-remove-greedy-param
3302 \begin_layout Description
3303 Origin sts, 06 January 2008
3306 \begin_layout Subsection*
3307 LFUN_MATH_MACRO_MAKE_OPTIONAL
3310 \begin_layout Description
3311 Action Make a parameter optional.
3315 \begin_layout Description
3316 Notion Turn the first non-optional parameter of a Math Macro into an optional
3317 parameter with a default value.
3321 \begin_layout Description
3322 Syntax math-macro-make-optional
3325 \begin_layout Description
3326 Origin sts, 06 January 2008
3329 \begin_layout Subsection*
3330 LFUN_MATH_MACRO_MAKE_NONOPTIONAL
3333 \begin_layout Description
3334 Action Make a parameter non-optional.
3338 \begin_layout Description
3339 Notion Turn the last optional parameter of a Math Macro into a non-optional
3341 The default value is remembered to be reused later if the user changes
3346 \begin_layout Description
3347 Syntax math-macro-make-nonoptional
3350 \begin_layout Description
3351 Origin sts, 06 January 2008
3354 \begin_layout Subsection*
3355 LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM
3358 \begin_layout Description
3359 Action Add an optional parameter.
3363 \begin_layout Description
3364 Notion Insert an optional parameter just behind the already existing optional
3369 \begin_layout Description
3370 Syntax math-macro-add-optional-param
3373 \begin_layout Description
3374 Origin sts, 06 January 2008
3377 \begin_layout Subsection*
3378 LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
3381 \begin_layout Description
3382 Action Remove the last optional parameter.
3386 \begin_layout Description
3387 Notion Remove the last optional parameter of a Math Macro and remove it
3388 in all the instances of the macro in the buffer.
3392 \begin_layout Description
3393 Syntax math-macro-remove-optional-param
3396 \begin_layout Description
3397 Origin sts, 06 January 2008
3400 \begin_layout Subsection*
3401 LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM
3404 \begin_layout Description
3405 Action Add a greedy optional parameter.
3409 \begin_layout Description
3410 Notion Add a greedy optional parameter which eats the value from the following
3411 cells in mathed which are in the [value] format.
3415 \begin_layout Description
3416 Syntax math-macro-add-greedy-optional-param
3419 \begin_layout Description
3420 Origin sts, 06 January 2008
3423 \begin_layout Subsection*
3424 LFUN_IN_MATHMACROTEMPLATE
3427 \begin_layout Description
3428 Action Only active in Math Macro definition.
3432 \begin_layout Description
3433 Notion Dummy function which is only active in a Math Macro definition.
3434 It's used to toggle the Math Macro toolbar if the cursor moves into a Math
3439 \begin_layout Description
3440 Syntax in-mathmacrotemplate
3443 \begin_layout Description
3444 Origin sts, 06 January 2008
3447 \begin_layout Subsection*
3448 LFUN_PARAGRAPH_MOVE_DOWN
3451 \begin_layout Description
3452 Action Moves the current paragraph downwards in the document.
3456 \begin_layout Description
3457 Syntax paragraph-move-down
3460 \begin_layout Description
3461 Origin Edwin, 8 Apr 2006
3464 \begin_layout Subsection*
3465 LFUN_PARAGRAPH_MOVE_UP
3468 \begin_layout Description
3469 Action Moves the current paragraph upwards in the document.
3473 \begin_layout Description
3474 Syntax paragraph-move-up
3477 \begin_layout Description
3478 Origin Edwin, 8 Apr 2006
3481 \begin_layout Subsection*
3485 \begin_layout Description
3486 Action Move the cursor to the next paragraph (or begining of the current
3487 one) in upward direction.
3491 \begin_layout Description
3495 \begin_layout Description
3496 Origin Asger, 1 Oct 1996
3499 \begin_layout Subsection*
3500 LFUN_PARAGRAPH_UP_SELECT
3503 \begin_layout Description
3504 Action Move the cursor and select the text to the next paragraph (or begining
3505 of the current one) in upward direction.
3509 \begin_layout Description
3510 Syntax paragraph-up-select
3513 \begin_layout Description
3514 Origin Asger, 1 Oct 1996
3517 \begin_layout Subsection*
3521 \begin_layout Description
3522 Action Move the cursor to the next paragraph (or begining of the current
3523 one) in downward direction.
3527 \begin_layout Description
3528 Syntax paragraph-down
3531 \begin_layout Description
3532 Origin Asger, 1 Oct 1996
3535 \begin_layout Subsection*
3536 LFUN_PARAGRAPH_DOWN_SELECT
3539 \begin_layout Description
3540 Action Move the cursor and select the text to the next paragraph (or begining
3541 of the current one) in downward direction.
3545 \begin_layout Description
3546 Syntax paragraph-down-select
3549 \begin_layout Description
3550 Origin Asger, 1 Oct 1996
3553 \begin_layout Subsection*
3557 \begin_layout Description
3558 Action Jump to a paragraph given by its id number and optionally the desired
3559 position within the paragraph.
3563 \begin_layout Description
3564 Notion Note that id number of paragraph is not the sequential number of
3565 paragraph seen on the screen.
3566 Moreover the id is unique for all opened buffers (documents).
3570 \begin_layout Description
3571 Syntax paragraph-goto <PAR_ID_NUMBER> <POSITION_IN_PAR>
3574 \begin_layout Description
3575 Params <PAR_ID_NUMBER>: paragraph id
3576 \begin_inset Newline newline
3579 <POSITION_IN_PAR>: desired position within the paragraph
3582 \begin_layout Description
3583 Origin Dekel, 26 Aug 2000
3586 \begin_layout Subsection*
3587 LFUN_BREAK_PARAGRAPH
3590 \begin_layout Description
3591 Action Breaks the current paragraph at the current location.
3595 \begin_layout Description
3596 Syntax break-paragraph
3599 \begin_layout Subsection*
3600 LFUN_BREAK_PARAGRAPH
3603 \begin_layout Description
3604 Action Breaks the current paragraph at the current location.
3608 \begin_layout Description
3609 Notion Removes the selection.
3613 \begin_layout Description
3614 Syntax break-paragraph [<LAYOUT>]
3617 \begin_layout Description
3618 Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to
3619 default layout) when the cursor is at the end of the line.
3623 \begin_layout Subsection*
3624 LFUN_PARAGRAPH_PARAMS
3627 \begin_layout Description
3628 Action Change paragraph settings.
3632 \begin_layout Description
3633 Notion Modifies the current paragraph, or currently selected paragraphs.
3634 This function only modifies, and does not override, existing settings.
3635 Note that the "leftindent" indent setting is deprecated.
3639 \begin_layout Description
3640 Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
3643 \begin_layout Description
3653 \begin_inset Newline newline
3658 paragraph_spacing default|single|onehalf|double|other
3659 \begin_inset Newline newline
3664 align block|left|right|center|default
3665 \begin_inset Newline newline
3670 labelwidthstring WIDTH|
3673 \begin_inset Newline newline
3679 \begin_layout Description
3680 Origin rgh, Aug 15 2007
3683 \begin_layout Subsection*
3684 LFUN_PARAGRAPH_PARAMS_APPLY
3687 \begin_layout Description
3688 Action Change paragraph settings.
3692 \begin_layout Description
3693 Notion Overwrite all nonspecified settings to the default ones.
3694 Use paragraph-params lfun if you don't want to overwrite others settings.
3698 \begin_layout Description
3699 Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
3702 \begin_layout Description
3703 Params For parameters see LFUN_PARAGRAPH_PARAMS
3706 \begin_layout Description
3707 Origin leeming, 30 Mar 2004
3710 \begin_layout Subsection*
3711 LFUN_PARAGRAPH_UPDATE
3714 \begin_layout Description
3715 Action Updates the values inside the paragraph dialog from the paragraph.
3719 \begin_layout Description
3720 Notion This is internal LFUN, not to be used by users.
3721 Called internally by LFUN_DIALOG_UPDATE.
3725 \begin_layout Description
3726 Origin leeming, 13 Mar 2003
3729 \begin_layout Subsection*
3733 \begin_layout Description
3734 Action Move the current group in the upward direction in the structure of
3739 \begin_layout Description
3740 Notion The "group" can be Part/Chapter/Section/etc.
3741 It moves the whole substructure of the group.
3745 \begin_layout Description
3749 \begin_layout Description
3750 Origin Vermeer, 23 Mar 2006
3753 \begin_layout Subsection*
3757 \begin_layout Description
3758 Action Move the current group in the downward direction in the structure
3763 \begin_layout Description
3764 Notion The "group" can be Part/Chapter/Section/etc.
3765 It moves the whole substructure of the group.
3769 \begin_layout Description
3773 \begin_layout Description
3774 Origin Vermeer, 23 Mar 2006
3777 \begin_layout Subsection*
3781 \begin_layout Description
3782 Action Moves the current group in the downward direction in the hierarchy
3783 of the document structure.
3787 \begin_layout Description
3788 Notion Part -> Chapter -> Section -> etc.
3792 \begin_layout Description
3796 \begin_layout Description
3797 Origin Vermeer, 23 Mar 2006
3800 \begin_layout Subsection*
3804 \begin_layout Description
3805 Action Moves the current group in the upward direction in the hierarchy
3806 of the document structure.
3810 \begin_layout Description
3811 Notion Part <- Chapter <- Section <- etc.
3815 \begin_layout Description
3819 \begin_layout Description
3820 Origin Vermeer, 23 Mar 2006
3823 \begin_layout Subsection*
3827 \begin_layout Description
3828 Action Edit the inset at cursor with an external application, *
3829 if one is attributed.
3833 \begin_layout Description
3834 Syntax inset-edit [<INSET_PARAMS>]
3837 \begin_layout Description
3838 Params <INSET_PARAMS>: Parameters for the inset.
3840 \begin_inset Newline newline
3843 Currently only the filename will be considered.
3847 \begin_layout Description
3848 Origin JSpitzm, 27 Apr 2006
3851 \begin_layout Subsection*
3855 \begin_layout Description
3856 Action Inserts table into the document.
3860 \begin_layout Description
3861 Syntax tabular-insert [<ROWS> <COLUMNS>]
3864 \begin_layout Description
3865 Params In case no arguments are given show insert dialog.
3869 \begin_layout Description
3870 Origin Jug, 12 Apr 2000
3873 \begin_layout Subsection*
3874 LFUN_TABULAR_FEATURE
3877 \begin_layout Description
3878 Action Sets various features to the table/cell on the current cursor position.
3882 \begin_layout Description
3883 Notion Various math-environment features are handled here as well, e.
3884 \begin_inset space \thinspace{}
3888 add-vline-left/right for Grid/Cases environment
3891 \begin_layout Description
3892 Syntax tabular-feature <FEATURE> [<ARG>]
3895 \begin_layout Description
3896 Params <FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|cop
3897 y-column| toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right|
3898 align-left|align-right|align-center|align-block|valign-top|valign-bottom|
3899 valign-middle|m-align-left|m-align-right|m-align-center|m-valign-top| m-valign-
3900 bottom|m-valign-middle|multicolumn|set-all-lines|unset-all-lines| set-longtabula
3901 r|unset-longtabular|set-pwidth|set-mpwidth| set-rotate-tabular|unset-rotate-tabu
3902 lar|toggle-rotate-tabular| set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|
3903 set-usebox|set-lthead| unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot
3904 |unset-ltfoot| set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption|
3905 set-special-column|set-special-multi|set-booktabs|unset-booktabs| set-top-space
3906 |set-bottom-space|set-interline-space|set-border-lines
3907 \begin_inset Newline newline
3910 <ARG>: additional argument for some commands, use debug mode to explore
3915 \begin_layout Description
3916 Origin Jug, 28 Jul 2000
3919 \begin_layout Subsection*
3923 \begin_layout Description
3924 Action Moves the cursor to the previous cell inside the table.
3928 \begin_layout Description
3929 Syntax cell-backward
3932 \begin_layout Description
3933 Origin Jug, 22 May 2000
3936 \begin_layout Subsection*
3940 \begin_layout Description
3941 Action Moves the cursor to the next cell inside the table.
3945 \begin_layout Description
3949 \begin_layout Subsection*
3953 \begin_layout Description
3954 Action Splits cell and shifts right part to the next cell (inside the math
3959 \begin_layout Description
3963 \begin_layout Description
3964 Origin Ale, 15 May 1997
3967 \begin_layout Subsection*
3971 \begin_layout Description
3972 Action Register the document as an file inside version control system (RCS,
3977 \begin_layout Description
3978 Notion File is registered inside cvs, svn or rcs repository acording to
3979 the existence of cvs/svn/rcs entries in the document's directory.
3981 \begin_inset Newline newline
3984 See LyX Extended Manual (Version Control Chapter) for additional information.
3988 \begin_layout Description
3992 \begin_layout Description
3993 Origin Lgb, 1 Jul 1997
3996 \begin_layout Subsection*
4000 \begin_layout Description
4001 Action Checks-in/commits the changes of the registered file to the repository.
4005 \begin_layout Description
4006 Notion In RCS case this also unlocks the file.
4010 \begin_layout Description
4014 \begin_layout Description
4015 Origin Lgb, 1 Jul 1997
4018 \begin_layout Subsection*
4022 \begin_layout Description
4023 Action Checks-out the document for edit (and locks it for RCS).
4027 \begin_layout Description
4028 Notion This is implemented only for RCS and SVN, not CVS.
4032 \begin_layout Description
4036 \begin_layout Description
4037 Origin Lgb, 1 Jul 1997
4040 \begin_layout Subsection*
4044 \begin_layout Description
4045 Action Reverts the document to the last check-in/commit in VCS.
4049 \begin_layout Description
4053 \begin_layout Description
4054 Origin Lgb, 1 Jul 1997
4057 \begin_layout Subsection*
4061 \begin_layout Description
4062 Action Undo last check-in.
4066 \begin_layout Description
4067 Notion This is currently implemented only for RCS.
4071 \begin_layout Description
4075 \begin_layout Description
4076 Origin Lgb, 1 Jul 1997
4079 \begin_layout Subsection*
4083 \begin_layout Description
4084 Action Toggles change tracking to on/off.
4088 \begin_layout Description
4089 Syntax changes-track
4092 \begin_layout Description
4093 Origin levon, 1 Oct 2002
4096 \begin_layout Subsection*
4100 \begin_layout Description
4101 Action Toggles showing of change tracking in typesetted output.
4105 \begin_layout Description
4106 Syntax changes-output
4109 \begin_layout Description
4110 Origin jspitzm, 21 Jan 2005
4113 \begin_layout Subsection*
4117 \begin_layout Description
4118 Action Moves the cursor to the position of the next change of the change
4123 \begin_layout Description
4127 \begin_layout Description
4128 Origin schmitt, 4 Oct 2006
4131 \begin_layout Subsection*
4135 \begin_layout Description
4136 Action Open change tracking dialog for merging and moves the cursor to the
4137 position of the next change.
4141 \begin_layout Description
4142 Syntax changes-merge
4145 \begin_layout Description
4146 Origin Levon, 16 Oct 2002
4149 \begin_layout Subsection*
4153 \begin_layout Description
4154 Action Accepts tracked change inside the selection.
4158 \begin_layout Description
4159 Syntax change-accept
4162 \begin_layout Description
4163 Origin Levon, 16 Oct 2002
4166 \begin_layout Subsection*
4170 \begin_layout Description
4171 Action Rejects tracked change inside the selection.
4175 \begin_layout Description
4176 Syntax change-accept
4179 \begin_layout Description
4180 Origin Levon, 16 Oct 2002
4183 \begin_layout Subsection*
4184 LFUN_ALL_CHANGES_ACCEPT
4187 \begin_layout Description
4188 Action Accepts all tracked changes in the document.
4192 \begin_layout Description
4193 Syntax all-changes-accept
4196 \begin_layout Description
4197 Origin Levon, 16 Oct 2002
4200 \begin_layout Subsection*
4201 LFUN_ALL_CHANGES_REJECT
4204 \begin_layout Description
4205 Action Rejects all tracked changes in the document.
4209 \begin_layout Description
4210 Notion Reject does not work recursively; the user may have to repeat the
4215 \begin_layout Description
4216 Syntax all-changes-reject
4219 \begin_layout Description
4220 Origin Levon, 16 Oct 2002
4223 \begin_layout Subsection*
4227 \begin_layout Description
4228 Action Apply data for an inset.
4232 \begin_layout Description
4233 Notion LFUN_INSET_APPLY is sent from the dialogs when the data should be
4235 This is either changed to LFUN_INSET_MODIFY or LFUN_INSET_INSERT depending
4236 on the context where it is called.
4240 \begin_layout Description
4241 Syntax inset-apply <ARGS>
4244 \begin_layout Description
4245 Params See LFUN_INSET_INSERT .
4249 \begin_layout Subsection*
4253 \begin_layout Description
4254 Action Dissolve the current inset into text.
4258 \begin_layout Description
4259 Syntax inset-dissolve [<INSET>]
4262 \begin_layout Description
4263 Params <INSET>: this can be used to make sure the right kind of inset is
4265 For example "dissolve" entry in the charstyles sub-menu should only dissolve
4266 the charstyle inset, even if the cursor is inside several nested insets
4269 \begin_inset Newline newline
4272 For values see lyx::InsetLayout::lyxtype_ .
4276 \begin_layout Description
4277 Origin JSpitz, 7 Aug 2006
4280 \begin_layout Subsection*
4284 \begin_layout Description
4285 Action Insert new inset (type given by the parameters).
4289 \begin_layout Description
4290 Syntax inset-insert <INSET> <ARGS>
4293 \begin_layout Description
4294 Params <INSET>: <bibitem|bibtex|cite|ert|listings|external|graphics| hyperlink|i
4295 nclude|index|label|nomencl|vspace|ref|toc>
4296 \begin_inset Newline newline
4299 <ARGS>: depends on the given inset.
4300 Use "lyx -dbg action" to explore.
4304 \begin_layout Description
4305 Sample inset-insert ref LatexCommand <Format> reference "<label name>"
4308 \begin_inset Newline newline
4311 where <label name> is the name of the referenced label and<Format> is one
4313 \begin_inset Newline newline
4317 \begin_inset Newline newline
4320 eqref -- (<reference>)
4321 \begin_inset Newline newline
4325 \begin_inset Newline newline
4328 vpageref -- on <page>
4329 \begin_inset Newline newline
4332 vref -- <reference> on <page>
4333 \begin_inset Newline newline
4336 prettyref -- Formatted reference
4339 \begin_layout Subsection*
4343 \begin_layout Description
4344 Action Modify existing inset.
4348 \begin_layout Description
4349 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4350 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4355 \begin_layout Description
4356 Syntax inset-modify <INSET> <ARGS>
4359 \begin_layout Description
4360 Params See LFUN_INSET_INSERT for further details.
4364 \begin_layout Subsection*
4365 LFUN_NEXT_INSET_MODIFY
4368 \begin_layout Description
4369 Action Modify the inset at cursor position, if there is one.
4373 \begin_layout Description
4374 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4375 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4380 \begin_layout Description
4381 Syntax next-inset-modify <INSET> <ARGS>
4384 \begin_layout Description
4385 Syntax next-inset-modify changetype <TYPE>
4388 \begin_layout Description
4389 Params See LFUN_INSET_INSERT for further details.
4393 \begin_layout Description
4394 Origin JSpitzm, 23 Mar 2008
4397 \begin_layout Subsection*
4398 LFUN_INSET_DIALOG_UPDATE
4401 \begin_layout Description
4402 Action Updates the values inside the dialog from the inset.
4406 \begin_layout Description
4407 Notion This is internal LFUN, not to be used by users.
4408 Called internally by LFUN_DIALOG_UPDATE
4411 \begin_layout Description
4412 Params <DIALOG-NAME>
4415 \begin_layout Description
4416 Origin leeming, 25 Feb 2003
4419 \begin_layout Subsection*
4423 \begin_layout Description
4424 Action Open the inset's properties dialog.
4428 \begin_layout Description
4429 Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets.
4433 \begin_layout Description
4434 Syntax inset-settings <INSET>
4437 \begin_layout Description
4438 Params <INSET>: <box|branch|ert|float|listings|note|tabular|wrap>
4441 \begin_layout Subsection*
4442 LFUN_NEXT_INSET_TOGGLE
4445 \begin_layout Description
4446 Action Toggles the inset at cursor position.
4447 For collapsables, this means it will be (un-)collapsed, in case of other
4448 insets, the editing widget (dialog) will be entered.
4450 LFUN_INSET_SETTINGS.
4454 \begin_layout Description
4455 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4456 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4461 \begin_layout Description
4462 Syntax next-inset-toggle <ARG>
4465 \begin_layout Description
4466 Params <ARG>: these are passed as arguments to LFUN_INSET_TOGGLE .
4470 \begin_layout Description
4471 Origin leeming, 30 Mar 2004
4474 \begin_layout Subsection*
4478 \begin_layout Description
4479 Action Toggles the collapsable inset we are currently in.
4483 \begin_layout Description
4484 Syntax inset-toggle [<ARG>]
4487 \begin_layout Description
4488 Params <ARG>: <open|close|toggle|assign>.
4490 \begin_inset Newline newline
4493 open/close/toggle are for collapsable insets.
4494 close can be currently used by LFUN_NEXT_INSET_TOGGLE.
4495 toggle is used when no argument is given.
4497 \begin_inset Newline newline
4500 assign is for branch inset.
4504 \begin_layout Description
4505 Origin lasgouttes, 19 Jul 2001
4508 \begin_layout Subsection*
4509 LFUN_ALL_INSETS_TOGGLE
4512 \begin_layout Description
4513 Action Toggles (open/closes) all collapsable insets (of a given type) in
4518 \begin_layout Description
4519 Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets.
4523 \begin_layout Description
4524 Syntax all-insets-toggle <STATE> <INSET>
4527 \begin_layout Description
4528 Params <STATE>: <toggle|open|close> default: toggle
4529 \begin_inset Newline newline
4532 <INSET>: <box|branch|ert|float|listings|note|tabular|wrap> default: all
4536 \begin_layout Description
4537 Origin leeming, 30 Mar 2004
4540 \begin_layout Subsection*
4541 LFUN_SET_GRAPHICS_GROUP
4544 \begin_layout Description
4545 Action Set the group for the graphics inset on the cursor position.
4549 \begin_layout Description
4550 Syntax set-graphics-group [<GROUP>]
4553 \begin_layout Description
4554 Params <GROUP>: Id for an existing group.
4555 In case the Id is an empty string, the graphics inset is removed from the
4560 \begin_layout Description
4561 Origin sanda, 6 May 2008
4564 \begin_layout Subsection*
4565 LFUN_FINISHED_FORWARD
4568 \begin_layout Description
4569 Action Moves the cursor out of the current slice, going forward.
4573 \begin_layout Description
4574 Notion Cursor movement within an inset may be different than cursor movement
4575 in the surrounding text.
4576 This action should be called automatically by the cursor movement within
4577 the inset, when movement within the inset has ceased (reached the end of
4578 the last paragraph, for example), in order to move correctly back into
4579 the surrounding text.
4583 \begin_layout Subsection*
4584 LFUN_FINISHED_BACKWARD
4587 \begin_layout Description
4588 Action Moves the cursor out of the current slice, going backwards.
4592 \begin_layout Description
4593 Notion See also LFUN_FINISHED_FORWARD.
4597 \begin_layout Subsection*
4601 \begin_layout Description
4602 Action Moves the cursor out of the current slice, going right.
4606 \begin_layout Description
4607 Notion See also LFUN_FINISHED_FORWARD
4610 \begin_layout Subsection*
4614 \begin_layout Description
4615 Action Moves the cursor out of the current slice, going left.
4619 \begin_layout Description
4620 Notion See also LFUN_FINISHED_FORWARD.
4624 \begin_layout Subsection*
4628 \begin_layout Description
4629 Action Set language from the current cursor position.
4633 \begin_layout Description
4634 Syntax language <LANG>
4637 \begin_layout Description
4638 Params <LANG>: Requested language.
4639 Look in lib/languages for the list.
4643 \begin_layout Description
4644 Origin Dekel, 2 Mar 2000
4647 \begin_layout Subsection*
4651 \begin_layout Description
4652 Action Goto a label.
4656 \begin_layout Description
4657 Syntax label-goto [<LABEL>]
4660 \begin_layout Description
4661 Params <LABEL>: Requested label.
4662 If no label is given and refernce is on cursor position, Bookmark 0 is
4663 saved and cursor moves to the position of referenced label.
4667 \begin_layout Description
4668 Origin Ale, 6 Aug 1997
4671 \begin_layout Subsection*
4675 \begin_layout Description
4676 Action Inserts label to text or displayed formula.
4680 \begin_layout Description
4681 Syntax label-insert [<LABEL>]
4684 \begin_layout Description
4685 Params <LABEL>: Requested label.
4686 If no label is given dialog requesting name will be opened.
4690 \begin_layout Subsection*
4694 \begin_layout Description
4695 Action Go to the next label or cross-reference.
4699 \begin_layout Description
4700 Syntax reference-next
4703 \begin_layout Description
4704 Origin Dekel, 14 Jan 2001
4707 \begin_layout Subsection*
4711 \begin_layout Description
4712 Action Goto a bookmark.
4716 \begin_layout Description
4717 Notion Moves the cursor to the numbered bookmark, opening the file if necessary.
4718 Note that bookmarsk are saved per-session, not per file.
4722 \begin_layout Description
4723 Syntax bookmark-goto <NUMBER>
4726 \begin_layout Description
4727 Params <NUMBER>: the number of the bookmark to restore.
4731 \begin_layout Description
4732 Origin Dekel, 27 January 2001
4735 \begin_layout Subsection*
4739 \begin_layout Description
4740 Action Save a bookmark.
4744 \begin_layout Description
4745 Notion Saves a numbered bookmark to the sessions file.
4746 The number must be between 1 and 9, inclusive.
4747 Note that bookmarks are saved per-session, not per file.
4751 \begin_layout Description
4752 Syntax bookmark-save <NUMBER>
4755 \begin_layout Description
4756 Params <NUMBER>: the number of the bookmark to save.
4760 \begin_layout Description
4761 Origin Dekel, 27 January 2001
4764 \begin_layout Subsection*
4768 \begin_layout Description
4769 Action Clears the list of saved bookmarks.
4773 \begin_layout Description
4774 Syntax bookmark-clear
4777 \begin_layout Description
4778 Origin bpeng, 31 October 2006
4781 \begin_layout Subsection*
4785 \begin_layout Description
4786 Action Open the given help file according to the language setting.
4790 \begin_layout Description
4791 Syntax help-open <FILE>[.lyx]
4794 \begin_layout Description
4795 Params <FILE>: any document from (/usr/share/)doc directory.
4799 \begin_layout Description
4800 Origin Jug, 27 Jun 1999
4803 \begin_layout Subsection*
4807 \begin_layout Description
4808 Action Terminates the current LyX instance.
4812 \begin_layout Description
4813 Notion Terminates the current LyX instance, asking whether to save modified
4818 \begin_layout Description
4822 \begin_layout Subsection*
4826 \begin_layout Description
4827 Action Toggles visibility of a given toolbar between on/off/auto.
4831 \begin_layout Description
4832 Notion Skiping "auto" when allowauto is false.
4836 \begin_layout Description
4837 Syntax toolbar-toggle <NAME> [allowauto]
4840 \begin_layout Description
4841 Params <NAME>: standard|extra|table|math|mathmacrotemplate| minibuffer|review|vi
4842 ew/update|math_panels|vcs
4845 \begin_layout Description
4846 Origin Edwin, 21 May 2007
4849 \begin_layout Subsection*
4853 \begin_layout Description
4854 Action Opens the menu given by its name.
4858 \begin_layout Description
4859 Syntax menu-open <NAME>
4862 \begin_layout Description
4863 Params <NAME>: menu name.
4864 See various .inc files in lib/ui for candidates.
4868 \begin_layout Subsection*
4872 \begin_layout Description
4873 Action Various UI visibility-toggling actions.
4877 \begin_layout Description
4878 Syntax ui-toggle <statusbar|menubar|frame|fullscreen>
4881 \begin_layout Description
4882 Params statusbar : Toggle visibility of the statusbar.
4884 \begin_inset Newline newline
4887 menubar : Toggle visibility of the menubar.
4889 \begin_inset Newline newline
4892 scrollbar : Toggle visibility of the scrollbar.
4894 \begin_inset Newline newline
4897 frame : Toggle visibility of the frames around editing window.
4899 \begin_inset Newline newline
4902 fullscreen : Toggle fullscreen mode.
4903 This also covers calling the previous functions.
4904 However LFUN_TOOLBAR_TOGGLE for the custom tweaks of the toolbars should
4909 \begin_layout Description
4910 Origin sanda, 9 Feb 2007
4913 \begin_layout Subsection*
4917 \begin_layout Description
4918 Action Creates new empty LyX window.
4922 \begin_layout Description
4923 Notion Already opened documents from the previous window can be found under
4928 \begin_layout Description
4929 Syntax window-new [<GEOMETRY>]
4932 \begin_layout Description
4933 Params <GEOMETRY>: pass the geometry of the window.
4934 This parameter is currently accepted only on Windows platform.
4938 \begin_layout Description
4939 Origin Abdel, 21 Oct 2006
4942 \begin_layout Subsection*
4946 \begin_layout Description
4947 Action Closes the current LyX window.
4951 \begin_layout Description
4955 \begin_layout Description
4956 Origin Abdel, 23 Oct 2006
4959 \begin_layout Subsection*
4963 \begin_layout Description
4964 Action Creates another split view of current buffer.
4968 \begin_layout Description
4969 Notion All split views act in the same way indpendently.
4973 \begin_layout Description
4974 Syntax split-view <vertical|horizontal>
4977 \begin_layout Description
4978 Params horizontal : The work areas are laid out side by side.
4980 \begin_inset Newline newline
4983 vertical : The work areas laid out vertically.
4987 \begin_layout Description
4988 Origin Abdel, 20 Feb 2008
4991 \begin_layout Subsection*
4992 LFUN_CLOSE_TAB_GROUP
4995 \begin_layout Description
4996 Action Close the current tab group.
5000 \begin_layout Description
5001 Notion This only closes the work areas, not the buffer themselves.
5002 The still opened buffers can be visualized in another tab group.
5006 \begin_layout Description
5007 Syntax close-tab-group
5010 \begin_layout Description
5011 Origin Abdel, 21 Feb 2008
5014 \begin_layout Subsection*
5018 \begin_layout Description
5019 Action Shows hidden dialog or create new one for a given function/inset
5024 \begin_layout Description
5025 Syntax dialog-show <NAME> [<DATA>]
5028 \begin_layout Description
5029 Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
5031 \begin_inset Newline newline
5034 document|errorlist|ert|external|file|findreplace|float|graphics|
5035 \begin_inset Newline newline
5038 include|index|info|nomenclature|label|log|mathdelimiter|mathmatrix|
5039 \begin_inset Newline newline
5042 note|paragraph|prefs|print|ref|sendto|space|spellchecker|symbols|
5043 \begin_inset Newline newline
5046 tabular|tabularcreate|thesaurus|texinfo|toc|href|view-source|vspace
5047 \begin_inset Newline newline
5050 wrap|listings|<SPECIAL>
5051 \begin_inset Newline newline
5054 <SPECIAL>: latexlog|vclog
5055 \begin_inset Newline newline
5058 <DATA>: data, usually settings for the given dialog.
5059 Use debug mode for the details.
5063 \begin_layout Description
5064 Origin leeming, 17 Jun 2003
5067 \begin_layout Subsection*
5068 LFUN_DIALOG_SHOW_NEW_INSET
5071 \begin_layout Description
5072 Action Shows hidden dialog or create new one for a given inset settings
5077 \begin_layout Description
5078 Notion Internally uses LFUN_DIALOG_SHOW with processed data for a given
5083 \begin_layout Description
5084 Syntax dialog-show-new-inset <NAME> [<DATA>]
5087 \begin_layout Description
5088 Params See LFUN_DIALOG_SHOW .
5092 \begin_layout Description
5093 Origin leeming, 25 Feb 2003
5096 \begin_layout Subsection*
5100 \begin_layout Description
5101 Action Updates the dialog values from the inset/paragraph/document.
5105 \begin_layout Description
5106 Syntax dialog-update <NAME>
5109 \begin_layout Description
5110 Params <NAME>: paragraph|prefs|<INSET>
5111 \begin_inset Newline newline
5117 \begin_layout Description
5118 Origin leeming, 25 Feb 2003
5121 \begin_layout Subsection*
5125 \begin_layout Description
5126 Action Hides showed dialog.
5127 Counterpart to LFUN_DIALOG_SHOW .
5131 \begin_layout Description
5132 Syntax dialog-hide <NAME>
5135 \begin_layout Description
5136 Params See LFUN_DIALOG_SHOW .
5140 \begin_layout Description
5141 Origin leeming, 25 Feb 2003
5144 \begin_layout Subsection*
5148 \begin_layout Description
5149 Action Toggles dialog between showed/hidden state.
5153 \begin_layout Description
5154 Notion Internally uses LFUN_DIALOG_SHOW , LFUN_DIALOG_HIDE .
5158 \begin_layout Description
5159 Syntax dialog-toggle <NAME> [<DATA>]
5162 \begin_layout Description
5163 Params See LFUN_DIALOG_SHOW .
5167 \begin_layout Description
5168 Origin JSpitzm, 30 Apr 2007
5171 \begin_layout Subsection*
5172 LFUN_DIALOG_DISCONNECT_INSET
5175 \begin_layout Description
5176 Action Closes opened connection to opened inset.
5180 \begin_layout Description
5181 Notion Connection is used for apply functions.
5185 \begin_layout Description
5186 Syntax dialog-disconnect-inset <INSET-NAME>
5189 \begin_layout Description
5190 Origin leeming, 25 Feb 2003
5193 \begin_layout Subsection*
5197 \begin_layout Description
5198 Action This function is called when mouse button is pressed (inside workarea).Act
5199 ion depends on the context.
5203 \begin_layout Description
5204 Notion This is internal LFUN, not to be used by users.
5208 \begin_layout Description
5209 Origin Andre, 9 Aug 2002
5212 \begin_layout Subsection*
5216 \begin_layout Description
5217 Action This function is called when double click on mouse button is pressed
5219 Action depends on the context.
5223 \begin_layout Description
5224 Notion This is internal LFUN, not to be used by users.
5228 \begin_layout Description
5229 Origin Andre, 9 Aug 2002
5232 \begin_layout Subsection*
5236 \begin_layout Description
5237 Action This function is called when triple click on mouse button is pressed
5239 Action depends on the context.
5243 \begin_layout Description
5244 Notion This is internal LFUN, not to be used by users.
5248 \begin_layout Description
5249 Origin Andre, 9 Aug 2002
5252 \begin_layout Subsection*
5256 \begin_layout Description
5257 Action This function is called when mouse cursor is moving over the text.Action
5258 depends on the context.
5262 \begin_layout Description
5263 Notion This is internal LFUN, not to be used by users.
5267 \begin_layout Description
5268 Origin Andre, 9 Aug 2002
5271 \begin_layout Subsection*
5275 \begin_layout Description
5276 Action This function is called when mouse button is released (inside workarea).Ac
5277 tion depends on the context.
5281 \begin_layout Description
5282 Notion This is internal LFUN, not to be used by users.
5286 \begin_layout Description
5287 Origin Andre, 9 Aug 2002
5290 \begin_layout Subsection*
5294 \begin_layout Description
5295 Action Turn off the loaded keyboard map.
5299 \begin_layout Description
5303 \begin_layout Subsection*
5307 \begin_layout Description
5308 Action Turn on the primary keyboard map.
5312 \begin_layout Description
5313 Notion Maps were widely used in past, when X-windows didn't have nowadays
5315 They can be still used to maintain uniform keyboard layout across the various
5318 \begin_inset Newline newline
5321 The language is to be set in the Preferences dialog.
5325 \begin_layout Description
5326 Syntax keymap-primary
5329 \begin_layout Subsection*
5330 LFUN_KEYMAP_SECONDARY
5333 \begin_layout Description
5334 Action Turn on the secondary keyboard map.
5338 \begin_layout Description
5339 Syntax keymap-secondary
5342 \begin_layout Subsection*
5346 \begin_layout Description
5347 Action Toggles keyboard maps (first/second/off).
5351 \begin_layout Description
5352 Syntax keymap-toggle
5355 \begin_layout Description
5356 Origin leeming, 30 Mar 2004
5359 \begin_layout Subsection*
5360 LFUN_SERVER_GET_LAYOUT
5363 \begin_layout Description
5364 Action Returns the current layout (that is environment) name on the cursor
5369 \begin_layout Description
5370 Syntax server-get-layout
5373 \begin_layout Subsection*
5374 LFUN_SERVER_GET_FILENAME
5377 \begin_layout Description
5378 Action Returns path and file name of the currently edited document.
5382 \begin_layout Description
5383 Syntax server-get-filename
5386 \begin_layout Subsection*
5387 LFUN_SERVER_GOTO_FILE_ROW
5390 \begin_layout Description
5391 Action Sets the cursor position based on the row number of generated TeX
5396 \begin_layout Description
5397 Syntax server-goto-file-row <LYX_FILE_NAME> <ROW_NUMBER>
5400 \begin_layout Description
5401 Origin Edmar, 23 Dec 1998
5404 \begin_layout Subsection*
5408 \begin_layout Description
5409 Action Sends notify message about the last key-sequence to client.
5413 \begin_layout Description
5414 Notion This can be used to grab last key-sequence used inside the LyX window.
5415 See also Debug extensions section in Extended features manual.
5419 \begin_layout Description
5420 Syntax server-notify
5423 \begin_layout Subsection*
5427 \begin_layout Description
5428 Action Sets the cursor position based on the editing area coordinates (similar
5429 as clicking on that point with left mouse button).
5433 \begin_layout Description
5434 Syntax server-set-xy <X> <Y>
5437 \begin_layout Subsection*
5441 \begin_layout Description
5442 Action Returns the coordinates of cursor position in the editing area.
5446 \begin_layout Description
5447 Syntax server-get-xy
5450 \begin_layout Subsection*
5454 \begin_layout Description
5455 Action Generates the code (literate programming).
5459 \begin_layout Description
5460 Notion Latex file with extension literate_extension is generated.
5461 Then LyX invokes build_command (with a default of``make'') to generate
5462 the code and build_error_filter to process the compilation error messages.
5464 \begin_inset Newline newline
5467 In case you want to process your literate file with a script, or some other
5468 program, just insert in your lyxrc file an entry with:
5469 \begin_inset Newline newline
5472 build_command "my_script my_arguments"
5473 \begin_inset Newline newline
5476 The build_error_filter differs from the literate_error_filter only in that
5477 the former will identify error messages from your compiler.
5481 \begin_layout Description
5482 Syntax build-program
5485 \begin_layout Subsection*
5486 LFUN_BUFFER_AUTO_SAVE
5489 \begin_layout Description
5490 Action Saves the current buffer to a temporary file.
5494 \begin_layout Description
5495 Notion Saves the current buffer to a file named "#filename#".
5496 This LFUN is called automatically by LyX, to "autosave" the current buffer.
5500 \begin_layout Description
5501 Syntax buffer-auto-save
5504 \begin_layout Subsection*
5505 LFUN_BUFFER_CHILD_OPEN
5508 \begin_layout Description
5509 Action Loads the given child document.
5513 \begin_layout Description
5514 Notion The current document is treated as a parent.
5518 \begin_layout Description
5519 Syntax buffer-child-open <FILE>
5522 \begin_layout Description
5523 Params <FILE>: Filename of the child.
5524 The directory of the parent is assumed by default.
5528 \begin_layout Description
5529 Origin Ale, 28 May 1997
5532 \begin_layout Subsection*
5536 \begin_layout Description
5537 Action Runs chktex for the current document.
5541 \begin_layout Description
5542 Syntax buffer-chktex
5545 \begin_layout Description
5546 Origin Asger, 30 Oct 1997
5549 \begin_layout Subsection*
5550 LFUN_BUFFER_TOGGLE_COMPRESSION
5553 \begin_layout Description
5554 Action Toggles compression of the current document on/off.
5558 \begin_layout Description
5559 Syntax buffer-toggle-compression
5562 \begin_layout Description
5563 Origin bpeng, 27 Apr 2006
5566 \begin_layout Subsection*
5570 \begin_layout Description
5571 Action Closes the current buffer.
5575 \begin_layout Description
5576 Notion Closes the current buffer, asking whether to save it, etc, if the
5577 buffer has been modified.
5581 \begin_layout Description
5585 \begin_layout Subsection*
5589 \begin_layout Description
5590 Action Exports the current buffer (document) to the given format.
5594 \begin_layout Description
5595 Syntax buffer-export <FORMAT>
5598 \begin_layout Description
5599 Params <FORMAT> is either "custom" or one of the formats which you can find
5600 in Tools->Preferences->File formats->Format.
5601 Usual format you will enter is "pdf2" (pdflatex), "pdflatex" (plain tex
5602 for pdflatex) or "ps" for postscript.
5604 \begin_inset Newline newline
5607 In case of "custom" you will be asked for a format you want to start from
5608 and for the command that you want to apply to this format.
5609 Internally the control is then passed to LFUN_BUFFER_EXPORT_CUSTOM.
5613 \begin_layout Description
5614 Origin Lgb, 29 Jul 1997
5617 \begin_layout Subsection*
5618 LFUN_BUFFER_EXPORT_CUSTOM
5621 \begin_layout Description
5622 Action Exports the current buffer (document) from the given format using
5623 the given command on it.
5627 \begin_layout Description
5628 Syntax buffer-export-custom <FORMAT> <COMMAND>
5631 \begin_layout Description
5632 Params <FORMAT> format to start from (LyX will care to produce such intermediate
5635 \begin_inset Newline newline
5638 <COMMAND> this command will be launched on the file.
5639 Note that you can use "$$FName" string to qualify the intermediate file.
5643 \begin_layout Description
5644 Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
5647 \begin_layout Description
5648 Origin leeming, 27 Mar 2004
5651 \begin_layout Subsection*
5655 \begin_layout Description
5656 Action Prints the current document.
5660 \begin_layout Description
5661 Notion Many settings can be given via the preferences dialog.
5665 \begin_layout Description
5666 Syntax buffer-print <TARGET> <TARGET-NAME> <COMMAND>
5669 \begin_layout Description
5670 Params <TARGET> is either "printer" or "file".
5672 \begin_inset Newline newline
5675 <TARGER-NAME> is either "default" or file name or printer name.
5677 \begin_inset Newline newline
5680 <COMMAND> command ensuring the printing job.
5684 \begin_layout Description
5685 Sample buffer-print file "/trash/newfile1.ps" "dvips"
5688 \begin_layout Description
5689 Origin leeming, 28 Mar 2004
5692 \begin_layout Subsection*
5696 \begin_layout Description
5697 Action Import a given file as a lyx document.
5701 \begin_layout Description
5702 Notion File can be imported iff lyx file format is (transitively) reachable
5703 via defined convertors in preferences.
5704 Look into File->Import menu to get an idea of the currently active import
5709 \begin_layout Description
5710 Syntax buffer-import <FORMAT> [<FILE>]
5713 \begin_layout Description
5714 Origin Asger, 24 Jul 1998
5717 \begin_layout Subsection*
5721 \begin_layout Description
5722 Action Creates a new buffer (that is, document).
5726 \begin_layout Description
5727 Notion Implicit path can be set in Preferences dialog.
5731 \begin_layout Description
5732 Syntax buffer-new [<FILE>]
5735 \begin_layout Description
5736 Params <FILE>: filename of created file with absolute path.
5740 \begin_layout Subsection*
5741 LFUN_BUFFER_NEW_TEMPLATE
5744 \begin_layout Description
5745 Action Creates a new buffer (that is, document) from a template.
5749 \begin_layout Description
5750 Notion Path for new files and templates can be set in Preferences dialog.
5751 Template will be asked for via Open-dialog.
5755 \begin_layout Description
5756 Syntax buffer-new-template [<FILE>]
5759 \begin_layout Description
5760 Params <FILE>: filename of created file with absolute path.
5764 \begin_layout Subsection*
5768 \begin_layout Description
5769 Action Reverts opened document.
5773 \begin_layout Description
5774 Syntax buffer-reload
5777 \begin_layout Description
5778 Origin Asger, 2 Feb 1997
5781 \begin_layout Subsection*
5785 \begin_layout Description
5786 Action Switch to the given buffer.
5790 \begin_layout Description
5791 Notion This is useful also in case you need simultaneously more views of
5792 the edited document in different LyX windows.
5796 \begin_layout Description
5797 Syntax buffer-new-template <BUFFER>
5800 \begin_layout Description
5801 Params <BUFFER>: already opened document which is to be shown.
5805 \begin_layout Subsection*
5806 LFUN_BUFFER_TOGGLE_READ_ONLY
5809 \begin_layout Description
5810 Action Toggle editing mode of the current document between read/write and
5815 \begin_layout Description
5816 Notion In the ->Readonly mode checks-in/commits the data if the file is
5817 under version control.
5818 In the Readonly-> mode checkouts the data from repository.
5820 \begin_inset Newline newline
5823 If these operations fail, buffer won't be toggled.
5827 \begin_layout Description
5828 Syntax buffer-toggle-read-only
5831 \begin_layout Description
5832 Origin Lgb, 27 May 1997
5835 \begin_layout Subsection*
5839 \begin_layout Description
5840 Action Displays current buffer in chosen format.
5844 \begin_layout Description
5845 Notion Displays the contents of the current buffer in the chosen format,
5846 for example, PDF or DVI.
5847 This runs the necessary converter, calls the defined viewer, and so forth.
5851 \begin_layout Description
5852 Syntax buffer-view <FORMAT>
5855 \begin_layout Description
5856 Params <FORMAT>: The format to display, where this is one of the formats
5857 defined (in the current GUI) in the Tools>Preferences>File Formats dialog.
5861 \begin_layout Subsection*
5865 \begin_layout Description
5866 Action Exports the current document and put the result into the temporary
5871 \begin_layout Description
5872 Notion In case you are already viewing the exported document (see LFUN_BUFFER_VI
5873 EW) the output will be rewriten - updated.
5874 This is useful in case your viewer is able to detect such changes (e.
5875 \begin_inset space \thinspace{}
5879 ghostview for postscript).
5883 \begin_layout Description
5884 Syntax buffer-update <FORMAT>
5887 \begin_layout Description
5888 Params <FORMAT>: The format to display, where this is one of the formats
5889 defined (in the current GUI) in the Tools>Preferences>File Formats dialog.
5893 \begin_layout Description
5894 Origin Dekel, 5 Aug 2000
5897 \begin_layout Subsection*
5901 \begin_layout Description
5902 Action Saves the current buffer.
5906 \begin_layout Description
5907 Notion Saves the current buffer to disk, using the filename that is already
5908 associated with the buffer, asking for one if none is yet assigned.
5912 \begin_layout Description
5916 \begin_layout Subsection*
5917 LFUN_BUFFER_WRITE_AS
5920 \begin_layout Description
5921 Action Rename and save current buffer.
5925 \begin_layout Description
5926 Syntax buffer-write-as <FILENAME>
5929 \begin_layout Description
5930 Params <FILENAME>: New name of the buffer/file.
5931 A relative path is with respect to the original location of the buffer/file.
5935 \begin_layout Subsection*
5936 LFUN_BUFFER_WRITE_ALL
5939 \begin_layout Description
5940 Action Save all changed documents.
5944 \begin_layout Description
5945 Syntax buffer-write-all
5948 \begin_layout Description
5949 Origin rgh, gpothier 6 Aug 2007
5952 \begin_layout Subsection*
5956 \begin_layout Description
5957 Action Switch to the next opened document.
5961 \begin_layout Description
5962 Notion Note that this does not necessarily mean next in tabbar (for full
5963 list see View menu).
5967 \begin_layout Description
5971 \begin_layout Subsection*
5972 LFUN_BUFFER_PREVIOUS
5975 \begin_layout Description
5976 Action Switch to the previous opened document.
5980 \begin_layout Description
5981 Syntax buffer-previous
5984 \begin_layout Subsection*
5985 LFUN_MASTER_BUFFER_UPDATE
5988 \begin_layout Description
5989 Action When run from a child document, this updates (exports) document built
5990 from the master buffer.
5991 If a master is not found, it updates the current buffer.
5995 \begin_layout Description
5996 Syntax master-buffer-update
5999 \begin_layout Description
6000 Origin Tommaso, 20 Sep 2007
6003 \begin_layout Subsection*
6004 LFUN_MASTER_BUFFER_VIEW
6007 \begin_layout Description
6008 Action When run from a child document, this command shows a preview built
6009 from the master buffer.
6010 If a master is not found, it previews the current buffer.
6014 \begin_layout Description
6015 Syntax master-buffer-view
6018 \begin_layout Description
6019 Origin Tommaso, 20 Sep 2007
6022 \begin_layout Subsection*
6023 LFUN_BUFFER_LANGUAGE
6026 \begin_layout Description
6027 Action Set language of the current document.
6031 \begin_layout Description
6032 Syntax buffer-language <LANG>
6035 \begin_layout Description
6036 Params <LANG>: language name.
6037 See lib/languages for list.
6041 \begin_layout Description
6042 Origin leeming, 30 Mar 2004
6045 \begin_layout Subsection*
6046 LFUN_BUFFER_SAVE_AS_DEFAULT
6049 \begin_layout Description
6050 Action Save the current document settings as default.
6054 \begin_layout Description
6055 Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
6059 \begin_layout Description
6060 Syntax buffer-save-as-default [<ARGS>]
6063 \begin_layout Description
6064 Params <ARGS>: contains the particular settings to be saved.
6065 They obey the syntax you can find in document header of usual .lyx file.
6069 \begin_layout Description
6070 Origin leeming, 30 Mar 2004
6073 \begin_layout Subsection*
6074 LFUN_BUFFER_PARAMS_APPLY
6077 \begin_layout Description
6078 Action Apply the given settings to the current document.
6082 \begin_layout Description
6083 Syntax buffer-params-apply [<ARGS>]
6086 \begin_layout Description
6087 Params <ARGS>: contains the particular settings to be saved.
6088 They obey the syntax you can find in document header of usual .lyx file.
6092 \begin_layout Description
6093 Origin leeming, 30 Mar 2004
6096 \begin_layout Subsection*
6100 \begin_layout Description
6101 Action Inserts another LyX file.
6105 \begin_layout Description
6106 Syntax file-insert [<FILE>]
6109 \begin_layout Description
6110 Params <FILE>: Filename to be inserted.
6114 \begin_layout Subsection*
6115 LFUN_FILE_INSERT_PLAINTEXT
6118 \begin_layout Description
6119 Action Inserts plain text file.
6123 \begin_layout Description
6124 Syntax file-insert-plaintext [<FILE>]
6127 \begin_layout Description
6128 Params <FILE>: Filename to be inserted.
6132 \begin_layout Description
6133 Origin CFO-G, 19 Nov 1997
6136 \begin_layout Subsection*
6137 LFUN_FILE_INSERT_PLAINTEXT_PARA
6140 \begin_layout Description
6141 Action Inserts plain text file as paragraph (i.
6142 \begin_inset space \thinspace{}
6150 \begin_layout Description
6151 Syntax file-insert-plaintext-para [<FILE>]
6154 \begin_layout Description
6155 Params <FILE>: Filename to be inserted.
6159 \begin_layout Description
6160 Origin Levon, 14 Feb 2001
6163 \begin_layout Subsection*
6167 \begin_layout Description
6168 Action Open LyX document.
6172 \begin_layout Description
6173 Syntax file-open [<FILE>]
6176 \begin_layout Description
6177 Params <FILE>: Filename to be opened.
6181 \begin_layout Subsection*
6185 \begin_layout Description
6186 Action Executes a command defined in a .def file.
6190 \begin_layout Description
6191 Notion The definitions are by default read from lib/commands/default.def.
6193 \begin_inset Newline newline
6196 A .def file allows to define a command with
6198 define "<NAME>" "<LFUN>" where <NAME> is the name of the new command and
6199 <LFUN> is the lfun code to be executed (see e.
6200 \begin_inset space \thinspace{}
6204 LFUN_COMMAND_SEQUENCE).
6207 def_file "FileName" allows to include another .def file.
6209 \begin_inset Newline newline
6212 This is particularly useful in connection with toolbar buttons: Since the
6213 name of the button image for this lfun is lib/images/commands/<NAME>.png
6214 this is the way to assign an image to a complex command-sequence.
6218 \begin_layout Description
6222 \begin_layout Description
6223 Params <NAME>: Name of the command that must be called.
6227 \begin_layout Description
6228 Origin broider, 2 Oct 2007
6231 \begin_layout Subsection*
6235 \begin_layout Description
6236 Action Simulate halting Meta key (Alt key on PCs).
6240 \begin_layout Description
6241 Notion Used for buffer editation not for GUI control.
6245 \begin_layout Description
6249 \begin_layout Subsection*
6253 \begin_layout Description
6254 Action Cancels sequence prepared by LFUN_META_PREFIX .
6258 \begin_layout Description
6262 \begin_layout Subsection*
6263 LFUN_COMMAND_EXECUTE
6266 \begin_layout Description
6267 Action Opens the minibuffer toolbar so that the user can type in there.
6271 \begin_layout Description
6272 Notion Usually bound to M-x shortcut.
6276 \begin_layout Description
6277 Syntax command-execute
6280 \begin_layout Subsection*
6284 \begin_layout Description
6285 Action Return the current key sequence and available options as a string.
6289 \begin_layout Description
6290 Notion No options are added if no current map exists.
6292 \begin_inset Newline newline
6295 This is probably usable only with connection to lyxserver.
6299 \begin_layout Description
6300 Syntax command-prefix
6303 \begin_layout Subsection*
6304 LFUN_COMMAND_SEQUENCE
6307 \begin_layout Description
6308 Action Run more commands (LFUN and its parameters) in a sequence.
6312 \begin_layout Description
6313 Syntax command-sequence <CMDS>
6316 \begin_layout Description
6317 Params <CMDS>: Sequence of commands separated by semicolons.
6321 \begin_layout Description
6322 Sample command-sequence cut; ert-insert; self-insert ; paste; self-insert
6326 \begin_layout Description
6327 Origin Andre, 11 Nov 1999
6330 \begin_layout Subsection*
6331 LFUN_COMMAND_ALTERNATIVES
6334 \begin_layout Description
6335 Action Runs the first listed command that is enabled.
6339 \begin_layout Description
6340 Notion This can be used to bind multiple functions to a single key, and
6341 then which one is used will depend upon the context.
6345 \begin_layout Description
6346 Syntax command-alternatives <CMDS>
6349 \begin_layout Description
6350 Params <CMDS>: Sequence of commands separated by semicolons.
6354 \begin_layout Description
6355 Sample command-alternatives completion-accept;cell-forward
6358 \begin_layout Description
6359 Origin rgh, 24 September 2008
6362 \begin_layout Subsection*
6366 \begin_layout Description
6367 Action Shows message in statusbar (for script purposes).
6371 \begin_layout Description
6372 Syntax message <STRING>
6375 \begin_layout Description
6376 Origin Lgb, 8 Apr 2001
6379 \begin_layout Subsection*
6380 LFUN_PREFERENCES_SAVE
6383 \begin_layout Description
6384 Action Save user preferences.
6388 \begin_layout Description
6389 Syntax preferences-save
6392 \begin_layout Description
6393 Origin Lgb, 27 Nov 1999
6396 \begin_layout Subsection*
6400 \begin_layout Description
6401 Action Reconfigure the automatic settings.
6405 \begin_layout Description
6409 \begin_layout Description
6410 Origin Asger, 14 Feb 1997
6413 \begin_layout Subsection*
6417 \begin_layout Description
6418 Action Apply the given settings to user preferences.
6422 \begin_layout Description
6423 Syntax lyxrc-apply <SETTINGS>
6426 \begin_layout Description
6427 Params <SETTINGS>: settings which are to be set.
6428 Take a look into ~/.lyx/preferences to get an idea which commands to use
6430 lyx::LyXRC::LyXRCTags has the list of possible commands.
6434 \begin_layout Subsection*
6435 LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE
6438 \begin_layout Description
6439 Action Determine whether keep cursor inside the editing window regardless
6440 the scrollbar movement.
6444 \begin_layout Description
6445 Syntax toggle-cursor-follows-scrollbar
6448 \begin_layout Description
6449 Origin ARRae, 2 Dec 1997
6452 \begin_layout Subsection*
6456 \begin_layout Description
6457 Action Set the given LyX color to the color defined by the X11 name given.
6461 \begin_layout Description
6462 Notion A new color entry is created if the color is unknown.
6463 Color names can be stored as a part of user settings.
6467 \begin_layout Description
6468 Syntax set-color <LYX_NAME> <X11_NAME>
6471 \begin_layout Description
6472 Origin SLior, 11 Jun 2000
6475 \begin_layout Subsection*
6479 \begin_layout Description
6480 Action Count the statistics (number of words and characters) in the document
6481 or in the given selection.
6485 \begin_layout Description
6486 Notion Note that this function gives the number of words/chars written,
6487 not the number of characters which will be typeset.
6491 \begin_layout Description
6495 \begin_layout Description
6496 Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
6499 \begin_layout Subsection*
6500 LFUN_COMPLETION_INLINE
6503 \begin_layout Description
6504 Action Show the inline completion at the cursor position.
6508 \begin_layout Description
6509 Syntax completion-inline
6512 \begin_layout Description
6513 Origin sts, Feb 19 2008
6516 \begin_layout Subsection*
6517 LFUN_COMPLETION_POPUP
6520 \begin_layout Description
6521 Action Show the completion popup at the cursor position.
6525 \begin_layout Description
6526 Syntax completion-popup
6529 \begin_layout Description
6530 Origin sts, Feb 19 2008
6533 \begin_layout Subsection*
6534 LFUN_COMPLETION_COMPLETE
6537 \begin_layout Description
6538 Action Try to complete the word or command at the cursor position.
6542 \begin_layout Description
6546 \begin_layout Description
6547 Origin sts, Feb 19 2008
6550 \begin_layout Subsection*
6551 LFUN_COMPLETION_CANCEL
6554 \begin_layout Description
6555 Action Try to cancel completion, either the popup or the inline completion
6559 \begin_layout Description
6560 Syntax completion-cancel
6563 \begin_layout Description
6564 Origin sts, Sep 07 2008
6567 \begin_layout Subsection*
6568 LFUN_COMPLETION_ACCEPT
6571 \begin_layout Description
6572 Action Accept suggested completion.
6576 \begin_layout Description
6577 Syntax completion-accept
6580 \begin_layout Description
6581 Origin sanda, Sep 08 2008
6584 \begin_layout Subsection*
6585 LFUN_BRANCH_ACTIVATE
6588 \begin_layout Description
6589 Action Activate the branch
6592 \begin_layout Description
6593 Syntax branch-activate <BRANCH>
6596 \begin_layout Description
6597 Params <BRANCH>: The branch to activate
6600 \begin_layout Description
6601 Sample lyx -e pdf2 -x "branch-activate answers" finalexam.lyx
6602 \begin_inset Newline newline
6605 could be used to export a pdf with the answers branch includedwithout one's
6606 having to open LyX and activate the branch manually.
6609 \begin_layout Description
6610 Origin rgh, 27 May 2008
6613 \begin_layout Subsection*
6614 LFUN_BRANCH_ACTIVATE
6617 \begin_layout Description
6618 Action De-activate the branch
6621 \begin_layout Description
6622 Syntax branch-deactivate <BRANCH>
6625 \begin_layout Description
6626 Params <BRANCH>: The branch to deactivate
6629 \begin_layout Description
6630 Origin rgh, 27 May 2008