1 #LyX 1.6.0rc2 created this file. For more info see http://www.lyx.org/
13 \font_typewriter default
14 \font_default_family default
21 \paperfontsize default
30 \paperorientation portrait
37 \paragraph_separation indent
39 \quotes_language english
42 \paperpagestyle default
43 \tracking_changes false
51 \begin_layout Section*
52 LFUNs documentation automatically generated 25.09.2008.
55 \begin_layout Standard
59 \begin_layout Plain Layout
69 \begin_inset VSpace 1cm
75 \begin_layout Subsection*
79 \begin_layout Description
80 Action Adds an acute accent to the next character typed.
84 \begin_layout Description
88 \begin_layout Subsection*
92 \begin_layout Description
93 Action Adds a breve accent to the next character typed.
97 \begin_layout Description
101 \begin_layout Subsection*
105 \begin_layout Description
106 Action Adds a caron to the next character typed.
110 \begin_layout Description
114 \begin_layout Subsection*
118 \begin_layout Description
119 Action Adds a cedilla to the next character typed.
123 \begin_layout Description
124 Syntax accent-cedilla
127 \begin_layout Subsection*
131 \begin_layout Description
132 Action Adds a circle accent to the next character typed.
136 \begin_layout Description
140 \begin_layout Subsection*
141 LFUN_ACCENT_CIRCUMFLEX
144 \begin_layout Description
145 Action Adds a circumflex to the next character typed.
149 \begin_layout Description
150 Syntax accent-circumflex
153 \begin_layout Subsection*
157 \begin_layout Description
158 Action Adds a dot accent to the next character typed.
162 \begin_layout Description
166 \begin_layout Subsection*
170 \begin_layout Description
171 Action Adds a grave accent to the next character typed.
175 \begin_layout Description
179 \begin_layout Subsection*
180 LFUN_ACCENT_HUNGARIAN_UMLAUT
183 \begin_layout Description
184 Action Adds a Hungarian umlaut to the next character typed.
188 \begin_layout Description
192 \begin_layout Subsection*
196 \begin_layout Description
197 Action Adds a macron to the next character typed.
201 \begin_layout Description
205 \begin_layout Subsection*
209 \begin_layout Description
210 Action Adds an ogonek accent to the next character typed.
214 \begin_layout Description
218 \begin_layout Subsection*
222 \begin_layout Description
223 Action Adds a tie over the next two character typed.
227 \begin_layout Description
228 Notion The following char will finish the tie.
232 \begin_layout Description
236 \begin_layout Subsection*
240 \begin_layout Description
241 Action Adds a tilde over the next character typed.
245 \begin_layout Description
249 \begin_layout Subsection*
253 \begin_layout Description
254 Action Adds an umlaut over the next character typed.
258 \begin_layout Description
262 \begin_layout Subsection*
266 \begin_layout Description
267 Action Adds a bar under the next character typed.
271 \begin_layout Description
272 Syntax accent-underbar
275 \begin_layout Subsection*
279 \begin_layout Description
280 Action Adds a dot under the next character typed.
284 \begin_layout Description
285 Syntax accent-underdot
288 \begin_layout Subsection*
292 \begin_layout Description
293 Action Inserts a caption inset.
297 \begin_layout Description
298 Syntax caption-insert
301 \begin_layout Description
302 Origin Lgb, 18 Jul 2000
305 \begin_layout Subsection*
309 \begin_layout Description
310 Action Inserts the current date.
314 \begin_layout Description
315 Syntax date-insert [<ARG>]
318 \begin_layout Description
319 Params <ARG>: Format of date.
320 The default value (%x) can be set in Preferences->Date format.
321 For possible formats see manual page of strftime function.
325 \begin_layout Description
326 Origin jdblair, 31 Jan 2000
329 \begin_layout Subsection*
333 \begin_layout Description
334 Action Inserts a footnote inset.
338 \begin_layout Description
339 Syntax footnote-insert
342 \begin_layout Description
343 Origin Jug, 7 Mar 2000
346 \begin_layout Subsection*
350 \begin_layout Description
351 Action Inserts an ERT inset.
355 \begin_layout Description
359 \begin_layout Description
360 Origin Jug, 18 Feb 2000
363 \begin_layout Subsection*
367 \begin_layout Description
368 Action Inserts a float inset.
372 \begin_layout Description
373 Syntax float-insert <TYPE>
376 \begin_layout Description
377 Params <TYPE>: type of float depends on the used textclass.
378 Usually "algorithm", "table", "figure" parameters can be given.
382 \begin_layout Description
383 Origin Lgb, 27 Jun 2000
386 \begin_layout Subsection*
387 LFUN_FLOAT_WIDE_INSERT
390 \begin_layout Description
391 Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns.
395 \begin_layout Description
396 Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX.
400 \begin_layout Description
401 Syntax float-wide-insert <TYPE>
404 \begin_layout Description
405 Params <TYPE>: type of float depends on the used textclass.
406 Usually "algorithm", "table", "figure" parameters can be given.
410 \begin_layout Description
411 Origin Lgb, 31 Oct 2001
414 \begin_layout Subsection*
415 LFUN_FLOAT_LIST_INSERT
418 \begin_layout Description
419 Action Inserts the list of floats in the document.
423 \begin_layout Description
424 Syntax float-list-insert <TYPE>
427 \begin_layout Description
428 Params <TYPE>: type of float depends on the used textclass.
429 Usually "algorithm", "table", "figure" parameters can be given.
433 \begin_layout Description
434 Origin Lgb, 3 May 2001
437 \begin_layout Subsection*
441 \begin_layout Description
442 Action Inserts floats wrapped by the text around.
446 \begin_layout Description
447 Syntax wrap-insert <TYPE>
450 \begin_layout Description
451 Params <TYPE>: table|figure
454 \begin_layout Description
455 Origin Dekel, 7 Apr 2002
458 \begin_layout Subsection*
462 \begin_layout Description
463 Action Inserts an optional-argument (short title) inset.
467 \begin_layout Description
468 Syntax optional-insert
471 \begin_layout Description
472 Origin vermeer, 12 Aug 2002
475 \begin_layout Subsection*
479 \begin_layout Description
480 Action Inserts a horizontal line.
484 \begin_layout Description
488 \begin_layout Description
489 Origin Andre, Oct 27 2003
492 \begin_layout Subsection*
496 \begin_layout Description
497 Action Inserts a new page.
501 \begin_layout Description
502 Syntax newpage-insert <ARG>
505 \begin_layout Description
506 Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
510 \begin_layout Description
511 Origin uwestoehr, 24 Nov 2007
514 \begin_layout Subsection*
515 LFUN_MARGINALNOTE_INSERT
518 \begin_layout Description
519 Action Inserts a marginal note.
523 \begin_layout Description
524 Syntax marginalnote-insert
527 \begin_layout Description
528 Origin Lgb, 26 Jun 2000
531 \begin_layout Subsection*
535 \begin_layout Description
536 Action Inserts a single unicode character.
540 \begin_layout Description
541 Syntax unicode-insert <CHAR>
544 \begin_layout Description
545 Params <CHAR>: The character to insert, given as its code point, in hexadecimal.
549 \begin_layout Description
550 Sample unicode-insert 0x0100
553 \begin_layout Description
554 Origin Lgb, 22 Oct 2006
557 \begin_layout Subsection*
561 \begin_layout Description
562 Action Inserts a new listings inset.
566 \begin_layout Description
567 Syntax listing-insert
570 \begin_layout Description
571 Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
574 \begin_layout Subsection*
578 \begin_layout Description
579 Action Inserts quotes according to the type and quote-language preference.
583 \begin_layout Description
584 Action Currently English, Swedish, German, Polish, French, Danish quotes
589 \begin_layout Description
590 Syntax quote-insert [<TYPE>]
593 \begin_layout Description
594 Params <TYPE>: 'single' for single quotes, otherwise double quotes will
599 \begin_layout Subsection*
603 \begin_layout Description
604 Action Displays shortcuts, lyxrc, package and textclass availability and
605 menu information in a non-editable boxed InsetText.
609 \begin_layout Description
610 Notion Apart from lfun arguments you can use the following method:
611 \begin_inset Newline newline
615 input the type and argument of this inset, e.g.
616 "menu paste", in the work area.
618 \begin_inset Newline newline
622 select the text and run info-insert lfun.
626 \begin_layout Description
627 Syntax info-insert <TYPE> <ARG>
630 \begin_layout Description
631 Params <TYPE>: shortcut|lyxrc|package|textclass|menu|buffer
632 \begin_inset Newline newline
635 <ARG>: argument for a given type.
636 Look into InsetInfo.h for detailed description.
640 \begin_layout Description
641 Origin bpeng, 7 Oct 2007
644 \begin_layout Subsection*
648 \begin_layout Description
649 Action Inserts branch inset.
653 \begin_layout Description
654 Syntax branch-insert <BRANCH-NAME>
657 \begin_layout Description
658 Origin vermeer, 17 Aug 2003
661 \begin_layout Subsection*
665 \begin_layout Description
666 Action Inserts Box inset.
670 \begin_layout Description
671 Syntax box-insert [<TYPE>]
674 \begin_layout Description
675 Params <TYPE>: Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox
677 \begin_inset Newline newline
680 Framed is the default one.
684 \begin_layout Description
685 Origin vermeer, 7 Oct 2003
688 \begin_layout Subsection*
692 \begin_layout Description
693 Action Inserts CharStyle, Custom inset or XML short element.
697 \begin_layout Description
698 Notion Look into the Customization manual for more information about these
701 \begin_inset Newline newline
704 To make this command enabled the layout file for the document class you're
705 using has to load the character styles.
706 There are a few contained in the Logical Markup module.
707 You can also of course create some yourself.
709 \begin_inset Newline newline
712 For dissolving the element see LFUN_INSET_DISSOLVE.
716 \begin_layout Description
717 Syntax flex-insert <TYPE:Name>
720 \begin_layout Description
721 Params TYPE: CharStyle|Custom|Element|Standard
722 \begin_inset Newline newline
725 Identifies whether this is a Character Style, a Custom Inset or an XML
726 Element, and which dynamical sub-menu this flex inset is in on the LyX
728 If Standard (currently unused): none of these.
729 Name: This name must be defined either in your layout file or imported
732 \begin_inset Newline newline
735 InsetLayout <TYPE:Name>
738 \begin_layout Description
739 Sample flex-insert CharStyle:Code
742 \begin_layout Subsection*
746 \begin_layout Description
747 Action Inserts the given string (accordingly to the correct keymap).
751 \begin_layout Description
752 Notion Automatically replace the currently selected text.
753 Depends on lyxrc settings "auto_region_delete".
757 \begin_layout Description
758 Syntax self-insert <STRING>
761 \begin_layout Subsection*
765 \begin_layout Description
766 Action Inserts one of horizontal space insets.
770 \begin_layout Description
771 Syntax space-insert <NAME> [<LEN>]
774 \begin_layout Description
775 Params <NAME>: normal, protected, thin, quad, qquad, enspace, enskip, negthinspa
776 ce, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
777 \begin_inset Newline newline
780 <LEN>: length for custom spaces (hspace, hspace* for protected)
783 \begin_layout Description
784 Origin JSpitzm, 20 May 2003, Mar 17 2008
787 \begin_layout Subsection*
788 LFUN_HYPERLINK_INSERT
791 \begin_layout Description
792 Action Inserts hyperlinks into the document (clickable in pdf output).
796 \begin_layout Description
797 Notion Hyperlink target can be set via selection + hyperlink-insert function.
801 \begin_layout Description
802 Syntax href-insert [<TARGET>]
805 \begin_layout Description
806 Origin CFO-G, 21 Nov 1997
809 \begin_layout Subsection*
810 LFUN_SPECIALCHAR_INSERT
813 \begin_layout Description
814 Action Inserts various characters into the document.
818 \begin_layout Description
819 Syntax specialchar-insert <CHAR>
822 \begin_layout Description
823 Params <CHAR>: hyphenation, ligature-break, slash, nobreakdash, dots, end-of-sen
824 tence, menu-separator.
828 \begin_layout Description
829 Origin JSpitzm, 6 Dec 2007
832 \begin_layout Subsection*
836 \begin_layout Description
837 Action Inserts table of contents.
841 \begin_layout Description
845 \begin_layout Description
846 Origin Lgb, 27 May 97
849 \begin_layout Subsection*
853 \begin_layout Description
854 Action Start (or remove) Appendix on the given cursor position.
858 \begin_layout Description
862 \begin_layout Description
863 Origin ettrich, 5 May 1998
866 \begin_layout Subsection*
870 \begin_layout Description
871 Action Inserts Index entry.
875 \begin_layout Description
876 Notion It automatically takes the word on the cursor position.
880 \begin_layout Description
884 \begin_layout Description
885 Origin leeming, 3 Aug 2000
888 \begin_layout Subsection*
892 \begin_layout Description
893 Action Inserts list of Index entries on a new page.
897 \begin_layout Description
901 \begin_layout Description
902 Origin Lgb, 27 Feb 1997
905 \begin_layout Subsection*
909 \begin_layout Description
910 Action Inserts Nomenclature entry.
914 \begin_layout Description
915 Notion It automatically takes the word on the cursor position if no symbol
920 \begin_layout Description
921 Syntax nomencl-insert [<SYMBOL>]
924 \begin_layout Description
925 Origin Ugras, 4 Nov 2006
928 \begin_layout Subsection*
929 LFUN_NOMENCLATURE_PRINT
932 \begin_layout Description
933 Action Inserts list of Nomenclature entries.
937 \begin_layout Description
938 Syntax nomenclature-print
941 \begin_layout Description
942 Origin Ugras, 4 Nov 2006
945 \begin_layout Subsection*
949 \begin_layout Description
950 Action Inserts Note on the current cursor postion, move selection inside
955 \begin_layout Description
956 Syntax note-insert [<TYPE>]
959 \begin_layout Description
960 Params <TYPE>: <Note|Greyedout|Comment> default: Note
963 \begin_layout Subsection*
967 \begin_layout Description
968 Action Moves the cursor to the begining of next Note inset.
972 \begin_layout Description
976 \begin_layout Subsection*
980 \begin_layout Description
981 Action Changes all Note insets of a particular type (source) to a different
982 type (target) fot the current document.
986 \begin_layout Description
987 Syntax notes-mutate <SOURCE> <TARGET>
990 \begin_layout Description
991 Params <SOURCE/TARGET>: Note|Comment|Greyedout
994 \begin_layout Description
995 Origin sanda, 18 Jun 2008
998 \begin_layout Subsection*
1002 \begin_layout Description
1003 Action Inserts a line break or new line.
1007 \begin_layout Description
1008 Syntax newline-insert [<ARG>]
1011 \begin_layout Description
1012 Params <ARG>: <newline|linebreak> default: newline
1015 \begin_layout Description
1016 Origin JSpitzm, 25 Mar 2008
1019 \begin_layout Subsection*
1023 \begin_layout Description
1024 Action Clears the selection.
1025 If no text is selected call LFUN_FINISHED_FORWARD.
1029 \begin_layout Description
1033 \begin_layout Description
1034 Origin Lgb, 17 May 2001
1037 \begin_layout Subsection*
1041 \begin_layout Description
1042 Action Moves the cursor one line in downward direction.
1046 \begin_layout Description
1050 \begin_layout Subsection*
1054 \begin_layout Description
1055 Action Moves the cursor one line in upward direction.
1059 \begin_layout Description
1063 \begin_layout Subsection*
1067 \begin_layout Description
1068 Action Moves the cursor one line in downward direction adding the current
1069 position to the selection.
1073 \begin_layout Description
1077 \begin_layout Subsection*
1081 \begin_layout Description
1082 Action Moves the cursor one line in upward direction adding the current
1083 position to the selection.
1087 \begin_layout Description
1091 \begin_layout Subsection*
1095 \begin_layout Description
1096 Action Moves the cursor one page in downward direction.
1100 \begin_layout Description
1104 \begin_layout Subsection*
1108 \begin_layout Description
1109 Action Moves the cursor one page in upward direction.
1113 \begin_layout Description
1117 \begin_layout Subsection*
1118 LFUN_SCREEN_DOWN_SELECT
1121 \begin_layout Description
1122 Action Moves the cursor one screen in downward direction adding the current
1123 position to the selection.
1127 \begin_layout Description
1128 Syntax screen-down-select
1131 \begin_layout Subsection*
1132 LFUN_SCREEN_UP_SELECT
1135 \begin_layout Description
1136 Action Moves the cursor one page in upward direction adding the current
1137 position to the selection.
1141 \begin_layout Description
1142 Syntax screen-up-select
1145 \begin_layout Subsection*
1149 \begin_layout Description
1150 Action Scroll the buffer view.
1154 \begin_layout Description
1155 Notion Only scrolls the screen up or down; does not move the cursor.
1159 \begin_layout Description
1160 Syntax scroll <TYPE> <QUANTITY>
1163 \begin_layout Description
1164 Params <TYPE>: line|page
1165 \begin_inset Newline newline
1168 <QUANTITY>: up|down|<number>
1171 \begin_layout Description
1172 Origin Abdel, Dec 27 2007
1175 \begin_layout Subsection*
1176 LFUN_SCREEN_RECENTER
1179 \begin_layout Description
1180 Action Recenters the screen on the current cursor position.
1184 \begin_layout Description
1185 Syntax screen-recenter
1188 \begin_layout Subsection*
1192 \begin_layout Description
1193 Action Moves the cursor one position logically backwards.
1197 \begin_layout Description
1198 Notion This is not the action which should be bound to the arrow keys, because
1199 backwards may be left or right, depending on the language.
1200 The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions,
1201 which in turn may employ this one.
1205 \begin_layout Description
1206 Syntax char-backward
1209 \begin_layout Subsection*
1210 LFUN_CHAR_BACKWARD_SELECT
1213 \begin_layout Description
1214 Action Moves the cursor one position logically backwards, adding traversed
1215 position to the selection.
1219 \begin_layout Description
1220 Notion See also LFUN_CHAR_BACKWARD.
1224 \begin_layout Description
1225 Syntax char-backward-select
1228 \begin_layout Subsection*
1229 LFUN_CHAR_DELETE_BACKWARD
1232 \begin_layout Description
1233 Action Deletes one character in the backward direction (usually the "BackSpace"
1238 \begin_layout Description
1239 Syntax char-delete-backward
1242 \begin_layout Subsection*
1243 LFUN_CHAR_DELETE_FORWARD
1246 \begin_layout Description
1247 Action Deletes one character in the backward direction (usually the "Delete"
1252 \begin_layout Description
1253 Syntax char-delete-forward
1256 \begin_layout Subsection*
1260 \begin_layout Description
1261 Action Moves the cursor one position logically forward.
1265 \begin_layout Description
1266 Notion This is not the action which should be bound to the arrow keys, because
1267 forward may be left or right, depending on the language.
1268 The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions,
1269 which in turn may employ this one.
1273 \begin_layout Description
1277 \begin_layout Subsection*
1278 LFUN_CHAR_FORWARD_SELECT
1281 \begin_layout Description
1282 Action Moves the cursor one position logically forward, adding traversed
1283 position to the selection.
1287 \begin_layout Description
1288 Notion See also LFUN_CHAR_FORWARD.
1292 \begin_layout Description
1293 Syntax char-forward-select
1296 \begin_layout Subsection*
1300 \begin_layout Description
1301 Action Moves the cursor one position "to the left".
1305 \begin_layout Description
1306 Notion This is the action which should be taken when the "left" key is pressed.
1307 Generally, it moves the cursor one position to the left.
1308 However, in Bidi text this become slightly more complicated, and there
1309 are different modes of cursor movement.
1310 In "visual mode", this moves left, plain and simple.
1311 In "logical mode", movement is logically forward in RTL paragraphs, and
1312 logically backwards in LTR paragraphs.
1316 \begin_layout Description
1320 \begin_layout Subsection*
1321 LFUN_CHAR_LEFT_SELECT
1324 \begin_layout Description
1325 Action Moves the cursor one position "to the left", adding traversed position
1330 \begin_layout Description
1331 Notion See also LFUN_CHAR_LEFT for exact details of the movement.
1335 \begin_layout Description
1336 Syntax char-left-select
1339 \begin_layout Subsection*
1343 \begin_layout Description
1344 Action Moves the cursor one position "to the right".
1348 \begin_layout Description
1349 Notion This is the action which should be taken when the "right" key is
1351 Generally, it moves the cursor one position to the right.
1352 However, in Bidi text this become slightly more complicated, and there
1353 are different modes of cursor movement.
1354 In "visual mode", this moves right, plain and simple.
1355 In "logical mode", movement is logically forward in LTR paragraphs, and
1356 logically backwards in RTL paragraphs.
1360 \begin_layout Description
1364 \begin_layout Subsection*
1365 LFUN_CHAR_RIGHT_SELECT
1368 \begin_layout Description
1369 Action Moves the cursor one position "to the right", adding traversed position
1374 \begin_layout Description
1375 Notion See also LFUN_CHAR_RIGHT for exact details of the movement.
1379 \begin_layout Description
1380 Syntax char-right-select
1383 \begin_layout Subsection*
1387 \begin_layout Description
1388 Action Moves the cursor to the logically previous beginning of a word.
1392 \begin_layout Description
1393 Notion This is not the action which should be bound to the arrow keys, because
1394 backwards may be left or right, depending on the language.
1395 The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions,
1396 which in turn may employ this one.
1400 \begin_layout Description
1401 Syntax word-backward
1404 \begin_layout Subsection*
1405 LFUN_WORD_BACKWARD_SELECT
1408 \begin_layout Description
1409 Action Moves the cursor to the logically previous beginning of a word, adding
1410 the logically traversed text to the selection.
1414 \begin_layout Description
1415 Notion See also LFUN_WORD_BACKWARD.
1419 \begin_layout Description
1420 Syntax word-backward-select
1423 \begin_layout Subsection*
1424 LFUN_WORD_DELETE_BACKWARD
1427 \begin_layout Description
1428 Action Deletes characters to the begining of the word (usually the "C+BackSpace"
1433 \begin_layout Description
1434 Syntax word-delete-backward
1437 \begin_layout Subsection*
1438 LFUN_WORD_DELETE_FORWARD
1441 \begin_layout Description
1442 Action Deletes characters to the end of the word (usually the "C+Delete"
1447 \begin_layout Description
1448 Syntax word-delete-forward
1451 \begin_layout Subsection*
1452 LFUN_WORD_FIND_FORWARD
1455 \begin_layout Description
1456 Action Search for a given string in forward direction.
1460 \begin_layout Description
1461 Notion Case sensitive, match words.
1462 If no argument given, last search repeated.
1466 \begin_layout Description
1467 Syntax word-find-forward [<STRING>]
1470 \begin_layout Description
1471 Origin Etienne, 16 Feb 1998
1474 \begin_layout Subsection*
1475 LFUN_WORD_FIND_BACKWARD
1478 \begin_layout Description
1479 Action Search for a given string in backward direction.
1483 \begin_layout Description
1484 Notion Case sensitive, match words.
1485 If no argument given, last search repeated.
1489 \begin_layout Description
1490 Syntax word-find-backward [<STRING>]
1493 \begin_layout Description
1494 Origin Etienne, 20 Feb 1998
1497 \begin_layout Subsection*
1501 \begin_layout Description
1502 Action Search for next occurence of a string.
1506 \begin_layout Description
1507 Syntax word-find [<DATA>]
1510 \begin_layout Description
1511 Params <DATA>: data encoded from Find dialog (see lyx::find2string()).
1512 If no parameter is given, search with last find-dialog data is used for
1518 \begin_layout Description
1519 Origin Andre, Jan 7 2004
1522 \begin_layout Subsection*
1526 \begin_layout Description
1527 Action Replace a string in the document.
1531 \begin_layout Description
1532 Syntax word-replace [<DATA>]
1535 \begin_layout Description
1536 Params <DATA>: data is of the form "<search>
1537 \begin_inset Newline newline
1541 \begin_inset Newline newline
1544 <casesensitive> <matchword> <all> <forward>"
1547 \begin_layout Description
1548 Origin Andre, Jan 7 2004
1551 \begin_layout Subsection*
1555 \begin_layout Description
1556 Action Moves the cursor to the logically next beginning of a word.
1560 \begin_layout Description
1561 Notion This is not the action which should be bound to the arrow keys, because
1562 forward may be left or right, depending on the language.
1563 The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions,
1564 which in turn may employ this one.
1568 \begin_layout Description
1572 \begin_layout Subsection*
1573 LFUN_WORD_FORWARD_SELECT
1576 \begin_layout Description
1577 Action Moves the cursor to the logically next beginning of a word, adding
1578 the logically traversed text to the selection.
1582 \begin_layout Description
1583 Notion See also LFUN_WORD_FORWARD.
1587 \begin_layout Description
1588 Syntax word-forward-select
1591 \begin_layout Subsection*
1595 \begin_layout Description
1596 Action Moves the cursor to the next beginning of a word "on the left".
1600 \begin_layout Description
1601 Notion This is the action which should be taken when the (e.g., ctrl-) "left"
1603 Generally, it moves the cursor to the next beginning of a word on the left.
1604 However, in Bidi text this become slightly more complicated, and there
1605 are different modes of cursor movement.
1606 In "visual mode", this moves left, plain and simple.
1607 In "logical mode", movement is logically forward in RTL paragraphs, and
1608 logically backwards in LTR paragraphs.
1612 \begin_layout Description
1616 \begin_layout Description
1617 Origin dov, 28 Oct 2007
1620 \begin_layout Subsection*
1621 LFUN_WORD_LEFT_SELECT
1624 \begin_layout Description
1625 Action Moves the cursor to the next beginning of a word "on the left", adding
1626 *logically* traversed text to the selection.
1630 \begin_layout Description
1631 Notion See also LFUN_WORD_LEFT for exact details of the movement.
1635 \begin_layout Description
1636 Syntax word-left-select
1639 \begin_layout Description
1640 Origin dov, 28 Oct 2007
1643 \begin_layout Subsection*
1647 \begin_layout Description
1648 Action Moves the cursor to the next beginning of a word "on the right".
1652 \begin_layout Description
1653 Notion This is the action which should be taken when the (e.g., ctrl-) "right"
1655 Generally, it moves the cursor to the next beginning of a word on the right.
1656 However, in Bidi text this become slightly more complicated, and there
1657 are different modes of cursor movement.
1658 In "visual mode", this moves right, plain and simple.
1659 In "logical mode", movement is logically forward in LTR paragraphs, and
1660 logically backwards in RTL paragraphs.
1664 \begin_layout Description
1668 \begin_layout Description
1669 Origin dov, 28 Oct 2007
1672 \begin_layout Subsection*
1673 LFUN_WORD_RIGHT_SELECT
1676 \begin_layout Description
1677 Action Moves the cursor to the next beginning of a word "on the right",
1678 adding *logically* traversed text to the selection.
1682 \begin_layout Description
1683 Notion See also LFUN_WORD_RIGHT for exact details of the movement.
1687 \begin_layout Description
1688 Syntax word-right-select
1691 \begin_layout Description
1692 Origin dov, 28 Oct 2007
1695 \begin_layout Subsection*
1699 \begin_layout Description
1700 Action Puts the word where the cursor stands into the selection.
1704 \begin_layout Description
1708 \begin_layout Description
1709 Origin Andre, 11 Sep 2002
1712 \begin_layout Subsection*
1713 LFUN_WORD_CAPITALIZE
1716 \begin_layout Description
1717 Action Capitalizes the words in the selection (i.e.
1718 the first letters) or the letter on the cursor position.
1722 \begin_layout Description
1723 Syntax word-capitalize
1726 \begin_layout Subsection*
1730 \begin_layout Description
1731 Action Change the words in the selection or from the cursor position to
1732 the end of word to the upper case.
1736 \begin_layout Description
1740 \begin_layout Subsection*
1744 \begin_layout Description
1745 Action Change the words in the selection or from the cursor position to
1746 the end of word to the lower case.
1750 \begin_layout Description
1754 \begin_layout Subsection*
1755 LFUN_THESAURUS_ENTRY
1758 \begin_layout Description
1759 Action Look up thesaurus entries with respect to the word under the cursor.
1763 \begin_layout Description
1764 Syntax thesaurus-entry
1767 \begin_layout Description
1768 Origin Levon, 20 Jul 2001
1771 \begin_layout Subsection*
1775 \begin_layout Description
1776 Action Move the cursor to the beginning of the document.
1780 \begin_layout Description
1784 \begin_layout Subsection*
1785 LFUN_BUFFER_BEGIN_SELECT
1788 \begin_layout Description
1789 Action Move the cursor to the beginning of the document adding the traversed
1790 text to the selection.
1794 \begin_layout Description
1795 Syntax buffer-begin-select
1798 \begin_layout Subsection*
1802 \begin_layout Description
1803 Action Move the cursor to the end of the document.
1807 \begin_layout Description
1811 \begin_layout Subsection*
1812 LFUN_BUFFER_END_SELECT
1815 \begin_layout Description
1816 Action Move the cursor to the end of the document adding the traversed text
1821 \begin_layout Description
1822 Syntax buffer-end-select
1825 \begin_layout Subsection*
1829 \begin_layout Description
1830 Action Move the cursor to the begining of the (screen) line.
1834 \begin_layout Description
1838 \begin_layout Subsection*
1839 LFUN_LINE_BEGIN_SELECT
1842 \begin_layout Description
1843 Action Move the cursor to the beginning of the (screen) line adding the
1844 traversed text to the selection.
1848 \begin_layout Description
1849 Syntax line-begin-select
1852 \begin_layout Subsection*
1856 \begin_layout Description
1857 Action Move the cursor to the end of the (screen) line.
1861 \begin_layout Description
1865 \begin_layout Subsection*
1866 LFUN_LINE_END_SELECT
1869 \begin_layout Description
1870 Action Move the cursor to the end of the (screen) line adding the traversed
1871 text to the selection.
1875 \begin_layout Description
1876 Syntax line-end-select
1879 \begin_layout Subsection*
1883 \begin_layout Description
1884 Action Deletes the letters to the end of the (screen) line or deletes the
1889 \begin_layout Description
1890 Syntax line-delete-forward
1893 \begin_layout Subsection*
1897 \begin_layout Description
1898 Action Copies to the clipboard the last edit.
1902 \begin_layout Description
1906 \begin_layout Subsection*
1910 \begin_layout Description
1911 Action Cuts to the clipboard.
1915 \begin_layout Description
1919 \begin_layout Subsection*
1923 \begin_layout Description
1924 Action Pastes material from the active clipboard.
1928 \begin_layout Description
1929 Syntax paste [<TYPE>]
1932 \begin_layout Description
1933 Params <TYPE>: pdf|png|jpeg|linkback
1936 \begin_layout Subsection*
1937 LFUN_CLIPBOARD_PASTE
1940 \begin_layout Description
1941 Action Pastes text from the active clipboard.
1945 \begin_layout Description
1946 Syntax clipboard-paste [<ARG>]
1949 \begin_layout Description
1950 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e.
1955 \begin_layout Description
1956 Origin baum, 10 Jul 2006
1959 \begin_layout Subsection*
1960 LFUN_PRIMARY_SELECTION_PASTE
1963 \begin_layout Description
1964 Action Pastes the currently text selected text.
1968 \begin_layout Description
1969 Notion Primary selection mechanism is linux-only thing.
1973 \begin_layout Description
1974 Syntax primary-selection-paste [<ARG>]
1977 \begin_layout Description
1978 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e.
1983 \begin_layout Subsection*
1987 \begin_layout Description
1988 Action Undoes the last edit.
1992 \begin_layout Description
1996 \begin_layout Subsection*
2000 \begin_layout Description
2001 Action Redoes the last thing undone.
2005 \begin_layout Description
2009 \begin_layout Subsection*
2013 \begin_layout Description
2014 Action Repeat the given command.
2018 \begin_layout Description
2019 Syntax repeat <COUNT> <LFUN-COMMAND>
2022 \begin_layout Description
2023 Origin Andre, , 27 Oct 2003
2026 \begin_layout Subsection*
2027 LFUN_CHARS_TRANSPOSE
2030 \begin_layout Description
2031 Action Transposes the character at the cursor with the one before it.
2035 \begin_layout Description
2036 Syntax chars-transpose
2039 \begin_layout Description
2040 Origin Lgb, 25 Apr 2001
2043 \begin_layout Subsection*
2044 LFUN_DEPTH_DECREMENT
2047 \begin_layout Description
2048 Action Decrease the nesting depth of the (selected) paragraph(s) inside
2053 \begin_layout Description
2054 Syntax depth-decrement
2057 \begin_layout Subsection*
2058 LFUN_DEPTH_INCREMENT
2061 \begin_layout Description
2062 Action Increase the nesting depth of the (selected) paragraph(s) inside
2067 \begin_layout Description
2068 Syntax depth-increment
2071 \begin_layout Subsection*
2075 \begin_layout Description
2076 Action Toggles the bold font (selection-wise) using mathbf in math.
2080 \begin_layout Description
2084 \begin_layout Subsection*
2085 LFUN_FONT_BOLDSYMBOL
2088 \begin_layout Description
2089 Action Toggles the bold font (selection-wise) using boldsymbol in math.
2093 \begin_layout Description
2094 Syntax font-boldsymbol
2097 \begin_layout Subsection*
2098 LFUN_FONT_TYPEWRITER
2101 \begin_layout Description
2102 Action Toggles the typewriter family font (selection-wise).
2106 \begin_layout Description
2107 Syntax font-typewriter
2110 \begin_layout Subsection*
2114 \begin_layout Description
2115 Action Toggles underline in the font (selection-wise).
2119 \begin_layout Description
2120 Syntax font-underline
2123 \begin_layout Subsection*
2127 \begin_layout Description
2128 Action Toggles the emphasis font style (selection-wise).
2132 \begin_layout Description
2136 \begin_layout Subsection*
2140 \begin_layout Description
2141 Action Toggles Noun text style font (selection-wise).
2145 \begin_layout Description
2149 \begin_layout Subsection*
2153 \begin_layout Description
2154 Action Toggles Roman family font (selection-wise).
2158 \begin_layout Description
2162 \begin_layout Subsection*
2166 \begin_layout Description
2167 Action Toggles Sans Serif family font (selection-wise).
2171 \begin_layout Description
2175 \begin_layout Subsection*
2179 \begin_layout Description
2180 Action Toggles Fraktur family font (math-mode, selection-wise).
2184 \begin_layout Description
2188 \begin_layout Description
2189 Origin vermeer, 10 Jan 2002
2192 \begin_layout Subsection*
2196 \begin_layout Description
2197 Action Toggles Italics font shape (math-mode, selection-wise).
2201 \begin_layout Description
2205 \begin_layout Description
2206 Origin vermeer, 10 Jan 2002
2209 \begin_layout Subsection*
2213 \begin_layout Description
2214 Action Reverts the settings of the font to the default values (selection-wise).
2218 \begin_layout Description
2222 \begin_layout Subsection*
2226 \begin_layout Description
2227 Action Sets font size according to lyx format string.
2231 \begin_layout Description
2232 Syntax font-size <SIZE>
2235 \begin_layout Description
2236 Params <SIZE>: tiny|scriptsize|footnotesize|small|normal|large|larger|
2237 \begin_inset Newline newline
2240 largest|huge|giant|increase|decrease|default
2243 \begin_layout Subsection*
2244 LFUN_TEXTSTYLE_APPLY
2247 \begin_layout Description
2248 Action Toggle user-defined (=last-time used) text style.
2252 \begin_layout Description
2253 Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically
2254 trigerred when using Text Style dialog.
2258 \begin_layout Description
2259 Syntax textstyle-apply
2262 \begin_layout Description
2263 Origin leeming, 12 Mar 2003
2266 \begin_layout Subsection*
2267 LFUN_TEXTSTYLE_UPDATE
2270 \begin_layout Description
2271 Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APP
2276 \begin_layout Description
2277 Syntax textstyle-update <FONT_INFO>
2280 \begin_layout Description
2281 Params <FONT_INFO>: specifies font atributes, e.g.
2282 family, series, shape, size, emph, noun, underbar, number, color, language,
2285 \begin_inset Newline newline
2288 Use lyx -dbg action for exact syntax of text-style dialog parameters.
2292 \begin_layout Description
2293 Origin leeming, 12 Mar 2003
2296 \begin_layout Subsection*
2297 LFUN_SCREEN_FONT_UPDATE
2300 \begin_layout Description
2301 Action Update fonts and its metrics.
2305 \begin_layout Description
2306 Notion Automatically called after zoom, dpi, font names, or norm change.
2310 \begin_layout Description
2311 Syntax screen-font-update
2314 \begin_layout Description
2315 Origin ARRae, 13 Aug 2000
2318 \begin_layout Subsection*
2322 \begin_layout Description
2323 Action Returns the info about the current font.
2327 \begin_layout Description
2331 \begin_layout Subsection*
2332 LFUN_CITATION_INSERT
2335 \begin_layout Description
2336 Action Inserts citation from loaded citation database.
2340 \begin_layout Description
2341 Syntax citation-insert [<KEY>[|<TEXT_BEFORE>]]
2344 \begin_layout Description
2345 Params <KEY>: Citation (shortcut listed in available citations).
2347 \begin_inset Newline newline
2350 <TEXT_BEFORE>: text which should appear before citation.
2354 \begin_layout Description
2355 Origin AAS, 97-02-23
2358 \begin_layout Subsection*
2359 LFUN_BIBTEX_DATABASE_ADD
2362 \begin_layout Description
2363 Action Adds database, which will be used for bibtex citations.
2367 \begin_layout Description
2368 Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX
2369 bibliography) found from the cursor postion.
2373 \begin_layout Description
2374 Syntax bibtex-database-add <DATABASE-NAME>
2377 \begin_layout Description
2378 Origin Ale, 30 May 1997
2381 \begin_layout Subsection*
2382 LFUN_BIBTEX_DATABASE_DEL
2385 \begin_layout Description
2386 Action Adds database, which will be used for bibtex citations.
2390 \begin_layout Description
2391 Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTe
2392 X bibliography) found from the cursor postion.
2396 \begin_layout Description
2397 Syntax bibtex-database-del <DATABASE-NAME>
2400 \begin_layout Description
2401 Origin Ale, 30 May 1997
2404 \begin_layout Subsection*
2408 \begin_layout Description
2409 Action Sets the layout (that is, environment) for the current paragraph.
2413 \begin_layout Description
2414 Syntax layout <LAYOUT>
2417 \begin_layout Description
2418 Params <LAYOUT>: the layout to use
2421 \begin_layout Subsection*
2422 LFUN_LAYOUT_PARAGRAPH
2425 \begin_layout Description
2426 Action Launches the paragraph settings dialog.
2430 \begin_layout Description
2431 Syntax layout-paragraph
2434 \begin_layout Subsection*
2438 \begin_layout Description
2439 Action Launches the tabular settings dialog.
2443 \begin_layout Description
2444 Syntax layout-tabular
2447 \begin_layout Description
2448 Origin Jug, 31 Jul 2000
2451 \begin_layout Subsection*
2452 LFUN_DROP_LAYOUTS_CHOICE
2455 \begin_layout Description
2456 Action Displays list of layout choices.
2460 \begin_layout Description
2461 Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox
2462 allowing for choice of layout.
2466 \begin_layout Description
2467 Syntax drop-layouts-choice
2470 \begin_layout Subsection*
2471 LFUN_LAYOUT_MODULES_CLEAR
2474 \begin_layout Description
2475 Action Clears the module list.
2479 \begin_layout Description
2480 Notion Clears the list of included modules for the current buffer.
2484 \begin_layout Description
2485 Syntax layout-modules-clear
2488 \begin_layout Description
2489 Origin rgh, 25 August 2007
2492 \begin_layout Subsection*
2493 LFUN_LAYOUT_MODULE_ADD
2496 \begin_layout Description
2497 Action Adds a module.
2501 \begin_layout Description
2502 Notion Adds a module to the list of included modules for the current buffer.
2506 \begin_layout Description
2507 Syntax layout-module-add <MODULE>
2510 \begin_layout Description
2511 Params <MODULE>: the module to be added
2514 \begin_layout Description
2515 Origin rgh, 25 August 2007
2518 \begin_layout Subsection*
2522 \begin_layout Description
2523 Action Reloads layout information.
2527 \begin_layout Description
2528 Notion Reloads all layout information for the current buffer from disk,
2529 thus recognizing any changes that have been made to layout files on the
2531 This is intended to be used only by layout developers and should not be
2532 used when one is trying to do actual work.
2536 \begin_layout Description
2537 Syntax layout-reload
2540 \begin_layout Description
2541 Origin rgh, 3 September 2007
2544 \begin_layout Subsection*
2545 LFUN_TEXTCLASS_APPLY
2548 \begin_layout Description
2549 Action Sets the text class for the current buffer.
2553 \begin_layout Description
2554 Syntax textclass-apply <TEXTCLASS>
2557 \begin_layout Description
2558 Params <TEXTCLASS>: the textclass to set.
2559 Note that this must be the filename, minus the ".layout" extension.
2563 \begin_layout Subsection*
2567 \begin_layout Description
2568 Action Loads information for a textclass from disk.
2572 \begin_layout Description
2573 Syntax textclass-load <TEXTCLASS>
2576 \begin_layout Description
2577 Params <TEXTCLASS>: the textclass to load.
2578 Note that this must be the filename, minus the ".layout" extension.
2582 \begin_layout Subsection*
2586 \begin_layout Description
2587 Action Disable selecting of text-region.
2591 \begin_layout Description
2595 \begin_layout Subsection*
2599 \begin_layout Description
2600 Action Enable selecting of text-region.
2604 \begin_layout Description
2605 Notion After enabling you can simply move arrow keys to get selected region.
2609 \begin_layout Description
2613 \begin_layout Subsection*
2617 \begin_layout Description
2618 Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
2622 \begin_layout Description
2626 \begin_layout Description
2627 Origin Andre, May 5 2006
2630 \begin_layout Subsection*
2634 \begin_layout Description
2635 Action Inserts math delimiters (e.g.
2636 parentheses, brackets) enclosing expression.
2640 \begin_layout Description
2641 Syntax math-delim [<LEFT>] [<RIGHT>]
2644 \begin_layout Description
2645 Params <LEFT/RIGHT>: Delimiters to be used.
2646 Each delimiter can be specified by either a LaTeX name or a valid character.
2647 ( is the default letter.
2651 \begin_layout Description
2652 Sample math-delim { rangle
2655 \begin_layout Description
2656 Origin Alejandro, 18 Jun 1996
2659 \begin_layout Subsection*
2663 \begin_layout Description
2664 Action Inserts math fixed size delimiters (e.g.
2665 parentheses, brackets) enclosing expression.
2669 \begin_layout Description
2670 Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
2673 \begin_layout Description
2674 Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
2675 \begin_inset Newline newline
2678 <L/RDELIM>: TeX code for delimiter.
2679 See Delimiter dialog for delimiters to be used.
2683 \begin_layout Description
2684 Sample math-bigdelim "Bigl" "Downarrow" "Bigr" "}"
2687 \begin_layout Description
2688 Origin Enrico & Georg, 7 May 2006
2691 \begin_layout Subsection*
2695 \begin_layout Description
2696 Action Creates a new displayed equation in text mode.
2697 Toggles inlined/display formula in math mode.
2701 \begin_layout Description
2702 Syntax math-display [<ARG>]
2705 \begin_layout Description
2706 Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating
2707 new equation from the text mode.
2711 \begin_layout Description
2712 Origin Alejandro, 18 Jun 1996
2715 \begin_layout Subsection*
2719 \begin_layout Description
2720 Action Inserts math objects and symbols.
2724 \begin_layout Description
2725 Syntax math-insert <ARG>
2728 \begin_layout Description
2729 Params <ARG>: Symbol or LaTeX code to be inserted.
2733 \begin_layout Subsection*
2737 \begin_layout Description
2738 Action Enters subscript expression in math expression.
2742 \begin_layout Description
2743 Syntax math-subscript
2746 \begin_layout Description
2747 Origin vermeer, 12 Dec 2001
2750 \begin_layout Subsection*
2751 LFUN_MATH_SUPERSCRIPT
2754 \begin_layout Description
2755 Action Enters subscript expression in math expression.
2759 \begin_layout Description
2760 Syntax math-superscript
2763 \begin_layout Description
2764 Origin vermeer, 12 Dec 2001
2767 \begin_layout Subsection*
2771 \begin_layout Description
2772 Action Toggles the position of the limits from above/below to the right
2773 side an vice versa in integral symbol, a limit, a summation, etc.
2777 \begin_layout Description
2778 Notion Put the cursor before the symbol with the limits and then invoke
2783 \begin_layout Description
2784 Syntax math-limits [<STATE>]
2787 \begin_layout Description
2788 Params <STATE>: limits|nolimits
2791 \begin_layout Subsection*
2795 \begin_layout Description
2796 Action Inserts a math macro definition at the cursor position in the text.
2800 \begin_layout Description
2801 Syntax math-macro <NAME> [<NARGS>] [def]
2804 \begin_layout Description
2805 Params <NAME>: The name of the macro, e.g.
2807 <NARGS>: The number of parameters of the macro.
2809 "def": Has no effect anymore, just for compatibility with former LyX versions.
2813 \begin_layout Description
2814 Origin ale, 10 May 1997; sts, 21 Dec 2007
2817 \begin_layout Subsection*
2821 \begin_layout Description
2822 Action Mutates the type of math inset to the newly selected one.
2826 \begin_layout Description
2827 Syntax math-mutate <TYPE>
2830 \begin_layout Description
2831 Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat|
2832 multline|gather|flalign
2835 \begin_layout Description
2836 Origin Andre, 23 May 2001
2839 \begin_layout Subsection*
2843 \begin_layout Description
2844 Action Inserts space into math expression.
2848 \begin_layout Description
2849 Notion Use spacebar after entering this space to change type of space.
2853 \begin_layout Description
2854 Syntax math-space [<TYPE>]
2857 \begin_layout Description
2858 Params <TYPE>: negative spaces: !|negmedspace|negthickspace
2859 \begin_inset Newline newline
2862 positive spaces: ,|:|;|quad|qquad
2863 \begin_inset Newline newline
2866 "," used by default.
2870 \begin_layout Description
2871 Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
2874 \begin_layout Subsection*
2878 \begin_layout Description
2879 Action Inserts a matrix.
2883 \begin_layout Description
2884 Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
2887 \begin_layout Description
2888 Params <ALIGN>: Alignment is a word composed of the vertical alignment (b,
2890 1 char) and the horizontal alignments (l, c or r) (i.e.
2895 \begin_layout Description
2896 Sample math-matrix 3 3 bccc
2899 \begin_layout Subsection*
2903 \begin_layout Description
2904 Action In text mode enters math mode (i.e.
2905 puts math insets on the current cursor position), in math mode enters text
2906 mode inside math expression.
2910 \begin_layout Description
2911 Notion If there is some selected text, it puts the text inside created math
2916 \begin_layout Description
2917 Syntax math-mode [<ARG>]
2920 \begin_layout Description
2921 Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT
2926 \begin_layout Description
2927 Origin Alejandro, 4 Jun 1996
2930 \begin_layout Subsection*
2931 LFUN_MATH_NUMBER_LINE_TOGGLE
2934 \begin_layout Description
2935 Action Toggles numbering of the current formula line.
2939 \begin_layout Description
2940 Notion Must be in display formula mode.
2944 \begin_layout Description
2945 Syntax math-number-line-toggle
2948 \begin_layout Description
2949 Origin Alejandro, 18 Jun 1996
2952 \begin_layout Subsection*
2953 LFUN_MATH_NUMBER_TOGGLE
2956 \begin_layout Description
2957 Action Toggles numbering/labeling of the current formula.
2961 \begin_layout Description
2962 Notion Must be in display formula mode.
2966 \begin_layout Description
2967 Syntax math-number-toggle
2970 \begin_layout Description
2971 Origin Alejandro, 4 Jun 1996
2974 \begin_layout Subsection*
2978 \begin_layout Description
2979 Action Calls external program and passes the current expression/equation
2980 as an argument for the calculation in the format appropriate to the given
2985 \begin_layout Description
2986 Notion Selection can be used to determine the input for the external program.
2990 \begin_layout Description
2991 Syntax math-extern <LANG> [<COMMAND>]
2994 \begin_layout Description
2995 Params <LANG>: octave|maxima|maple|mathematica|script
2996 \begin_inset Newline newline
2999 where "script" stands fot the external script (normalized expression will
3003 \begin_layout Description
3004 Origin Andre, 24 Apr 2001
3007 \begin_layout Description
3008 Sample math-extern maple simplify
3011 \begin_layout Subsection*
3015 \begin_layout Description
3016 Action Changes arbitrarily the size used by math fonts inside a context.
3020 \begin_layout Description
3021 Notion Provides an interface to the LaTeX math mode font size commands.
3025 \begin_layout Description
3026 Syntax math-size <STYLE>
3029 \begin_layout Description
3030 Params <STYLE>: displaystyle|
3039 \begin_layout Description
3040 Origin Alejandro, 15 Aug 1996; ps, 14 Jun 2008
3043 \begin_layout Subsection*
3044 LFUN_MATH_MACRO_UNFOLD
3047 \begin_layout Description
3048 Action Unfold a Math Macro.
3052 \begin_layout Description
3053 Notion Unfold the Math Macro the cursor is in, i.e.
3058 \begin_layout Description
3059 Syntax math-macro-unfold
3062 \begin_layout Description
3063 Origin sts, 06 January 2008
3066 \begin_layout Subsection*
3067 LFUN_MATH_MACRO_FOLD
3070 \begin_layout Description
3071 Action Fold a Math Macro.
3075 \begin_layout Description
3076 Notion Fold the Math Macro the cursor is in if it was unfolded, i.e.
3077 displayed as foo before.
3081 \begin_layout Description
3082 Syntax math-macro-fold
3085 \begin_layout Description
3086 Origin sts, 06 January 2008
3089 \begin_layout Subsection*
3090 LFUN_MATH_MACRO_ADD_PARAM
3093 \begin_layout Description
3094 Action Add a parameter.
3098 \begin_layout Description
3099 Notion Add a parameter to a Math Macro.
3103 \begin_layout Description
3104 Params <NUM>: The number of the parameter behind which the new one will
3105 be added (1 for the first, i.e.
3106 use 0 for add a parameter at the left), defaults to the last one.
3110 \begin_layout Description
3111 Syntax math-macro-add-param <NUM>
3114 \begin_layout Description
3115 Origin sts, 06 January 2008
3118 \begin_layout Subsection*
3119 LFUN_MATH_MACRO_REMOVE_PARAM
3122 \begin_layout Description
3123 Action Remove the last parameter.
3127 \begin_layout Description
3128 Notion Remove the last parameter of a Math Macro and remove its value in
3129 all instances of the macro in the buffer.
3133 \begin_layout Description
3134 Params <NUM>: The number of the parameter to be deleted (1 for the first),
3135 defaults to the last one.
3139 \begin_layout Description
3140 Syntax math-macro-remove-param <NUM>
3143 \begin_layout Description
3144 Origin sts, 06 January 2008
3147 \begin_layout Subsection*
3148 LFUN_MATH_MACRO_APPEND_GREEDY_PARAM
3151 \begin_layout Description
3152 Action Append a greedy parameter.
3156 \begin_layout Description
3157 Notion Append a greedy parameter to a Math Macro which eats the following
3158 mathed cell in every instance of the macro in the buffer.
3162 \begin_layout Description
3163 Syntax math-macro-append-greedy-param
3166 \begin_layout Description
3167 Origin sts, 06 January 2008
3170 \begin_layout Subsection*
3171 LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM
3174 \begin_layout Description
3175 Action Remove a greedy parameter.
3179 \begin_layout Description
3180 Notion Remove a greedy parameter of a Math Macro and spit out the values
3181 of it in every instance of the macro in the buffer.
3182 If it is an optional parameter the [valud] format is used.
3186 \begin_layout Description
3187 Syntax math-macro-remove-greedy-param
3190 \begin_layout Description
3191 Origin sts, 06 January 2008
3194 \begin_layout Subsection*
3195 LFUN_MATH_MACRO_MAKE_OPTIONAL
3198 \begin_layout Description
3199 Action Make a parameter optional.
3203 \begin_layout Description
3204 Notion Turn the first non-optional parameter of a Math Macro into an optional
3205 parameter with a default value.
3209 \begin_layout Description
3210 Syntax math-macro-make-optional
3213 \begin_layout Description
3214 Origin sts, 06 January 2008
3217 \begin_layout Subsection*
3218 LFUN_MATH_MACRO_MAKE_NONOPTIONAL
3221 \begin_layout Description
3222 Action Make a parameter non-optional.
3226 \begin_layout Description
3227 Notion Turn the last optional parameter of a Math Macro into a non-optional
3229 The default value is remembered to be reused later if the user changes
3234 \begin_layout Description
3235 Syntax math-macro-make-nonoptional
3238 \begin_layout Description
3239 Origin sts, 06 January 2008
3242 \begin_layout Subsection*
3243 LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM
3246 \begin_layout Description
3247 Action Add an optional parameter.
3251 \begin_layout Description
3252 Notion Insert an optional parameter just behind the already existing optional
3257 \begin_layout Description
3258 Syntax math-macro-add-optional-param
3261 \begin_layout Description
3262 Origin sts, 06 January 2008
3265 \begin_layout Subsection*
3266 LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
3269 \begin_layout Description
3270 Action Remove the last optional parameter.
3274 \begin_layout Description
3275 Notion Remove the last optional parameter of a Math Macro and remove it
3276 in all the instances of the macro in the buffer.
3280 \begin_layout Description
3281 Syntax math-macro-remove-optional-param
3284 \begin_layout Description
3285 Origin sts, 06 January 2008
3288 \begin_layout Subsection*
3289 LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM
3292 \begin_layout Description
3293 Action Add a greedy optional parameter.
3297 \begin_layout Description
3298 Notion Add a greedy optional parameter which eats the value from the following
3299 cells in mathed which are in the [value] format.
3303 \begin_layout Description
3304 Syntax math-macro-add-greedy-optional-param
3307 \begin_layout Description
3308 Origin sts, 06 January 2008
3311 \begin_layout Subsection*
3312 LFUN_IN_MATHMACROTEMPLATE
3315 \begin_layout Description
3316 Action Only active in Math Macro definition.
3320 \begin_layout Description
3321 Notion Dummy function which is only active in a Math Macro definition.
3322 It's used to toggle the Math Macro toolbar if the cursor moves into a Math
3327 \begin_layout Description
3328 Syntax in-mathmacrotemplate
3331 \begin_layout Description
3332 Origin sts, 06 January 2008
3335 \begin_layout Subsection*
3336 LFUN_PARAGRAPH_MOVE_DOWN
3339 \begin_layout Description
3340 Action Moves the current paragraph downwards in the document.
3344 \begin_layout Description
3345 Syntax paragraph-move-down
3348 \begin_layout Description
3349 Origin Edwin, 8 Apr 2006
3352 \begin_layout Subsection*
3353 LFUN_PARAGRAPH_MOVE_UP
3356 \begin_layout Description
3357 Action Moves the current paragraph upwards in the document.
3361 \begin_layout Description
3362 Syntax paragraph-move-up
3365 \begin_layout Description
3366 Origin Edwin, 8 Apr 2006
3369 \begin_layout Subsection*
3373 \begin_layout Description
3374 Action Move the cursor to the next paragraph (or begining of the current
3375 one) in upward direction.
3379 \begin_layout Description
3383 \begin_layout Description
3384 Origin Asger, 1 Oct 1996
3387 \begin_layout Subsection*
3388 LFUN_PARAGRAPH_UP_SELECT
3391 \begin_layout Description
3392 Action Move the cursor and select the text to the next paragraph (or begining
3393 of the current one) in upward direction.
3397 \begin_layout Description
3398 Syntax paragraph-up-select
3401 \begin_layout Description
3402 Origin Asger, 1 Oct 1996
3405 \begin_layout Subsection*
3409 \begin_layout Description
3410 Action Move the cursor to the next paragraph (or begining of the current
3411 one) in downward direction.
3415 \begin_layout Description
3416 Syntax paragraph-down
3419 \begin_layout Description
3420 Origin Asger, 1 Oct 1996
3423 \begin_layout Subsection*
3424 LFUN_PARAGRAPH_DOWN_SELECT
3427 \begin_layout Description
3428 Action Move the cursor and select the text to the next paragraph (or begining
3429 of the current one) in downward direction.
3433 \begin_layout Description
3434 Syntax paragraph-down-select
3437 \begin_layout Description
3438 Origin Asger, 1 Oct 1996
3441 \begin_layout Subsection*
3445 \begin_layout Description
3446 Action Jump to a paragraph given by its id number and optionally the desired
3447 position within the paragraph.
3451 \begin_layout Description
3452 Notion Note that id number of paragraph is not the sequential number of
3453 paragraph seen on the screen.
3454 Moreover the id is unique for all opened buffers (documents).
3458 \begin_layout Description
3459 Syntax paragraph-goto <PAR_ID_NUMBER> <POSITION_IN_PAR>
3462 \begin_layout Description
3463 Params <PAR_ID_NUMBER>: paragraph id
3464 \begin_inset Newline newline
3467 <POSITION_IN_PAR>: desired position within the paragraph
3470 \begin_layout Description
3471 Origin Dekel, 26 Aug 2000
3474 \begin_layout Subsection*
3475 LFUN_BREAK_PARAGRAPH
3478 \begin_layout Description
3479 Action Breaks the current paragraph at the current location.
3483 \begin_layout Description
3484 Syntax break-paragraph
3487 \begin_layout Subsection*
3488 LFUN_BREAK_PARAGRAPH
3491 \begin_layout Description
3492 Action Breaks the current paragraph at the current location.
3496 \begin_layout Description
3497 Notion Removes the selection.
3501 \begin_layout Description
3502 Syntax break-paragraph [<LAYOUT>]
3505 \begin_layout Description
3506 Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to
3507 default layout) when the cursor is at the end of the line.
3511 \begin_layout Subsection*
3512 LFUN_PARAGRAPH_PARAMS
3515 \begin_layout Description
3516 Action Change paragraph settings.
3520 \begin_layout Description
3521 Notion Modifies the current paragraph, or currently selected paragraphs.
3522 This function only modifies, and does not override, existing settings.
3523 Note that the "leftindent" indent setting is deprecated.
3527 \begin_layout Description
3528 Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
3531 \begin_layout Description
3541 \begin_inset Newline newline
3546 paragraph_spacing default|single|onehalf|double|other
3547 \begin_inset Newline newline
3552 align block|left|right|center|default
3553 \begin_inset Newline newline
3558 labelwidthstring WIDTH|
3561 \begin_inset Newline newline
3567 \begin_layout Description
3568 Origin rgh, Aug 15 2007
3571 \begin_layout Subsection*
3572 LFUN_PARAGRAPH_PARAMS_APPLY
3575 \begin_layout Description
3576 Action Change paragraph settings.
3580 \begin_layout Description
3581 Notion Overwrite all nonspecified settings to the default ones.
3582 Use paragraph-params lfun if you don't want to overwrite others settings.
3586 \begin_layout Description
3587 Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
3590 \begin_layout Description
3591 Params For parameters see LFUN_PARAGRAPH_PARAMS
3594 \begin_layout Description
3595 Origin leeming, 30 Mar 2004
3598 \begin_layout Subsection*
3599 LFUN_PARAGRAPH_UPDATE
3602 \begin_layout Description
3603 Action Updates the values inside the paragraph dialog from the paragraph.
3607 \begin_layout Description
3608 Notion This is internal LFUN, not to be used by users.
3609 Called internally by LFUN_DIALOG_UPDATE.
3613 \begin_layout Description
3614 Origin leeming, 13 Mar 2003
3617 \begin_layout Subsection*
3621 \begin_layout Description
3622 Action Move the current group in the upward direction in the structure of
3627 \begin_layout Description
3628 Notion The "group" can be Part/Chapter/Section/etc.
3629 It moves the whole substructure of the group.
3633 \begin_layout Description
3637 \begin_layout Description
3638 Origin Vermeer, 23 Mar 2006
3641 \begin_layout Subsection*
3645 \begin_layout Description
3646 Action Move the current group in the downward direction in the structure
3651 \begin_layout Description
3652 Notion The "group" can be Part/Chapter/Section/etc.
3653 It moves the whole substructure of the group.
3657 \begin_layout Description
3661 \begin_layout Description
3662 Origin Vermeer, 23 Mar 2006
3665 \begin_layout Subsection*
3669 \begin_layout Description
3670 Action Moves the current group in the downward direction in the hierarchy
3671 of the document structure.
3675 \begin_layout Description
3676 Notion Part -> Chapter -> Section -> etc.
3680 \begin_layout Description
3684 \begin_layout Description
3685 Origin Vermeer, 23 Mar 2006
3688 \begin_layout Subsection*
3692 \begin_layout Description
3693 Action Moves the current group in the upward direction in the hierarchy
3694 of the document structure.
3698 \begin_layout Description
3699 Notion Part <- Chapter <- Section <- etc.
3703 \begin_layout Description
3707 \begin_layout Description
3708 Origin Vermeer, 23 Mar 2006
3711 \begin_layout Subsection*
3715 \begin_layout Description
3716 Action Edit the inset at cursor with an external application, *
3717 if one is attributed.
3721 \begin_layout Description
3722 Syntax inset-edit [<INSET_PARAMS>]
3725 \begin_layout Description
3726 Params <INSET_PARAMS>: Parameters for the inset.
3728 \begin_inset Newline newline
3731 Currently only the filename will be considered.
3735 \begin_layout Description
3736 Origin JSpitzm, 27 Apr 2006
3739 \begin_layout Subsection*
3743 \begin_layout Description
3744 Action Inserts table into the document.
3748 \begin_layout Description
3749 Syntax tabular-insert [<ROWS> <COLUMNS>]
3752 \begin_layout Description
3753 Params In case no arguments are given show insert dialog.
3757 \begin_layout Description
3758 Origin Jug, 12 Apr 2000
3761 \begin_layout Subsection*
3762 LFUN_TABULAR_FEATURE
3765 \begin_layout Description
3766 Action Sets various features to the table/cell on the current cursor position.
3770 \begin_layout Description
3771 Notion Various math-environment features are handled here as well, e.g.
3772 add-vline-left/right for Grid/Cases environment
3775 \begin_layout Description
3776 Syntax tabular-feature <FEATURE> [<ARG>]
3779 \begin_layout Description
3780 Params <FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|cop
3781 y-column| toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right|
3782 align-left|align-right|align-center|align-block|valign-top|valign-bottom|
3783 valign-middle|m-align-left|m-align-right|m-align-center|m-valign-top| m-valign-
3784 bottom|m-valign-middle|multicolumn|set-all-lines|unset-all-lines| set-longtabula
3785 r|unset-longtabular|set-pwidth|set-mpwidth| set-rotate-tabular|unset-rotate-tabu
3786 lar|toggle-rotate-tabular| set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|
3787 set-usebox|set-lthead| unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot
3788 |unset-ltfoot| set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption|
3789 set-special-column|set-special-multi|set-booktabs|unset-booktabs| set-top-space
3790 |set-bottom-space|set-interline-space|set-border-lines
3791 \begin_inset Newline newline
3794 <ARG>: additional argument for some commands, use debug mode to explore
3799 \begin_layout Description
3800 Origin Jug, 28 Jul 2000
3803 \begin_layout Subsection*
3807 \begin_layout Description
3808 Action Moves the cursor to the previous cell inside the table.
3812 \begin_layout Description
3813 Syntax cell-backward
3816 \begin_layout Description
3817 Origin Jug, 22 May 2000
3820 \begin_layout Subsection*
3824 \begin_layout Description
3825 Action Moves the cursor to the next cell inside the table.
3829 \begin_layout Description
3833 \begin_layout Subsection*
3837 \begin_layout Description
3838 Action Splits cell and shifts right part to the next cell (inside the math
3843 \begin_layout Description
3847 \begin_layout Description
3848 Origin Ale, 15 May 1997
3851 \begin_layout Subsection*
3855 \begin_layout Description
3856 Action Register the document as an file inside version control system (RCS,
3861 \begin_layout Description
3862 Notion File is registered inside cvs, svn or rcs repository acording to
3863 the existence of cvs/svn/rcs entries in the document's directory.
3865 \begin_inset Newline newline
3868 See LyX Extended Manual (Version Control Chapter) for additional information.
3872 \begin_layout Description
3876 \begin_layout Description
3877 Origin Lgb, 1 Jul 1997
3880 \begin_layout Subsection*
3884 \begin_layout Description
3885 Action Checks-in/commits the changes of the registered file to the repository.
3889 \begin_layout Description
3890 Notion In RCS case this also unlocks the file.
3894 \begin_layout Description
3898 \begin_layout Description
3899 Origin Lgb, 1 Jul 1997
3902 \begin_layout Subsection*
3906 \begin_layout Description
3907 Action Checks-out the document for edit (and locks it for RCS).
3911 \begin_layout Description
3912 Notion This is implemented only for RCS and SVN, not CVS.
3916 \begin_layout Description
3920 \begin_layout Description
3921 Origin Lgb, 1 Jul 1997
3924 \begin_layout Subsection*
3928 \begin_layout Description
3929 Action Reverts the document to the last check-in/commit in VCS.
3933 \begin_layout Description
3937 \begin_layout Description
3938 Origin Lgb, 1 Jul 1997
3941 \begin_layout Subsection*
3945 \begin_layout Description
3946 Action Undo last check-in.
3950 \begin_layout Description
3951 Notion This is currently implemented only for RCS.
3955 \begin_layout Description
3959 \begin_layout Description
3960 Origin Lgb, 1 Jul 1997
3963 \begin_layout Subsection*
3967 \begin_layout Description
3968 Action Toggles change tracking to on/off.
3972 \begin_layout Description
3973 Syntax changes-track
3976 \begin_layout Description
3977 Origin levon, 1 Oct 2002
3980 \begin_layout Subsection*
3984 \begin_layout Description
3985 Action Toggles showing of change tracking in typesetted output.
3989 \begin_layout Description
3990 Syntax changes-output
3993 \begin_layout Description
3994 Origin jspitzm, 21 Jan 2005
3997 \begin_layout Subsection*
4001 \begin_layout Description
4002 Action Moves the cursor to the position of the next change of the change
4007 \begin_layout Description
4011 \begin_layout Description
4012 Origin schmitt, 4 Oct 2006
4015 \begin_layout Subsection*
4019 \begin_layout Description
4020 Action Open change tracking dialog for merging and moves the cursor to the
4021 position of the next change.
4025 \begin_layout Description
4026 Syntax changes-merge
4029 \begin_layout Description
4030 Origin Levon, 16 Oct 2002
4033 \begin_layout Subsection*
4037 \begin_layout Description
4038 Action Accepts tracked change inside the selection.
4042 \begin_layout Description
4043 Syntax change-accept
4046 \begin_layout Description
4047 Origin Levon, 16 Oct 2002
4050 \begin_layout Subsection*
4054 \begin_layout Description
4055 Action Rejects tracked change inside the selection.
4059 \begin_layout Description
4060 Syntax change-accept
4063 \begin_layout Description
4064 Origin Levon, 16 Oct 2002
4067 \begin_layout Subsection*
4068 LFUN_ALL_CHANGES_ACCEPT
4071 \begin_layout Description
4072 Action Accepts all tracked changes in the document.
4076 \begin_layout Description
4077 Syntax all-changes-accept
4080 \begin_layout Description
4081 Origin Levon, 16 Oct 2002
4084 \begin_layout Subsection*
4085 LFUN_ALL_CHANGES_REJECT
4088 \begin_layout Description
4089 Action Rejects all tracked changes in the document.
4093 \begin_layout Description
4094 Notion Reject does not work recursively; the user may have to repeat the
4099 \begin_layout Description
4100 Syntax all-changes-reject
4103 \begin_layout Description
4104 Origin Levon, 16 Oct 2002
4107 \begin_layout Subsection*
4111 \begin_layout Description
4112 Action Apply data for an inset.
4116 \begin_layout Description
4117 Notion LFUN_INSET_APPLY is sent from the dialogs when the data should be
4119 This is either changed to LFUN_INSET_MODIFY or LFUN_INSET_INSERT depending
4120 on the context where it is called.
4124 \begin_layout Description
4125 Syntax inset-apply <ARGS>
4128 \begin_layout Description
4129 Params See LFUN_INSET_INSERT .
4133 \begin_layout Subsection*
4137 \begin_layout Description
4138 Action Dissolve the current inset into text.
4142 \begin_layout Description
4143 Syntax inset-dissolve [<INSET>]
4146 \begin_layout Description
4147 Params <INSET>: this can be used to make sure the right kind of inset is
4149 For example "dissolve" entry in the charstyles sub-menu should only dissolve
4150 the charstyle inset, even if the cursor is inside several nested insets
4153 \begin_inset Newline newline
4156 For values see lyx::InsetLayout::lyxtype_ .
4160 \begin_layout Description
4161 Origin JSpitz, 7 Aug 2006
4164 \begin_layout Subsection*
4168 \begin_layout Description
4169 Action Insert new inset (type given by the parameters).
4173 \begin_layout Description
4174 Syntax inset-insert <INSET> <ARGS>
4177 \begin_layout Description
4178 Params <INSET>: <bibitem|bibtex|cite|ert|listings|external|graphics| hyperlink|i
4179 nclude|index|label|nomencl|vspace|ref|toc>
4180 \begin_inset Newline newline
4183 <ARGS>: depends on the given inset.
4184 Use "lyx -dbg action" to explore.
4188 \begin_layout Description
4189 Sample inset-insert ref LatexCommand <Format> reference "<label name>"
4192 \begin_inset Newline newline
4195 where <label name> is the name of the referenced label and<Format> is one
4197 \begin_inset Newline newline
4201 \begin_inset Newline newline
4204 eqref -- (<reference>)
4205 \begin_inset Newline newline
4209 \begin_inset Newline newline
4212 vpageref -- on <page>
4213 \begin_inset Newline newline
4216 vref -- <reference> on <page>
4217 \begin_inset Newline newline
4220 prettyref -- Formatted reference
4223 \begin_layout Subsection*
4227 \begin_layout Description
4228 Action Modify existing inset.
4232 \begin_layout Description
4233 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4234 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4239 \begin_layout Description
4240 Syntax inset-modify <INSET> <ARGS>
4243 \begin_layout Description
4244 Params See LFUN_INSET_INSERT for further details.
4248 \begin_layout Subsection*
4249 LFUN_NEXT_INSET_MODIFY
4252 \begin_layout Description
4253 Action Modify the inset at cursor position, if there is one.
4257 \begin_layout Description
4258 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4259 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4264 \begin_layout Description
4265 Syntax next-inset-modify <INSET> <ARGS>
4268 \begin_layout Description
4269 Syntax next-inset-modify changetype <TYPE>
4272 \begin_layout Description
4273 Params See LFUN_INSET_INSERT for further details.
4277 \begin_layout Description
4278 Origin JSpitzm, 23 Mar 2008
4281 \begin_layout Subsection*
4282 LFUN_INSET_DIALOG_UPDATE
4285 \begin_layout Description
4286 Action Updates the values inside the dialog from the inset.
4290 \begin_layout Description
4291 Notion This is internal LFUN, not to be used by users.
4292 Called internally by LFUN_DIALOG_UPDATE
4295 \begin_layout Description
4296 Params <DIALOG-NAME>
4299 \begin_layout Description
4300 Origin leeming, 25 Feb 2003
4303 \begin_layout Subsection*
4307 \begin_layout Description
4308 Action Open the inset's properties dialog.
4312 \begin_layout Description
4313 Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets.
4317 \begin_layout Description
4318 Syntax inset-settings <INSET>
4321 \begin_layout Description
4322 Params <INSET>: <box|branch|ert|float|listings|note|tabular|wrap>
4325 \begin_layout Subsection*
4326 LFUN_NEXT_INSET_TOGGLE
4329 \begin_layout Description
4330 Action Toggles the inset at cursor position.
4331 For collapsables, this means it will be (un-)collapsed, in case of other
4332 insets, the editing widget (dialog) will be entered.
4334 LFUN_INSET_SETTINGS.
4338 \begin_layout Description
4339 Notion Used for label, floats, listings, box, branch, external, wrap bibtex,
4340 ert, command, graphics, note, space, vspace, tabular, bibitem, inlude,
4345 \begin_layout Description
4346 Syntax next-inset-toggle <ARG>
4349 \begin_layout Description
4350 Params <ARG>: these are passed as arguments to LFUN_INSET_TOGGLE .
4354 \begin_layout Description
4355 Origin leeming, 30 Mar 2004
4358 \begin_layout Subsection*
4362 \begin_layout Description
4363 Action Toggles the collapsable inset we are currently in.
4367 \begin_layout Description
4368 Syntax inset-toggle [<ARG>]
4371 \begin_layout Description
4372 Params <ARG>: <open|close|toggle|assign>.
4374 \begin_inset Newline newline
4377 open/close/toggle are for collapsable insets.
4378 close can be currently used by LFUN_NEXT_INSET_TOGGLE.
4379 toggle is used when no argument is given.
4381 \begin_inset Newline newline
4384 assign is for branch inset.
4388 \begin_layout Description
4389 Origin lasgouttes, 19 Jul 2001
4392 \begin_layout Subsection*
4393 LFUN_ALL_INSETS_TOGGLE
4396 \begin_layout Description
4397 Action Toggles (open/closes) all collapsable insets (of a given type) in
4402 \begin_layout Description
4403 Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets.
4407 \begin_layout Description
4408 Syntax all-insets-toggle <STATE> <INSET>
4411 \begin_layout Description
4412 Params <STATE>: <toggle|open|close> default: toggle
4413 \begin_inset Newline newline
4416 <INSET>: <box|branch|ert|float|listings|note|tabular|wrap> default: all
4420 \begin_layout Description
4421 Origin leeming, 30 Mar 2004
4424 \begin_layout Subsection*
4425 LFUN_SET_GRAPHICS_GROUP
4428 \begin_layout Description
4429 Action Set the group for the graphics inset on the cursor position.
4433 \begin_layout Description
4434 Syntax set-graphics-group [<GROUP>]
4437 \begin_layout Description
4438 Params <GROUP>: Id for an existing group.
4439 In case the Id is an empty string, the graphics inset is removed from the
4444 \begin_layout Description
4445 Origin sanda, 6 May 2008
4448 \begin_layout Subsection*
4449 LFUN_FINISHED_FORWARD
4452 \begin_layout Description
4453 Action Moves the cursor out of the current slice, going forward.
4457 \begin_layout Description
4458 Notion Cursor movement within an inset may be different than cursor movement
4459 in the surrounding text.
4460 This action should be called automatically by the cursor movement within
4461 the inset, when movement within the inset has ceased (reached the end of
4462 the last paragraph, for example), in order to move correctly back into
4463 the surrounding text.
4467 \begin_layout Subsection*
4468 LFUN_FINISHED_BACKWARD
4471 \begin_layout Description
4472 Action Moves the cursor out of the current slice, going backwards.
4476 \begin_layout Description
4477 Notion See also LFUN_FINISHED_FORWARD.
4481 \begin_layout Subsection*
4485 \begin_layout Description
4486 Action Moves the cursor out of the current slice, going right.
4490 \begin_layout Description
4491 Notion See also LFUN_FINISHED_FORWARD
4494 \begin_layout Subsection*
4498 \begin_layout Description
4499 Action Moves the cursor out of the current slice, going left.
4503 \begin_layout Description
4504 Notion See also LFUN_FINISHED_FORWARD.
4508 \begin_layout Subsection*
4512 \begin_layout Description
4513 Action Set language from the current cursor position.
4517 \begin_layout Description
4518 Syntax language <LANG>
4521 \begin_layout Description
4522 Params <LANG>: Requested language.
4523 Look in lib/languages for the list.
4527 \begin_layout Description
4528 Origin Dekel, 2 Mar 2000
4531 \begin_layout Subsection*
4535 \begin_layout Description
4536 Action Goto a label.
4540 \begin_layout Description
4541 Syntax label-goto [<LABEL>]
4544 \begin_layout Description
4545 Params <LABEL>: Requested label.
4546 If no label is given and refernce is on cursor position, Bookmark 0 is
4547 saved and cursor moves to the position of referenced label.
4551 \begin_layout Description
4552 Origin Ale, 6 Aug 1997
4555 \begin_layout Subsection*
4559 \begin_layout Description
4560 Action Inserts label to text or displayed formula.
4564 \begin_layout Description
4565 Syntax label-insert [<LABEL>]
4568 \begin_layout Description
4569 Params <LABEL>: Requested label.
4570 If no label is given dialog requesting name will be opened.
4574 \begin_layout Subsection*
4578 \begin_layout Description
4579 Action Go to the next label or cross-reference.
4583 \begin_layout Description
4584 Syntax reference-next
4587 \begin_layout Description
4588 Origin Dekel, 14 Jan 2001
4591 \begin_layout Subsection*
4595 \begin_layout Description
4596 Action Goto a bookmark.
4600 \begin_layout Description
4601 Notion Moves the cursor to the numbered bookmark, opening the file if necessary.
4602 Note that bookmarsk are saved per-session, not per file.
4606 \begin_layout Description
4607 Syntax bookmark-goto <NUMBER>
4610 \begin_layout Description
4611 Params <NUMBER>: the number of the bookmark to restore.
4615 \begin_layout Description
4616 Origin Dekel, 27 January 2001
4619 \begin_layout Subsection*
4623 \begin_layout Description
4624 Action Save a bookmark.
4628 \begin_layout Description
4629 Notion Saves a numbered bookmark to the sessions file.
4630 The number must be between 1 and 9, inclusive.
4631 Note that bookmarks are saved per-session, not per file.
4635 \begin_layout Description
4636 Syntax bookmark-save <NUMBER>
4639 \begin_layout Description
4640 Params <NUMBER>: the number of the bookmark to save.
4644 \begin_layout Description
4645 Origin Dekel, 27 January 2001
4648 \begin_layout Subsection*
4652 \begin_layout Description
4653 Action Clears the list of saved bookmarks.
4657 \begin_layout Description
4658 Syntax bookmark-clear
4661 \begin_layout Description
4662 Origin bpeng, 31 October 2006
4665 \begin_layout Subsection*
4669 \begin_layout Description
4670 Action Open the given help file according to the language setting.
4674 \begin_layout Description
4675 Syntax help-open <FILE>[.lyx]
4678 \begin_layout Description
4679 Params <FILE>: any document from (/usr/share/)doc directory.
4683 \begin_layout Description
4684 Origin Jug, 27 Jun 1999
4687 \begin_layout Subsection*
4691 \begin_layout Description
4692 Action Terminates the current LyX instance.
4696 \begin_layout Description
4697 Notion Terminates the current LyX instance, asking whether to save modified
4702 \begin_layout Description
4706 \begin_layout Subsection*
4710 \begin_layout Description
4711 Action Toggles visibility of a given toolbar between on/off/auto.
4715 \begin_layout Description
4716 Notion Skiping "auto" when allowauto is false.
4720 \begin_layout Description
4721 Syntax toolbar-toggle <NAME> [allowauto]
4724 \begin_layout Description
4725 Params <NAME>: standard|extra|table|math|mathmacrotemplate| minibuffer|review|vi
4726 ew/update|math_panels|vcs
4729 \begin_layout Description
4730 Origin Edwin, 21 May 2007
4733 \begin_layout Subsection*
4737 \begin_layout Description
4738 Action Opens the menu given by its name.
4742 \begin_layout Description
4743 Syntax menu-open <NAME>
4746 \begin_layout Description
4747 Params <NAME>: menu name.
4748 See various .inc files in lib/ui for candidates.
4752 \begin_layout Subsection*
4756 \begin_layout Description
4757 Action Various UI visibility-toggling actions.
4761 \begin_layout Description
4762 Syntax ui-toggle <statusbar|menubar|frame|fullscreen>
4765 \begin_layout Description
4766 Params statusbar : Toggle visibility of the statusbar.
4768 \begin_inset Newline newline
4771 menubar : Toggle visibility of the menubar.
4773 \begin_inset Newline newline
4776 scrollbar : Toggle visibility of the scrollbar.
4778 \begin_inset Newline newline
4781 frame : Toggle visibility of the frames around editing window.
4783 \begin_inset Newline newline
4786 fullscreen : Toggle fullscreen mode.
4787 This also covers calling the previous functions.
4788 However LFUN_TOOLBAR_TOGGLE for the custom tweaks of the toolbars should
4793 \begin_layout Description
4794 Origin sanda, 9 Feb 2007
4797 \begin_layout Subsection*
4801 \begin_layout Description
4802 Action Creates new empty LyX window.
4806 \begin_layout Description
4807 Notion Already opened documents from the previous window can be found under
4812 \begin_layout Description
4813 Syntax window-new [<GEOMETRY>]
4816 \begin_layout Description
4817 Params <GEOMETRY>: pass the geometry of the window.
4818 This parameter is currently accepted only on Windows platform.
4822 \begin_layout Description
4823 Origin Abdel, 21 Oct 2006
4826 \begin_layout Subsection*
4830 \begin_layout Description
4831 Action Closes the current LyX window.
4835 \begin_layout Description
4839 \begin_layout Description
4840 Origin Abdel, 23 Oct 2006
4843 \begin_layout Subsection*
4847 \begin_layout Description
4848 Action Creates another split view of current buffer.
4852 \begin_layout Description
4853 Notion All split views act in the same way indpendently.
4857 \begin_layout Description
4858 Syntax split-view <vertical|horizontal>
4861 \begin_layout Description
4862 Params horizontal : The work areas are laid out side by side.
4864 \begin_inset Newline newline
4867 vertical : The work areas laid out vertically.
4871 \begin_layout Description
4872 Origin Abdel, 20 Feb 2008
4875 \begin_layout Subsection*
4876 LFUN_CLOSE_TAB_GROUP
4879 \begin_layout Description
4880 Action Close the current tab group.
4884 \begin_layout Description
4885 Notion This only closes the work areas, not the buffer themselves.
4886 The still opened buffers can be visualized in another tab group.
4890 \begin_layout Description
4891 Syntax close-tab-group
4894 \begin_layout Description
4895 Origin Abdel, 21 Feb 2008
4898 \begin_layout Subsection*
4902 \begin_layout Description
4903 Action Shows hidden dialog or create new one for a given function/inset
4908 \begin_layout Description
4909 Syntax dialog-show <NAME> [<DATA>]
4912 \begin_layout Description
4913 Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
4915 \begin_inset Newline newline
4918 document|errorlist|ert|external|file|findreplace|float|graphics|
4919 \begin_inset Newline newline
4922 include|index|info|nomenclature|label|log|mathdelimiter|mathmatrix|
4923 \begin_inset Newline newline
4926 note|paragraph|prefs|print|ref|sendto|space|spellchecker|symbols|
4927 \begin_inset Newline newline
4930 tabular|tabularcreate|thesaurus|texinfo|toc|href|view-source|vspace
4931 \begin_inset Newline newline
4934 wrap|listings|<SPECIAL>
4935 \begin_inset Newline newline
4938 <SPECIAL>: latexlog|vclog
4939 \begin_inset Newline newline
4942 <DATA>: data, usually settings for the given dialog.
4943 Use debug mode for the details.
4947 \begin_layout Description
4948 Origin leeming, 17 Jun 2003
4951 \begin_layout Subsection*
4952 LFUN_DIALOG_SHOW_NEW_INSET
4955 \begin_layout Description
4956 Action Shows hidden dialog or create new one for a given inset settings
4961 \begin_layout Description
4962 Notion Internally uses LFUN_DIALOG_SHOW with processed data for a given
4967 \begin_layout Description
4968 Syntax dialog-show-new-inset <NAME> [<DATA>]
4971 \begin_layout Description
4972 Params See LFUN_DIALOG_SHOW .
4976 \begin_layout Description
4977 Origin leeming, 25 Feb 2003
4980 \begin_layout Subsection*
4984 \begin_layout Description
4985 Action Updates the dialog values from the inset/paragraph/document.
4989 \begin_layout Description
4990 Syntax dialog-update <NAME>
4993 \begin_layout Description
4994 Params <NAME>: paragraph|prefs|<INSET>
4995 \begin_inset Newline newline
5001 \begin_layout Description
5002 Origin leeming, 25 Feb 2003
5005 \begin_layout Subsection*
5009 \begin_layout Description
5010 Action Hides showed dialog.
5011 Counterpart to LFUN_DIALOG_SHOW .
5015 \begin_layout Description
5016 Syntax dialog-hide <NAME>
5019 \begin_layout Description
5020 Params See LFUN_DIALOG_SHOW .
5024 \begin_layout Description
5025 Origin leeming, 25 Feb 2003
5028 \begin_layout Subsection*
5032 \begin_layout Description
5033 Action Toggles dialog between showed/hidden state.
5037 \begin_layout Description
5038 Notion Internally uses LFUN_DIALOG_SHOW , LFUN_DIALOG_HIDE .
5042 \begin_layout Description
5043 Syntax dialog-toggle <NAME> [<DATA>]
5046 \begin_layout Description
5047 Params See LFUN_DIALOG_SHOW .
5051 \begin_layout Description
5052 Origin JSpitzm, 30 Apr 2007
5055 \begin_layout Subsection*
5056 LFUN_DIALOG_DISCONNECT_INSET
5059 \begin_layout Description
5060 Action Closes opened connection to opened inset.
5064 \begin_layout Description
5065 Notion Connection is used for apply functions.
5069 \begin_layout Description
5070 Syntax dialog-disconnect-inset <INSET-NAME>
5073 \begin_layout Description
5074 Origin leeming, 25 Feb 2003
5077 \begin_layout Subsection*
5081 \begin_layout Description
5082 Action This function is called when mouse button is pressed (inside workarea).Act
5083 ion depends on the context.
5087 \begin_layout Description
5088 Notion This is internal LFUN, not to be used by users.
5092 \begin_layout Description
5093 Origin Andre, 9 Aug 2002
5096 \begin_layout Subsection*
5100 \begin_layout Description
5101 Action This function is called when double click on mouse button is pressed
5103 Action depends on the context.
5107 \begin_layout Description
5108 Notion This is internal LFUN, not to be used by users.
5112 \begin_layout Description
5113 Origin Andre, 9 Aug 2002
5116 \begin_layout Subsection*
5120 \begin_layout Description
5121 Action This function is called when triple click on mouse button is pressed
5123 Action depends on the context.
5127 \begin_layout Description
5128 Notion This is internal LFUN, not to be used by users.
5132 \begin_layout Description
5133 Origin Andre, 9 Aug 2002
5136 \begin_layout Subsection*
5140 \begin_layout Description
5141 Action This function is called when mouse cursor is moving over the text.Action
5142 depends on the context.
5146 \begin_layout Description
5147 Notion This is internal LFUN, not to be used by users.
5151 \begin_layout Description
5152 Origin Andre, 9 Aug 2002
5155 \begin_layout Subsection*
5159 \begin_layout Description
5160 Action This function is called when mouse button is released (inside workarea).Ac
5161 tion depends on the context.
5165 \begin_layout Description
5166 Notion This is internal LFUN, not to be used by users.
5170 \begin_layout Description
5171 Origin Andre, 9 Aug 2002
5174 \begin_layout Subsection*
5178 \begin_layout Description
5179 Action Turn off the loaded keyboard map.
5183 \begin_layout Description
5187 \begin_layout Subsection*
5191 \begin_layout Description
5192 Action Turn on the primary keyboard map.
5196 \begin_layout Description
5197 Notion Maps were widely used in past, when X-windows didn't have nowadays
5199 They can be still used to maintain uniform keyboard layout across the various
5202 \begin_inset Newline newline
5205 The language is to be set in the Preferences dialog.
5209 \begin_layout Description
5210 Syntax keymap-primary
5213 \begin_layout Subsection*
5214 LFUN_KEYMAP_SECONDARY
5217 \begin_layout Description
5218 Action Turn on the secondary keyboard map.
5222 \begin_layout Description
5223 Syntax keymap-secondary
5226 \begin_layout Subsection*
5230 \begin_layout Description
5231 Action Toggles keyboard maps (first/second/off).
5235 \begin_layout Description
5236 Syntax keymap-toggle
5239 \begin_layout Description
5240 Origin leeming, 30 Mar 2004
5243 \begin_layout Subsection*
5244 LFUN_SERVER_GET_LAYOUT
5247 \begin_layout Description
5248 Action Returns the current layout (that is environment) name on the cursor
5253 \begin_layout Description
5254 Syntax server-get-layout
5257 \begin_layout Subsection*
5258 LFUN_SERVER_GET_FILENAME
5261 \begin_layout Description
5262 Action Returns path and file name of the currently edited document.
5266 \begin_layout Description
5267 Syntax server-get-filename
5270 \begin_layout Subsection*
5271 LFUN_SERVER_GOTO_FILE_ROW
5274 \begin_layout Description
5275 Action Sets the cursor position based on the row number of generated TeX
5280 \begin_layout Description
5281 Syntax server-goto-file-row <LYX_FILE_NAME> <ROW_NUMBER>
5284 \begin_layout Description
5285 Origin Edmar, 23 Dec 1998
5288 \begin_layout Subsection*
5292 \begin_layout Description
5293 Action Sends notify message about the last key-sequence to client.
5297 \begin_layout Description
5298 Notion This can be used to grab last key-sequence used inside the LyX window.
5302 \begin_layout Description
5303 Syntax server-notify
5306 \begin_layout Subsection*
5310 \begin_layout Description
5311 Action Sets the cursor position based on the editing area coordinates (similar
5312 as clicking on that point with left mouse button).
5316 \begin_layout Description
5317 Syntax server-set-xy <X> <Y>
5320 \begin_layout Subsection*
5324 \begin_layout Description
5325 Action Returns the coordinates of cursor position in the editing area.
5329 \begin_layout Description
5330 Syntax server-get-xy
5333 \begin_layout Subsection*
5337 \begin_layout Description
5338 Action Generates the code (literate programming).
5342 \begin_layout Description
5343 Notion Latex file with extension literate_extension is generated.
5344 Then LyX invokes build_command (with a default of``make'') to generate
5345 the code and build_error_filter to process the compilation error messages.
5347 \begin_inset Newline newline
5350 In case you want to process your literate file with a script, or some other
5351 program, just insert in your lyxrc file an entry with:
5352 \begin_inset Newline newline
5355 build_command "my_script my_arguments"
5356 \begin_inset Newline newline
5359 The build_error_filter differs from the literate_error_filter only in that
5360 the former will identify error messages from your compiler.
5364 \begin_layout Description
5365 Syntax build-program
5368 \begin_layout Subsection*
5369 LFUN_BUFFER_AUTO_SAVE
5372 \begin_layout Description
5373 Action Saves the current buffer to a temporary file.
5377 \begin_layout Description
5378 Notion Saves the current buffer to a file named "#filename#".
5379 This LFUN is called automatically by LyX, to "autosave" the current buffer.
5383 \begin_layout Description
5384 Syntax buffer-auto-save
5387 \begin_layout Subsection*
5388 LFUN_BUFFER_CHILD_OPEN
5391 \begin_layout Description
5392 Action Loads the given child document.
5396 \begin_layout Description
5397 Notion The current document is treated as a parent.
5401 \begin_layout Description
5402 Syntax buffer-child-open <FILE>
5405 \begin_layout Description
5406 Params <FILE>: Filename of the child.
5407 The directory of the parent is assumed by default.
5411 \begin_layout Description
5412 Origin Ale, 28 May 1997
5415 \begin_layout Subsection*
5419 \begin_layout Description
5420 Action Runs chktex for the current document.
5424 \begin_layout Description
5425 Syntax buffer-chktex
5428 \begin_layout Description
5429 Origin Asger, 30 Oct 1997
5432 \begin_layout Subsection*
5433 LFUN_BUFFER_TOGGLE_COMPRESSION
5436 \begin_layout Description
5437 Action Toggles compression of the current document on/off.
5441 \begin_layout Description
5442 Syntax buffer-toggle-compression
5445 \begin_layout Description
5446 Origin bpeng, 27 Apr 2006
5449 \begin_layout Subsection*
5453 \begin_layout Description
5454 Action Closes the current buffer.
5458 \begin_layout Description
5459 Notion Closes the current buffer, asking whether to save it, etc, if the
5460 buffer has been modified.
5464 \begin_layout Description
5468 \begin_layout Subsection*
5472 \begin_layout Description
5473 Action Exports the current buffer (document) to the given format.
5477 \begin_layout Description
5478 Syntax buffer-export <FORMAT>
5481 \begin_layout Description
5482 Params <FORMAT> is either "custom" or one of the formats which you can find
5483 in Tools->Preferences->File formats->Format.
5484 Usual format you will enter is "pdf2" (pdflatex), "pdflatex" (plain tex
5485 for pdflatex) or "ps" for postscript.
5487 \begin_inset Newline newline
5490 In case of "custom" you will be asked for a format you want to start from
5491 and for the command that you want to apply to this format.
5492 Internally the control is then passed to LFUN_BUFFER_EXPORT_CUSTOM.
5496 \begin_layout Description
5497 Origin Lgb, 29 Jul 1997
5500 \begin_layout Subsection*
5501 LFUN_BUFFER_EXPORT_CUSTOM
5504 \begin_layout Description
5505 Action Exports the current buffer (document) from the given format using
5506 the given command on it.
5510 \begin_layout Description
5511 Syntax buffer-export-custom <FORMAT> <COMMAND>
5514 \begin_layout Description
5515 Params <FORMAT> format to start from (LyX will care to produce such intermediate
5518 \begin_inset Newline newline
5521 <COMMAND> this command will be launched on the file.
5522 Note that you can use "$$FName" string to qualify the intermediate file.
5526 \begin_layout Description
5527 Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
5530 \begin_layout Description
5531 Origin leeming, 27 Mar 2004
5534 \begin_layout Subsection*
5538 \begin_layout Description
5539 Action Prints the current document.
5543 \begin_layout Description
5544 Notion Many settings can be given via the preferences dialog.
5548 \begin_layout Description
5549 Syntax buffer-print <TARGET> <TARGET-NAME> <COMMAND>
5552 \begin_layout Description
5553 Params <TARGET> is either "printer" or "file".
5555 \begin_inset Newline newline
5558 <TARGER-NAME> is either "default" or file name or printer name.
5560 \begin_inset Newline newline
5563 <COMMAND> command ensuring the printing job.
5567 \begin_layout Description
5568 Sample buffer-print file "/trash/newfile1.ps" "dvips"
5571 \begin_layout Description
5572 Origin leeming, 28 Mar 2004
5575 \begin_layout Subsection*
5579 \begin_layout Description
5580 Action Import a given file as a lyx document.
5584 \begin_layout Description
5585 Notion File can be imported iff lyx file format is (transitively) reachable
5586 via defined convertors in preferences.
5587 Look into File->Import menu to get an idea of the currently active import
5592 \begin_layout Description
5593 Syntax buffer-import <FORMAT> [<FILE>]
5596 \begin_layout Description
5597 Origin Asger, 24 Jul 1998
5600 \begin_layout Subsection*
5604 \begin_layout Description
5605 Action Creates a new buffer (that is, document).
5609 \begin_layout Description
5610 Notion Implicit path can be set in Preferences dialog.
5614 \begin_layout Description
5615 Syntax buffer-new [<FILE>]
5618 \begin_layout Description
5619 Params <FILE>: filename of created file with absolute path.
5623 \begin_layout Subsection*
5624 LFUN_BUFFER_NEW_TEMPLATE
5627 \begin_layout Description
5628 Action Creates a new buffer (that is, document) from a template.
5632 \begin_layout Description
5633 Notion Path for new files and templates can be set in Preferences dialog.
5634 Template will be asked for via Open-dialog.
5638 \begin_layout Description
5639 Syntax buffer-new-template [<FILE>]
5642 \begin_layout Description
5643 Params <FILE>: filename of created file with absolute path.
5647 \begin_layout Subsection*
5651 \begin_layout Description
5652 Action Reverts opened document.
5656 \begin_layout Description
5657 Syntax buffer-reload
5660 \begin_layout Description
5661 Origin Asger, 2 Feb 1997
5664 \begin_layout Subsection*
5668 \begin_layout Description
5669 Action Switch to the given buffer.
5673 \begin_layout Description
5674 Notion This is useful also in case you need simultaneously more views of
5675 the edited document in different LyX windows.
5679 \begin_layout Description
5680 Syntax buffer-new-template <BUFFER>
5683 \begin_layout Description
5684 Params <BUFFER>: already opened document which is to be shown.
5688 \begin_layout Subsection*
5689 LFUN_BUFFER_TOGGLE_READ_ONLY
5692 \begin_layout Description
5693 Action Toggle editing mode of the current document between read/write and
5698 \begin_layout Description
5699 Notion In the ->Readonly mode checks-in/commits the data if the file is
5700 under version control.
5701 In the Readonly-> mode checkouts the data from repository.
5703 \begin_inset Newline newline
5706 If these operations fail, buffer won't be toggled.
5710 \begin_layout Description
5711 Syntax buffer-toggle-read-only
5714 \begin_layout Description
5715 Origin Lgb, 27 May 1997
5718 \begin_layout Subsection*
5722 \begin_layout Description
5723 Action Displays current buffer in chosen format.
5727 \begin_layout Description
5728 Notion Displays the contents of the current buffer in the chosen format,
5729 for example, PDF or DVI.
5730 This runs the necessary converter, calls the defined viewer, and so forth.
5734 \begin_layout Description
5735 Syntax buffer-view <FORMAT>
5738 \begin_layout Description
5739 Params <FORMAT>: The format to display, where this is one of the formats
5740 defined (in the current GUI) in the Tools>Preferences>File Formats dialog.
5744 \begin_layout Subsection*
5748 \begin_layout Description
5749 Action Exports the current document and put the result into the temporary
5754 \begin_layout Description
5755 Notion In case you are already viewing the exported document (see LFUN_BUFFER_VI
5756 EW) the output will be rewriten - updated.
5757 This is useful in case your viewer is able to detect such changes (e.g.
5758 ghostview for postscript).
5762 \begin_layout Description
5763 Syntax buffer-update <FORMAT>
5766 \begin_layout Description
5767 Params <FORMAT>: The format to display, where this is one of the formats
5768 defined (in the current GUI) in the Tools>Preferences>File Formats dialog.
5772 \begin_layout Description
5773 Origin Dekel, 5 Aug 2000
5776 \begin_layout Subsection*
5780 \begin_layout Description
5781 Action Saves the current buffer.
5785 \begin_layout Description
5786 Notion Saves the current buffer to disk, using the filename that is already
5787 associated with the buffer, asking for one if none is yet assigned.
5791 \begin_layout Description
5795 \begin_layout Subsection*
5796 LFUN_BUFFER_WRITE_AS
5799 \begin_layout Description
5800 Action Rename and save current buffer.
5804 \begin_layout Description
5805 Syntax buffer-write-as <FILENAME>
5808 \begin_layout Description
5809 Params <FILENAME>: New name of the buffer/file.
5810 A relative path is with respect to the original location of the buffer/file.
5814 \begin_layout Subsection*
5815 LFUN_BUFFER_WRITE_ALL
5818 \begin_layout Description
5819 Action Save all changed documents.
5823 \begin_layout Description
5824 Syntax buffer-write-all
5827 \begin_layout Description
5828 Origin rgh, gpothier 6 Aug 2007
5831 \begin_layout Subsection*
5835 \begin_layout Description
5836 Action Switch to the next opened document.
5840 \begin_layout Description
5841 Notion Note that this does not necessarily mean next in tabbar (for full
5842 list see View menu).
5846 \begin_layout Description
5850 \begin_layout Subsection*
5851 LFUN_BUFFER_PREVIOUS
5854 \begin_layout Description
5855 Action Switch to the previous opened document.
5859 \begin_layout Description
5860 Syntax buffer-previous
5863 \begin_layout Subsection*
5864 LFUN_MASTER_BUFFER_UPDATE
5867 \begin_layout Description
5868 Action When run from a child document, this updates (exports) document built
5869 from the master buffer.
5870 If a master is not found, it updates the current buffer.
5874 \begin_layout Description
5875 Syntax master-buffer-update
5878 \begin_layout Description
5879 Origin Tommaso, 20 Sep 2007
5882 \begin_layout Subsection*
5883 LFUN_MASTER_BUFFER_VIEW
5886 \begin_layout Description
5887 Action When run from a child document, this command shows a preview built
5888 from the master buffer.
5889 If a master is not found, it previews the current buffer.
5893 \begin_layout Description
5894 Syntax master-buffer-view
5897 \begin_layout Description
5898 Origin Tommaso, 20 Sep 2007
5901 \begin_layout Subsection*
5902 LFUN_BUFFER_LANGUAGE
5905 \begin_layout Description
5906 Action Set language of the current document.
5910 \begin_layout Description
5911 Syntax buffer-language <LANG>
5914 \begin_layout Description
5915 Params <LANG>: language name.
5916 See lib/languages for list.
5920 \begin_layout Description
5921 Origin leeming, 30 Mar 2004
5924 \begin_layout Subsection*
5925 LFUN_BUFFER_SAVE_AS_DEFAULT
5928 \begin_layout Description
5929 Action Save the current document settings as default.
5933 \begin_layout Description
5934 Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
5938 \begin_layout Description
5939 Syntax buffer-save-as-default [<ARGS>]
5942 \begin_layout Description
5943 Params <ARGS>: contains the particular settings to be saved.
5944 They obey the syntax you can find in document header of usual .lyx file.
5948 \begin_layout Description
5949 Origin leeming, 30 Mar 2004
5952 \begin_layout Subsection*
5953 LFUN_BUFFER_PARAMS_APPLY
5956 \begin_layout Description
5957 Action Apply the given settings to the current document.
5961 \begin_layout Description
5962 Syntax buffer-params-apply [<ARGS>]
5965 \begin_layout Description
5966 Params <ARGS>: contains the particular settings to be saved.
5967 They obey the syntax you can find in document header of usual .lyx file.
5971 \begin_layout Description
5972 Origin leeming, 30 Mar 2004
5975 \begin_layout Subsection*
5979 \begin_layout Description
5980 Action Inserts another LyX file.
5984 \begin_layout Description
5985 Syntax file-insert [<FILE>]
5988 \begin_layout Description
5989 Params <FILE>: Filename to be inserted.
5993 \begin_layout Subsection*
5994 LFUN_FILE_INSERT_PLAINTEXT
5997 \begin_layout Description
5998 Action Inserts plain text file.
6002 \begin_layout Description
6003 Syntax file-insert-plaintext [<FILE>]
6006 \begin_layout Description
6007 Params <FILE>: Filename to be inserted.
6011 \begin_layout Description
6012 Origin CFO-G, 19 Nov 1997
6015 \begin_layout Subsection*
6016 LFUN_FILE_INSERT_PLAINTEXT_PARA
6019 \begin_layout Description
6020 Action Inserts plain text file as paragraph (i.e.
6025 \begin_layout Description
6026 Syntax file-insert-plaintext-para [<FILE>]
6029 \begin_layout Description
6030 Params <FILE>: Filename to be inserted.
6034 \begin_layout Description
6035 Origin Levon, 14 Feb 2001
6038 \begin_layout Subsection*
6042 \begin_layout Description
6043 Action Open LyX document.
6047 \begin_layout Description
6048 Syntax file-open [<FILE>]
6051 \begin_layout Description
6052 Params <FILE>: Filename to be opened.
6056 \begin_layout Subsection*
6060 \begin_layout Description
6061 Action Executes a command defined in a .def file.
6065 \begin_layout Description
6066 Notion The definitions are by default read from lib/commands/default.def.
6068 \begin_inset Newline newline
6071 A .def file allows to define a command with
6073 define "<NAME>" "<LFUN>" where <NAME> is the name of the new command and
6074 <LFUN> is the lfun code to be executed (see e.g.
6075 LFUN_COMMAND_SEQUENCE).
6078 def_file "FileName" allows to include another .def file.
6080 \begin_inset Newline newline
6083 This is particularly useful in connection with toolbar buttons: Since the
6084 name of the button image for this lfun is lib/images/commands/<NAME>.png
6085 this is the way to assign an image to a complex command-sequence.
6089 \begin_layout Description
6093 \begin_layout Description
6094 Params <NAME>: Name of the command that must be called.
6098 \begin_layout Description
6099 Origin broider, 2 Oct 2007
6102 \begin_layout Subsection*
6106 \begin_layout Description
6107 Action Simulate halting Meta key (Alt key on PCs).
6111 \begin_layout Description
6112 Notion Used for buffer editation not for GUI control.
6116 \begin_layout Description
6120 \begin_layout Subsection*
6124 \begin_layout Description
6125 Action Cancels sequence prepared by LFUN_META_PREFIX .
6129 \begin_layout Description
6133 \begin_layout Subsection*
6134 LFUN_COMMAND_EXECUTE
6137 \begin_layout Description
6138 Action Opens the minibuffer toolbar so that the user can type in there.
6142 \begin_layout Description
6143 Notion Usually bound to M-x shortcut.
6147 \begin_layout Description
6148 Syntax command-execute
6151 \begin_layout Subsection*
6155 \begin_layout Description
6156 Action Return the current key sequence and available options as a string.
6160 \begin_layout Description
6161 Notion No options are added if no current map exists.
6163 \begin_inset Newline newline
6166 This is probably usable only with connection to lyxserver.
6170 \begin_layout Description
6171 Syntax command-prefix
6174 \begin_layout Subsection*
6175 LFUN_COMMAND_SEQUENCE
6178 \begin_layout Description
6179 Action Run more commands (LFUN and its parameters) in a sequence.
6183 \begin_layout Description
6184 Syntax command-sequence <CMDS>
6187 \begin_layout Description
6188 Params <CMDS>: Sequence of commands separated by semicolons.
6192 \begin_layout Description
6193 Sample command-sequence cut; ert-insert; self-insert ; paste; self-insert
6197 \begin_layout Description
6198 Origin Andre, 11 Nov 1999
6201 \begin_layout Subsection*
6202 LFUN_COMMAND_ALTERNATIVES
6205 \begin_layout Description
6206 Action Runs the first listed command that is enabled.
6210 \begin_layout Description
6211 Notion This can be used to bind multiple functions to a single key, and
6212 then which one is used will depend upon the context.
6216 \begin_layout Description
6217 Syntax command-alternatives <CMDS>
6220 \begin_layout Description
6221 Params <CMDS>: Sequence of commands separated by semicolons.
6225 \begin_layout Description
6226 Sample command-alternatives completion-accept;cell-forward
6229 \begin_layout Description
6230 Origin rgh, 24 September 2008
6233 \begin_layout Subsection*
6237 \begin_layout Description
6238 Action Shows message in statusbar (for script purposes).
6242 \begin_layout Description
6243 Syntax message <STRING>
6246 \begin_layout Description
6247 Origin Lgb, 8 Apr 2001
6250 \begin_layout Subsection*
6251 LFUN_PREFERENCES_SAVE
6254 \begin_layout Description
6255 Action Save user preferences.
6259 \begin_layout Description
6260 Syntax preferences-save
6263 \begin_layout Description
6264 Origin Lgb, 27 Nov 1999
6267 \begin_layout Subsection*
6271 \begin_layout Description
6272 Action Reconfigure the automatic settings.
6276 \begin_layout Description
6280 \begin_layout Description
6281 Origin Asger, 14 Feb 1997
6284 \begin_layout Subsection*
6288 \begin_layout Description
6289 Action Apply the given settings to user preferences.
6293 \begin_layout Description
6294 Syntax lyxrc-apply <SETTINGS>
6297 \begin_layout Description
6298 Params <SETTINGS>: settings which are to be set.
6299 Take a look into ~/.lyx/preferences to get an idea which commands to use
6301 lyx::LyXRC::LyXRCTags has the list of possible commands.
6305 \begin_layout Subsection*
6306 LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE
6309 \begin_layout Description
6310 Action Determine whether keep cursor inside the editing window regardless
6311 the scrollbar movement.
6315 \begin_layout Description
6316 Syntax toggle-cursor-follows-scrollbar
6319 \begin_layout Description
6320 Origin ARRae, 2 Dec 1997
6323 \begin_layout Subsection*
6327 \begin_layout Description
6328 Action Set the given LyX color to the color defined by the X11 name given.
6332 \begin_layout Description
6333 Notion A new color entry is created if the color is unknown.
6334 Color names can be stored as a part of user settings.
6338 \begin_layout Description
6339 Syntax set-color <LYX_NAME> <X11_NAME>
6342 \begin_layout Description
6343 Origin SLior, 11 Jun 2000
6346 \begin_layout Subsection*
6350 \begin_layout Description
6351 Action Count the statistics (number of words and characters) in the document
6352 or in the given selection.
6356 \begin_layout Description
6357 Notion Note that this function gives the number of words/chars written,
6358 not the number of characters which will be typeset.
6362 \begin_layout Description
6366 \begin_layout Description
6367 Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
6370 \begin_layout Subsection*
6371 LFUN_COMPLETION_INLINE
6374 \begin_layout Description
6375 Action Show the inline completion at the cursor position.
6379 \begin_layout Description
6380 Syntax completion-inline
6383 \begin_layout Description
6384 Origin sts, Feb 19 2008
6387 \begin_layout Subsection*
6388 LFUN_COMPLETION_POPUP
6391 \begin_layout Description
6392 Action Show the completion popup at the cursor position.
6396 \begin_layout Description
6397 Syntax completion-popup
6400 \begin_layout Description
6401 Origin sts, Feb 19 2008
6404 \begin_layout Subsection*
6405 LFUN_COMPLETION_COMPLETE
6408 \begin_layout Description
6409 Action Try to complete the word or command at the cursor position.
6413 \begin_layout Description
6417 \begin_layout Description
6418 Origin sts, Feb 19 2008
6421 \begin_layout Subsection*
6422 LFUN_COMPLETION_CANCEL
6425 \begin_layout Description
6426 Action Try to cancel completion, either the popup or the inline completion
6430 \begin_layout Description
6431 Syntax completion-cancel
6434 \begin_layout Description
6435 Origin sts, Sep 07 2008
6438 \begin_layout Subsection*
6439 LFUN_COMPLETION_ACCEPT
6442 \begin_layout Description
6443 Action Accept suggested completion.
6447 \begin_layout Description
6448 Syntax completion-accept
6451 \begin_layout Description
6452 Origin sanda, Sep 08 2008
6455 \begin_layout Subsection*
6456 LFUN_BRANCH_ACTIVATE
6459 \begin_layout Description
6460 Action Activate the branch
6463 \begin_layout Description
6464 Syntax branch-activate <BRANCH>
6467 \begin_layout Description
6468 Params <BRANCH>: The branch to activate
6471 \begin_layout Description
6472 Sample lyx -e pdf2 -x "branch-activate answers" finalexam.lyx
6473 \begin_inset Newline newline
6476 could be used to export a pdf with the answers branch includedwithout one's
6477 having to open LyX and activate the branch manually.
6480 \begin_layout Description
6481 Origin rgh, 27 May 2008
6484 \begin_layout Subsection*
6485 LFUN_BRANCH_ACTIVATE
6488 \begin_layout Description
6489 Action De-activate the branch
6492 \begin_layout Description
6493 Syntax branch-deactivate <BRANCH>
6496 \begin_layout Description
6497 Params <BRANCH>: The branch to deactivate
6500 \begin_layout Description
6501 Origin rgh, 27 May 2008