1 # gen_lfuns.py generated this file. For more info see http://www.lyx.org/
7 \renewcommand{\descriptionlabel}[1]{\hspace\labelsep\upshape\bfseries #1:}
8 \renewenvironment{description}{\list{}{%
9 \setlength{\itemsep}{-2pt}
10 \advance\leftmargini6\p@ \itemindent-12\p@
11 \labelwidth\z@ \let\makelabel\descriptionlabel}%
16 \use_default_options false
21 \font_typewriter default
22 \font_default_family default
29 \paperfontsize default
38 \paperorientation portrait
45 \paragraph_separation indent
47 \quotes_language english
50 \paperpagestyle default
51 \tracking_changes false
59 \begin_layout Section*
60 LFUNs documentation automatically generated 2010-11-25
63 \begin_layout Standard
67 \begin_layout Plain Layout
77 \begin_inset VSpace 1cm
82 \begin_layout Subsection*
85 \begin_layout Description
86 Action Adds an acute accent to the next character typed.
88 \begin_layout Description
92 \begin_layout Subsection*
95 \begin_layout Description
96 Action Adds a breve accent to the next character typed.
98 \begin_layout Description
102 \begin_layout Subsection*
105 \begin_layout Description
106 Action Adds a caron to the next character typed.
108 \begin_layout Description
112 \begin_layout Subsection*
115 \begin_layout Description
116 Action Adds a cedilla to the next character typed.
118 \begin_layout Description
119 Syntax accent-cedilla
122 \begin_layout Subsection*
125 \begin_layout Description
126 Action Adds a circle accent to the next character typed.
128 \begin_layout Description
132 \begin_layout Subsection*
133 LFUN_ACCENT_CIRCUMFLEX
135 \begin_layout Description
136 Action Adds a circumflex to the next character typed.
138 \begin_layout Description
139 Syntax accent-circumflex
142 \begin_layout Subsection*
145 \begin_layout Description
146 Action Adds a dot accent to the next character typed.
148 \begin_layout Description
152 \begin_layout Subsection*
155 \begin_layout Description
156 Action Adds a grave accent to the next character typed.
158 \begin_layout Description
162 \begin_layout Subsection*
163 LFUN_ACCENT_HUNGARIAN_UMLAUT
165 \begin_layout Description
166 Action Adds a Hungarian umlaut to the next character typed.
168 \begin_layout Description
172 \begin_layout Subsection*
175 \begin_layout Description
176 Action Adds a macron to the next character typed.
178 \begin_layout Description
182 \begin_layout Subsection*
185 \begin_layout Description
186 Action Adds an ogonek accent to the next character typed.
188 \begin_layout Description
192 \begin_layout Subsection*
195 \begin_layout Description
196 Action Adds a tie over the next two character typed.
198 \begin_layout Description
199 Notion The following char will finish the tie.
201 \begin_layout Description
205 \begin_layout Subsection*
208 \begin_layout Description
209 Action Adds a tilde over the next character typed.
211 \begin_layout Description
215 \begin_layout Subsection*
218 \begin_layout Description
219 Action Adds an umlaut over the next character typed.
221 \begin_layout Description
225 \begin_layout Subsection*
228 \begin_layout Description
229 Action Adds a bar under the next character typed.
231 \begin_layout Description
232 Syntax accent-underbar
235 \begin_layout Subsection*
238 \begin_layout Description
239 Action Adds a dot under the next character typed.
241 \begin_layout Description
242 Syntax accent-underdot
245 \begin_layout Subsection*
248 \begin_layout Description
249 Action Inserts a caption inset.
251 \begin_layout Description
252 Syntax caption-insert
254 \begin_layout Description
255 Origin Lgb, 18 Jul 2000
258 \begin_layout Subsection*
261 \begin_layout Description
262 Action Inserts the current date.
264 \begin_layout Description
265 Syntax date-insert [<ARG>]
267 \begin_layout Description
268 Params <ARG>: Format of date. The default value (%x) can be set in Preferences->Date format. For possible formats see manual page of strftime function.
270 \begin_layout Description
271 Origin jdblair, 31 Jan 2000
274 \begin_layout Subsection*
277 \begin_layout Description
278 Action Inserts a footnote inset.
280 \begin_layout Description
281 Syntax footnote-insert
283 \begin_layout Description
284 Origin Jug, 7 Mar 2000
287 \begin_layout Subsection*
290 \begin_layout Description
291 Action Inserts an ERT inset.
293 \begin_layout Description
296 \begin_layout Description
297 Origin Jug, 18 Feb 2000
300 \begin_layout Subsection*
303 \begin_layout Description
304 Action Inserts a float inset.
306 \begin_layout Description
307 Syntax float-insert <TYPE>
309 \begin_layout Description
310 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
312 \begin_layout Description
313 Origin Lgb, 27 Jun 2000
316 \begin_layout Subsection*
317 LFUN_FLOAT_WIDE_INSERT
319 \begin_layout Description
320 Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns.
322 \begin_layout Description
323 Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX.
325 \begin_layout Description
326 Syntax float-wide-insert <TYPE>
328 \begin_layout Description
329 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
331 \begin_layout Description
332 Origin Lgb, 31 Oct 2001
335 \begin_layout Subsection*
336 LFUN_FLOAT_LIST_INSERT
338 \begin_layout Description
339 Action Inserts the list of floats in the document.
341 \begin_layout Description
342 Syntax float-list-insert <TYPE>
344 \begin_layout Description
345 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
347 \begin_layout Description
348 Origin Lgb, 3 May 2001
351 \begin_layout Subsection*
354 \begin_layout Description
355 Action Inserts floats wrapped by the text around.
357 \begin_layout Description
358 Syntax wrap-insert <TYPE>
360 \begin_layout Description
361 Params <TYPE>: table|figure
363 \begin_layout Description
364 Origin Dekel, 7 Apr 2002
367 \begin_layout Subsection*
370 \begin_layout Description
371 Action Inserts an argument (short title) inset.
373 \begin_layout Description
374 Syntax argument-insert
376 \begin_layout Description
377 Origin vermeer, 12 Aug 2002
380 \begin_layout Subsection*
383 \begin_layout Description
384 Action Inserts a new page.
386 \begin_layout Description
387 Syntax newpage-insert <ARG>
389 \begin_layout Description
390 Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
392 \begin_layout Description
393 Origin uwestoehr, 24 Nov 2007
396 \begin_layout Subsection*
397 LFUN_MARGINALNOTE_INSERT
399 \begin_layout Description
400 Action Inserts a marginal note.
402 \begin_layout Description
403 Syntax marginalnote-insert
405 \begin_layout Description
406 Origin Lgb, 26 Jun 2000
409 \begin_layout Subsection*
412 \begin_layout Description
413 Action Inserts a single unicode character.
415 \begin_layout Description
416 Syntax unicode-insert <CHAR>
418 \begin_layout Description
419 Params <CHAR>: The character to insert, given as its code point, in hexadecimal.
421 \begin_layout Description
422 Sample unicode-insert 0x0100
424 \begin_layout Description
425 Origin Lgb, 22 Oct 2006
428 \begin_layout Subsection*
431 \begin_layout Description
432 Action Inserts a new listings inset.
434 \begin_layout Description
435 Syntax listing-insert
437 \begin_layout Description
438 Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
441 \begin_layout Subsection*
444 \begin_layout Description
445 Action Inserts a new preview inset.
447 \begin_layout Description
448 Syntax preview-insert
450 \begin_layout Description
451 Origin vfr, 28 Mar 2010
454 \begin_layout Subsection*
457 \begin_layout Description
458 Action Insert a tab into a listings inset.
460 \begin_layout Description
461 Notion It also works on a selection.
463 \begin_layout Description
466 \begin_layout Description
467 Origin vfr, Sep 30 2008
470 \begin_layout Subsection*
473 \begin_layout Description
474 Action Delete a tab or up to an equivalent amount of spaces from a listings inset.
476 \begin_layout Description
477 Notion It also works on a selection - it removes a tab or spaces from the beginning of each line spanned by the selection. This is useful if you want to indent/unindent multiple lines in one action.
479 \begin_layout Description
482 \begin_layout Description
483 Origin vfr, Sep 30 2008
486 \begin_layout Subsection*
489 \begin_layout Description
490 Action Inserts quotes according to the type and quote-language preference.
492 \begin_layout Description
493 Notion Currently English, Swedish, German, Polish, French, Danish quotes are distinguished.
495 \begin_layout Description
496 Syntax quote-insert [<TYPE>]
498 \begin_layout Description
499 Params <TYPE>: 'single' for single quotes, otherwise double quotes will be used.
502 \begin_layout Subsection*
505 \begin_layout Description
506 Action Displays shortcuts, lyxrc, package and textclass availability and menu information in a non-editable boxed InsetText.
508 \begin_layout Description
509 Notion Apart from lfun arguments you can use the following method:
510 \begin_inset Newline newline
513 1. input the type and argument of this inset, e.g. "menu paste", in the work area.
514 \begin_inset Newline newline
517 2. select the text and run info-insert lfun.
519 \begin_layout Description
520 Syntax info-insert <TYPE> <ARG>
522 \begin_layout Description
523 Params <TYPE>: shortcut[s]|lyxrc|lyxinfo|package|textclass|menu|buffer
524 \begin_inset Newline newline
527 <ARG>: argument for a given type. Look into InsetInfo.h for detailed description.
528 \begin_inset Newline newline
531 shortcut[s]: name of lfun (e.g math-insert
534 \begin_inset Newline newline
537 lyxrc: name of rc_entry (e.g. bind_file)
538 \begin_inset Newline newline
541 lyxinfo: "version" - used version of LyX
542 \begin_inset Newline newline
545 package: name of latex package (e.g. listings)
546 \begin_inset Newline newline
549 textclass: name of textclass (e.g. article)
550 \begin_inset Newline newline
553 menu: name of lfun used in menu
554 \begin_inset Newline newline
557 icon: name of lfun used in toolbar
558 \begin_inset Newline newline
561 buffer: "name"|"path"|"class"|"vcs-tree-revision"| "vcs-revision"|"vcs-author"|"vcs-date"|"vcs-time"
563 \begin_layout Description
564 Sample command-sequence info-insert buffer path; info-insert buffer name
566 \begin_layout Description
567 Origin bpeng, 7 Oct 2007
570 \begin_layout Subsection*
573 \begin_layout Description
574 Action Inserts branch inset.
576 \begin_layout Description
577 Syntax branch-insert <BRANCH-NAME>
579 \begin_layout Description
580 Origin vermeer, 17 Aug 2003
583 \begin_layout Subsection*
586 \begin_layout Description
587 Action Inserts Box inset.
589 \begin_layout Description
590 Syntax box-insert [<TYPE>]
592 \begin_layout Description
593 Params <TYPE>: Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox
594 \begin_inset Newline newline
597 Framed is the default one.
599 \begin_layout Description
600 Origin vermeer, 7 Oct 2003
603 \begin_layout Subsection*
606 \begin_layout Description
607 Action Inserts CharStyle, Custom inset or XML short element.
609 \begin_layout Description
610 Notion Look into the Customization manual for more information about these elements.
611 \begin_inset Newline newline
614 To make this command enabled the layout file for the document class you're using has to load the character styles. There are a few contained in the Logical Markup module. You can also of course create some yourself.
615 \begin_inset Newline newline
618 For dissolving the element see LFUN_INSET_DISSOLVE.
620 \begin_layout Description
621 Syntax flex-insert Name
623 \begin_layout Description
624 Params Name: This name must be defined either in your layout file or imported by some module. The definition is InsetLayout Name or InsetLayout <Flex:Name>. The Flex: prefix is optional.
626 \begin_layout Description
627 Sample flex-insert Code
630 \begin_layout Subsection*
633 \begin_layout Description
634 Action Inserts the given string (accordingly to the correct keymap).
636 \begin_layout Description
637 Notion Automatically replace the currently selected text. Depends on lyxrc settings "auto_region_delete".
639 \begin_layout Description
640 Syntax self-insert <STRING>
643 \begin_layout Subsection*
646 \begin_layout Description
647 Action Inserts one of horizontal space insets.
649 \begin_layout Description
650 Syntax space-insert <NAME> [<LEN>]
652 \begin_layout Description
653 Params <NAME>: normal, protected, thin, quad, qquad, enspace, enskip, negthinspace, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
654 \begin_inset Newline newline
657 <LEN>: length for custom spaces (hspace, hspace* for protected)
659 \begin_layout Description
660 Origin JSpitzm, 20 May 2003, Mar 17 2008
663 \begin_layout Subsection*
664 LFUN_HYPERLINK_INSERT
666 \begin_layout Description
667 Action Inserts hyperlinks into the document (clickable in pdf output).
669 \begin_layout Description
670 Notion Hyperlink target can be set via selection + hyperlink-insert function.
672 \begin_layout Description
673 Syntax href-insert [<TARGET>]
675 \begin_layout Description
676 Origin CFO-G, 21 Nov 1997
679 \begin_layout Subsection*
680 LFUN_SPECIALCHAR_INSERT
682 \begin_layout Description
683 Action Inserts various characters into the document.
685 \begin_layout Description
686 Syntax specialchar-insert <CHAR>
688 \begin_layout Description
689 Params <CHAR>: hyphenation, ligature-break, slash, nobreakdash, dots, end-of-sentence, menu-separator.
691 \begin_layout Description
692 Origin JSpitzm, 6 Dec 2007
695 \begin_layout Subsection*
698 \begin_layout Description
699 Action Inserts a subscript or superscript inset.
701 \begin_layout Description
702 Syntax script-insert <TYPE>
704 \begin_layout Description
705 Params <TYPE>: subscript|superscript
707 \begin_layout Description
708 Origin Georg, 23 Nov 2010
711 \begin_layout Subsection*
714 \begin_layout Description
715 Action Start (or remove) Appendix on the given cursor position.
717 \begin_layout Description
720 \begin_layout Description
721 Origin ettrich, 5 May 1998
724 \begin_layout Subsection*
727 \begin_layout Description
728 Action Inserts Index entry.
730 \begin_layout Description
731 Notion It automatically takes the word on the cursor position.
733 \begin_layout Description
734 Syntax index-insert [<TYPE:Name>]
736 \begin_layout Description
737 Params <TYPE:Name>: name of the index, if multiple indices are defined. with an empty argument, the default index is selected.
739 \begin_layout Description
740 Origin leeming, 3 Aug 2000
743 \begin_layout Subsection*
746 \begin_layout Description
747 Action Inserts list of Index entries on a new page.
749 \begin_layout Description
750 Syntax index-print [<TYPE:Name>]
752 \begin_layout Description
753 Params <TYPE:Name>: name of the index, if multiple indices are defined. with an empty argument, the default index is selected.
755 \begin_layout Description
756 Origin Lgb, 27 Feb 1997
759 \begin_layout Subsection*
762 \begin_layout Description
763 Action Inserts Nomenclature entry.
765 \begin_layout Description
766 Notion It automatically takes the word on the cursor position if no symbol is given.
768 \begin_layout Description
769 Syntax nomencl-insert [<SYMBOL>]
771 \begin_layout Description
772 Origin Ugras, 4 Nov 2006
775 \begin_layout Subsection*
776 LFUN_NOMENCLATURE_PRINT
778 \begin_layout Description
779 Action Inserts list of Nomenclature entries.
781 \begin_layout Description
782 Syntax nomenclature-print
784 \begin_layout Description
785 Origin Ugras, 4 Nov 2006
788 \begin_layout Subsection*
791 \begin_layout Description
792 Action Inserts Note on the current cursor postion, move selection inside the inset.
794 \begin_layout Description
795 Syntax note-insert [<TYPE>]
797 \begin_layout Description
798 Params <TYPE>: <Note|Greyedout|Comment> default: Note
801 \begin_layout Subsection*
804 \begin_layout Description
805 Action Moves the cursor to the begining of next Note inset.
807 \begin_layout Description
811 \begin_layout Subsection*
814 \begin_layout Description
815 Action Inserts phantom on the current cursor postion, move selection inside the inset.
817 \begin_layout Description
818 Syntax phantom-insert [<TYPE>]
820 \begin_layout Description
821 Params <TYPE>: <Phantom|HPhantom|VPhantom> default: Phantom
823 \begin_layout Description
824 Origin uwestoehr, 30 Jan 2009
827 \begin_layout Subsection*
830 \begin_layout Description
831 Action Inserts a line break or new line.
833 \begin_layout Description
834 Syntax newline-insert [<ARG>]
836 \begin_layout Description
837 Params <ARG>: <newline|linebreak> default: newline
839 \begin_layout Description
840 Origin JSpitzm, 25 Mar 2008
843 \begin_layout Subsection*
846 \begin_layout Description
847 Action Clears the selection. If no text is selected call LFUN_FINISHED_FORWARD. Inside math mode jumps out of the math inset.
849 \begin_layout Description
852 \begin_layout Description
853 Origin Lgb, 17 May 2001
856 \begin_layout Subsection*
859 \begin_layout Description
860 Action Moves the cursor one line in downward direction.
862 \begin_layout Description
866 \begin_layout Subsection*
869 \begin_layout Description
870 Action Moves the cursor one line in upward direction.
872 \begin_layout Description
876 \begin_layout Subsection*
879 \begin_layout Description
880 Action Moves the cursor one line in downward direction adding the current position to the selection.
882 \begin_layout Description
886 \begin_layout Subsection*
889 \begin_layout Description
890 Action Moves the cursor one line in upward direction adding the current position to the selection.
892 \begin_layout Description
896 \begin_layout Subsection*
899 \begin_layout Description
900 Action Moves the cursor one page in downward direction.
902 \begin_layout Description
906 \begin_layout Subsection*
909 \begin_layout Description
910 Action Moves the cursor one page in upward direction.
912 \begin_layout Description
916 \begin_layout Subsection*
917 LFUN_SCREEN_DOWN_SELECT
919 \begin_layout Description
920 Action Moves the cursor one screen in downward direction adding the current position to the selection.
922 \begin_layout Description
923 Syntax screen-down-select
926 \begin_layout Subsection*
927 LFUN_SCREEN_UP_SELECT
929 \begin_layout Description
930 Action Moves the cursor one page in upward direction adding the current position to the selection.
932 \begin_layout Description
933 Syntax screen-up-select
936 \begin_layout Subsection*
939 \begin_layout Description
940 Action Scroll the buffer view.
942 \begin_layout Description
943 Notion Only scrolls the screen up or down; does not move the cursor.
945 \begin_layout Description
946 Syntax scroll <TYPE> <QUANTITY>
948 \begin_layout Description
949 Params <TYPE>: line|page
950 \begin_inset Newline newline
953 <QUANTITY>: up|down|<number>
955 \begin_layout Description
956 Origin Abdel, Dec 27 2007
959 \begin_layout Subsection*
962 \begin_layout Description
963 Action Recenters the screen on the current cursor position.
965 \begin_layout Description
966 Syntax screen-recenter
969 \begin_layout Subsection*
970 LFUN_SCREEN_SHOW_CURSOR
972 \begin_layout Description
973 Action Repositions the screen such that the cursor is visible.
975 \begin_layout Description
976 Syntax screen-show-cursor
978 \begin_layout Description
979 Origin vfr, 25 Mar 2009
982 \begin_layout Subsection*
985 \begin_layout Description
986 Action Moves the cursor one position logically backwards.
988 \begin_layout Description
989 Notion This is not the action which should be bound to the arrow keys, because backwards may be left or right, depending on the language. The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions, which in turn may employ this one.
991 \begin_layout Description
995 \begin_layout Subsection*
996 LFUN_CHAR_BACKWARD_SELECT
998 \begin_layout Description
999 Action Moves the cursor one position logically backwards, adding traversed position to the selection.
1001 \begin_layout Description
1002 Notion See also LFUN_CHAR_BACKWARD.
1004 \begin_layout Description
1005 Syntax char-backward-select
1008 \begin_layout Subsection*
1009 LFUN_CHAR_DELETE_BACKWARD
1011 \begin_layout Description
1012 Action Deletes one character in the backward direction (usually the "BackSpace" key).
1014 \begin_layout Description
1015 Syntax char-delete-backward
1018 \begin_layout Subsection*
1019 LFUN_CHAR_DELETE_FORWARD
1021 \begin_layout Description
1022 Action Deletes one character in the backward direction (usually the "Delete" key).
1024 \begin_layout Description
1025 Syntax char-delete-forward
1028 \begin_layout Subsection*
1031 \begin_layout Description
1032 Action Moves the cursor one position logically forward.
1034 \begin_layout Description
1035 Notion This is not the action which should be bound to the arrow keys, because forward may be left or right, depending on the language. The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions, which in turn may employ this one.
1037 \begin_layout Description
1041 \begin_layout Subsection*
1042 LFUN_CHAR_FORWARD_SELECT
1044 \begin_layout Description
1045 Action Moves the cursor one position logically forward, adding traversed position to the selection.
1047 \begin_layout Description
1048 Notion See also LFUN_CHAR_FORWARD.
1050 \begin_layout Description
1051 Syntax char-forward-select
1054 \begin_layout Subsection*
1057 \begin_layout Description
1058 Action Moves the cursor one position "to the left".
1060 \begin_layout Description
1061 Notion This is the action which should be taken when the "left" key is pressed. Generally, it moves the cursor one position to the left. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves left, plain and simple. In "logical mode", movement is logically forward in RTL paragraphs, and logically backwards in LTR paragraphs.
1063 \begin_layout Description
1067 \begin_layout Subsection*
1068 LFUN_CHAR_LEFT_SELECT
1070 \begin_layout Description
1071 Action Moves the cursor one position "to the left", adding traversed position to the selection.
1073 \begin_layout Description
1074 Notion See also LFUN_CHAR_LEFT for exact details of the movement.
1076 \begin_layout Description
1077 Syntax char-left-select
1080 \begin_layout Subsection*
1083 \begin_layout Description
1084 Action Moves the cursor one position "to the right".
1086 \begin_layout Description
1087 Notion This is the action which should be taken when the "right" key is pressed. Generally, it moves the cursor one position to the right. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves right, plain and simple. In "logical mode", movement is logically forward in LTR paragraphs, and logically backwards in RTL paragraphs.
1089 \begin_layout Description
1093 \begin_layout Subsection*
1094 LFUN_CHAR_RIGHT_SELECT
1096 \begin_layout Description
1097 Action Moves the cursor one position "to the right", adding traversed position to the selection.
1099 \begin_layout Description
1100 Notion See also LFUN_CHAR_RIGHT for exact details of the movement.
1102 \begin_layout Description
1103 Syntax char-right-select
1106 \begin_layout Subsection*
1109 \begin_layout Description
1110 Action Moves the cursor to the logically previous beginning of a word.
1112 \begin_layout Description
1113 Notion This is not the action which should be bound to the arrow keys, because backwards may be left or right, depending on the language. The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions, which in turn may employ this one.
1115 \begin_layout Description
1116 Syntax word-backward
1119 \begin_layout Subsection*
1120 LFUN_WORD_BACKWARD_SELECT
1122 \begin_layout Description
1123 Action Moves the cursor to the logically previous beginning of a word, adding the logically traversed text to the selection.
1125 \begin_layout Description
1126 Notion See also LFUN_WORD_BACKWARD.
1128 \begin_layout Description
1129 Syntax word-backward-select
1132 \begin_layout Subsection*
1133 LFUN_WORD_DELETE_BACKWARD
1135 \begin_layout Description
1136 Action Deletes characters to the begining of the word (usually the "C+BackSpace" key).
1138 \begin_layout Description
1139 Syntax word-delete-backward
1142 \begin_layout Subsection*
1143 LFUN_WORD_DELETE_FORWARD
1145 \begin_layout Description
1146 Action Deletes characters to the end of the word (usually the "C+Delete" key).
1148 \begin_layout Description
1149 Syntax word-delete-forward
1152 \begin_layout Subsection*
1153 LFUN_WORD_FIND_FORWARD
1155 \begin_layout Description
1156 Action Search for a given string in forward direction.
1158 \begin_layout Description
1159 Notion Case sensitive, match words. If no argument given, last search repeated.
1161 \begin_layout Description
1162 Syntax word-find-forward [<STRING>]
1164 \begin_layout Description
1165 Origin Etienne, 16 Feb 1998
1168 \begin_layout Subsection*
1169 LFUN_WORD_FIND_BACKWARD
1171 \begin_layout Description
1172 Action Search for a given string in backward direction.
1174 \begin_layout Description
1175 Notion Case sensitive, match words. If no argument given, last search repeated.
1177 \begin_layout Description
1178 Syntax word-find-backward [<STRING>]
1180 \begin_layout Description
1181 Origin Etienne, 20 Feb 1998
1184 \begin_layout Subsection*
1187 \begin_layout Description
1188 Action Search for next occurence of a string.
1190 \begin_layout Description
1191 Syntax word-find [<DATA>]
1193 \begin_layout Description
1194 Params <DATA>: data encoded from Find dialog (see lyx::find2string()). If no parameter is given, search with last find-dialog data is used for search (i.e. find-next).
1196 \begin_layout Description
1197 Origin Andre, Jan 7 2004
1200 \begin_layout Subsection*
1203 \begin_layout Description
1204 Action Replace a string in the document.
1206 \begin_layout Description
1207 Syntax word-replace [<DATA>]
1209 \begin_layout Description
1210 Params <DATA>: data is of the form "<replace>
1211 \begin_inset Newline newline
1215 \begin_inset Newline newline
1218 <casesensitive> <matchword> <all> <forward>"
1220 \begin_layout Description
1221 Origin Andre, Jan 7 2004
1224 \begin_layout Subsection*
1227 \begin_layout Description
1228 Action Search for next occurence of a pattern.
1230 \begin_layout Description
1231 Syntax word-findadv [<DATA>]
1233 \begin_layout Description
1234 Params <DATA>: data encoded from FindAdv dialog (see lyx::findadv2string()). If no parameter is given, search with last find-dialog data is used for search (i.e. find-next).
1236 \begin_layout Description
1237 Origin Tommaso, Nov 15 2007
1240 \begin_layout Subsection*
1243 \begin_layout Description
1244 Action Moves the cursor to the logically next beginning of a word.
1246 \begin_layout Description
1247 Notion This is not the action which should be bound to the arrow keys, because forward may be left or right, depending on the language. The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions, which in turn may employ this one.
1249 \begin_layout Description
1253 \begin_layout Subsection*
1254 LFUN_WORD_FORWARD_SELECT
1256 \begin_layout Description
1257 Action Moves the cursor to the logically next beginning of a word, adding the logically traversed text to the selection.
1259 \begin_layout Description
1260 Notion See also LFUN_WORD_FORWARD.
1262 \begin_layout Description
1263 Syntax word-forward-select
1266 \begin_layout Subsection*
1269 \begin_layout Description
1270 Action Moves the cursor to the next beginning of a word "on the left".
1272 \begin_layout Description
1273 Notion This is the action which should be taken when the (e.g., ctrl-) "left" key is pressed. Generally, it moves the cursor to the next beginning of a word on the left. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves left, plain and simple. In "logical mode", movement is logically forward in RTL paragraphs, and logically backwards in LTR paragraphs.
1275 \begin_layout Description
1278 \begin_layout Description
1279 Origin dov, 28 Oct 2007
1282 \begin_layout Subsection*
1283 LFUN_WORD_LEFT_SELECT
1285 \begin_layout Description
1286 Action Moves the cursor to the next beginning of a word "on the left", adding *logically* traversed text to the selection.
1288 \begin_layout Description
1289 Notion See also LFUN_WORD_LEFT for exact details of the movement.
1291 \begin_layout Description
1292 Syntax word-left-select
1294 \begin_layout Description
1295 Origin dov, 28 Oct 2007
1298 \begin_layout Subsection*
1301 \begin_layout Description
1302 Action Moves the cursor to the next beginning of a word "on the right".
1304 \begin_layout Description
1305 Notion This is the action which should be taken when the (e.g., ctrl-) "right" key is pressed. Generally, it moves the cursor to the next beginning of a word on the right. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves right, plain and simple. In "logical mode", movement is logically forward in LTR paragraphs, and logically backwards in RTL paragraphs.
1307 \begin_layout Description
1310 \begin_layout Description
1311 Origin dov, 28 Oct 2007
1314 \begin_layout Subsection*
1315 LFUN_WORD_RIGHT_SELECT
1317 \begin_layout Description
1318 Action Moves the cursor to the next beginning of a word "on the right", adding *logically* traversed text to the selection.
1320 \begin_layout Description
1321 Notion See also LFUN_WORD_RIGHT for exact details of the movement.
1323 \begin_layout Description
1324 Syntax word-right-select
1326 \begin_layout Description
1327 Origin dov, 28 Oct 2007
1330 \begin_layout Subsection*
1333 \begin_layout Description
1334 Action Puts the word where the cursor stands into the selection.
1336 \begin_layout Description
1339 \begin_layout Description
1340 Origin Andre, 11 Sep 2002
1343 \begin_layout Subsection*
1344 LFUN_WORD_CAPITALIZE
1346 \begin_layout Description
1347 Action Capitalizes the words in the selection (i.e. the first letters) or the letter on the cursor position.
1349 \begin_layout Description
1350 Syntax word-capitalize
1353 \begin_layout Subsection*
1356 \begin_layout Description
1357 Action Change the words in the selection or from the cursor position to the end of word to the upper case.
1359 \begin_layout Description
1363 \begin_layout Subsection*
1366 \begin_layout Description
1367 Action Change the words in the selection or from the cursor position to the end of word to the lower case.
1369 \begin_layout Description
1373 \begin_layout Subsection*
1376 \begin_layout Description
1377 Action Add the word under the cursor to the respective spell checker dictionary.
1379 \begin_layout Description
1380 Syntax spelling-add [<STRING>] [<LANG>]
1382 \begin_layout Description
1383 Params <WORD>: word to add <LANG>: language name (see file languages)
1385 \begin_layout Description
1386 Origin JSpitzm, 18 Jan 2010
1389 \begin_layout Subsection*
1390 LFUN_SPELLING_IGNORE
1392 \begin_layout Description
1393 Action Let the spell checker ignore the word under the cursor in the current session for the given language.
1395 \begin_layout Description
1396 Syntax spelling-ignore [<WORD>] [<LANG>]
1398 \begin_layout Description
1399 Params <WORD>: word to ignore <LANG>: language name (see file languages)
1401 \begin_layout Description
1402 Origin JSpitzm, 18 Jan 2010
1405 \begin_layout Subsection*
1406 LFUN_SPELLING_REMOVE
1408 \begin_layout Description
1409 Action Remove the word under the cursor from the respective spell checker dictionary.
1411 \begin_layout Description
1412 Syntax spelling-remove [<STRING>] [<LANG>]
1414 \begin_layout Description
1415 Params <WORD>: word to remove <LANG>: language name (see file languages)
1417 \begin_layout Description
1418 Origin SWitt, 28 July 2010
1421 \begin_layout Subsection*
1422 LFUN_THESAURUS_ENTRY
1424 \begin_layout Description
1425 Action Look up thesaurus entries with respect to the word under the cursor.
1427 \begin_layout Description
1428 Syntax thesaurus-entry [<STRING>] [lang=<LANG>]
1430 \begin_layout Description
1431 Params <STRING>: word to look up <LANG>: language (see file languages)
1433 \begin_layout Description
1434 Origin Levon, 20 Jul 2001
1437 \begin_layout Subsection*
1440 \begin_layout Description
1441 Action Move the cursor to the beginning of the document.
1443 \begin_layout Description
1447 \begin_layout Subsection*
1448 LFUN_BUFFER_BEGIN_SELECT
1450 \begin_layout Description
1451 Action Move the cursor to the beginning of the document adding the traversed text to the selection.
1453 \begin_layout Description
1454 Syntax buffer-begin-select
1457 \begin_layout Subsection*
1460 \begin_layout Description
1461 Action Move the cursor to the end of the document.
1463 \begin_layout Description
1467 \begin_layout Subsection*
1468 LFUN_BUFFER_END_SELECT
1470 \begin_layout Description
1471 Action Move the cursor to the end of the document adding the traversed text to the selection.
1473 \begin_layout Description
1474 Syntax buffer-end-select
1477 \begin_layout Subsection*
1480 \begin_layout Description
1481 Action Move the cursor to the beginning of the current inset if it is not already there, or at the beginning of the enclosing inset otherwise
1483 \begin_layout Description
1486 \begin_layout Description
1487 Origin lasgouttes, 16 Mar 2009
1490 \begin_layout Subsection*
1491 LFUN_INSET_BEGIN_SELECT
1493 \begin_layout Description
1494 Action Move the cursor to the beginning of the current inset if it is not already there, or at the beginning of the enclosing inset otherwise (adding the traversed text to the selection).
1496 \begin_layout Description
1497 Syntax inset-begin-select
1499 \begin_layout Description
1500 Origin lasgouttes, 16 Mar 2009
1503 \begin_layout Subsection*
1506 \begin_layout Description
1507 Action Move the cursor to the end of the current inset if it is not already there, or at the end of the enclosing inset otherwise
1509 \begin_layout Description
1512 \begin_layout Description
1513 Origin lasgouttes, 16 Mar 2009
1516 \begin_layout Subsection*
1517 LFUN_INSET_END_SELECT
1519 \begin_layout Description
1520 Action Move the cursor to the end of the current inset if it is not already there, or at the end of the enclosing inset otherwise (adding the traversed text to the selection).
1522 \begin_layout Description
1523 Syntax inset-end-select
1525 \begin_layout Description
1526 Origin lasgouttes, 16 Mar 2009
1529 \begin_layout Subsection*
1530 LFUN_INSET_SELECT_ALL
1532 \begin_layout Description
1533 Action Selects all contents of an inset.
1535 \begin_layout Description
1536 Syntax inset-select-all
1538 \begin_layout Description
1539 Origin vfr, 22 Aug 2009
1542 \begin_layout Subsection*
1545 \begin_layout Description
1546 Action Selects the whole section.
1548 \begin_layout Description
1549 Notion The cursor should be in a section heading before calling this lfun.
1551 \begin_layout Description
1552 Syntax section-select
1554 \begin_layout Description
1555 Origin vfr, 05 May 2009
1558 \begin_layout Subsection*
1561 \begin_layout Description
1562 Action Move the cursor to the begining of the (screen) line.
1564 \begin_layout Description
1568 \begin_layout Subsection*
1569 LFUN_LINE_BEGIN_SELECT
1571 \begin_layout Description
1572 Action Move the cursor to the beginning of the (screen) line adding the traversed text to the selection.
1574 \begin_layout Description
1575 Syntax line-begin-select
1578 \begin_layout Subsection*
1581 \begin_layout Description
1582 Action Move the cursor to the end of the (screen) line.
1584 \begin_layout Description
1588 \begin_layout Subsection*
1589 LFUN_LINE_END_SELECT
1591 \begin_layout Description
1592 Action Move the cursor to the end of the (screen) line adding the traversed text to the selection.
1594 \begin_layout Description
1595 Syntax line-end-select
1598 \begin_layout Subsection*
1601 \begin_layout Description
1602 Action Deletes the letters to the end of the (screen) line or deletes the selection.
1604 \begin_layout Description
1605 Syntax line-delete-forward
1608 \begin_layout Subsection*
1611 \begin_layout Description
1612 Action Copies to the clipboard the last edit.
1614 \begin_layout Description
1618 \begin_layout Subsection*
1621 \begin_layout Description
1622 Action Cuts to the clipboard.
1624 \begin_layout Description
1628 \begin_layout Subsection*
1631 \begin_layout Description
1632 Action Pastes material (text or picture) from the active clipboard.
1634 \begin_layout Description
1635 Syntax paste [<TYPE>|<NUM>]
1637 \begin_layout Description
1638 Params <TYPE>: emf|pdf|png|jpeg|linkback|wmf
1639 \begin_inset Newline newline
1642 <NUM>: number of the selection in the internal clipboard stack to be pasted.
1645 \begin_layout Subsection*
1646 LFUN_CLIPBOARD_PASTE
1648 \begin_layout Description
1649 Action Pastes text from the active clipboard.
1651 \begin_layout Description
1652 Syntax clipboard-paste [<ARG>]
1654 \begin_layout Description
1655 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
1657 \begin_layout Description
1658 Origin Georg, 10 Jul 2006
1661 \begin_layout Subsection*
1662 LFUN_PRIMARY_SELECTION_PASTE
1664 \begin_layout Description
1665 Action Pastes the currently text selected text.
1667 \begin_layout Description
1668 Notion Primary selection mechanism is linux-only thing.
1670 \begin_layout Description
1671 Syntax primary-selection-paste [<ARG>]
1673 \begin_layout Description
1674 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
1677 \begin_layout Subsection*
1678 LFUN_SELECTION_PASTE
1680 \begin_layout Description
1681 Action Pastes the text in permanent selection.
1683 \begin_layout Description
1684 Syntax selection-paste
1687 \begin_layout Subsection*
1690 \begin_layout Description
1691 Action Undoes the last edit.
1693 \begin_layout Description
1697 \begin_layout Subsection*
1700 \begin_layout Description
1701 Action Redoes the last thing undone.
1703 \begin_layout Description
1707 \begin_layout Subsection*
1710 \begin_layout Description
1711 Action Repeat the given command.
1713 \begin_layout Description
1714 Syntax repeat <COUNT> <LFUN-COMMAND>
1716 \begin_layout Description
1717 Origin Andre, 27 Oct 2003
1720 \begin_layout Subsection*
1721 LFUN_CHARS_TRANSPOSE
1723 \begin_layout Description
1724 Action Transposes the character at the cursor with the one before it.
1726 \begin_layout Description
1727 Syntax chars-transpose
1729 \begin_layout Description
1730 Origin Lgb, 25 Apr 2001
1733 \begin_layout Subsection*
1734 LFUN_DEPTH_DECREMENT
1736 \begin_layout Description
1737 Action Decrease the nesting depth of the (selected) paragraph(s) inside lists.
1739 \begin_layout Description
1740 Syntax depth-decrement
1743 \begin_layout Subsection*
1744 LFUN_DEPTH_INCREMENT
1746 \begin_layout Description
1747 Action Increase the nesting depth of the (selected) paragraph(s) inside lists.
1749 \begin_layout Description
1750 Syntax depth-increment
1753 \begin_layout Subsection*
1756 \begin_layout Description
1757 Action Toggles the bold font (selection-wise) using mathbf in math.
1759 \begin_layout Description
1763 \begin_layout Subsection*
1764 LFUN_FONT_BOLDSYMBOL
1766 \begin_layout Description
1767 Action Toggles the bold font (selection-wise) using boldsymbol in math.
1769 \begin_layout Description
1770 Syntax font-boldsymbol
1773 \begin_layout Subsection*
1774 LFUN_FONT_TYPEWRITER
1776 \begin_layout Description
1777 Action Toggles the typewriter family font (selection-wise).
1779 \begin_layout Description
1780 Syntax font-typewriter
1783 \begin_layout Subsection*
1786 \begin_layout Description
1787 Action Toggles underline in the font (selection-wise).
1789 \begin_layout Description
1790 Syntax font-underline
1793 \begin_layout Subsection*
1796 \begin_layout Description
1797 Action Toggles double underline in the font (selection-wise).
1799 \begin_layout Description
1800 Syntax font-underunderline
1802 \begin_layout Description
1803 Origin sanda, 5 May 2009
1806 \begin_layout Subsection*
1809 \begin_layout Description
1810 Action Toggles wavy underline in the font (selection-wise).
1812 \begin_layout Description
1813 Syntax font-underwave
1815 \begin_layout Description
1816 Origin sanda, 5 May 2009
1819 \begin_layout Subsection*
1822 \begin_layout Description
1823 Action Toggles strikeout (strike-through) in the font (selection-wise).
1825 \begin_layout Description
1826 Syntax font-strikeout
1828 \begin_layout Description
1829 Origin sanda, 3 May 2009
1832 \begin_layout Subsection*
1835 \begin_layout Description
1836 Action Toggles the emphasis font style (selection-wise).
1838 \begin_layout Description
1842 \begin_layout Subsection*
1845 \begin_layout Description
1846 Action Toggles Noun text style font (selection-wise).
1848 \begin_layout Description
1852 \begin_layout Subsection*
1855 \begin_layout Description
1856 Action Toggles Roman family font (selection-wise).
1858 \begin_layout Description
1862 \begin_layout Subsection*
1865 \begin_layout Description
1866 Action Toggles Sans Serif family font (selection-wise).
1868 \begin_layout Description
1872 \begin_layout Subsection*
1875 \begin_layout Description
1876 Action Toggles Fraktur family font (math-mode, selection-wise).
1878 \begin_layout Description
1881 \begin_layout Description
1882 Origin vermeer, 10 Jan 2002
1885 \begin_layout Subsection*
1888 \begin_layout Description
1889 Action Toggles Italics font shape (math-mode, selection-wise).
1891 \begin_layout Description
1894 \begin_layout Description
1895 Origin vermeer, 10 Jan 2002
1898 \begin_layout Subsection*
1901 \begin_layout Description
1902 Action Reverts the settings of the font to the default values (selection-wise).
1904 \begin_layout Description
1908 \begin_layout Subsection*
1911 \begin_layout Description
1912 Action Sets font size according to lyx format string.
1914 \begin_layout Description
1915 Syntax font-size <SIZE>
1917 \begin_layout Description
1918 Params <SIZE>: tiny|scriptsize|footnotesize|small|normal|large|larger|
1919 \begin_inset Newline newline
1922 largest|huge|giant|increase|decrease|default
1925 \begin_layout Subsection*
1926 LFUN_TEXTSTYLE_APPLY
1928 \begin_layout Description
1929 Action Toggle user-defined (=last-time used) text style.
1931 \begin_layout Description
1932 Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically trigerred when using Text Style dialog.
1934 \begin_layout Description
1935 Syntax textstyle-apply
1937 \begin_layout Description
1938 Origin leeming, 12 Mar 2003
1941 \begin_layout Subsection*
1942 LFUN_TEXTSTYLE_UPDATE
1944 \begin_layout Description
1945 Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APPLY.
1947 \begin_layout Description
1948 Syntax textstyle-update <FONT_INFO>
1950 \begin_layout Description
1951 Params <FONT_INFO>: specifies font atributes, e.g. family, series, shape, size, emph, noun, underbar, number, color, language, toggleall.
1952 \begin_inset Newline newline
1955 Use lyx -dbg action for exact syntax of text-style dialog parameters.
1957 \begin_layout Description
1958 Origin leeming, 12 Mar 2003
1961 \begin_layout Subsection*
1962 LFUN_SCREEN_FONT_UPDATE
1964 \begin_layout Description
1965 Action Update fonts and its metrics.
1967 \begin_layout Description
1968 Notion Automatically called after zoom, dpi, font names, or norm change.
1970 \begin_layout Description
1971 Syntax screen-font-update
1973 \begin_layout Description
1974 Origin ARRae, 13 Aug 2000
1977 \begin_layout Subsection*
1980 \begin_layout Description
1981 Action Returns the info about the current font.
1983 \begin_layout Description
1987 \begin_layout Subsection*
1988 LFUN_CITATION_INSERT
1990 \begin_layout Description
1991 Action Inserts citation from loaded citation database.
1993 \begin_layout Description
1994 Syntax citation-insert [<KEY>[|<TEXT_BEFORE>]]
1996 \begin_layout Description
1997 Params <KEY>: Citation (shortcut listed in available citations).
1998 \begin_inset Newline newline
2001 <TEXT_BEFORE>: text which should appear before citation.
2003 \begin_layout Description
2004 Origin AAS, 97-02-23
2007 \begin_layout Subsection*
2008 LFUN_BIBTEX_DATABASE_ADD
2010 \begin_layout Description
2011 Action Adds database, which will be used for bibtex citations.
2013 \begin_layout Description
2014 Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor postion.
2016 \begin_layout Description
2017 Syntax bibtex-database-add <DATABASE-NAME>
2019 \begin_layout Description
2020 Origin Ale, 30 May 1997
2023 \begin_layout Subsection*
2024 LFUN_BIBTEX_DATABASE_DEL
2026 \begin_layout Description
2027 Action Adds database, which will be used for bibtex citations.
2029 \begin_layout Description
2030 Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor postion.
2032 \begin_layout Description
2033 Syntax bibtex-database-del <DATABASE-NAME>
2035 \begin_layout Description
2036 Origin Ale, 30 May 1997
2039 \begin_layout Subsection*
2042 \begin_layout Description
2043 Action Sets the layout (that is, environment) for the current paragraph.
2045 \begin_layout Description
2046 Syntax layout <LAYOUT>
2048 \begin_layout Description
2049 Params <LAYOUT>: the layout to use
2052 \begin_layout Subsection*
2053 LFUN_LAYOUT_PARAGRAPH
2055 \begin_layout Description
2056 Action Launches the paragraph settings dialog.
2058 \begin_layout Description
2059 Syntax layout-paragraph
2062 \begin_layout Subsection*
2065 \begin_layout Description
2066 Action Launches the tabular settings dialog.
2068 \begin_layout Description
2069 Syntax layout-tabular
2071 \begin_layout Description
2072 Origin Jug, 31 Jul 2000
2075 \begin_layout Subsection*
2076 LFUN_DROP_LAYOUTS_CHOICE
2078 \begin_layout Description
2079 Action Displays list of layout choices.
2081 \begin_layout Description
2082 Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox allowing for choice of layout.
2084 \begin_layout Description
2085 Syntax drop-layouts-choice
2088 \begin_layout Subsection*
2089 LFUN_LAYOUT_MODULES_CLEAR
2091 \begin_layout Description
2092 Action Clears the module list.
2094 \begin_layout Description
2095 Notion Clears the list of included modules for the current buffer.
2097 \begin_layout Description
2098 Syntax layout-modules-clear
2100 \begin_layout Description
2101 Origin rgh, 25 August 2007
2104 \begin_layout Subsection*
2105 LFUN_LAYOUT_MODULE_ADD
2107 \begin_layout Description
2108 Action Adds a module.
2110 \begin_layout Description
2111 Notion Adds a module to the list of included modules for the current buffer.
2113 \begin_layout Description
2114 Syntax layout-module-add <MODULE>
2116 \begin_layout Description
2117 Params <MODULE>: the module to be added
2119 \begin_layout Description
2120 Origin rgh, 25 August 2007
2123 \begin_layout Subsection*
2126 \begin_layout Description
2127 Action Reloads layout information.
2129 \begin_layout Description
2130 Notion Reloads all layout information for the current buffer from disk, thus recognizing any changes that have been made to layout files on the fly. This is intended to be used only by layout developers and should not be used when one is trying to do actual work.
2132 \begin_layout Description
2133 Syntax layout-reload
2135 \begin_layout Description
2136 Origin rgh, 3 September 2007
2139 \begin_layout Subsection*
2140 LFUN_TEXTCLASS_APPLY
2142 \begin_layout Description
2143 Action Sets the text class for the current buffer.
2145 \begin_layout Description
2146 Syntax textclass-apply <TEXTCLASS>
2148 \begin_layout Description
2149 Params <TEXTCLASS>: the textclass to set. Note that this must be the filename, minus the ".layout" extension.
2152 \begin_layout Subsection*
2155 \begin_layout Description
2156 Action Loads information for a textclass from disk.
2158 \begin_layout Description
2159 Syntax textclass-load <TEXTCLASS>
2161 \begin_layout Description
2162 Params <TEXTCLASS>: the textclass to load. Note that this must be the filename, minus the ".layout" extension.
2165 \begin_layout Subsection*
2168 \begin_layout Description
2169 Action Disable selecting of text-region.
2171 \begin_layout Description
2175 \begin_layout Subsection*
2178 \begin_layout Description
2179 Action Enable selecting of text-region.
2181 \begin_layout Description
2182 Notion After enabling you can simply move arrow keys to get selected region.
2184 \begin_layout Description
2188 \begin_layout Subsection*
2191 \begin_layout Description
2192 Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
2194 \begin_layout Description
2197 \begin_layout Description
2198 Origin Andre, May 5 2006
2201 \begin_layout Subsection*
2204 \begin_layout Description
2205 Action Inserts math delimiters (e.g. parentheses, brackets) enclosing expression.
2207 \begin_layout Description
2208 Syntax math-delim [<LEFT>] [<RIGHT>]
2210 \begin_layout Description
2211 Params <LEFT/RIGHT>: Delimiters to be used. Each delimiter can be specified by either a LaTeX name or a valid character. ( is the default letter.
2213 \begin_layout Description
2214 Sample math-delim { rangle
2216 \begin_layout Description
2217 Origin Alejandro, 18 Jun 1996
2220 \begin_layout Subsection*
2223 \begin_layout Description
2224 Action Inserts math fixed size delimiters (e.g. parentheses, brackets) enclosing expression.
2226 \begin_layout Description
2227 Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
2229 \begin_layout Description
2230 Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
2231 \begin_inset Newline newline
2234 <L/RDELIM>: TeX code for delimiter. See Delimiter dialog for delimiters to be used.
2236 \begin_layout Description
2237 Sample math-bigdelim "Bigl" "
2243 \begin_layout Description
2244 Origin Enrico & Georg, 7 May 2006
2247 \begin_layout Subsection*
2250 \begin_layout Description
2251 Action Creates a new displayed equation in text mode. Toggles inlined/display formula in math mode.
2253 \begin_layout Description
2254 Syntax math-display [<ARG>]
2256 \begin_layout Description
2257 Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating new equation from the text mode.
2259 \begin_layout Description
2260 Origin Alejandro, 18 Jun 1996
2263 \begin_layout Subsection*
2266 \begin_layout Description
2267 Action Inserts math objects and symbols.
2269 \begin_layout Description
2270 Notion When <ARG> is a _single_ math inset with more than one cell (such as "x_y^z" or "
2272 frac{x}{y}"), the content of cell(0) is replaced by the current selection (only works if the selection is in mathed). As an example, if "abc" is selected in mathed, "math-insert
2274 frac{x}{y}" replaces "abc" with "
2276 frac{abc}{y}", and "math-insert x_y^z" replaces "abc" with "abc_y^z". If nothing is selected (or the selection is not in mathed), math-insert works as expected.
2278 \begin_layout Description
2279 Syntax math-insert <ARG>
2281 \begin_layout Description
2282 Params <ARG>: Symbol or LaTeX code to be inserted.
2285 \begin_layout Subsection*
2288 \begin_layout Description
2289 Action Enters subscript expression in math expression.
2291 \begin_layout Description
2292 Syntax math-subscript
2294 \begin_layout Description
2295 Origin vermeer, 12 Dec 2001
2298 \begin_layout Subsection*
2299 LFUN_MATH_SUPERSCRIPT
2301 \begin_layout Description
2302 Action Enters superscript expression in math expression.
2304 \begin_layout Description
2305 Syntax math-superscript
2307 \begin_layout Description
2308 Origin vermeer, 12 Dec 2001
2311 \begin_layout Subsection*
2314 \begin_layout Description
2315 Action Toggles the position of the limits from above/below to the right side an vice versa in integral symbol, a limit, a summation, etc.
2317 \begin_layout Description
2318 Notion Put the cursor before the symbol with the limits and then invoke math-limits.
2320 \begin_layout Description
2321 Syntax math-limits [<STATE>]
2323 \begin_layout Description
2324 Params <STATE>: limits|nolimits
2327 \begin_layout Subsection*
2330 \begin_layout Description
2331 Action Inserts a math macro definition at the cursor position in the text.
2333 \begin_layout Description
2334 Syntax math-macro <NAME> [<NARGS>] [def]
2336 \begin_layout Description
2337 Params <NAME>: The name of the macro, e.g. "mymacro".
2338 \begin_inset Newline newline
2341 <NARGS>: The number of parameters of the macro. Default is 0. "def": Has no effect anymore, just for compatibility with former LyX versions.
2343 \begin_layout Description
2344 Origin ale, 10 May 1997; sts, 21 Dec 2007
2347 \begin_layout Subsection*
2350 \begin_layout Description
2351 Action Mutates the type of math inset to the newly selected one.
2353 \begin_layout Description
2354 Syntax math-mutate <TYPE>
2356 \begin_layout Description
2357 Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat| multline|gather|flalign
2359 \begin_layout Description
2360 Origin Andre, 23 May 2001
2363 \begin_layout Subsection*
2366 \begin_layout Description
2367 Action Inserts space into math expression.
2369 \begin_layout Description
2370 Notion Use spacebar after entering this space to change type of space.
2372 \begin_layout Description
2373 Syntax math-space [<TYPE>] [<LEN>]
2375 \begin_layout Description
2376 Params <TYPE>: negative spaces: !|negthinspace|negmedspace|negthickspace
2377 \begin_inset Newline newline
2380 positive spaces: ,|thinspace|:|medspace|;|thickspace|enskip|quad|qquad
2381 \begin_inset Newline newline
2384 custom space: hspace
2385 \begin_inset Newline newline
2388 "," used by default.
2389 \begin_inset Newline newline
2392 Note that ! is equivalent to negthinspace, , = thinspace, : = medspace, and ; = thickspace.
2393 \begin_inset Newline newline
2396 <LEN>: length for custom spaces (hspace)
2398 \begin_layout Description
2399 Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
2402 \begin_layout Subsection*
2405 \begin_layout Description
2406 Action Inserts a matrix.
2408 \begin_layout Description
2409 Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
2411 \begin_layout Description
2412 Params <ALIGN>: Alignment is a word composed of the vertical alignment (b, c or t) (i.e. 1 char) and the horizontal alignments (l, c or r) (i.e. <COL> chars).
2414 \begin_layout Description
2415 Sample math-matrix 3 3 bccc
2418 \begin_layout Subsection*
2419 LFUN_MATH_AMS_MATRIX
2421 \begin_layout Description
2422 Action Inserts a matrix.
2424 \begin_layout Description
2425 Syntax math-matrix <COLS> <ROWS> [<DECORATION>]
2427 \begin_layout Description
2428 Params <DECORATION>: Decoration determines the LaTeX name of the matrix that should be created.
2430 \begin_layout Description
2431 Sample math-ams-matrix 3 3 bmatrix
2434 \begin_layout Subsection*
2437 \begin_layout Description
2438 Action In text mode enters math mode (i.e. puts math insets on the current cursor position), in math mode enters text mode inside math expression.
2440 \begin_layout Description
2441 Notion If there is some selected text, it puts the text inside created math box.
2443 \begin_layout Description
2444 Syntax math-mode [on|<ARG>]
2446 \begin_layout Description
2447 Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT .
2448 \begin_inset Newline newline
2451 "on": allow only entering of math mode from text mode.
2453 \begin_layout Description
2454 Origin Alejandro, 4 Jun 1996
2457 \begin_layout Subsection*
2460 \begin_layout Description
2461 Action Enters regexp mode (i.e., puts regexp insets on the current cursor position). Used by the advanced search dialog.
2463 \begin_layout Description
2464 Notion If there is any selected text, then it is moved inside the created regexp inset.
2466 \begin_layout Description
2467 Syntax regexp-mode [<ARG>]
2469 \begin_layout Description
2470 Params <ARG>: eventual argument (regular expression).
2472 \begin_layout Description
2473 Origin Tommaso, 4 Oct 2008
2476 \begin_layout Subsection*
2477 LFUN_MATH_NUMBER_LINE_TOGGLE
2479 \begin_layout Description
2480 Action Toggles numbering of the current formula line.
2482 \begin_layout Description
2483 Notion Must be in display formula mode.
2485 \begin_layout Description
2486 Syntax math-number-line-toggle
2488 \begin_layout Description
2489 Origin Alejandro, 18 Jun 1996
2492 \begin_layout Subsection*
2493 LFUN_MATH_NUMBER_TOGGLE
2495 \begin_layout Description
2496 Action Toggles numbering/labeling of the current formula.
2498 \begin_layout Description
2499 Notion Must be in display formula mode.
2501 \begin_layout Description
2502 Syntax math-number-toggle
2504 \begin_layout Description
2505 Origin Alejandro, 4 Jun 1996
2508 \begin_layout Subsection*
2511 \begin_layout Description
2512 Action Calls external program and passes the current expression/equation as an argument for the calculation in the format appropriate to the given language.
2514 \begin_layout Description
2515 Notion Selection can be used to determine the input for the external program.
2517 \begin_layout Description
2518 Syntax math-extern <LANG> [<COMMAND>]
2520 \begin_layout Description
2521 Params <LANG>: octave|maxima|maple|mathematica|script
2522 \begin_inset Newline newline
2525 where "script" stands fot the external script (normalized expression will be passed)
2527 \begin_layout Description
2528 Sample math-extern maple simplify
2530 \begin_layout Description
2531 Origin Andre, 24 Apr 2001
2534 \begin_layout Subsection*
2537 \begin_layout Description
2538 Action Changes arbitrarily the size used by math fonts inside a context.
2540 \begin_layout Description
2541 Notion Provides an interface to the LaTeX math mode font size commands.
2543 \begin_layout Description
2544 Syntax math-size <STYLE>
2546 \begin_layout Description
2557 \begin_layout Description
2558 Origin Alejandro, 15 Aug 1996; sanda, 14 Jun 2008
2561 \begin_layout Subsection*
2562 LFUN_MATH_FONT_STYLE
2564 \begin_layout Description
2565 Action Changes the text style used in math.
2567 \begin_layout Description
2568 Syntax math-font-style <STYLE>
2570 \begin_layout Description
2571 Params <STYLE>: mathnormal|mathcal|mathfrak|mathrm|mathsf|mathbf |textnormal|textrm|textsf|texttt|textbf|textmd|textit |textsc|textsl|textup
2573 \begin_layout Description
2574 Origin vfr, 9 jan 2009
2577 \begin_layout Subsection*
2578 LFUN_MATH_MACRO_UNFOLD
2580 \begin_layout Description
2581 Action Unfold a Math Macro.
2583 \begin_layout Description
2584 Notion Unfold the Math Macro the cursor is in, i.e. display it as
2588 \begin_layout Description
2589 Syntax math-macro-unfold
2591 \begin_layout Description
2592 Origin sts, 06 January 2008
2595 \begin_layout Subsection*
2596 LFUN_MATH_MACRO_FOLD
2598 \begin_layout Description
2599 Action Fold a Math Macro.
2601 \begin_layout Description
2602 Notion Fold the Math Macro the cursor is in if it was unfolded, i.e. displayed as
2606 \begin_layout Description
2607 Syntax math-macro-fold
2609 \begin_layout Description
2610 Origin sts, 06 January 2008
2613 \begin_layout Subsection*
2614 LFUN_MATH_MACRO_ADD_PARAM
2616 \begin_layout Description
2617 Action Add a parameter.
2619 \begin_layout Description
2620 Notion Add a parameter to a Math Macro.
2622 \begin_layout Description
2623 Syntax math-macro-add-param <NUM>
2625 \begin_layout Description
2626 Params <NUM>: The number of the parameter behind which the new one will be added (1 for the first, i.e. use 0 for add a parameter at the left), defaults to the last one.
2628 \begin_layout Description
2629 Origin sts, 06 January 2008
2632 \begin_layout Subsection*
2633 LFUN_MATH_MACRO_REMOVE_PARAM
2635 \begin_layout Description
2636 Action Remove the last parameter.
2638 \begin_layout Description
2639 Notion Remove the last parameter of a Math Macro and remove its value in all instances of the macro in the buffer.
2641 \begin_layout Description
2642 Syntax math-macro-remove-param <NUM>
2644 \begin_layout Description
2645 Params <NUM>: The number of the parameter to be deleted (1 for the first), defaults to the last one.
2647 \begin_layout Description
2648 Origin sts, 06 January 2008
2651 \begin_layout Subsection*
2652 LFUN_MATH_MACRO_APPEND_GREEDY_PARAM
2654 \begin_layout Description
2655 Action Append a greedy parameter.
2657 \begin_layout Description
2658 Notion Append a greedy parameter to a Math Macro which eats the following mathed cell in every instance of the macro in the buffer.
2660 \begin_layout Description
2661 Syntax math-macro-append-greedy-param
2663 \begin_layout Description
2664 Origin sts, 06 January 2008
2667 \begin_layout Subsection*
2668 LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM
2670 \begin_layout Description
2671 Action Remove a greedy parameter.
2673 \begin_layout Description
2674 Notion Remove a greedy parameter of a Math Macro and spit out the values of it in every instance of the macro in the buffer. If it is an optional parameter the [valud] format is used.
2676 \begin_layout Description
2677 Syntax math-macro-remove-greedy-param
2679 \begin_layout Description
2680 Origin sts, 06 January 2008
2683 \begin_layout Subsection*
2684 LFUN_MATH_MACRO_MAKE_OPTIONAL
2686 \begin_layout Description
2687 Action Make a parameter optional.
2689 \begin_layout Description
2690 Notion Turn the first non-optional parameter of a Math Macro into an optional parameter with a default value.
2692 \begin_layout Description
2693 Syntax math-macro-make-optional
2695 \begin_layout Description
2696 Origin sts, 06 January 2008
2699 \begin_layout Subsection*
2700 LFUN_MATH_MACRO_MAKE_NONOPTIONAL
2702 \begin_layout Description
2703 Action Make a parameter non-optional.
2705 \begin_layout Description
2706 Notion Turn the last optional parameter of a Math Macro into a non-optional parameter. The default value is remembered to be reused later if the user changes his mind.
2708 \begin_layout Description
2709 Syntax math-macro-make-nonoptional
2711 \begin_layout Description
2712 Origin sts, 06 January 2008
2715 \begin_layout Subsection*
2716 LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM
2718 \begin_layout Description
2719 Action Add an optional parameter.
2721 \begin_layout Description
2722 Notion Insert an optional parameter just behind the already existing optional parameters.
2724 \begin_layout Description
2725 Syntax math-macro-add-optional-param
2727 \begin_layout Description
2728 Origin sts, 06 January 2008
2731 \begin_layout Subsection*
2732 LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
2734 \begin_layout Description
2735 Action Remove the last optional parameter.
2737 \begin_layout Description
2738 Notion Remove the last optional parameter of a Math Macro and remove it in all the instances of the macro in the buffer.
2740 \begin_layout Description
2741 Syntax math-macro-remove-optional-param
2743 \begin_layout Description
2744 Origin sts, 06 January 2008
2747 \begin_layout Subsection*
2748 LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM
2750 \begin_layout Description
2751 Action Add a greedy optional parameter.
2753 \begin_layout Description
2754 Notion Add a greedy optional parameter which eats the value from the following cells in mathed which are in the [value] format.
2756 \begin_layout Description
2757 Syntax math-macro-add-greedy-optional-param
2759 \begin_layout Description
2760 Origin sts, 06 January 2008
2763 \begin_layout Subsection*
2764 LFUN_IN_MATHMACROTEMPLATE
2766 \begin_layout Description
2767 Action Only active in Math Macro definition.
2769 \begin_layout Description
2770 Notion Dummy function which is only active in a Math Macro definition. It's used to toggle the Math Macro toolbar if the cursor moves into a Math Macro definition.
2772 \begin_layout Description
2773 Syntax in-mathmacrotemplate
2775 \begin_layout Description
2776 Origin sts, 06 January 2008
2779 \begin_layout Subsection*
2780 LFUN_PARAGRAPH_MOVE_DOWN
2782 \begin_layout Description
2783 Action Moves the current paragraph downwards in the document.
2785 \begin_layout Description
2786 Syntax paragraph-move-down
2788 \begin_layout Description
2789 Origin Edwin, 8 Apr 2006
2792 \begin_layout Subsection*
2793 LFUN_PARAGRAPH_MOVE_UP
2795 \begin_layout Description
2796 Action Moves the current paragraph upwards in the document.
2798 \begin_layout Description
2799 Syntax paragraph-move-up
2801 \begin_layout Description
2802 Origin Edwin, 8 Apr 2006
2805 \begin_layout Subsection*
2808 \begin_layout Description
2809 Action Move the cursor to the next paragraph (or begining of the current one) in upward direction.
2811 \begin_layout Description
2814 \begin_layout Description
2815 Origin Asger, 1 Oct 1996
2818 \begin_layout Subsection*
2819 LFUN_PARAGRAPH_UP_SELECT
2821 \begin_layout Description
2822 Action Move the cursor and select the text to the next paragraph (or begining of the current one) in upward direction.
2824 \begin_layout Description
2825 Syntax paragraph-up-select
2827 \begin_layout Description
2828 Origin Asger, 1 Oct 1996
2831 \begin_layout Subsection*
2834 \begin_layout Description
2835 Action Move the cursor to the next paragraph (or begining of the current one) in downward direction.
2837 \begin_layout Description
2838 Syntax paragraph-down
2840 \begin_layout Description
2841 Origin Asger, 1 Oct 1996
2844 \begin_layout Subsection*
2845 LFUN_PARAGRAPH_DOWN_SELECT
2847 \begin_layout Description
2848 Action Move the cursor and select the text to the next paragraph (or begining of the current one) in downward direction.
2850 \begin_layout Description
2851 Syntax paragraph-down-select
2853 \begin_layout Description
2854 Origin Asger, 1 Oct 1996
2857 \begin_layout Subsection*
2860 \begin_layout Description
2861 Action Jump to a paragraph given by its id number and optionally the desired position within the paragraph.
2863 \begin_layout Description
2864 Notion Note that id number of paragraph is not the sequential number of paragraph seen on the screen. Moreover the id is unique for all opened buffers (documents).
2866 \begin_layout Description
2867 Syntax paragraph-goto <PAR_ID_NUMBER> <POSITION_IN_PAR>
2869 \begin_layout Description
2870 Params <PAR_ID_NUMBER>: paragraph id
2871 \begin_inset Newline newline
2874 <POSITION_IN_PAR>: desired position within the paragraph
2876 \begin_layout Description
2877 Origin Dekel, 26 Aug 2000
2880 \begin_layout Subsection*
2881 LFUN_BREAK_PARAGRAPH
2883 \begin_layout Description
2884 Action Breaks the current paragraph at the current location.
2886 \begin_layout Description
2887 Notion Removes the selection.
2889 \begin_layout Description
2890 Syntax break-paragraph [<LAYOUT>]
2892 \begin_layout Description
2893 Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to default layout) when the cursor is at the end of the line.
2896 \begin_layout Subsection*
2897 LFUN_PARAGRAPH_PARAMS
2899 \begin_layout Description
2900 Action Change paragraph settings.
2902 \begin_layout Description
2903 Notion Modifies the current paragraph, or currently selected paragraphs. This function only modifies, and does not override, existing settings. Note that the "leftindent" indent setting is deprecated.
2905 \begin_layout Description
2906 Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
2908 \begin_layout Description
2918 \begin_inset Newline newline
2923 paragraph_spacing default|single|onehalf|double|other SIZE
2924 \begin_inset Newline newline
2929 align block|left|right|center|default
2930 \begin_inset Newline newline
2935 labelwidthstring WIDTH|
2939 \begin_layout Description
2940 Origin rgh, Aug 15 2007
2943 \begin_layout Subsection*
2944 LFUN_PARAGRAPH_PARAMS_APPLY
2946 \begin_layout Description
2947 Action Change paragraph settings.
2949 \begin_layout Description
2950 Notion Overwrite all nonspecified settings to the default ones. Use paragraph-params lfun if you don't want to overwrite others settings.
2952 \begin_layout Description
2953 Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
2955 \begin_layout Description
2956 Params For parameters see LFUN_PARAGRAPH_PARAMS
2958 \begin_layout Description
2959 Origin leeming, 30 Mar 2004
2962 \begin_layout Subsection*
2963 LFUN_PARAGRAPH_UPDATE
2965 \begin_layout Description
2966 Action Updates the values inside the paragraph dialog from the paragraph.
2968 \begin_layout Description
2969 Notion This is internal LFUN, not to be used by users. Called internally by LFUN_DIALOG_UPDATE.
2971 \begin_layout Description
2972 Origin leeming, 13 Mar 2003
2975 \begin_layout Subsection*
2978 \begin_layout Description
2979 Action Move the current group in the upward direction in the structure of the document.
2981 \begin_layout Description
2982 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
2984 \begin_layout Description
2987 \begin_layout Description
2988 Origin Vermeer, 23 Mar 2006
2991 \begin_layout Subsection*
2994 \begin_layout Description
2995 Action Move the current group in the downward direction in the structure of the document.
2997 \begin_layout Description
2998 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
3000 \begin_layout Description
3003 \begin_layout Description
3004 Origin Vermeer, 23 Mar 2006
3007 \begin_layout Subsection*
3010 \begin_layout Description
3011 Action Moves the current group in the downward direction in the hierarchy of the document structure.
3013 \begin_layout Description
3014 Notion Part -> Chapter -> Section -> etc.
3016 \begin_layout Description
3019 \begin_layout Description
3020 Origin Vermeer, 23 Mar 2006
3023 \begin_layout Subsection*
3026 \begin_layout Description
3027 Action Moves the current group in the upward direction in the hierarchy of the document structure.
3029 \begin_layout Description
3030 Notion Part <- Chapter <- Section <- etc.
3032 \begin_layout Description
3035 \begin_layout Description
3036 Origin Vermeer, 23 Mar 2006
3039 \begin_layout Subsection*
3042 \begin_layout Description
3043 Action Edit the inset at cursor with an external application, if one is attributed.
3045 \begin_layout Description
3046 Syntax inset-edit [<INSET_PARAMS>]
3048 \begin_layout Description
3049 Params <INSET_PARAMS>: Parameters for the inset.
3050 \begin_inset Newline newline
3053 Currently only the filename will be considered.
3055 \begin_layout Description
3056 Origin JSpitzm, 27 Apr 2006
3059 \begin_layout Subsection*
3062 \begin_layout Description
3063 Action Inserts table into the document.
3065 \begin_layout Description
3066 Notion See LFUN_INSET_MODIFY for some more details about tabular modifications.
3068 \begin_layout Description
3069 Syntax tabular-insert [<ROWS> <COLUMNS>]
3071 \begin_layout Description
3072 Params In case no arguments are given show insert dialog.
3074 \begin_layout Description
3075 Origin Jug, 12 Apr 2000
3078 \begin_layout Subsection*
3081 \begin_layout Description
3082 Action Moves the cursor to the previous cell inside the table.
3084 \begin_layout Description
3085 Syntax cell-backward
3087 \begin_layout Description
3088 Origin Jug, 22 May 2000
3091 \begin_layout Subsection*
3094 \begin_layout Description
3095 Action Moves the cursor to the next cell inside the table.
3097 \begin_layout Description
3101 \begin_layout Subsection*
3104 \begin_layout Description
3105 Action Splits cell and shifts right part to the next cell (inside the math grid).
3107 \begin_layout Description
3110 \begin_layout Description
3111 Origin Ale, 15 May 1997
3114 \begin_layout Subsection*
3117 \begin_layout Description
3118 Action Register the document as an file inside version control system (RCS, CVS).
3120 \begin_layout Description
3121 Notion File is registered inside cvs, svn or rcs repository acording to the existence of cvs/svn/rcs entries in the document's directory.
3122 \begin_inset Newline newline
3125 See LyX Additional Features Manual (Version Control Chapter) for additional information.
3127 \begin_layout Description
3130 \begin_layout Description
3131 Origin Lgb, 1 Jul 1997
3134 \begin_layout Subsection*
3137 \begin_layout Description
3138 Action Checks-in/commits the changes of the registered file to the repository.
3140 \begin_layout Description
3141 Notion In RCS case this also unlocks the file.
3143 \begin_layout Description
3146 \begin_layout Description
3147 Origin Lgb, 1 Jul 1997
3150 \begin_layout Subsection*
3153 \begin_layout Description
3154 Action Checks-out the document for edit (and locks it for RCS).
3156 \begin_layout Description
3157 Notion This is implemented only for RCS and SVN, not CVS.
3159 \begin_layout Description
3162 \begin_layout Description
3163 Origin Lgb, 1 Jul 1997
3166 \begin_layout Subsection*
3169 \begin_layout Description
3170 Action Reverts the document to the last check-in/commit in VCS.
3172 \begin_layout Description
3175 \begin_layout Description
3176 Origin Lgb, 1 Jul 1997
3179 \begin_layout Subsection*
3182 \begin_layout Description
3183 Action Undo last check-in.
3185 \begin_layout Description
3186 Notion This is currently implemented only for RCS.
3188 \begin_layout Description
3191 \begin_layout Description
3192 Origin Lgb, 1 Jul 1997
3195 \begin_layout Subsection*
3198 \begin_layout Description
3199 Action Executes external command. This command is intended to support additional VCS commands.
3201 \begin_layout Description
3202 Syntax vc-command <FLAG> <PATH> <COMMAND>
3204 \begin_layout Description
3205 Params <FLAG>: Flags for the command can be combined together.
3206 \begin_inset Newline newline
3209 U - dUmmy - no flags
3210 \begin_inset Newline newline
3213 D - Doc - need document loaded to proceed
3214 \begin_inset Newline newline
3217 I - dIrty - mark document dirty
3218 \begin_inset Newline newline
3221 R - Reload - ensure that the document is saved and reload it after command execution
3222 \begin_inset Newline newline
3225 M - Message - ask for input string (commit message)
3226 \begin_inset Newline newline
3229 <PATH>: path where to start. $$p will be replaced by the current document path.
3230 \begin_inset Newline newline
3233 <COMMAND>: command to execute. $$i/$$p/$$m will be replaced by the current document(with absolute path)/path/message.
3235 \begin_layout Description
3236 Sample vc-command DR $$p "svn up"
3238 \begin_layout Description
3239 Origin sanda, 13 Jan 2009
3242 \begin_layout Subsection*
3243 LFUN_VC_LOCKING_TOGGLE
3245 \begin_layout Description
3246 Action Toggles the locking property of the edited file.
3248 \begin_layout Description
3249 Notion This is currently implemented only for SVN.
3251 \begin_layout Description
3252 Syntax vc-locking-toggle
3254 \begin_layout Description
3255 Origin sanda, 25 Jun 2009
3258 \begin_layout Subsection*
3261 \begin_layout Description
3262 Action Update the local archive directory in which resides the current document with the remote repository.
3264 \begin_layout Description
3265 Notion This is currently implemented only for SVN.
3267 \begin_layout Description
3268 Syntax vc-repo-update
3270 \begin_layout Description
3271 Origin sanda, 16 Oct 2009
3274 \begin_layout Subsection*
3277 \begin_layout Description
3278 Action Compares two revisions of the same file under version control.
3280 \begin_layout Description
3281 Notion This is currently implemented only for SVN and RCS.
3283 \begin_layout Description
3284 Syntax vc-compare [<REV1>] [<REV2>]
3286 \begin_layout Description
3287 Params Revision number either points directly to commit in history or if negative number -x it points to (last commit - x).
3288 \begin_inset Newline newline
3291 In RCS we subtract only in the last number of revision specification. Special case "0" is reserved for the last committed revision.
3292 \begin_inset Newline newline
3296 \begin_inset Newline newline
3299 <REV2>: Newer file. Used only if REV1 > 0.
3300 \begin_inset Newline newline
3303 If no parameter is given, interactive dialog will be shown.
3305 \begin_layout Description
3306 Sample Compare current document against last commit
3307 \begin_inset Newline newline
3310 vc-compare 0Compare current document against current revision - 5 commits
3311 \begin_inset Newline newline
3314 vc-compare -5Compare revisions 120 and 155
3315 \begin_inset Newline newline
3320 \begin_layout Description
3321 Origin sanda, 12 Feb 2010
3324 \begin_layout Subsection*
3327 \begin_layout Description
3328 Action Toggles change tracking to on/off.
3330 \begin_layout Description
3331 Syntax changes-track
3333 \begin_layout Description
3334 Origin levon, 1 Oct 2002
3337 \begin_layout Subsection*
3340 \begin_layout Description
3341 Action Toggles showing of change tracking in typesetted output.
3343 \begin_layout Description
3344 Syntax changes-output
3346 \begin_layout Description
3347 Origin jspitzm, 21 Jan 2005
3350 \begin_layout Subsection*
3353 \begin_layout Description
3354 Action Moves the cursor to the position of the next change of the change tracking records.
3356 \begin_layout Description
3359 \begin_layout Description
3360 Origin schmitt, 4 Oct 2006
3363 \begin_layout Subsection*
3364 LFUN_CHANGE_PREVIOUS
3366 \begin_layout Description
3367 Action Moves the cursor to the position of the previous change of the change tracking records.
3369 \begin_layout Description
3370 Syntax change-previous
3372 \begin_layout Description
3373 Origin vfr, 4 Apr 2009
3376 \begin_layout Subsection*
3379 \begin_layout Description
3380 Action Open change tracking dialog for merging and moves the cursor to the position of the next change.
3382 \begin_layout Description
3383 Syntax changes-merge
3385 \begin_layout Description
3386 Origin Levon, 16 Oct 2002
3389 \begin_layout Subsection*
3392 \begin_layout Description
3393 Action Accepts tracked change inside the selection.
3395 \begin_layout Description
3396 Syntax change-accept
3398 \begin_layout Description
3399 Origin Levon, 16 Oct 2002
3402 \begin_layout Subsection*
3405 \begin_layout Description
3406 Action Rejects tracked change inside the selection.
3408 \begin_layout Description
3409 Syntax change-accept
3411 \begin_layout Description
3412 Origin Levon, 16 Oct 2002
3415 \begin_layout Subsection*
3416 LFUN_ALL_CHANGES_ACCEPT
3418 \begin_layout Description
3419 Action Accepts all tracked changes in the document.
3421 \begin_layout Description
3422 Syntax all-changes-accept
3424 \begin_layout Description
3425 Origin Levon, 16 Oct 2002
3428 \begin_layout Subsection*
3429 LFUN_ALL_CHANGES_REJECT
3431 \begin_layout Description
3432 Action Rejects all tracked changes in the document.
3434 \begin_layout Description
3435 Notion Reject does not work recursively; the user may have to repeat the operation.
3437 \begin_layout Description
3438 Syntax all-changes-reject
3440 \begin_layout Description
3441 Origin Levon, 16 Oct 2002
3444 \begin_layout Subsection*
3447 \begin_layout Description
3448 Action Apply data for an inset.
3450 \begin_layout Description
3451 Notion LFUN_INSET_APPLY is sent from the dialogs when the data should be applied. This is either changed to LFUN_INSET_MODIFY or LFUN_INSET_INSERT depending on the context where it is called.
3453 \begin_layout Description
3454 Syntax inset-apply <ARGS>
3456 \begin_layout Description
3457 Params See LFUN_INSET_INSERT .
3460 \begin_layout Subsection*
3463 \begin_layout Description
3464 Action Dissolve the current inset into text.
3466 \begin_layout Description
3467 Syntax inset-dissolve [<INSET>]
3469 \begin_layout Description
3470 Params <INSET>: this can be used to make sure the right kind of inset is dissolved. For example "dissolve" entry in the charstyles sub-menu should only dissolve the charstyle inset, even if the cursor is inside several nested insets of different type.
3471 \begin_inset Newline newline
3474 For values see lyx::InsetLayout::lyxtype_ .
3476 \begin_layout Description
3477 Origin JSpitz, 7 Aug 2006
3480 \begin_layout Subsection*
3483 \begin_layout Description
3484 Action Insert new inset (type given by the parameters).
3486 \begin_layout Description
3487 Syntax inset-insert <INSET> <ARGS>
3489 \begin_layout Description
3490 Params <INSET>: <bibitem|bibtex|cite|ert|listings|external|graphics|tabular| hyperlink|include|index|label|line|nomencl|vspace|ref|toc|script>
3491 \begin_inset Newline newline
3494 <ARGS>: depends on the given inset. Use "lyx -dbg action" to explore.
3496 \begin_layout Description
3497 Sample inset-insert ref LatexCommand <Format> reference "<label name>"
3500 \begin_inset Newline newline
3503 where <label name> is the name of the referenced label and <Format> is one of the following:
3504 \begin_inset Newline newline
3508 \begin_inset Newline newline
3511 eqref -- (<reference>)
3512 \begin_inset Newline newline
3516 \begin_inset Newline newline
3519 vpageref -- on <page>
3520 \begin_inset Newline newline
3523 vref -- <reference> on <page>
3524 \begin_inset Newline newline
3527 formatted -- Formatted reference
3530 \begin_layout Subsection*
3533 \begin_layout Description
3534 Action Modify some properties of an inset.
3536 \begin_layout Description
3537 Notion Used for bibitem, bibtex, box, branch, command, ert, external, floats, graphics, include, index, info, label, listings, newline, newpage, nomencl, note, phantom, ref, space, tabular, vspace, wrap insets.
3539 \begin_layout Description
3540 Syntax inset-modify <INSET> <ARGS>inset-modify changetype <TYPE>inset-modify tabular <FEATURE> [<ARG>]
3542 \begin_layout Description
3543 Params Generally see LFUN_INSET_INSERT for further details.
3544 \begin_inset Newline newline
3547 In case that <INSET> is "tabular" various math-environment features are handled as well, e.g. add-vline-left/right for the Grid/Array environment.
3548 \begin_inset Newline newline
3551 <FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|copy-column| toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right| align-left|align-right|align-center|align-block|align-decimal|set-decimal-point| valign-top|valign-bottom|valign-middle|longtabular-align-left| longtabular-align-center|longtabular-align-right|m-align-left|m-align-right| m-align-center|m-valign-top|m-valign-bottom|m-valign-middle|multicolumn| set-all-lines|unset-all-lines|set-longtabular|unset-longtabular|set-pwidth| set-mpwidth|set-rotate-tabular|unset-rotate-tabular|toggle-rotate-tabular| set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|set-usebox|set-lthead| unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot|unset-ltfoot| set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption| set-special-column|set-special-multicolumn|set-special-multirow| set-booktabs|unset-booktabs|set-top-space|set-bottom-space| set-interline-space|set-border-lines|tabular-valign-top| tabular-valign-middle|tabular-valign-bottom
3552 \begin_inset Newline newline
3555 <ARG>: additional argument for some commands, use debug mode to explore its values.
3557 \begin_layout Description
3558 Sample inset-modify note Note Commentinset-modify changetype Ovalbox
3561 \begin_layout Subsection*
3562 LFUN_INSET_DIALOG_UPDATE
3564 \begin_layout Description
3565 Action Updates the values inside the dialog from the inset.
3567 \begin_layout Description
3568 Notion This is internal LFUN, not to be used by users. Called internally by LFUN_DIALOG_UPDATE
3570 \begin_layout Description
3571 Params <DIALOG-NAME>
3573 \begin_layout Description
3574 Origin leeming, 25 Feb 2003
3577 \begin_layout Subsection*
3580 \begin_layout Description
3581 Action Open the inset's properties dialog.
3583 \begin_layout Description
3584 Notion Used for bibitem, bibtex, box, branch, citation, ert, external, float, graphics, href, include, index, index_print, label, line, listings, note, phantom, ref, space, tabular, vspace, wrap insets.
3586 \begin_layout Description
3587 Syntax inset-settings <INSET>
3589 \begin_layout Description
3590 Params <INSET>: <bibitem|bibtex|box|branch|citation|ert|external|float| graphics|href|include|index|index_print|label|line| listings|note|phantom|ref|space|tabular|vspace|wrap>.
3593 \begin_layout Subsection*
3596 \begin_layout Description
3597 Action Toggles the collapsable inset at cursor position, or the inset we are currently in.
3599 \begin_layout Description
3600 Syntax inset-toggle [<ARG>]
3602 \begin_layout Description
3603 Params <ARG>: <open|close|toggle|assign>.
3604 \begin_inset Newline newline
3607 open/close/toggle are for collapsable insets. toggle is used when no argument is given.
3608 \begin_inset Newline newline
3611 assign synchronize the branch-inset with activation status of the branch. Used for global toggling when changed activation.
3613 \begin_layout Description
3614 Origin lasgouttes, 19 Jul 2001
3617 \begin_layout Subsection*
3620 \begin_layout Description
3621 Action Apply the given commands on insets of a given name.
3623 \begin_layout Description
3624 Notion WARNING: use at your own risks; this function gives you too many ways of shooting yourself in the foot. A typical example is inset-forall Note note-insert which starts an infinite loop. This is mitigated by the fact that the number of actions is arbitrarily limited to 10000. Note also that inset-forall does not update metrics between iterations, which can lead to bugs. This has to be eventually fixed.
3626 \begin_layout Description
3627 Syntax inset-forall <NAME> <LFUN-COMMAND>
3628 \begin_inset Newline newline
3631 <NAME>: Type of Inset. If <NAME> is *, all insets are matched. The name is used like for InsetLayout in layout files: "Note" matches all note insets, while "Note:Note" only matches LyX yellow note insets.
3633 \begin_layout Description
3634 Sample Remove all index insets:
3635 \begin_inset Newline newline
3638 inset-forall Index delete-char-forward
3639 \begin_inset Newline newline
3642 Close all Notes (also works for a particular branch, for example):
3643 \begin_inset Newline newline
3646 inset-forall Note inset-toggle close
3647 \begin_inset Newline newline
3650 Transform all yellow notes to comments
3651 \begin_inset Newline newline
3654 inset-forall Note:Note inset-modify note Note Comment
3655 \begin_inset Newline newline
3658 Try to put LyX in an infinite loop if there is at least a Note:
3659 \begin_inset Newline newline
3662 inset-forall Note char-backward
3664 \begin_layout Description
3665 Origin lasgouttes, 27 Nov 2009
3668 \begin_layout Subsection*
3669 LFUN_GRAPHICS_RELOAD
3671 \begin_layout Description
3672 Action Reloads the image if necessary.
3674 \begin_layout Description
3675 Syntax graphics-reload
3677 \begin_layout Description
3678 Origin vfr, 10 Aug 2009
3681 \begin_layout Subsection*
3682 LFUN_SET_GRAPHICS_GROUP
3684 \begin_layout Description
3685 Action Set the group for the graphics inset on the cursor position.
3687 \begin_layout Description
3688 Syntax set-graphics-group [<GROUP>]
3690 \begin_layout Description
3691 Params <GROUP>: Id for an existing group. In case the Id is an empty string, the graphics inset is removed from the current group.
3693 \begin_layout Description
3694 Origin sanda, 6 May 2008
3697 \begin_layout Subsection*
3698 LFUN_FINISHED_FORWARD
3700 \begin_layout Description
3701 Action Moves the cursor out of the current slice, going forward.
3703 \begin_layout Description
3704 Notion Cursor movement within an inset may be different than cursor movement in the surrounding text. This action should be called automatically by the cursor movement within the inset, when movement within the inset has ceased (reached the end of the last paragraph, for example), in order to move correctly back into the surrounding text.
3707 \begin_layout Subsection*
3708 LFUN_FINISHED_BACKWARD
3710 \begin_layout Description
3711 Action Moves the cursor out of the current slice, going backwards.
3713 \begin_layout Description
3714 Notion See also LFUN_FINISHED_FORWARD.
3717 \begin_layout Subsection*
3720 \begin_layout Description
3721 Action Moves the cursor out of the current slice, going right.
3723 \begin_layout Description
3724 Notion See also LFUN_FINISHED_FORWARD
3727 \begin_layout Subsection*
3730 \begin_layout Description
3731 Action Moves the cursor out of the current slice, going left.
3733 \begin_layout Description
3734 Notion See also LFUN_FINISHED_FORWARD.
3737 \begin_layout Subsection*
3740 \begin_layout Description
3741 Action Set language from the current cursor position.
3743 \begin_layout Description
3744 Syntax language <LANG>
3746 \begin_layout Description
3747 Params <LANG>: Requested language. Look in lib/languages for the list.
3749 \begin_layout Description
3750 Origin Dekel, 2 Mar 2000
3753 \begin_layout Subsection*
3756 \begin_layout Description
3757 Action Goto a label.
3759 \begin_layout Description
3760 Syntax label-goto [<LABEL>]
3762 \begin_layout Description
3763 Params <LABEL>: Requested label. If no label is given and reference is on cursor position, Bookmark 0 is saved and cursor moves to the position of referenced label.
3765 \begin_layout Description
3766 Origin Ale, 6 Aug 1997
3769 \begin_layout Subsection*
3772 \begin_layout Description
3773 Action Inserts label to text or displayed formula.
3775 \begin_layout Description
3776 Syntax label-insert [<LABEL>]
3778 \begin_layout Description
3779 Params <LABEL>: Requested label. If no label is given dialog requesting name will be opened.
3782 \begin_layout Subsection*
3785 \begin_layout Description
3786 Action Go to the next label or cross-reference.
3788 \begin_layout Description
3789 Syntax reference-next
3791 \begin_layout Description
3792 Origin Dekel, 14 Jan 2001
3795 \begin_layout Subsection*
3798 \begin_layout Description
3799 Action Moves the cursor to the numbered bookmark, opening the file if necessary. Note that bookmarsk are saved per-session, not per file.
3801 \begin_layout Description
3802 Notion Bookmark 0 has a special purpose. It is automatically set
3803 \begin_inset Newline newline
3806 1. to the paragraph you are currently editing
3807 \begin_inset Newline newline
3810 2. to the paragraph from where you are jumping to the last-edited position (jump-back feature)
3811 \begin_inset Newline newline
3814 3. when jumping from crossreference to the requested label by LFUN_LABEL_GOTO.
3816 \begin_layout Description
3817 Syntax bookmark-goto <NUMBER>
3819 \begin_layout Description
3820 Params <NUMBER>: the number of the bookmark to restore.
3822 \begin_layout Description
3823 Origin Dekel, 27 January 2001
3826 \begin_layout Subsection*
3829 \begin_layout Description
3830 Action Save a bookmark.
3832 \begin_layout Description
3833 Notion Saves a numbered bookmark to the sessions file. The number must be between 1 and 9, inclusive. Note that bookmarks are saved per-session, not per file.
3835 \begin_layout Description
3836 Syntax bookmark-save <NUMBER>
3838 \begin_layout Description
3839 Params <NUMBER>: the number of the bookmark to save.
3841 \begin_layout Description
3842 Origin Dekel, 27 January 2001
3845 \begin_layout Subsection*
3848 \begin_layout Description
3849 Action Clears the list of saved bookmarks.
3851 \begin_layout Description
3852 Syntax bookmark-clear
3854 \begin_layout Description
3855 Origin bpeng, 31 October 2006
3858 \begin_layout Subsection*
3861 \begin_layout Description
3862 Action Open the given help file according to the language setting.
3864 \begin_layout Description
3865 Syntax help-open <FILE>[.lyx]
3867 \begin_layout Description
3868 Params <FILE>: any document from (/usr/share/)doc directory.
3870 \begin_layout Description
3871 Origin Jug, 27 Jun 1999
3874 \begin_layout Subsection*
3877 \begin_layout Description
3878 Action Terminates the current LyX instance.
3880 \begin_layout Description
3881 Notion Terminates the current LyX instance, asking whether to save modified documents, etc.
3883 \begin_layout Description
3887 \begin_layout Subsection*
3890 \begin_layout Description
3891 Action Toggles visibility of a given toolbar between on/off/auto.
3893 \begin_layout Description
3894 Notion Skipping "auto" when allowauto is false.
3896 \begin_layout Description
3897 Syntax toolbar-toggle <NAME> [allowauto]
3899 \begin_layout Description
3900 Params <NAME>: standard|extra|table|math|mathmacrotemplate| minibuffer|review|view/update|math_panels|vcs| view-others|update-others
3902 \begin_layout Description
3903 Origin Edwin, 21 May 2007
3906 \begin_layout Subsection*
3909 \begin_layout Description
3910 Action Opens the menu given by its name.
3912 \begin_layout Description
3913 Syntax menu-open <NAME>
3915 \begin_layout Description
3916 Params <NAME>: menu name. See various .inc files in lib/ui for candidates.
3919 \begin_layout Subsection*
3922 \begin_layout Description
3923 Action Various UI visibility-toggling actions.
3925 \begin_layout Description
3926 Syntax ui-toggle <statusbar|menubar|scrollbar|frame|fullscreen>
3928 \begin_layout Description
3929 Params statusbar : Toggle visibility of the statusbar.
3930 \begin_inset Newline newline
3933 menubar : Toggle visibility of the menubar.
3934 \begin_inset Newline newline
3937 scrollbar : Toggle visibility of the scrollbar.
3938 \begin_inset Newline newline
3941 frame : Toggle visibility of the frames around editing window.
3942 \begin_inset Newline newline
3945 fullscreen : Toggle fullscreen mode. This also covers calling the previous functions. However LFUN_TOOLBAR_TOGGLE for the custom tweaks of the toolbars should be used.
3947 \begin_layout Description
3948 Origin sanda, 9 Feb 2007
3951 \begin_layout Subsection*
3954 \begin_layout Description
3955 Action Creates new empty LyX window.
3957 \begin_layout Description
3958 Notion Already opened documents from the previous window can be found under View menu.
3960 \begin_layout Description
3961 Syntax window-new [<GEOMETRY>]
3963 \begin_layout Description
3964 Params <GEOMETRY>: pass the geometry of the window. This parameter is currently accepted only on Windows platform.
3966 \begin_layout Description
3967 Origin Abdel, 21 Oct 2006
3970 \begin_layout Subsection*
3973 \begin_layout Description
3974 Action Closes the current LyX window.
3976 \begin_layout Description
3979 \begin_layout Description
3980 Origin Abdel, 23 Oct 2006
3983 \begin_layout Subsection*
3986 \begin_layout Description
3987 Action Creates another split view of current buffer.
3989 \begin_layout Description
3990 Notion All split views act in the same way indpendently.
3992 \begin_layout Description
3993 Syntax split-view <vertical|horizontal>
3995 \begin_layout Description
3996 Params horizontal : The work areas are laid out side by side.
3997 \begin_inset Newline newline
4000 vertical : The work areas laid out vertically.
4002 \begin_layout Description
4003 Origin Abdel, 20 Feb 2008
4006 \begin_layout Subsection*
4007 LFUN_CLOSE_TAB_GROUP
4009 \begin_layout Description
4010 Action Close the current tab group.
4012 \begin_layout Description
4013 Notion This only closes the work areas, not the buffer themselves. The still opened buffers can be visualized in another tab group.
4015 \begin_layout Description
4016 Syntax close-tab-group
4018 \begin_layout Description
4019 Origin Abdel, 21 Feb 2008
4022 \begin_layout Subsection*
4025 \begin_layout Description
4026 Action Shows hidden dialog or create new one for a given function/inset settings etc.
4028 \begin_layout Description
4029 Syntax dialog-show <NAME> [<DATA>]
4031 \begin_layout Description
4032 Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
4033 \begin_inset Newline newline
4036 compare|document|errorlist|ert|external|file|findreplace|findreplaceadv|float|
4037 \begin_inset Newline newline
4040 graphics|href|include|index|index_print|info|label|line|listings|log|mathdelimiter|
4041 \begin_inset Newline newline
4044 mathmatrix|mathspace|nomenclature|nomencl_print|note|paragraph|phantom|prefs|
4045 \begin_inset Newline newline
4048 print|ref|sendto|space|spellchecker|symbols|tabular|tabularcreate|
4049 \begin_inset Newline newline
4052 thesaurus|texinfo|toc|view-source|vspace|wrap|<SPECIAL>
4053 \begin_inset Newline newline
4056 <SPECIAL>: latexlog|vclog
4057 \begin_inset Newline newline
4060 <DATA>: data, usually settings for the given dialog. Use debug mode for the details.
4062 \begin_layout Description
4063 Origin leeming, 17 Jun 2003
4066 \begin_layout Subsection*
4067 LFUN_DIALOG_SHOW_NEW_INSET
4069 \begin_layout Description
4070 Action Shows hidden dialog or create new one for a given inset settings etc.
4072 \begin_layout Description
4073 Notion Internally uses LFUN_DIALOG_SHOW with processed data for a given inset.
4075 \begin_layout Description
4076 Syntax dialog-show-new-inset <NAME> [<DATA>]
4078 \begin_layout Description
4079 Params See LFUN_DIALOG_SHOW .
4081 \begin_layout Description
4082 Origin leeming, 25 Feb 2003
4085 \begin_layout Subsection*
4088 \begin_layout Description
4089 Action Updates the dialog values from the inset/paragraph/document.
4091 \begin_layout Description
4092 Syntax dialog-update <NAME>
4094 \begin_layout Description
4095 Params <NAME>: paragraph|prefs|<INSET>
4096 \begin_inset Newline newline
4101 \begin_layout Description
4102 Origin leeming, 25 Feb 2003
4105 \begin_layout Subsection*
4108 \begin_layout Description
4109 Action Hides showed dialog. Counterpart to LFUN_DIALOG_SHOW .
4111 \begin_layout Description
4112 Syntax dialog-hide <NAME>
4114 \begin_layout Description
4115 Params See LFUN_DIALOG_SHOW .
4117 \begin_layout Description
4118 Origin leeming, 25 Feb 2003
4121 \begin_layout Subsection*
4124 \begin_layout Description
4125 Action Toggles dialog between showed/hidden state.
4127 \begin_layout Description
4128 Notion Internally uses LFUN_DIALOG_SHOW , LFUN_DIALOG_HIDE .
4130 \begin_layout Description
4131 Syntax dialog-toggle <NAME> [<DATA>]
4133 \begin_layout Description
4134 Params See LFUN_DIALOG_SHOW .
4136 \begin_layout Description
4137 Origin JSpitzm, 30 Apr 2007
4140 \begin_layout Subsection*
4141 LFUN_DIALOG_DISCONNECT_INSET
4143 \begin_layout Description
4144 Action Closes opened connection to opened inset.
4146 \begin_layout Description
4147 Notion Connection is used for apply functions.
4149 \begin_layout Description
4150 Syntax dialog-disconnect-inset <INSET-NAME>
4152 \begin_layout Description
4153 Origin leeming, 25 Feb 2003
4156 \begin_layout Subsection*
4159 \begin_layout Description
4160 Action This function is called when mouse button is pressed (inside workarea). Action depends on the context.
4162 \begin_layout Description
4163 Notion This is internal LFUN, not to be used by users.
4165 \begin_layout Description
4166 Origin Andre, 9 Aug 2002
4169 \begin_layout Subsection*
4172 \begin_layout Description
4173 Action This function is called when double click on mouse button is pressed (inside workarea). Action depends on the context.
4175 \begin_layout Description
4176 Notion This is internal LFUN, not to be used by users.
4178 \begin_layout Description
4179 Origin Andre, 9 Aug 2002
4182 \begin_layout Subsection*
4185 \begin_layout Description
4186 Action This function is called when triple click on mouse button is pressed (inside workarea). Action depends on the context.
4188 \begin_layout Description
4189 Notion This is internal LFUN, not to be used by users.
4191 \begin_layout Description
4192 Origin Andre, 9 Aug 2002
4195 \begin_layout Subsection*
4198 \begin_layout Description
4199 Action This function is called when mouse cursor is moving over the text. Action depends on the context.
4201 \begin_layout Description
4202 Notion This is internal LFUN, not to be used by users.
4204 \begin_layout Description
4205 Origin Andre, 9 Aug 2002
4208 \begin_layout Subsection*
4211 \begin_layout Description
4212 Action This function is called when mouse button is released (inside workarea). Action depends on the context.
4214 \begin_layout Description
4215 Notion This is internal LFUN, not to be used by users.
4217 \begin_layout Description
4218 Origin Andre, 9 Aug 2002
4221 \begin_layout Subsection*
4224 \begin_layout Description
4225 Action Turn off the loaded keyboard map.
4227 \begin_layout Description
4231 \begin_layout Subsection*
4234 \begin_layout Description
4235 Action Turn on the primary keyboard map.
4237 \begin_layout Description
4238 Notion Maps were widely used in past, when X-windows didn't have nowadays keyboard support. They can be still used to maintain uniform keyboard layout across the various plaforms.
4239 \begin_inset Newline newline
4242 The language is to be set in the Preferences dialog.
4244 \begin_layout Description
4245 Syntax keymap-primary
4248 \begin_layout Subsection*
4249 LFUN_KEYMAP_SECONDARY
4251 \begin_layout Description
4252 Action Turn on the secondary keyboard map.
4254 \begin_layout Description
4255 Syntax keymap-secondary
4258 \begin_layout Subsection*
4261 \begin_layout Description
4262 Action Toggles keyboard maps (first/second/off).
4264 \begin_layout Description
4265 Syntax keymap-toggle
4267 \begin_layout Description
4268 Origin leeming, 30 Mar 2004
4271 \begin_layout Subsection*
4272 LFUN_SERVER_GET_LAYOUT
4274 \begin_layout Description
4275 Action Returns the current layout (that is environment) name on the cursor position.
4277 \begin_layout Description
4278 Syntax server-get-layout
4281 \begin_layout Subsection*
4282 LFUN_SERVER_GET_FILENAME
4284 \begin_layout Description
4285 Action Returns path and file name of the currently edited document.
4287 \begin_layout Description
4288 Syntax server-get-filename
4291 \begin_layout Subsection*
4292 LFUN_SERVER_GOTO_FILE_ROW
4294 \begin_layout Description
4295 Action Sets the cursor position based on the row number of generated TeX file.
4297 \begin_layout Description
4298 Notion This can be useful for DVI inverse-search or detection of the problematic line from LaTeX compilation. Note that before this function can be used export to LaTeX output must occur (in order to map the row numbers).
4300 \begin_layout Description
4301 Syntax server-goto-file-row <FILE[.ext]> <ROW_NUMBER>
4303 \begin_layout Description
4304 Params <FILE>: the filename. Environment variables are expanded in the path. In case this LFUN does not work make sure you are giving correct path to the file.
4305 \begin_inset Newline newline
4308 If the file is located inside LyX temporary directory it will be mapped back into the appropriate opened buffer (e.g. for the case of generated .tex file). .ext: extensions will be automatically replaced by .lyx. <ROW_NUMBER> The row number of the LaTeX file to which to go.
4310 \begin_layout Description
4311 Origin Edmar, 23 Dec 1998
4314 \begin_layout Subsection*
4317 \begin_layout Description
4318 Action Sets the cursor position in the previewed (e.g. dvi) file based on the row number in LyX window.
4320 \begin_layout Description
4321 Notion The external program used for forward search call can be specified in
4323 forward_search_dvi and
4325 forward_search_pdf RC settings. By default, the value for pdf is empty, while for dvi it is
4326 \begin_inset Newline newline
4329 "xdvi -sourceposition $$n:$$t $$o"
4330 \begin_inset Newline newline
4333 The values replaced in the call: $$n for row number, $$t for exported temporary .tex file, $$o exported output file, either dvi or pdf, depending on which one exists in the temp dir (preferred is dvi).
4335 \begin_layout Description
4336 Syntax forward-search
4338 \begin_layout Description
4339 Origin sanda, 14 Apr 2010
4342 \begin_layout Subsection*
4345 \begin_layout Description
4346 Action Sends notify message about the last key-sequence to client.
4348 \begin_layout Description
4349 Notion This can be used to grab last key-sequence used inside the LyX window. See also Debug extensions section in Additional features manual.
4351 \begin_layout Description
4352 Syntax server-notify
4355 \begin_layout Subsection*
4358 \begin_layout Description
4359 Action Sets the cursor position based on the editing area coordinates (similar as clicking on that point with left mouse button).
4361 \begin_layout Description
4362 Syntax server-set-xy <X> <Y>
4365 \begin_layout Subsection*
4368 \begin_layout Description
4369 Action Returns the coordinates of cursor position in the editing area.
4371 \begin_layout Description
4372 Syntax server-get-xy
4375 \begin_layout Subsection*
4378 \begin_layout Description
4379 Action Generates the code (literate programming).
4381 \begin_layout Description
4382 Notion Latex file with extension
4384 literate_extension is generated. Then LyX invokes
4386 build_command (with a default of``make'') to generate the code and
4388 build_error_filter to process the compilation error messages.
4389 \begin_inset Newline newline
4392 In case you want to process your literate file with a script, or some other program, just insert in your lyxrc file an entry with:
4393 \begin_inset Newline newline
4398 build_command "my_script my_arguments"
4399 \begin_inset Newline newline
4404 build_error_filter differs from the
4406 literate_error_filter only in that the former will identify error messages from your compiler.
4408 \begin_layout Description
4409 Syntax build-program
4412 \begin_layout Subsection*
4413 LFUN_BUFFER_AUTO_SAVE
4415 \begin_layout Description
4416 Action Saves the current buffer to a temporary file.
4418 \begin_layout Description
4419 Notion Saves the current buffer to a file named "#filename#". This LFUN is called automatically by LyX, to "autosave" the current buffer.
4421 \begin_layout Description
4422 Syntax buffer-auto-save
4425 \begin_layout Subsection*
4426 LFUN_BUFFER_CHILD_OPEN
4428 \begin_layout Description
4429 Action Loads the given child document.
4431 \begin_layout Description
4432 Notion The current document is treated as a parent.
4434 \begin_layout Description
4435 Syntax buffer-child-open <FILE>
4437 \begin_layout Description
4438 Params <FILE>: Filename of the child. The directory of the parent is assumed by default.
4440 \begin_layout Description
4441 Origin Ale, 28 May 1997
4444 \begin_layout Subsection*
4447 \begin_layout Description
4448 Action Runs chktex for the current document.
4450 \begin_layout Description
4451 Syntax buffer-chktex
4453 \begin_layout Description
4454 Origin Asger, 30 Oct 1997
4457 \begin_layout Subsection*
4458 LFUN_BUFFER_TOGGLE_COMPRESSION
4460 \begin_layout Description
4461 Action Toggles compression of the current document on/off.
4463 \begin_layout Description
4464 Syntax buffer-toggle-compression
4466 \begin_layout Description
4467 Origin bpeng, 27 Apr 2006
4470 \begin_layout Subsection*
4471 LFUN_BUFFER_TOGGLE_OUTPUT_SYNC
4473 \begin_layout Description
4474 Action Toggles including of resources for forward/reverse search of the given document.
4476 \begin_layout Description
4477 Notion When toggled on, SyncTeX is invoked for PDF, while srcltx package is used for DVI. Custom LaTeX macro can be defined in preferences.
4479 \begin_layout Description
4480 Syntax buffer-toggle-output-sync
4482 \begin_layout Description
4483 Origin sanda, 25 May 2010
4486 \begin_layout Subsection*
4489 \begin_layout Description
4490 Action Closes the current buffer.
4492 \begin_layout Description
4493 Notion Closes the current buffer, asking whether to save it, etc, if the buffer has been modified.
4495 \begin_layout Description
4499 \begin_layout Subsection*
4500 LFUN_BUFFER_CLOSE_ALL
4502 \begin_layout Description
4503 Action Closes all buffers.
4505 \begin_layout Description
4506 Notion Closes all buffers, asking whether to save it, etc, if a buffer has been modified.
4508 \begin_layout Description
4509 Syntax buffer-close-all
4512 \begin_layout Subsection*
4515 \begin_layout Description
4516 Action Exports the current buffer (document) to the given format.
4518 \begin_layout Description
4519 Syntax buffer-export <FORMAT>
4521 \begin_layout Description
4522 Params <FORMAT> is either "custom" or one of the formats which you can find in Tools->Preferences->File formats->Format. Usual format you will enter is "pdf2" (pdflatex), "pdflatex" (plain tex for pdflatex) or "ps" for postscript.
4523 \begin_inset Newline newline
4526 In case of "custom" you will be asked for a format you want to start from and for the command that you want to apply to this format. Internally the control is then passed to LFUN_BUFFER_EXPORT_CUSTOM.
4528 \begin_layout Description
4529 Origin Lgb, 29 Jul 1997
4532 \begin_layout Subsection*
4533 LFUN_BUFFER_EXPORT_CUSTOM
4535 \begin_layout Description
4536 Action Exports the current buffer (document) from the given format using the given command on it.
4538 \begin_layout Description
4539 Syntax buffer-export-custom <FORMAT> <COMMAND>
4541 \begin_layout Description
4542 Params <FORMAT> format to start from (LyX will care to produce such intermediate file).
4543 \begin_inset Newline newline
4546 <COMMAND> this command will be launched on the file. Note that you can use "$$FName" string to qualify the intermediate file.
4548 \begin_layout Description
4549 Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
4551 \begin_layout Description
4552 Origin leeming, 27 Mar 2004
4555 \begin_layout Subsection*
4558 \begin_layout Description
4559 Action Prints the current document.
4561 \begin_layout Description
4562 Notion Many settings can be given via the preferences dialog.
4564 \begin_layout Description
4565 Syntax buffer-print <TARGET> <TARGET-NAME> <COMMAND>
4567 \begin_layout Description
4568 Params <TARGET> is either "printer" or "file".
4569 \begin_inset Newline newline
4572 <TARGER-NAME> is either "default" or file name or printer name.
4573 \begin_inset Newline newline
4576 <COMMAND> command ensuring the printing job.
4578 \begin_layout Description
4579 Sample buffer-print file "/trash/newfile1.ps" "dvips"
4581 \begin_layout Description
4582 Origin leeming, 28 Mar 2004
4585 \begin_layout Subsection*
4588 \begin_layout Description
4589 Action Import a given file as a lyx document.
4591 \begin_layout Description
4592 Notion File can be imported iff lyx file format is (transitively) reachable via defined convertors in preferences. Look into File->Import menu to get an idea of the currently active import formats.
4594 \begin_layout Description
4595 Syntax buffer-import <FORMAT> [<FILE>]
4597 \begin_layout Description
4598 Origin Asger, 24 Jul 1998
4601 \begin_layout Subsection*
4604 \begin_layout Description
4605 Action Creates a new buffer (that is, document).
4607 \begin_layout Description
4608 Notion Implicit path can be set in Preferences dialog.
4610 \begin_layout Description
4611 Syntax buffer-new [<FILE>]
4613 \begin_layout Description
4614 Params <FILE>: filename of created file with absolute path.
4617 \begin_layout Subsection*
4618 LFUN_BUFFER_NEW_TEMPLATE
4620 \begin_layout Description
4621 Action Creates a new buffer (that is, document) from a template.
4623 \begin_layout Description
4624 Notion Path for new files and templates can be set in Preferences dialog. Template will be asked for via Open-dialog.
4626 \begin_layout Description
4627 Syntax buffer-new-template [<FILE>]
4629 \begin_layout Description
4630 Params <FILE>: filename of created file with absolute path.
4633 \begin_layout Subsection*
4636 \begin_layout Description
4637 Action Reverts opened document.
4639 \begin_layout Description
4640 Syntax buffer-reload
4642 \begin_layout Description
4643 Origin Asger, 2 Feb 1997
4646 \begin_layout Subsection*
4649 \begin_layout Description
4650 Action Display/switch to the given buffer.
4652 \begin_layout Description
4653 Syntax buffer-switch <BUFFER>
4655 \begin_layout Description
4656 Params <BUFFER>: path and filename of already opened (but possibly hidden) document which is to be shown.
4659 \begin_layout Subsection*
4660 LFUN_BUFFER_TOGGLE_READ_ONLY
4662 \begin_layout Description
4663 Action Toggle editing mode of the current document between read/write and read-only.
4665 \begin_layout Description
4666 Notion This function is not allowed if the file is under version control, since read-only flag is often used in version control file locking.
4668 \begin_layout Description
4669 Syntax buffer-toggle-read-only
4671 \begin_layout Description
4672 Origin Lgb, 27 May 1997
4675 \begin_layout Subsection*
4678 \begin_layout Description
4679 Action Displays current buffer in chosen format.
4681 \begin_layout Description
4682 Notion Displays the contents of the current buffer in the chosen format, for example, PDF or DVI. This runs the necessary converter, calls the defined viewer, and so forth.
4684 \begin_layout Description
4685 Syntax buffer-view [<FORMAT>]
4687 \begin_layout Description
4688 Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
4691 \begin_layout Subsection*
4694 \begin_layout Description
4695 Action Exports the current document and put the result into the temporary directory.
4697 \begin_layout Description
4698 Notion In case you are already viewing the exported document (see LFUN_BUFFER_VIEW) the output will be rewriten - updated. This is useful in case your viewer is able to detect such changes (e.g. ghostview for postscript).
4700 \begin_layout Description
4701 Syntax buffer-update [<FORMAT>]
4703 \begin_layout Description
4704 Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
4706 \begin_layout Description
4707 Origin Dekel, 5 Aug 2000
4710 \begin_layout Subsection*
4713 \begin_layout Description
4714 Action Saves the current buffer.
4716 \begin_layout Description
4717 Notion Saves the current buffer to disk, using the filename that is already associated with the buffer, asking for one if none is yet assigned.
4719 \begin_layout Description
4723 \begin_layout Subsection*
4724 LFUN_BUFFER_WRITE_AS
4726 \begin_layout Description
4727 Action Rename and save current buffer.
4729 \begin_layout Description
4730 Syntax buffer-write-as <FILENAME>
4732 \begin_layout Description
4733 Params <FILENAME>: New name of the buffer/file. A relative path is with respect to the original location of the buffer/file.
4736 \begin_layout Subsection*
4737 LFUN_BUFFER_WRITE_ALL
4739 \begin_layout Description
4740 Action Save all changed documents.
4742 \begin_layout Description
4743 Syntax buffer-write-all
4745 \begin_layout Description
4746 Origin rgh, gpothier 6 Aug 2007
4749 \begin_layout Subsection*
4752 \begin_layout Description
4753 Action Switch to the next opened document.
4755 \begin_layout Description
4756 Notion Note that this does not necessarily mean next in tabbar (for full list see View menu).
4758 \begin_layout Description
4762 \begin_layout Subsection*
4763 LFUN_BUFFER_PREVIOUS
4765 \begin_layout Description
4766 Action Switch to the previous opened document.
4768 \begin_layout Description
4769 Syntax buffer-previous
4772 \begin_layout Subsection*
4773 LFUN_MASTER_BUFFER_UPDATE
4775 \begin_layout Description
4776 Action When run from a child document, this updates (exports) document built from the master buffer, if available.
4778 \begin_layout Description
4779 Syntax master-buffer-update [<FORMAT>]
4781 \begin_layout Description
4782 Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
4784 \begin_layout Description
4785 Origin Tommaso, 20 Sep 2007
4788 \begin_layout Subsection*
4789 LFUN_MASTER_BUFFER_VIEW
4791 \begin_layout Description
4792 Action When run from a child document, this command shows a preview built from the master buffer, if available.
4794 \begin_layout Description
4795 Syntax master-buffer-view [<FORMAT>]
4797 \begin_layout Description
4798 Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
4800 \begin_layout Description
4801 Origin Tommaso, 20 Sep 2007
4804 \begin_layout Subsection*
4805 LFUN_BUFFER_LANGUAGE
4807 \begin_layout Description
4808 Action Set language of the current document.
4810 \begin_layout Description
4811 Syntax buffer-language <LANG>
4813 \begin_layout Description
4814 Params <LANG>: language name. See lib/languages for list.
4816 \begin_layout Description
4817 Origin leeming, 30 Mar 2004
4820 \begin_layout Subsection*
4821 LFUN_BUFFER_SAVE_AS_DEFAULT
4823 \begin_layout Description
4824 Action Save the current document settings as default.
4826 \begin_layout Description
4827 Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
4829 \begin_layout Description
4830 Syntax buffer-save-as-default [<ARGS>]
4832 \begin_layout Description
4833 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
4835 \begin_layout Description
4836 Origin leeming, 30 Mar 2004
4839 \begin_layout Subsection*
4840 LFUN_BUFFER_PARAMS_APPLY
4842 \begin_layout Description
4843 Action Apply the given settings to the current document.
4845 \begin_layout Description
4846 Syntax buffer-params-apply [<ARGS>]
4848 \begin_layout Description
4849 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
4851 \begin_layout Description
4852 Origin leeming, 30 Mar 2004
4855 \begin_layout Subsection*
4858 \begin_layout Description
4859 Action Inserts another LyX file.
4861 \begin_layout Description
4862 Syntax file-insert [<FILE>]
4864 \begin_layout Description
4865 Params <FILE>: Filename to be inserted.
4868 \begin_layout Subsection*
4869 LFUN_FILE_INSERT_PLAINTEXT
4871 \begin_layout Description
4872 Action Inserts plain text file.
4874 \begin_layout Description
4875 Syntax file-insert-plaintext [<FILE>]
4877 \begin_layout Description
4878 Params <FILE>: Filename to be inserted.
4880 \begin_layout Description
4881 Origin CFO-G, 19 Nov 1997
4884 \begin_layout Subsection*
4885 LFUN_FILE_INSERT_PLAINTEXT_PARA
4887 \begin_layout Description
4888 Action Inserts plain text file as paragraph (i.e. join lines).
4890 \begin_layout Description
4891 Syntax file-insert-plaintext-para [<FILE>]
4893 \begin_layout Description
4894 Params <FILE>: Filename to be inserted.
4896 \begin_layout Description
4897 Origin Levon, 14 Feb 2001
4900 \begin_layout Subsection*
4903 \begin_layout Description
4904 Action Open LyX document.
4906 \begin_layout Description
4907 Syntax file-open [<FILE>]
4909 \begin_layout Description
4910 Params <FILE>: Filename to be opened.
4913 \begin_layout Subsection*
4916 \begin_layout Description
4917 Action Executes a command defined in a .def file.
4919 \begin_layout Description
4920 Notion The definitions are by default read from lib/commands/default.def.
4921 \begin_inset Newline newline
4924 A .def file allows to define a command with
4926 define "<NAME>" "<LFUN>" where <NAME> is the name of the new command and <LFUN> is the lfun code to be executed (see e.g. LFUN_COMMAND_SEQUENCE).
4928 def_file "FileName" allows to include another .def file.
4929 \begin_inset Newline newline
4932 This is particularly useful in connection with toolbar buttons: Since the name of the button image for this lfun is lib/images/commands/<NAME>.png this is the way to assign an image to a complex command-sequence.
4934 \begin_layout Description
4937 \begin_layout Description
4938 Params <NAME>: Name of the command that must be called.
4940 \begin_layout Description
4941 Origin broider, 2 Oct 2007
4944 \begin_layout Subsection*
4947 \begin_layout Description
4948 Action Simulate halting Meta key (Alt key on PCs).
4950 \begin_layout Description
4951 Notion Used for buffer editation not for GUI control.
4953 \begin_layout Description
4957 \begin_layout Subsection*
4960 \begin_layout Description
4961 Action Cancels sequence prepared by LFUN_META_PREFIX .
4963 \begin_layout Description
4967 \begin_layout Subsection*
4968 LFUN_COMMAND_EXECUTE
4970 \begin_layout Description
4971 Action Switches the focus to the minibuffer so that the user can type in there. If necessary, it opens the minibuffer toolbar.
4973 \begin_layout Description
4974 Notion Usually bound to M-x shortcut.
4976 \begin_layout Description
4977 Syntax command-execute
4980 \begin_layout Subsection*
4983 \begin_layout Description
4984 Action Return the current key sequence and available options as a string.
4986 \begin_layout Description
4987 Notion No options are added if no current map exists.
4988 \begin_inset Newline newline
4991 This is probably usable only with connection to lyxserver.
4993 \begin_layout Description
4994 Syntax command-prefix
4997 \begin_layout Subsection*
4998 LFUN_COMMAND_SEQUENCE
5000 \begin_layout Description
5001 Action Run more commands (LFUN and its parameters) in a sequence.
5003 \begin_layout Description
5004 Syntax command-sequence <CMDS>
5006 \begin_layout Description
5007 Params <CMDS>: Sequence of commands separated by semicolons.
5009 \begin_layout Description
5010 Sample command-sequence cut; ert-insert; self-insert
5012 ; paste; self-insert {}; inset-toggle;
5014 \begin_layout Description
5015 Origin Andre, 11 Nov 1999
5018 \begin_layout Subsection*
5019 LFUN_COMMAND_ALTERNATIVES
5021 \begin_layout Description
5022 Action Runs the first listed command that is enabled.
5024 \begin_layout Description
5025 Notion This can be used to bind multiple functions to a single key, and then which one is used will depend upon the context.
5027 \begin_layout Description
5028 Syntax command-alternatives <CMDS>
5030 \begin_layout Description
5031 Params <CMDS>: Sequence of commands separated by semicolons.
5033 \begin_layout Description
5034 Sample command-alternatives completion-accept;cell-forward
5036 \begin_layout Description
5037 Origin rgh, 24 September 2008
5040 \begin_layout Subsection*
5043 \begin_layout Description
5044 Action Shows message in statusbar (for script purposes).
5046 \begin_layout Description
5047 Syntax message <STRING>
5049 \begin_layout Description
5050 Origin Lgb, 8 Apr 2001
5053 \begin_layout Subsection*
5054 LFUN_DEBUG_LEVEL_SET
5056 \begin_layout Description
5057 Action Set debug output level.
5059 \begin_layout Description
5060 Syntax debug-level-set <LEVEL>
5062 \begin_layout Description
5063 Params <LEVEL>: comma separated list of levels or the correspondent number of their combination. 0 is equivalent to disabling all debug events. See lyx -dbg for the current list of debug levels and their numbers.
5065 \begin_layout Description
5066 Origin sanda, 28 Dec 2009
5069 \begin_layout Subsection*
5070 LFUN_PREFERENCES_SAVE
5072 \begin_layout Description
5073 Action Save user preferences.
5075 \begin_layout Description
5076 Syntax preferences-save
5078 \begin_layout Description
5079 Origin Lgb, 27 Nov 1999
5082 \begin_layout Subsection*
5085 \begin_layout Description
5086 Action Reconfigure the automatic settings.
5088 \begin_layout Description
5091 \begin_layout Description
5092 Origin Asger, 14 Feb 1997
5095 \begin_layout Subsection*
5098 \begin_layout Description
5099 Action Apply the given settings to user preferences.
5101 \begin_layout Description
5102 Syntax lyxrc-apply <SETTINGS>
5104 \begin_layout Description
5105 Params <SETTINGS>: settings which are to be set. Take a look into ~/.lyx/preferences to get an idea which commands to use and their syntax. lyx::LyXRC::LyXRCTags has the list of possible commands.
5108 \begin_layout Subsection*
5109 LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE
5111 \begin_layout Description
5112 Action Determine whether keep cursor inside the editing window regardless the scrollbar movement.
5114 \begin_layout Description
5115 Syntax toggle-cursor-follows-scrollbar
5117 \begin_layout Description
5118 Origin ARRae, 2 Dec 1997
5121 \begin_layout Subsection*
5124 \begin_layout Description
5125 Action Set the given LyX color to the color defined by the X11 name given.
5127 \begin_layout Description
5128 Notion A new color entry is created if the color is unknown. Color names can be stored as a part of user settings.
5130 \begin_layout Description
5131 Syntax set-color <LYX_NAME> <X11_NAME>
5133 \begin_layout Description
5134 Origin SLior, 11 Jun 2000
5137 \begin_layout Subsection*
5140 \begin_layout Description
5141 Action Count the statistics (number of words and characters) in the document or in the given selection.
5143 \begin_layout Description
5144 Notion Note that this function gives the number of words/chars written, not the number of characters which will be typeset.
5146 \begin_layout Description
5149 \begin_layout Description
5150 Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
5153 \begin_layout Subsection*
5154 LFUN_COMPLETION_INLINE
5156 \begin_layout Description
5157 Action Show the inline completion at the cursor position.
5159 \begin_layout Description
5160 Syntax completion-inline
5162 \begin_layout Description
5163 Origin sts, Feb 19 2008
5166 \begin_layout Subsection*
5167 LFUN_COMPLETION_POPUP
5169 \begin_layout Description
5170 Action Show the completion popup at the cursor position.
5172 \begin_layout Description
5173 Syntax completion-popup
5175 \begin_layout Description
5176 Origin sts, Feb 19 2008
5179 \begin_layout Subsection*
5180 LFUN_COMPLETION_COMPLETE
5182 \begin_layout Description
5183 Action Try to complete the word or command at the cursor position.
5185 \begin_layout Description
5188 \begin_layout Description
5189 Origin sts, Feb 19 2008
5192 \begin_layout Subsection*
5193 LFUN_COMPLETION_CANCEL
5195 \begin_layout Description
5196 Action Try to cancel completion, either the popup or the inline completion.
5198 \begin_layout Description
5199 Syntax completion-cancel
5201 \begin_layout Description
5202 Origin sts, Sep 07 2008
5205 \begin_layout Subsection*
5206 LFUN_COMPLETION_ACCEPT
5208 \begin_layout Description
5209 Action Accept suggested completion.
5211 \begin_layout Description
5212 Syntax completion-accept
5214 \begin_layout Description
5215 Origin sanda, Sep 08 2008
5218 \begin_layout Subsection*
5221 \begin_layout Description
5222 Action Add a branch to the buffer's BranchList.
5224 \begin_layout Description
5225 Syntax branch-add <BRANCH>
5227 \begin_layout Description
5228 Params <BRANCH>: Name of the branch to add
5230 \begin_layout Description
5231 Origin spitz, 7 Jul 2009
5234 \begin_layout Subsection*
5235 LFUN_BRANCH_ACTIVATE
5237 \begin_layout Description
5238 Action Activate the branch.
5240 \begin_layout Description
5241 Syntax branch-activate <BRANCH>
5243 \begin_layout Description
5244 Params <BRANCH>: The branch to activate
5246 \begin_layout Description
5247 Sample lyx -x "branch-activate answers" -e pdf2 finalexam.lyx
5248 \begin_inset Newline newline
5251 could be used to export a pdf with the answers branch included without one's having to open LyX and activate the branch manually.
5253 \begin_layout Description
5254 Origin rgh, 27 May 2008
5257 \begin_layout Subsection*
5258 LFUN_BRANCH_DEACTIVATE
5260 \begin_layout Description
5261 Action De-activate the branch.
5263 \begin_layout Description
5264 Syntax branch-deactivate <BRANCH>
5266 \begin_layout Description
5267 Params <BRANCH>: The branch to deactivate
5269 \begin_layout Description
5270 Origin rgh, 27 May 2008
5273 \begin_layout Subsection*
5274 LFUN_BRANCHES_RENAME
5276 \begin_layout Description
5277 Action Rename all branches of a given name in a document.
5279 \begin_layout Description
5280 Syntax branches-rename <OLDNAME> <NEWNAME>
5282 \begin_layout Description
5283 Params <OLDNAME>: Current name of the branch to be renamed <NEWNAME>: New name of the branch
5285 \begin_layout Description
5286 Origin spitz, 9 Jul 2009
5289 \begin_layout Subsection*
5290 LFUN_BRANCH_ADD_INSERT
5292 \begin_layout Description
5293 Action Create new branch and directly put the branch inset into the document.
5295 \begin_layout Description
5296 Syntax branch-add-insert [<NAME>]
5298 \begin_layout Description
5299 Params <NAME>: Branch name. If it is not specified, you will be asked.
5301 \begin_layout Description
5302 Origin sanda, 10 Jul 2009
5305 \begin_layout Subsection*
5306 LFUN_LABEL_COPY_AS_REF
5308 \begin_layout Description
5309 Action Copies the label at the cursor as a cross-reference to be pasted elsewhere.
5311 \begin_layout Description
5312 Syntax copy-label-as-reference <LABEL>
5314 \begin_layout Description
5315 Params <LABEL>: The label to copy (for multi-line math)
5317 \begin_layout Description
5318 Origin sts, 16 Nov 2008
5321 \begin_layout Subsection*
5322 LFUN_LABEL_INSERT_AS_REF
5324 \begin_layout Description
5325 Action Inserts the label as a cross-reference at the position of the cursor.
5327 \begin_layout Description
5328 Syntax label-insert-as-reference
5330 \begin_layout Description
5331 Origin vfr, 7 Apr 2009
5334 \begin_layout Subsection*
5337 \begin_layout Description
5338 Action Increases the zoom of the screen fonts.
5340 \begin_layout Description
5341 Syntax buffer-zoom-in [<ZOOM>]
5343 \begin_layout Description
5344 Params <ZOOM>: The zoom in %, the default is 20.
5346 \begin_layout Description
5347 Origin vfr, 30 Mar 2009
5350 \begin_layout Subsection*
5351 LFUN_BUFFER_ZOOM_OUT
5353 \begin_layout Description
5354 Action Decreases the zoom of the screen fonts.
5356 \begin_layout Description
5357 Syntax buffer-zoom-out [<ZOOM>]
5359 \begin_layout Description
5360 Params <ZOOM>: The zoom in %, the default is 20.
5362 \begin_layout Description
5363 Origin vfr, 30 Mar 2009
5366 \begin_layout Subsection*
5369 \begin_layout Description
5370 Action Copies the inset to the clipboard as a certain type
5372 \begin_layout Description
5373 Syntax inset-copy-as [<TYPE>]
5375 \begin_layout Description
5376 Params <TYPE>: The type as which the inset is copied. This can vary from inset to inset.
5378 \begin_layout Description
5379 Sample InsetInfo is copied as text
5381 \begin_layout Description
5382 Origin vfr, 18 Apr 2010