]> git.lyx.org Git - lyx.git/blob - lib/doc/LFUNs.lyx
* UG - move fullscreen section, see #12124.
[lyx.git] / lib / doc / LFUNs.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 614
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
7 \textclass article
8 \begin_preamble
9 \renewcommand{\descriptionlabel}[1]{\hspace\labelsep\upshape\bfseries #1:}
10 \renewenvironment{description}{\list{}{%
11   \setlength{\itemsep}{-2pt}
12   \advance\leftmargini6\p@ \itemindent-12\p@
13   \labelwidth\z@ \let\makelabel\descriptionlabel}%
14 }{
15   \endlist
16 }
17 \end_preamble
18 \use_default_options false
19 \maintain_unincluded_children no
20 \begin_local_layout
21 Style Description
22 LabelIndent           MM
23 LeftMargin            MMMMMxx
24 End
25 \end_local_layout
26 \language english
27 \language_package default
28 \inputencoding auto-legacy
29 \fontencoding auto
30 \font_roman "default" "default"
31 \font_sans "default" "default"
32 \font_typewriter "default" "default"
33 \font_math "auto" "auto"
34 \font_default_family default
35 \use_non_tex_fonts false
36 \font_sc false
37 \font_sans_osf false
38 \font_typewriter_osf false
39 \font_roman_osf false
40 \font_sf_scale 100 100
41 \font_tt_scale 100 100
42 \use_microtype 0
43 \graphics default
44 \default_output_format default
45 \output_sync 0
46 \bibtex_command default
47 \index_command default
48 \paperfontsize default
49 \spacing single
50 \use_hyperref false
51 \papersize default
52 \use_geometry true
53 \use_package amsmath 1
54 \use_package amssymb 1
55 \use_package cancel 0
56 \use_package esint 1
57 \use_package mathdots 0
58 \use_package mathtools 0
59 \use_package mhchem 1
60 \use_package stackrel 0
61 \use_package stmaryrd 0
62 \use_package undertilde 0
63 \cite_engine basic
64 \cite_engine_type default
65 \biblio_style plain
66 \use_bibtopic false
67 \use_indices false
68 \paperorientation portrait
69 \suppress_date false
70 \justification true
71 \use_refstyle 0
72 \use_minted 0
73 \use_lineno 0
74 \index Index
75 \shortcut idx
76 \color #008000
77 \end_index
78 \leftmargin 2.5cm
79 \topmargin 2cm
80 \rightmargin 3cm
81 \bottommargin 2.5cm
82 \secnumdepth 3
83 \tocdepth 3
84 \paragraph_separation indent
85 \paragraph_indentation default
86 \is_math_indent 0
87 \math_numbering_side default
88 \quotes_style english
89 \papercolumns 1
90 \papersides 1
91 \paperpagestyle default
92 \tracking_changes false
93 \postpone_fragile_content false
94 \output_changes false
95 \html_math_output 0
96 \html_css_as_file 0
97 \html_be_strict false
98 \end_header
99
100 \begin_body
101
102 \begin_layout Title
103 \SpecialChar LyX
104  Functions (LFUNs)
105 \end_layout
106
107 \begin_layout Author
108 The \SpecialChar LyX
109  Team
110 \end_layout
111
112 \begin_layout Section*
113 About this manual
114 \end_layout
115
116 \begin_layout Standard
117 This manual documents the 
118 \begin_inset Quotes eld
119 \end_inset
120
121 LyX Functions
122 \begin_inset Quotes erd
123 \end_inset
124
125  (abbreviated LFUNs).
126  These are commands that are used to make \SpecialChar LyX
127  perform specific actions.
128  \SpecialChar LyX
129  itself uses these functions internally, and every internal action is
130  bound to an LFUN.
131 \end_layout
132
133 \begin_layout Standard
134 LFUNs are also used in the files that define keyboard shortcuts, menu or
135  toolbar items.
136  So if you want to change\SpecialChar breakableslash
137 customize the user interface, you need to deal
138  with LFUNs.
139  Furthermore, external programs can use LFUNs to communicate with and 
140 \begin_inset Quotes eld
141 \end_inset
142
143 remote-control
144 \begin_inset Quotes erd
145 \end_inset
146
147  \SpecialChar LyX
148  .
149  Finally, you can also issue LFUNs directly via the so called mini-buffer
150  which can be opened via 
151 \begin_inset Info
152 type  "shortcuts"
153 arg   "command-execute"
154 \end_inset
155
156 .
157 \end_layout
158
159 \begin_layout Standard
160 In the following, all LFUNs are listed, categorized by function.
161 \end_layout
162
163 \begin_layout Section
164 Layout Functions (Font, Layout and Textclass related)
165 \end_layout
166
167 \begin_layout Subsection*
168 drop-layouts-choice
169 \end_layout
170
171 \begin_layout Description
172 Action Displays list of layout choices.
173 \end_layout
174
175 \begin_layout Description
176 Notion This LFUN opens the dropbox allowing for choice of layout.
177 \end_layout
178
179 \begin_layout Description
180 Syntax drop-layouts-choice
181 \end_layout
182
183 \begin_layout Subsection*
184 environment-split
185 \end_layout
186
187 \begin_layout Description
188 Action Splits the current environment with a Separator.
189 \end_layout
190
191 \begin_layout Description
192 Syntax environment-split [before|outer|previous]
193 \end_layout
194
195 \begin_layout Description
196 Params outer:    If this is given, LyX will split the outermost environment in the current nesting hierarchy.
197 \begin_inset Newline newline
198 \end_inset
199
200 previous: If this is given, LyX will split the environment in the previous paragraph (if there is one).
201 \begin_inset Newline newline
202 \end_inset
203
204 before:   If this is given, the new environment will be appended rather than prepended.
205 \end_layout
206
207 \begin_layout Description
208 Origin spitz, 23 Dec 2012
209 \end_layout
210
211 \begin_layout Subsection*
212 font-bold
213 \end_layout
214
215 \begin_layout Description
216 Action Toggles the bold font (selection-wise) using mathbf in math.
217 \end_layout
218
219 \begin_layout Description
220 Syntax font-bold
221 \end_layout
222
223 \begin_layout Subsection*
224 font-boldsymbol
225 \end_layout
226
227 \begin_layout Description
228 Action Toggles the bold font (selection-wise) using boldsymbol in math.
229 \end_layout
230
231 \begin_layout Description
232 Syntax font-boldsymbol
233 \end_layout
234
235 \begin_layout Subsection*
236 font-crossout
237 \end_layout
238
239 \begin_layout Description
240 Action Toggles xout (cross-through) in the font (selection-wise).
241 \end_layout
242
243 \begin_layout Description
244 Syntax font-crossout
245 \end_layout
246
247 \begin_layout Description
248 Origin uwestoehr, 4 April 2017
249 \end_layout
250
251 \begin_layout Subsection*
252 font-default
253 \end_layout
254
255 \begin_layout Description
256 Action Reverts the settings of the font to the default values (selection-wise).
257 \end_layout
258
259 \begin_layout Description
260 Syntax font-default
261 \end_layout
262
263 \begin_layout Subsection*
264 font-emph
265 \end_layout
266
267 \begin_layout Description
268 Action Toggles the emphasis font style (selection-wise).
269 \end_layout
270
271 \begin_layout Description
272 Syntax font-emph
273 \end_layout
274
275 \begin_layout Subsection*
276 font-frak
277 \end_layout
278
279 \begin_layout Description
280 Action Toggles Fraktur family font (math-mode, selection-wise).
281 \end_layout
282
283 \begin_layout Description
284 Syntax font-frak
285 \end_layout
286
287 \begin_layout Description
288 Origin vermeer, 10 Jan 2002
289 \end_layout
290
291 \begin_layout Subsection*
292 font-ital
293 \end_layout
294
295 \begin_layout Description
296 Action Toggles Italics font shape (math-mode, selection-wise).
297 \end_layout
298
299 \begin_layout Description
300 Syntax font-ital
301 \end_layout
302
303 \begin_layout Description
304 Origin vermeer, 10 Jan 2002
305 \end_layout
306
307 \begin_layout Subsection*
308 font-nospellcheck
309 \end_layout
310
311 \begin_layout Description
312 Action Toggles nospellcheck status in the font (selection-wise).
313 \end_layout
314
315 \begin_layout Description
316 Syntax font-nospellcheck
317 \end_layout
318
319 \begin_layout Description
320 Origin spitz, 5 March 2021
321 \end_layout
322
323 \begin_layout Subsection*
324 font-noun
325 \end_layout
326
327 \begin_layout Description
328 Action Toggles Noun text style font (selection-wise).
329 \end_layout
330
331 \begin_layout Description
332 Syntax font-noun
333 \end_layout
334
335 \begin_layout Subsection*
336 font-roman
337 \end_layout
338
339 \begin_layout Description
340 Action Toggles Roman family font (selection-wise).
341 \end_layout
342
343 \begin_layout Description
344 Syntax font-roman
345 \end_layout
346
347 \begin_layout Subsection*
348 font-sans
349 \end_layout
350
351 \begin_layout Description
352 Action Toggles Sans Serif family font (selection-wise).
353 \end_layout
354
355 \begin_layout Description
356 Syntax font-sans
357 \end_layout
358
359 \begin_layout Subsection*
360 font-size
361 \end_layout
362
363 \begin_layout Description
364 Action Sets font size according to lyx format string.
365 \end_layout
366
367 \begin_layout Description
368 Syntax font-size <SIZE>
369 \end_layout
370
371 \begin_layout Description
372 Params <SIZE>: tiny|scriptsize|footnotesize|small|normal|large|larger|
373 \begin_inset Newline newline
374 \end_inset
375
376 largest|huge|giant|increase|decrease|default
377 \end_layout
378
379 \begin_layout Subsection*
380 font-state
381 \end_layout
382
383 \begin_layout Description
384 Action Returns the info about the current font.
385 \end_layout
386
387 \begin_layout Description
388 Syntax font-state
389 \end_layout
390
391 \begin_layout Subsection*
392 font-strikeout
393 \end_layout
394
395 \begin_layout Description
396 Action Toggles strikeout (strike-through) in the font (selection-wise).
397 \end_layout
398
399 \begin_layout Description
400 Syntax font-strikeout
401 \end_layout
402
403 \begin_layout Description
404 Origin sanda, 3 May 2009
405 \end_layout
406
407 \begin_layout Subsection*
408 font-typewriter
409 \end_layout
410
411 \begin_layout Description
412 Action Toggles the typewriter family font (selection-wise).
413 \end_layout
414
415 \begin_layout Description
416 Syntax font-typewriter
417 \end_layout
418
419 \begin_layout Subsection*
420 font-underline
421 \end_layout
422
423 \begin_layout Description
424 Action Toggles underline in the font (selection-wise).
425 \end_layout
426
427 \begin_layout Description
428 Syntax font-underline
429 \end_layout
430
431 \begin_layout Subsection*
432 font-underunderline
433 \end_layout
434
435 \begin_layout Description
436 Action Toggles double underline in the font (selection-wise).
437 \end_layout
438
439 \begin_layout Description
440 Syntax font-underunderline
441 \end_layout
442
443 \begin_layout Description
444 Origin sanda, 5 May 2009
445 \end_layout
446
447 \begin_layout Subsection*
448 font-underwave
449 \end_layout
450
451 \begin_layout Description
452 Action Toggles wavy underline in the font (selection-wise).
453 \end_layout
454
455 \begin_layout Description
456 Syntax font-underwave
457 \end_layout
458
459 \begin_layout Description
460 Origin sanda, 5 May 2009
461 \end_layout
462
463 \begin_layout Subsection*
464 layout
465 \end_layout
466
467 \begin_layout Description
468 Action Sets the layout (that is, environment) for the current paragraph.
469 \end_layout
470
471 \begin_layout Description
472 Syntax layout <LAYOUT> [ignoreautonests]
473 \end_layout
474
475 \begin_layout Description
476 Params <LAYOUT>: the layout to use
477 \begin_inset Newline newline
478 \end_inset
479
480 ignoreautonests: If specified, nesting advices will be ignored.
481 \end_layout
482
483 \begin_layout Subsection*
484 layout-module-add
485 \end_layout
486
487 \begin_layout Description
488 Action Adds a module.
489 \end_layout
490
491 \begin_layout Description
492 Notion Adds a module to the list of included modules for the current buffer.
493 \end_layout
494
495 \begin_layout Description
496 Syntax layout-module-add <MODULE>
497 \end_layout
498
499 \begin_layout Description
500 Params <MODULE>: the module to be added
501 \end_layout
502
503 \begin_layout Description
504 Origin rgh, 25 August 2007
505 \end_layout
506
507 \begin_layout Subsection*
508 layout-modules-clear
509 \end_layout
510
511 \begin_layout Description
512 Action Clears the module list.
513 \end_layout
514
515 \begin_layout Description
516 Notion Clears the list of included modules for the current buffer.
517 \end_layout
518
519 \begin_layout Description
520 Syntax layout-modules-clear
521 \end_layout
522
523 \begin_layout Description
524 Origin rgh, 25 August 2007
525 \end_layout
526
527 \begin_layout Subsection*
528 layout-paragraph
529 \end_layout
530
531 \begin_layout Description
532 Action Launches the paragraph settings dialog.
533 \end_layout
534
535 \begin_layout Description
536 Syntax layout-paragraph
537 \end_layout
538
539 \begin_layout Subsection*
540 layout-reload
541 \end_layout
542
543 \begin_layout Description
544 Action Reloads layout information.
545 \end_layout
546
547 \begin_layout Description
548 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.
549 \end_layout
550
551 \begin_layout Description
552 Syntax layout-reload
553 \end_layout
554
555 \begin_layout Description
556 Origin rgh, 3 September 2007
557 \end_layout
558
559 \begin_layout Subsection*
560 layout-tabular
561 \end_layout
562
563 \begin_layout Description
564 Action Launches the tabular settings dialog.
565 \end_layout
566
567 \begin_layout Description
568 Syntax layout-tabular
569 \end_layout
570
571 \begin_layout Description
572 Origin Jug, 31 Jul 2000
573 \end_layout
574
575 \begin_layout Subsection*
576 layout-toggle
577 \end_layout
578
579 \begin_layout Description
580 Action Toggles the layout (that is, environment) for the current paragraph.
581 \end_layout
582
583 \begin_layout Description
584 Notion Contrary to `layout', this function resets the current (or selection) layout to the standard layout it already has the correct layout. Useful for toolbar icons.
585 \end_layout
586
587 \begin_layout Description
588 Syntax layout-toggle <LAYOUT> [ignoreautonests]
589 \end_layout
590
591 \begin_layout Description
592 Params <LAYOUT>: the layout to toggle
593 \begin_inset Newline newline
594 \end_inset
595
596 ignoreautonests: If specified, nesting advices will be ignored.
597 \end_layout
598
599 \begin_layout Description
600 Origin lasgouttes, 14 May 2018
601 \end_layout
602
603 \begin_layout Subsection*
604 screen-font-update
605 \end_layout
606
607 \begin_layout Description
608 Action Update fonts and its metrics.
609 \end_layout
610
611 \begin_layout Description
612 Notion Automatically called after zoom, dpi, font names, or norm change.
613 \end_layout
614
615 \begin_layout Description
616 Syntax screen-font-update
617 \end_layout
618
619 \begin_layout Description
620 Origin ARRae, 13 Aug 2000
621 \end_layout
622
623 \begin_layout Subsection*
624 textclass-apply
625 \end_layout
626
627 \begin_layout Description
628 Action Sets the text class for the current buffer.
629 \end_layout
630
631 \begin_layout Description
632 Syntax textclass-apply <TEXTCLASS>
633 \end_layout
634
635 \begin_layout Description
636 Params <TEXTCLASS>: the textclass to set. Note that this must be the filename, minus the ".layout" extension.
637 \end_layout
638
639 \begin_layout Subsection*
640 textclass-load
641 \end_layout
642
643 \begin_layout Description
644 Action Loads information for a textclass from disk.
645 \end_layout
646
647 \begin_layout Description
648 Syntax textclass-load <TEXTCLASS>
649 \end_layout
650
651 \begin_layout Description
652 Params <TEXTCLASS>: the textclass to load. Note that this must be the filename, minus the ".layout" extension.
653 \end_layout
654
655 \begin_layout Subsection*
656 textstyle-apply
657 \end_layout
658
659 \begin_layout Description
660 Action Apply last used text properties.
661 \end_layout
662
663 \begin_layout Description
664 Notion These properties are stored via LFUN_TEXTSTYLE_UPDATE, which is automatically triggered when using Text Style dialog.
665 \end_layout
666
667 \begin_layout Description
668 Syntax textstyle-apply [<NUM>]textstyle-apply
669 \end_layout
670
671 \begin_layout Description
672 Params <NUM>: number of the selection in the internal freefonts stack to be applied.
673 \end_layout
674
675 \begin_layout Description
676 Origin leeming, 12 Mar 2003
677 \end_layout
678
679 \begin_layout Subsection*
680 textstyle-update
681 \end_layout
682
683 \begin_layout Description
684 Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APPLY.
685 \end_layout
686
687 \begin_layout Description
688 Syntax textstyle-update <FONT_INFO>
689 \end_layout
690
691 \begin_layout Description
692 Params <FONT_INFO>: specifies font attributes, e.g. family, series, shape, size, emph, noun, underbar, number, color, language, toggleall.
693 \begin_inset Newline newline
694 \end_inset
695
696 Use lyx -dbg action for exact syntax of text-style dialog parameters.
697 \end_layout
698
699 \begin_layout Description
700 Origin leeming, 12 Mar 2003
701 \end_layout
702
703 \begin_layout Section
704 Editing Functions (Cursor and Mouse Movement, Copy/Paste etc.)
705 \end_layout
706
707 \begin_layout Subsection*
708 accent-acute
709 \end_layout
710
711 \begin_layout Description
712 Action Adds an acute accent to the next character typed.
713 \end_layout
714
715 \begin_layout Description
716 Syntax accent-acute
717 \end_layout
718
719 \begin_layout Subsection*
720 accent-breve
721 \end_layout
722
723 \begin_layout Description
724 Action Adds a breve accent to the next character typed.
725 \end_layout
726
727 \begin_layout Description
728 Syntax accent-breve
729 \end_layout
730
731 \begin_layout Subsection*
732 accent-caron
733 \end_layout
734
735 \begin_layout Description
736 Action Adds a caron to the next character typed.
737 \end_layout
738
739 \begin_layout Description
740 Syntax accent-caron
741 \end_layout
742
743 \begin_layout Subsection*
744 accent-cedilla
745 \end_layout
746
747 \begin_layout Description
748 Action Adds a cedilla to the next character typed.
749 \end_layout
750
751 \begin_layout Description
752 Syntax accent-cedilla
753 \end_layout
754
755 \begin_layout Subsection*
756 accent-circle
757 \end_layout
758
759 \begin_layout Description
760 Action Adds a circle accent to the next character typed.
761 \end_layout
762
763 \begin_layout Description
764 Syntax accent-circle
765 \end_layout
766
767 \begin_layout Subsection*
768 accent-circumflex
769 \end_layout
770
771 \begin_layout Description
772 Action Adds a circumflex to the next character typed.
773 \end_layout
774
775 \begin_layout Description
776 Syntax accent-circumflex
777 \end_layout
778
779 \begin_layout Subsection*
780 accent-dot
781 \end_layout
782
783 \begin_layout Description
784 Action Adds a dot accent to the next character typed.
785 \end_layout
786
787 \begin_layout Description
788 Syntax accent-dot
789 \end_layout
790
791 \begin_layout Subsection*
792 accent-grave
793 \end_layout
794
795 \begin_layout Description
796 Action Adds a grave accent to the next character typed.
797 \end_layout
798
799 \begin_layout Description
800 Syntax accent-grave
801 \end_layout
802
803 \begin_layout Subsection*
804 accent-hungarian-umlaut
805 \end_layout
806
807 \begin_layout Description
808 Action Adds a Hungarian umlaut to the next character typed.
809 \end_layout
810
811 \begin_layout Description
812 Syntax accent-grave
813 \end_layout
814
815 \begin_layout Subsection*
816 accent-macron
817 \end_layout
818
819 \begin_layout Description
820 Action Adds a macron to the next character typed.
821 \end_layout
822
823 \begin_layout Description
824 Syntax accent-macron
825 \end_layout
826
827 \begin_layout Subsection*
828 accent-ogonek
829 \end_layout
830
831 \begin_layout Description
832 Action Adds an ogonek accent to the next character typed.
833 \end_layout
834
835 \begin_layout Description
836 Syntax accent-ogonek
837 \end_layout
838
839 \begin_layout Subsection*
840 accent-perispomeni
841 \end_layout
842
843 \begin_layout Description
844 Action Adds a perispomeni (Greek circumflex) over the next character typed.
845 \end_layout
846
847 \begin_layout Description
848 Syntax accent-perispomeni
849 \end_layout
850
851 \begin_layout Subsection*
852 accent-tie
853 \end_layout
854
855 \begin_layout Description
856 Action Adds a tie over the next two character typed.
857 \end_layout
858
859 \begin_layout Description
860 Notion The following char will finish the tie.
861 \end_layout
862
863 \begin_layout Description
864 Syntax accent-tie
865 \end_layout
866
867 \begin_layout Subsection*
868 accent-tilde
869 \end_layout
870
871 \begin_layout Description
872 Action Adds a tilde over the next character typed.
873 \end_layout
874
875 \begin_layout Description
876 Syntax accent-tilde
877 \end_layout
878
879 \begin_layout Subsection*
880 accent-umlaut
881 \end_layout
882
883 \begin_layout Description
884 Action Adds an umlaut over the next character typed.
885 \end_layout
886
887 \begin_layout Description
888 Syntax accent-umlaut
889 \end_layout
890
891 \begin_layout Subsection*
892 accent-underbar
893 \end_layout
894
895 \begin_layout Description
896 Action Adds a bar under the next character typed.
897 \end_layout
898
899 \begin_layout Description
900 Syntax accent-underbar
901 \end_layout
902
903 \begin_layout Subsection*
904 accent-underdot
905 \end_layout
906
907 \begin_layout Description
908 Action Adds a dot under the next character typed.
909 \end_layout
910
911 \begin_layout Description
912 Syntax accent-underdot
913 \end_layout
914
915 \begin_layout Subsection*
916 all-changes-accept
917 \end_layout
918
919 \begin_layout Description
920 Action Accepts all tracked changes in the document.
921 \end_layout
922
923 \begin_layout Description
924 Syntax all-changes-accept
925 \end_layout
926
927 \begin_layout Description
928 Origin Levon, 16 Oct 2002
929 \end_layout
930
931 \begin_layout Subsection*
932 all-changes-reject
933 \end_layout
934
935 \begin_layout Description
936 Action Rejects all tracked changes in the document.
937 \end_layout
938
939 \begin_layout Description
940 Notion Reject does not work recursively; the user may have to repeat the operation.
941 \end_layout
942
943 \begin_layout Description
944 Syntax all-changes-reject
945 \end_layout
946
947 \begin_layout Description
948 Origin Levon, 16 Oct 2002
949 \end_layout
950
951 \begin_layout Subsection*
952 appendix
953 \end_layout
954
955 \begin_layout Description
956 Action Start (or remove) Appendix on the given cursor position.
957 \end_layout
958
959 \begin_layout Description
960 Syntax appendix
961 \end_layout
962
963 \begin_layout Description
964 Origin ettrich, 5 May 1998
965 \end_layout
966
967 \begin_layout Subsection*
968 argument-insert
969 \end_layout
970
971 \begin_layout Description
972 Action Inserts an argument (short title) inset.
973 \end_layout
974
975 \begin_layout Description
976 Syntax argument-insert <argument nr>
977 \end_layout
978
979 \begin_layout Description
980 Params <argument nr>: see layout declarations
981 \end_layout
982
983 \begin_layout Description
984 Origin vermeer, 12 Aug 2002
985 \end_layout
986
987 \begin_layout Subsection*
988 bibtex-database-add
989 \end_layout
990
991 \begin_layout Description
992 Action Adds database, which will be used for bibtex citations.
993 \end_layout
994
995 \begin_layout Description
996 Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor position.
997 \end_layout
998
999 \begin_layout Description
1000 Syntax bibtex-database-add <DATABASE-NAME>
1001 \end_layout
1002
1003 \begin_layout Description
1004 Origin Ale, 30 May 1997
1005 \end_layout
1006
1007 \begin_layout Subsection*
1008 bibtex-database-del
1009 \end_layout
1010
1011 \begin_layout Description
1012 Action Adds database, which will be used for bibtex citations.
1013 \end_layout
1014
1015 \begin_layout Description
1016 Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor position.
1017 \end_layout
1018
1019 \begin_layout Description
1020 Syntax bibtex-database-del <DATABASE-NAME>
1021 \end_layout
1022
1023 \begin_layout Description
1024 Origin Ale, 30 May 1997
1025 \end_layout
1026
1027 \begin_layout Subsection*
1028 bookmark-clear
1029 \end_layout
1030
1031 \begin_layout Description
1032 Action Clears the list of saved bookmarks.
1033 \end_layout
1034
1035 \begin_layout Description
1036 Syntax bookmark-clear
1037 \end_layout
1038
1039 \begin_layout Description
1040 Origin bpeng, 31 October 2006
1041 \end_layout
1042
1043 \begin_layout Subsection*
1044 bookmark-goto
1045 \end_layout
1046
1047 \begin_layout Description
1048 Action Moves the cursor to the numbered bookmark, opening the file if necessary. Note that bookmarks are saved per-session, not per file.
1049 \end_layout
1050
1051 \begin_layout Description
1052 Notion Bookmark 0 has a special purpose. It is automatically set
1053 \begin_inset Newline newline
1054 \end_inset
1055
1056 1. to the paragraph you are currently editing
1057 \begin_inset Newline newline
1058 \end_inset
1059
1060 2. to the paragraph from where you are jumping to the last-edited position (jump-back feature)
1061 \begin_inset Newline newline
1062 \end_inset
1063
1064 3. when jumping from crossreference to the requested label by LFUN_LABEL_GOTO.
1065 \end_layout
1066
1067 \begin_layout Description
1068 Syntax bookmark-goto <NUMBER>
1069 \end_layout
1070
1071 \begin_layout Description
1072 Params <NUMBER>: the number of the bookmark to restore.
1073 \end_layout
1074
1075 \begin_layout Description
1076 Origin Dekel, 27 January 2001
1077 \end_layout
1078
1079 \begin_layout Subsection*
1080 bookmark-save
1081 \end_layout
1082
1083 \begin_layout Description
1084 Action Save a bookmark.
1085 \end_layout
1086
1087 \begin_layout Description
1088 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.
1089 \end_layout
1090
1091 \begin_layout Description
1092 Syntax bookmark-save <NUMBER>
1093 \end_layout
1094
1095 \begin_layout Description
1096 Params <NUMBER>: the number of the bookmark to save.
1097 \end_layout
1098
1099 \begin_layout Description
1100 Origin Dekel, 27 January 2001
1101 \end_layout
1102
1103 \begin_layout Subsection*
1104 box-insert
1105 \end_layout
1106
1107 \begin_layout Description
1108 Action Inserts Box inset.
1109 \end_layout
1110
1111 \begin_layout Description
1112 Syntax box-insert [<TYPE>]
1113 \end_layout
1114
1115 \begin_layout Description
1116 Params <TYPE>: Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox
1117 \begin_inset Newline newline
1118 \end_inset
1119
1120 Framed is the default one.
1121 \end_layout
1122
1123 \begin_layout Description
1124 Origin vermeer, 7 Oct 2003
1125 \end_layout
1126
1127 \begin_layout Subsection*
1128 branch-insert
1129 \end_layout
1130
1131 \begin_layout Description
1132 Action Inserts branch inset.
1133 \end_layout
1134
1135 \begin_layout Description
1136 Syntax branch-insert <BRANCH-NAME>
1137 \end_layout
1138
1139 \begin_layout Description
1140 Origin vermeer, 17 Aug 2003
1141 \end_layout
1142
1143 \begin_layout Subsection*
1144 buffer-anonymize
1145 \end_layout
1146
1147 \begin_layout Description
1148 Action For debug purposes only. Convert all [a-zA-Z0-1] characters to single character. Useful when submitting docs to list or bugzilla.
1149 \end_layout
1150
1151 \begin_layout Description
1152 Syntax buffer-anonymize
1153 \end_layout
1154
1155 \begin_layout Description
1156 Origin sanda, Feb 1 2018
1157 \end_layout
1158
1159 \begin_layout Subsection*
1160 buffer-begin
1161 \end_layout
1162
1163 \begin_layout Description
1164 Action Move the cursor to the beginning of the document.
1165 \end_layout
1166
1167 \begin_layout Description
1168 Syntax buffer-begin
1169 \end_layout
1170
1171 \begin_layout Subsection*
1172 buffer-begin-select
1173 \end_layout
1174
1175 \begin_layout Description
1176 Action Move the cursor to the beginning of the document adding the traversed text to the selection.
1177 \end_layout
1178
1179 \begin_layout Description
1180 Syntax buffer-begin-select
1181 \end_layout
1182
1183 \begin_layout Subsection*
1184 buffer-end
1185 \end_layout
1186
1187 \begin_layout Description
1188 Action Move the cursor to the end of the document.
1189 \end_layout
1190
1191 \begin_layout Description
1192 Syntax buffer-end
1193 \end_layout
1194
1195 \begin_layout Subsection*
1196 buffer-end-select
1197 \end_layout
1198
1199 \begin_layout Description
1200 Action Move the cursor to the end of the document adding the traversed text to the selection.
1201 \end_layout
1202
1203 \begin_layout Description
1204 Syntax buffer-end-select
1205 \end_layout
1206
1207 \begin_layout Subsection*
1208 caption-insert
1209 \end_layout
1210
1211 \begin_layout Description
1212 Action Inserts a caption inset.
1213 \end_layout
1214
1215 \begin_layout Description
1216 Syntax caption-insert
1217 \end_layout
1218
1219 \begin_layout Description
1220 Origin Lgb, 18 Jul 2000
1221 \end_layout
1222
1223 \begin_layout Subsection*
1224 cell-backward
1225 \end_layout
1226
1227 \begin_layout Description
1228 Action Moves the cursor to the previous cell inside the table.
1229 \end_layout
1230
1231 \begin_layout Description
1232 Syntax cell-backward
1233 \end_layout
1234
1235 \begin_layout Description
1236 Origin Jug, 22 May 2000
1237 \end_layout
1238
1239 \begin_layout Subsection*
1240 cell-forward
1241 \end_layout
1242
1243 \begin_layout Description
1244 Action Moves the cursor to the next cell inside the table.
1245 \end_layout
1246
1247 \begin_layout Description
1248 Syntax cell-forward
1249 \end_layout
1250
1251 \begin_layout Subsection*
1252 cell-split
1253 \end_layout
1254
1255 \begin_layout Description
1256 Action Splits cell and shifts right part to the next cell (inside the math grid).
1257 \end_layout
1258
1259 \begin_layout Description
1260 Syntax cell-split
1261 \end_layout
1262
1263 \begin_layout Description
1264 Origin Ale, 15 May 1997
1265 \end_layout
1266
1267 \begin_layout Subsection*
1268 change-accept
1269 \end_layout
1270
1271 \begin_layout Description
1272 Action Accepts tracked change inside the selection.
1273 \end_layout
1274
1275 \begin_layout Description
1276 Syntax change-accept
1277 \end_layout
1278
1279 \begin_layout Description
1280 Origin Levon, 16 Oct 2002
1281 \end_layout
1282
1283 \begin_layout Subsection*
1284 change-next
1285 \end_layout
1286
1287 \begin_layout Description
1288 Action Moves the cursor to the position of the next change of the change tracking records.
1289 \end_layout
1290
1291 \begin_layout Description
1292 Syntax change-next
1293 \end_layout
1294
1295 \begin_layout Description
1296 Origin schmitt, 4 Oct 2006
1297 \end_layout
1298
1299 \begin_layout Subsection*
1300 change-previous
1301 \end_layout
1302
1303 \begin_layout Description
1304 Action Moves the cursor to the position of the previous change of the change tracking records.
1305 \end_layout
1306
1307 \begin_layout Description
1308 Syntax change-previous
1309 \end_layout
1310
1311 \begin_layout Description
1312 Origin vfr, 4 Apr 2009
1313 \end_layout
1314
1315 \begin_layout Subsection*
1316 change-reject
1317 \end_layout
1318
1319 \begin_layout Description
1320 Action Rejects tracked change inside the selection.
1321 \end_layout
1322
1323 \begin_layout Description
1324 Syntax change-reject
1325 \end_layout
1326
1327 \begin_layout Description
1328 Origin Levon, 16 Oct 2002
1329 \end_layout
1330
1331 \begin_layout Subsection*
1332 changes-merge
1333 \end_layout
1334
1335 \begin_layout Description
1336 Action Open change tracking dialog for merging and moves the cursor to the position of the next change.
1337 \end_layout
1338
1339 \begin_layout Description
1340 Syntax changes-merge
1341 \end_layout
1342
1343 \begin_layout Description
1344 Origin Levon, 16 Oct 2002
1345 \end_layout
1346
1347 \begin_layout Subsection*
1348 changes-output
1349 \end_layout
1350
1351 \begin_layout Description
1352 Action Toggles showing of change tracking in typeset output.
1353 \end_layout
1354
1355 \begin_layout Description
1356 Syntax changes-output
1357 \end_layout
1358
1359 \begin_layout Description
1360 Origin spitz, 21 Jan 2005
1361 \end_layout
1362
1363 \begin_layout Subsection*
1364 changes-track
1365 \end_layout
1366
1367 \begin_layout Description
1368 Action Toggles change tracking to on/off.
1369 \end_layout
1370
1371 \begin_layout Description
1372 Syntax changes-track
1373 \end_layout
1374
1375 \begin_layout Description
1376 Origin levon, 1 Oct 2002
1377 \end_layout
1378
1379 \begin_layout Subsection*
1380 char-backward
1381 \end_layout
1382
1383 \begin_layout Description
1384 Action Moves the cursor one position logically backwards.
1385 \end_layout
1386
1387 \begin_layout Description
1388 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.
1389 \end_layout
1390
1391 \begin_layout Description
1392 Syntax char-backward
1393 \end_layout
1394
1395 \begin_layout Subsection*
1396 char-backward-select
1397 \end_layout
1398
1399 \begin_layout Description
1400 Action Moves the cursor one position logically backwards, adding traversed position to the selection.
1401 \end_layout
1402
1403 \begin_layout Description
1404 Notion See also LFUN_CHAR_BACKWARD.
1405 \end_layout
1406
1407 \begin_layout Description
1408 Syntax char-backward-select
1409 \end_layout
1410
1411 \begin_layout Subsection*
1412 char-delete-backward
1413 \end_layout
1414
1415 \begin_layout Description
1416 Action Deletes one character in the backward direction (usually the "BackSpace" key).
1417 \end_layout
1418
1419 \begin_layout Description
1420 Syntax char-delete-backward [confirm]
1421 \end_layout
1422
1423 \begin_layout Description
1424 Params confirm: Select big insets, do not directly delete them.
1425 \end_layout
1426
1427 \begin_layout Subsection*
1428 char-delete-forward
1429 \end_layout
1430
1431 \begin_layout Description
1432 Action Deletes one character in the backward direction (usually the "Delete" key).
1433 \end_layout
1434
1435 \begin_layout Description
1436 Syntax char-delete-forward [confirm]
1437 \end_layout
1438
1439 \begin_layout Description
1440 Params confirm: Select big insets, do not directly delete them.
1441 \end_layout
1442
1443 \begin_layout Subsection*
1444 char-forward
1445 \end_layout
1446
1447 \begin_layout Description
1448 Action Moves the cursor one position logically forward.
1449 \end_layout
1450
1451 \begin_layout Description
1452 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.
1453 \end_layout
1454
1455 \begin_layout Description
1456 Syntax char-forward
1457 \end_layout
1458
1459 \begin_layout Subsection*
1460 char-forward-select
1461 \end_layout
1462
1463 \begin_layout Description
1464 Action Moves the cursor one position logically forward, adding traversed position to the selection.
1465 \end_layout
1466
1467 \begin_layout Description
1468 Notion See also LFUN_CHAR_FORWARD.
1469 \end_layout
1470
1471 \begin_layout Description
1472 Syntax char-forward-select
1473 \end_layout
1474
1475 \begin_layout Subsection*
1476 char-left
1477 \end_layout
1478
1479 \begin_layout Description
1480 Action Moves the cursor one position "to the left".
1481 \end_layout
1482
1483 \begin_layout Description
1484 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.
1485 \end_layout
1486
1487 \begin_layout Description
1488 Syntax char-left
1489 \end_layout
1490
1491 \begin_layout Subsection*
1492 char-left-select
1493 \end_layout
1494
1495 \begin_layout Description
1496 Action Moves the cursor one position "to the left", adding traversed position to the selection.
1497 \end_layout
1498
1499 \begin_layout Description
1500 Notion See also LFUN_CHAR_LEFT for exact details of the movement.
1501 \end_layout
1502
1503 \begin_layout Description
1504 Syntax char-left-select
1505 \end_layout
1506
1507 \begin_layout Subsection*
1508 char-right
1509 \end_layout
1510
1511 \begin_layout Description
1512 Action Moves the cursor one position "to the right".
1513 \end_layout
1514
1515 \begin_layout Description
1516 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.
1517 \end_layout
1518
1519 \begin_layout Description
1520 Syntax char-right
1521 \end_layout
1522
1523 \begin_layout Subsection*
1524 char-right-select
1525 \end_layout
1526
1527 \begin_layout Description
1528 Action Moves the cursor one position "to the right", adding traversed position to the selection.
1529 \end_layout
1530
1531 \begin_layout Description
1532 Notion See also LFUN_CHAR_RIGHT for exact details of the movement.
1533 \end_layout
1534
1535 \begin_layout Description
1536 Syntax char-right-select
1537 \end_layout
1538
1539 \begin_layout Subsection*
1540 chars-transpose
1541 \end_layout
1542
1543 \begin_layout Description
1544 Action Transposes the character at the cursor with the one before it.
1545 \end_layout
1546
1547 \begin_layout Description
1548 Syntax chars-transpose
1549 \end_layout
1550
1551 \begin_layout Description
1552 Origin Lgb, 25 Apr 2001
1553 \end_layout
1554
1555 \begin_layout Subsection*
1556 citation-insert
1557 \end_layout
1558
1559 \begin_layout Description
1560 Action Inserts citation from loaded citation database.
1561 \end_layout
1562
1563 \begin_layout Description
1564 Syntax citation-insert [<KEY>[|<TEXT_BEFORE>]]
1565 \end_layout
1566
1567 \begin_layout Description
1568 Params <KEY>: Citation (shortcut listed in available citations).
1569 \begin_inset Newline newline
1570 \end_inset
1571
1572 <TEXT_BEFORE>: text which should appear before citation.
1573 \end_layout
1574
1575 \begin_layout Description
1576 Origin AAS, 97-02-23
1577 \end_layout
1578
1579 \begin_layout Subsection*
1580 citation-open
1581 \end_layout
1582
1583 \begin_layout Description
1584 Action Opens the corresponding pdf/url for a given citation inset.
1585 \end_layout
1586
1587 \begin_layout Description
1588 Syntax citation-open [EXTERNAL] TARGET
1589 \end_layout
1590
1591 \begin_layout Description
1592 Params <TARGET>: URL (https:,file:) of the document.
1593 \begin_inset Newline newline
1594 \end_inset
1595
1596 <EXTERNAL>: Use external executable script for finding target
1597 \begin_inset Newline newline
1598 \end_inset
1599
1600                and launching viewer. In this case TARGET consists of author and year
1601 \begin_inset Newline newline
1602 \end_inset
1603
1604                and will be passed as an input argument to the script.
1605 \end_layout
1606
1607 \begin_layout Description
1608 Origin Sanda, 16 Aug 2020
1609 \end_layout
1610
1611 \begin_layout Subsection*
1612 clipboard-paste
1613 \end_layout
1614
1615 \begin_layout Description
1616 Action Pastes text from the active clipboard (retains formatting if the clipboard contains formatted text). Pastes plain text if plain text is on the clipboard, but tries to interpret it in special ways for certain insets, e.g. converting csv data to rows and columns if the paste happens in a tabular inset.
1617 \end_layout
1618
1619 \begin_layout Description
1620 Notion Historically, LFUN_CLIPBOARD_PASTE was introduced as a counterpart of LFUN_PRIMARY_SELECTION_PASTE: It behaved exactly the same, but the source is the clipboard, not the selection.
1621 \end_layout
1622
1623 \begin_layout Description
1624 Syntax clipboard-paste [<ARG>]
1625 \end_layout
1626
1627 \begin_layout Description
1628 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
1629 \end_layout
1630
1631 \begin_layout Description
1632 Origin Georg, 10 Jul 2006
1633 \end_layout
1634
1635 \begin_layout Subsection*
1636 clipboard-paste-simple
1637 \end_layout
1638
1639 \begin_layout Description
1640 Action Pastes plain text from the active clipboard even if formatted LyX content is in the clipboard. Pastes plain text if plain text is on the clipboard, without trying to interpret it in special ways for certain insets, e.g. converting csv data to rows and columns if the paste happens in a tabular inset.
1641 \end_layout
1642
1643 \begin_layout Description
1644 Syntax clipboard-paste-simple [<ARG>]
1645 \end_layout
1646
1647 \begin_layout Description
1648 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
1649 \end_layout
1650
1651 \begin_layout Subsection*
1652 command-execute
1653 \end_layout
1654
1655 \begin_layout Description
1656 Action Switches the focus to the minibuffer so that the user can type in there. If necessary, it opens the minibuffer toolbar.
1657 \end_layout
1658
1659 \begin_layout Description
1660 Notion Usually bound to M-x shortcut.
1661 \end_layout
1662
1663 \begin_layout Description
1664 Syntax command-execute
1665 \end_layout
1666
1667 \begin_layout Subsection*
1668 complete
1669 \end_layout
1670
1671 \begin_layout Description
1672 Action Try to complete the word or command at the cursor position.
1673 \end_layout
1674
1675 \begin_layout Description
1676 Syntax complete
1677 \end_layout
1678
1679 \begin_layout Description
1680 Origin sts, Feb 19 2008
1681 \end_layout
1682
1683 \begin_layout Subsection*
1684 completion-accept
1685 \end_layout
1686
1687 \begin_layout Description
1688 Action Accept suggested completion.
1689 \end_layout
1690
1691 \begin_layout Description
1692 Syntax completion-accept
1693 \end_layout
1694
1695 \begin_layout Description
1696 Origin sanda, Sep 08 2008
1697 \end_layout
1698
1699 \begin_layout Subsection*
1700 completion-cancel
1701 \end_layout
1702
1703 \begin_layout Description
1704 Action Try to cancel completion, either the popup or the inline completion.
1705 \end_layout
1706
1707 \begin_layout Description
1708 Syntax completion-cancel
1709 \end_layout
1710
1711 \begin_layout Description
1712 Origin sts, Sep 07 2008
1713 \end_layout
1714
1715 \begin_layout Subsection*
1716 completion-inline
1717 \end_layout
1718
1719 \begin_layout Description
1720 Action Show the inline completion at the cursor position.
1721 \end_layout
1722
1723 \begin_layout Description
1724 Syntax completion-inline
1725 \end_layout
1726
1727 \begin_layout Description
1728 Origin sts, Feb 19 2008
1729 \end_layout
1730
1731 \begin_layout Subsection*
1732 completion-popup
1733 \end_layout
1734
1735 \begin_layout Description
1736 Action Show the completion popup at the cursor position.
1737 \end_layout
1738
1739 \begin_layout Description
1740 Syntax completion-popup
1741 \end_layout
1742
1743 \begin_layout Description
1744 Origin sts, Feb 19 2008
1745 \end_layout
1746
1747 \begin_layout Subsection*
1748 copy
1749 \end_layout
1750
1751 \begin_layout Description
1752 Action Copies the current selection to the clipboard.
1753 \end_layout
1754
1755 \begin_layout Description
1756 Syntax copy
1757 \end_layout
1758
1759 \begin_layout Subsection*
1760 cut
1761 \end_layout
1762
1763 \begin_layout Description
1764 Action Cuts to the clipboard.
1765 \end_layout
1766
1767 \begin_layout Description
1768 Syntax cut
1769 \end_layout
1770
1771 \begin_layout Subsection*
1772 depth-decrement
1773 \end_layout
1774
1775 \begin_layout Description
1776 Action Decrease the nesting depth of the (selected) paragraph(s) inside lists.
1777 \end_layout
1778
1779 \begin_layout Description
1780 Syntax depth-decrement
1781 \end_layout
1782
1783 \begin_layout Subsection*
1784 depth-increment
1785 \end_layout
1786
1787 \begin_layout Description
1788 Action Increase the nesting depth of the (selected) paragraph(s) inside lists.
1789 \end_layout
1790
1791 \begin_layout Description
1792 Syntax depth-increment
1793 \end_layout
1794
1795 \begin_layout Subsection*
1796 dialog-disconnect-inset
1797 \end_layout
1798
1799 \begin_layout Description
1800 Action Closes opened connection to opened inset.
1801 \end_layout
1802
1803 \begin_layout Description
1804 Notion Connection is used for apply functions.
1805 \end_layout
1806
1807 \begin_layout Description
1808 Syntax dialog-disconnect-inset <INSET-NAME>
1809 \end_layout
1810
1811 \begin_layout Description
1812 Origin leeming, 25 Feb 2003
1813 \end_layout
1814
1815 \begin_layout Subsection*
1816 dialog-hide
1817 \end_layout
1818
1819 \begin_layout Description
1820 Action Hides showed dialog. Counterpart to LFUN_DIALOG_SHOW .
1821 \end_layout
1822
1823 \begin_layout Description
1824 Syntax dialog-hide <NAME>
1825 \end_layout
1826
1827 \begin_layout Description
1828 Params See LFUN_DIALOG_SHOW .
1829 \end_layout
1830
1831 \begin_layout Description
1832 Origin leeming, 25 Feb 2003
1833 \end_layout
1834
1835 \begin_layout Subsection*
1836 dialog-show
1837 \end_layout
1838
1839 \begin_layout Description
1840 Action Shows hidden dialog or creates new one for a given function/inset settings etc.
1841 \end_layout
1842
1843 \begin_layout Description
1844 Syntax dialog-show <NAME> [<DATA>]
1845 \end_layout
1846
1847 \begin_layout Description
1848 Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
1849 \begin_inset Newline newline
1850 \end_inset
1851
1852 compare|counter|document|errorlist|ert|external|file|findreplace|findreplaceadv|float|
1853 \begin_inset Newline newline
1854 \end_inset
1855
1856 graphics|href|include|index|index_print|info|label|line|listings|log|mathdelimiter|
1857 \begin_inset Newline newline
1858 \end_inset
1859
1860 mathmatrix|mathspace|nomenclature|nomencl_print|note|paragraph|phantom|prefs|
1861 \begin_inset Newline newline
1862 \end_inset
1863
1864 print|ref|sendto|space|spellchecker|symbols|tabular|tabularcreate|
1865 \begin_inset Newline newline
1866 \end_inset
1867
1868 thesaurus|texinfo|toc|view-source|vspace|wrap|<SPECIAL>
1869 \begin_inset Newline newline
1870 \end_inset
1871
1872 <SPECIAL>: latexlog|vclog
1873 \begin_inset Newline newline
1874 \end_inset
1875
1876 <DATA>: data, usually settings for the given dialog. Use debug mode for the details.
1877 \end_layout
1878
1879 \begin_layout Description
1880 Origin leeming, 17 Jun 2003
1881 \end_layout
1882
1883 \begin_layout Subsection*
1884 dialog-show-new-inset
1885 \end_layout
1886
1887 \begin_layout Description
1888 Action Shows hidden dialog or create new one for a given inset settings etc.
1889 \end_layout
1890
1891 \begin_layout Description
1892 Notion Internally uses LFUN_DIALOG_SHOW with processed data for a given inset.
1893 \end_layout
1894
1895 \begin_layout Description
1896 Syntax dialog-show-new-inset <NAME> [<DATA>]
1897 \end_layout
1898
1899 \begin_layout Description
1900 Params See LFUN_DIALOG_SHOW .
1901 \end_layout
1902
1903 \begin_layout Description
1904 Origin leeming, 25 Feb 2003
1905 \end_layout
1906
1907 \begin_layout Subsection*
1908 dialog-toggle
1909 \end_layout
1910
1911 \begin_layout Description
1912 Action Toggles dialog between showed/hidden state.
1913 \end_layout
1914
1915 \begin_layout Description
1916 Notion Internally uses LFUN_DIALOG_SHOW , LFUN_DIALOG_HIDE .
1917 \end_layout
1918
1919 \begin_layout Description
1920 Syntax dialog-toggle <NAME> [<DATA>]
1921 \end_layout
1922
1923 \begin_layout Description
1924 Params See LFUN_DIALOG_SHOW .
1925 \end_layout
1926
1927 \begin_layout Description
1928 Origin spitz, 30 Apr 2007
1929 \end_layout
1930
1931 \begin_layout Subsection*
1932 dialog-update
1933 \end_layout
1934
1935 \begin_layout Description
1936 Action Updates the dialog values from the inset/paragraph/document.
1937 \end_layout
1938
1939 \begin_layout Description
1940 Syntax dialog-update <NAME>
1941 \end_layout
1942
1943 \begin_layout Description
1944 Params <NAME>: paragraph|prefs|<INSET>
1945 \begin_inset Newline newline
1946 \end_inset
1947
1948 <INSET>: inset name
1949 \end_layout
1950
1951 \begin_layout Description
1952 Origin leeming, 25 Feb 2003
1953 \end_layout
1954
1955 \begin_layout Subsection*
1956 down
1957 \end_layout
1958
1959 \begin_layout Description
1960 Action Moves the cursor one line in downward direction.
1961 \end_layout
1962
1963 \begin_layout Description
1964 Syntax down
1965 \end_layout
1966
1967 \begin_layout Subsection*
1968 down-select
1969 \end_layout
1970
1971 \begin_layout Description
1972 Action Moves the cursor one line in downward direction adding the current position to the selection.
1973 \end_layout
1974
1975 \begin_layout Description
1976 Syntax down-select
1977 \end_layout
1978
1979 \begin_layout Subsection*
1980 ert-insert
1981 \end_layout
1982
1983 \begin_layout Description
1984 Action Inserts an ERT inset.
1985 \end_layout
1986
1987 \begin_layout Description
1988 Syntax ert-insert
1989 \end_layout
1990
1991 \begin_layout Description
1992 Origin Jug, 18 Feb 2000
1993 \end_layout
1994
1995 \begin_layout Subsection*
1996 escape
1997 \end_layout
1998
1999 \begin_layout Description
2000 Action Clears the selection. If no text is selected call LFUN_FINISHED_FORWARD. Inside math mode jumps out of the math inset.
2001 \end_layout
2002
2003 \begin_layout Description
2004 Syntax escape
2005 \end_layout
2006
2007 \begin_layout Description
2008 Origin Lgb, 17 May 2001
2009 \end_layout
2010
2011 \begin_layout Subsection*
2012 export-cancel
2013 \end_layout
2014
2015 \begin_layout Description
2016 Action Cancel background export process.
2017 \end_layout
2018
2019 \begin_layout Description
2020 Syntax export-cancel
2021 \end_layout
2022
2023 \begin_layout Description
2024 Origin rgh, 10 December 2017
2025 \end_layout
2026
2027 \begin_layout Subsection*
2028 file-insert
2029 \end_layout
2030
2031 \begin_layout Description
2032 Action Inserts another LyX file.
2033 \end_layout
2034
2035 \begin_layout Description
2036 Syntax file-insert [<FILE>] [ignorelang]
2037 \end_layout
2038
2039 \begin_layout Description
2040 Params <FILE>: Filename to be inserted. ignorelang: If given, the (main) language of the inserted file is ignored (the context language is used).
2041 \end_layout
2042
2043 \begin_layout Subsection*
2044 file-insert-plaintext
2045 \end_layout
2046
2047 \begin_layout Description
2048 Action Inserts plain text file.
2049 \end_layout
2050
2051 \begin_layout Description
2052 Syntax file-insert-plaintext [<FILE>]
2053 \end_layout
2054
2055 \begin_layout Description
2056 Params <FILE>: Filename to be inserted.
2057 \end_layout
2058
2059 \begin_layout Description
2060 Origin CFO-G, 19 Nov 1997
2061 \end_layout
2062
2063 \begin_layout Subsection*
2064 file-insert-plaintext-para
2065 \end_layout
2066
2067 \begin_layout Description
2068 Action Inserts plain text file as paragraph (i.e. join lines).
2069 \end_layout
2070
2071 \begin_layout Description
2072 Syntax file-insert-plaintext-para [<FILE>]
2073 \end_layout
2074
2075 \begin_layout Description
2076 Params <FILE>: Filename to be inserted.
2077 \end_layout
2078
2079 \begin_layout Description
2080 Origin Levon, 14 Feb 2001
2081 \end_layout
2082
2083 \begin_layout Subsection*
2084 flex-insert
2085 \end_layout
2086
2087 \begin_layout Description
2088 Action Inserts CharStyle, Custom inset or XML short element.
2089 \end_layout
2090
2091 \begin_layout Description
2092 Notion Look into the Customization manual for more information about these elements.
2093 \begin_inset Newline newline
2094 \end_inset
2095
2096 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.
2097 \begin_inset Newline newline
2098 \end_inset
2099
2100 For dissolving the element see LFUN_INSET_DISSOLVE.
2101 \end_layout
2102
2103 \begin_layout Description
2104 Syntax flex-insert Name
2105 \end_layout
2106
2107 \begin_layout Description
2108 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.
2109 \end_layout
2110
2111 \begin_layout Description
2112 Sample flex-insert Code
2113 \end_layout
2114
2115 \begin_layout Subsection*
2116 float-insert
2117 \end_layout
2118
2119 \begin_layout Description
2120 Action Inserts a float inset.
2121 \end_layout
2122
2123 \begin_layout Description
2124 Syntax float-insert <TYPE>
2125 \end_layout
2126
2127 \begin_layout Description
2128 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
2129 \end_layout
2130
2131 \begin_layout Description
2132 Origin Lgb, 27 Jun 2000
2133 \end_layout
2134
2135 \begin_layout Subsection*
2136 float-list-insert
2137 \end_layout
2138
2139 \begin_layout Description
2140 Action Inserts the list of floats in the document.
2141 \end_layout
2142
2143 \begin_layout Description
2144 Syntax float-list-insert <TYPE>
2145 \end_layout
2146
2147 \begin_layout Description
2148 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
2149 \end_layout
2150
2151 \begin_layout Description
2152 Origin Lgb, 3 May 2001
2153 \end_layout
2154
2155 \begin_layout Subsection*
2156 float-wide-insert
2157 \end_layout
2158
2159 \begin_layout Description
2160 Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns.
2161 \end_layout
2162
2163 \begin_layout Description
2164 Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX.
2165 \end_layout
2166
2167 \begin_layout Description
2168 Syntax float-wide-insert <TYPE>
2169 \end_layout
2170
2171 \begin_layout Description
2172 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
2173 \end_layout
2174
2175 \begin_layout Description
2176 Origin Lgb, 31 Oct 2001
2177 \end_layout
2178
2179 \begin_layout Subsection*
2180 footnote-insert
2181 \end_layout
2182
2183 \begin_layout Description
2184 Action Inserts a footnote inset.
2185 \end_layout
2186
2187 \begin_layout Description
2188 Syntax footnote-insert
2189 \end_layout
2190
2191 \begin_layout Description
2192 Origin Jug, 7 Mar 2000
2193 \end_layout
2194
2195 \begin_layout Subsection*
2196 graphics-reload
2197 \end_layout
2198
2199 \begin_layout Description
2200 Action Reloads the image if necessary.
2201 \end_layout
2202
2203 \begin_layout Description
2204 Syntax graphics-reload
2205 \end_layout
2206
2207 \begin_layout Description
2208 Origin vfr, 10 Aug 2009
2209 \end_layout
2210
2211 \begin_layout Subsection*
2212 graphics-set-group
2213 \end_layout
2214
2215 \begin_layout Description
2216 Action Set the group for the graphics inset on the cursor position.
2217 \end_layout
2218
2219 \begin_layout Description
2220 Syntax graphics-set-group [<GROUP>]
2221 \end_layout
2222
2223 \begin_layout Description
2224 Params <GROUP>: Id for an existing group. In case the Id is an empty string, the graphics inset is removed from the current group.
2225 \end_layout
2226
2227 \begin_layout Description
2228 Origin sanda, 6 May 2008
2229 \end_layout
2230
2231 \begin_layout Subsection*
2232 graphics-unify
2233 \end_layout
2234
2235 \begin_layout Description
2236 Action Set the same group for all graphics insets in the marked block.
2237 \end_layout
2238
2239 \begin_layout Description
2240 Syntax graphics-unify [<GROUP>]
2241 \end_layout
2242
2243 \begin_layout Description
2244 Params <GROUP>: Id for an existing group. In case the Id is an empty string, the group Id from the first graphics inset will be used.
2245 \end_layout
2246
2247 \begin_layout Description
2248 Origin sanda, 7 Feb 2018
2249 \end_layout
2250
2251 \begin_layout Subsection*
2252 href-insert
2253 \end_layout
2254
2255 \begin_layout Description
2256 Action Inserts hyperlinks into the document (clickable in pdf output).
2257 \end_layout
2258
2259 \begin_layout Description
2260 Notion Hyperlink target can be set via selection + hyperlink-insert function.
2261 \end_layout
2262
2263 \begin_layout Description
2264 Syntax href-insert [<TARGET>]
2265 \end_layout
2266
2267 \begin_layout Description
2268 Origin CFO-G, 21 Nov 1997
2269 \end_layout
2270
2271 \begin_layout Subsection*
2272 in-ipa
2273 \end_layout
2274
2275 \begin_layout Description
2276 Action Only active in IPA inset.
2277 \end_layout
2278
2279 \begin_layout Description
2280 Notion Dummy function which is only active in a IPA inset. It's used to toggle the IPA toolbar if the cursor moves into an IPA inset.
2281 \end_layout
2282
2283 \begin_layout Description
2284 Syntax in-ipa
2285 \end_layout
2286
2287 \begin_layout Description
2288 Origin spitz, 20 May 2012
2289 \end_layout
2290
2291 \begin_layout Subsection*
2292 index-insert
2293 \end_layout
2294
2295 \begin_layout Description
2296 Action Inserts Index entry.
2297 \end_layout
2298
2299 \begin_layout Description
2300 Notion It automatically takes the word on the cursor position.
2301 \end_layout
2302
2303 \begin_layout Description
2304 Syntax index-insert [<TYPE:Name>]
2305 \end_layout
2306
2307 \begin_layout Description
2308 Params <TYPE:Name>: name of the index, if multiple indices are defined. With an empty argument, the default index is selected.
2309 \end_layout
2310
2311 \begin_layout Description
2312 Origin leeming, 3 Aug 2000
2313 \end_layout
2314
2315 \begin_layout Subsection*
2316 index-print
2317 \end_layout
2318
2319 \begin_layout Description
2320 Action Inserts list of Index entries on a new page.
2321 \end_layout
2322
2323 \begin_layout Description
2324 Syntax index-print [<TYPE:Name>]
2325 \end_layout
2326
2327 \begin_layout Description
2328 Params <TYPE:Name>: name of the index, if multiple indices are defined. With an empty argument, the default index is selected.
2329 \end_layout
2330
2331 \begin_layout Description
2332 Origin Lgb, 27 Feb 1997
2333 \end_layout
2334
2335 \begin_layout Subsection*
2336 index-tag-all
2337 \end_layout
2338
2339 \begin_layout Description
2340 Action Tags all occurrences of the word before the cursor with the index inset at cursor.
2341 \end_layout
2342
2343 \begin_layout Description
2344 Notion It automatically takes the word on the cursor position.
2345 \end_layout
2346
2347 \begin_layout Description
2348 Syntax index-tag-all
2349 \end_layout
2350
2351 \begin_layout Description
2352 Origin spitz, 5 Nov 2022
2353 \end_layout
2354
2355 \begin_layout Subsection*
2356 indexmacro-insert
2357 \end_layout
2358
2359 \begin_layout Description
2360 Action Inserts special Index macros into the document.
2361 \end_layout
2362
2363 \begin_layout Description
2364 Syntax indexmacro-insert <type>
2365 \end_layout
2366
2367 \begin_layout Description
2368 Params <type>: see, seealso, subentry, sortkey.
2369 \end_layout
2370
2371 \begin_layout Description
2372 Origin spitz, 20 Feb 2022
2373 \end_layout
2374
2375 \begin_layout Subsection*
2376 info-insert
2377 \end_layout
2378
2379 \begin_layout Description
2380 Action Displays shortcuts, lyxrc, package and textclass availability and menu information in a non-editable boxed InsetText.
2381 \end_layout
2382
2383 \begin_layout Description
2384 Notion Apart from lfun arguments you can use the following method:
2385 \begin_inset Newline newline
2386 \end_inset
2387
2388 1. input the type and argument of this inset, e.g. "menu paste", in the work area.
2389 \begin_inset Newline newline
2390 \end_inset
2391
2392 2. select the text and run info-insert lfun.
2393 \end_layout
2394
2395 \begin_layout Description
2396 Syntax info-insert <TYPE> <ARG>
2397 \end_layout
2398
2399 \begin_layout Description
2400 Params <TYPE>: date|moddate|fixdate|time|modtime|fixtime|shortcut|shortcuts|lyxrc| lyxinfo|package|textclass|menu|l7n|icon|buffer|vcs
2401 \begin_inset Newline newline
2402 \end_inset
2403
2404 <ARG>: argument for a given type. Look into InsetInfo.h for detailed description.
2405 \begin_inset Newline newline
2406 \end_inset
2407
2408 date: current date (formatted and localized)
2409 \begin_inset Newline newline
2410 \end_inset
2411
2412 moddate: date of last modification (saving) (formatted and localized)
2413 \begin_inset Newline newline
2414 \end_inset
2415
2416 fixdate: a static date (formatted and localized)
2417 \begin_inset Newline newline
2418 \end_inset
2419
2420 time: current time (formatted and localized)
2421 \begin_inset Newline newline
2422 \end_inset
2423
2424 modtime: time of last modification (saving) (formatted and localized)
2425 \begin_inset Newline newline
2426 \end_inset
2427
2428 fixtime: a static time (formatted and localized)
2429 \begin_inset Newline newline
2430 \end_inset
2431
2432 shortcut[s]: name of lfun (e.g math-insert 
2433 \backslash
2434 alpha)
2435 \begin_inset Newline newline
2436 \end_inset
2437
2438 lyxrc: name of rc_entry (e.g. bind_file)
2439 \begin_inset Newline newline
2440 \end_inset
2441
2442 lyxinfo: "version" - used version of LyX
2443 \begin_inset Newline newline
2444 \end_inset
2445
2446 package: name of latex package (e.g. listings)
2447 \begin_inset Newline newline
2448 \end_inset
2449
2450 textclass: name of textclass (e.g. article)
2451 \begin_inset Newline newline
2452 \end_inset
2453
2454 menu: name of lfun used in menu 
2455 \begin_inset Newline newline
2456 \end_inset
2457
2458 l7n: localizable string.
2459 \begin_inset Newline newline
2460 \end_inset
2461
2462 icon: icon of lfun used in toolbar or direct icon name
2463 \begin_inset Newline newline
2464 \end_inset
2465
2466 buffer: "name"|"name-noext"|"path"|"class" vcs: "tree-revision"|"revision"|"author"|"date"|"time"
2467 \end_layout
2468
2469 \begin_layout Description
2470 Sample command-sequence info-insert buffer path; info-insert buffer name
2471 \end_layout
2472
2473 \begin_layout Description
2474 Origin bpeng, 7 Oct 2007
2475 \end_layout
2476
2477 \begin_layout Subsection*
2478 inset-apply
2479 \end_layout
2480
2481 \begin_layout Description
2482 Action Apply data for an inset.
2483 \end_layout
2484
2485 \begin_layout Description
2486 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.
2487 \end_layout
2488
2489 \begin_layout Description
2490 Syntax inset-apply <ARGS>
2491 \end_layout
2492
2493 \begin_layout Description
2494 Params See LFUN_INSET_INSERT .
2495 \end_layout
2496
2497 \begin_layout Subsection*
2498 inset-begin
2499 \end_layout
2500
2501 \begin_layout Description
2502 Action Move the cursor to the beginning of the current inset if it is not already there. If the cursor is already at the beginning of the current inset, move it to the beginning of the enclosing inset or the main work area, respectively, if there is no enclosing inset.
2503 \end_layout
2504
2505 \begin_layout Description
2506 Syntax inset-begin
2507 \end_layout
2508
2509 \begin_layout Description
2510 Origin lasgouttes, 16 Mar 2009
2511 \end_layout
2512
2513 \begin_layout Subsection*
2514 inset-begin-select
2515 \end_layout
2516
2517 \begin_layout Description
2518 Action Move the cursor to the beginning of the current inset if it is not already there. If the cursor is already at the beginning of the current inset, move it to the beginning of the enclosing inset or the main work area, respectively, if there is no enclosing inset (adding the traversed text to the selection).
2519 \end_layout
2520
2521 \begin_layout Description
2522 Syntax inset-begin-select
2523 \end_layout
2524
2525 \begin_layout Description
2526 Origin lasgouttes, 16 Mar 2009
2527 \end_layout
2528
2529 \begin_layout Subsection*
2530 inset-copy-as
2531 \end_layout
2532
2533 \begin_layout Description
2534 Action Copies the inset to the clipboard as a certain type.
2535 \end_layout
2536
2537 \begin_layout Description
2538 Notion Currently used only for InsetInfo where its content is copied as a text.
2539 \end_layout
2540
2541 \begin_layout Description
2542 Syntax inset-copy-as
2543 \end_layout
2544
2545 \begin_layout Description
2546 Origin vfr, 18 Apr 2010
2547 \end_layout
2548
2549 \begin_layout Subsection*
2550 inset-dissolve
2551 \end_layout
2552
2553 \begin_layout Description
2554 Action Dissolve the current inset into text.
2555 \end_layout
2556
2557 \begin_layout Description
2558 Syntax inset-dissolve [<INSET>]
2559 \end_layout
2560
2561 \begin_layout Description
2562 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.
2563 \begin_inset Newline newline
2564 \end_inset
2565
2566 For values see lyx::InsetLayout::lyxtype_ .
2567 \end_layout
2568
2569 \begin_layout Description
2570 Origin JSpitz, 7 Aug 2006
2571 \end_layout
2572
2573 \begin_layout Subsection*
2574 inset-edit
2575 \end_layout
2576
2577 \begin_layout Description
2578 Action Edit the inset at cursor with an external application, if one is attributed. If the inset is file based, the referenced file is edited. Otherwise, the inset contents is written to a temporary file, the inset is locked, and the temporary file is edited. In this case, LFUN_INSET_END_EDIT must be called to overtake the changes and unlock the inset after editing is finished.
2579 \end_layout
2580
2581 \begin_layout Description
2582 Syntax inset-edit [<INSET_PARAMS>]
2583 \end_layout
2584
2585 \begin_layout Description
2586 Params <INSET_PARAMS>: Parameters for the inset.
2587 \begin_inset Newline newline
2588 \end_inset
2589
2590 Currently only the filename will be considered.
2591 \end_layout
2592
2593 \begin_layout Description
2594 Origin spitz, 27 Apr 2006
2595 \end_layout
2596
2597 \begin_layout Subsection*
2598 inset-end
2599 \end_layout
2600
2601 \begin_layout Description
2602 Action Move the cursor to the end of the current inset if it is not already there. If the cursor is already at the end of the current inset, move it to the end of the enclosing inset or the main work area, respectively, if there is no enclosing inset.
2603 \end_layout
2604
2605 \begin_layout Description
2606 Syntax inset-end
2607 \end_layout
2608
2609 \begin_layout Description
2610 Origin lasgouttes, 16 Mar 2009
2611 \end_layout
2612
2613 \begin_layout Subsection*
2614 inset-end-edit
2615 \end_layout
2616
2617 \begin_layout Description
2618 Action End editing the inset at cursor with an external application. This replaces the inset contents with the contents of the temporary file, deletes the file and unlocks the inset.
2619 \end_layout
2620
2621 \begin_layout Description
2622 Syntax inset-end-edit
2623 \end_layout
2624
2625 \begin_layout Description
2626 Origin gb, 11 Oct 2015
2627 \end_layout
2628
2629 \begin_layout Subsection*
2630 inset-end-select
2631 \end_layout
2632
2633 \begin_layout Description
2634 Action Move the cursor to the end of the current inset if it is not already there. If the cursor is already at the end of the current inset, move it to the end of the enclosing inset or the main work area, respectively, if there is no enclosing inset (adding the traversed text to the selection).
2635 \end_layout
2636
2637 \begin_layout Description
2638 Syntax inset-end-select
2639 \end_layout
2640
2641 \begin_layout Description
2642 Origin lasgouttes, 16 Mar 2009
2643 \end_layout
2644
2645 \begin_layout Subsection*
2646 inset-forall
2647 \end_layout
2648
2649 \begin_layout Description
2650 Action Apply the given commands on insets of a given name.
2651 \end_layout
2652
2653 \begin_layout Description
2654 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 100000. Note also that inset-forall does not update metrics between iterations, which can lead to bugs. This has to be eventually fixed.
2655 \end_layout
2656
2657 \begin_layout Description
2658 Syntax inset-forall <NAME> <LFUN-COMMAND>
2659 \begin_inset Newline newline
2660 \end_inset
2661
2662 <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.
2663 \end_layout
2664
2665 \begin_layout Description
2666 Sample Remove all index insets:
2667 \begin_inset Newline newline
2668 \end_inset
2669
2670 inset-forall Index char-delete-forward
2671 \begin_inset Newline newline
2672 \end_inset
2673
2674 Close all Notes:
2675 \begin_inset Newline newline
2676 \end_inset
2677
2678 inset-forall Note inset-toggle close
2679 \begin_inset Newline newline
2680 \end_inset
2681
2682 Open all branch insets of branch "myBranch":
2683 \begin_inset Newline newline
2684 \end_inset
2685
2686 inset-forall Branch:myBranch inset-toggle open
2687 \begin_inset Newline newline
2688 \end_inset
2689
2690 Transform all yellow notes to comments
2691 \begin_inset Newline newline
2692 \end_inset
2693
2694 inset-forall Note:Note inset-modify note Note Comment
2695 \begin_inset Newline newline
2696 \end_inset
2697
2698 Try to put LyX in an infinite loop if there is at least a Note:
2699 \begin_inset Newline newline
2700 \end_inset
2701
2702 inset-forall Note char-backward
2703 \end_layout
2704
2705 \begin_layout Description
2706 Origin lasgouttes, 27 Nov 2009
2707 \end_layout
2708
2709 \begin_layout Subsection*
2710 inset-insert
2711 \end_layout
2712
2713 \begin_layout Description
2714 Action Insert new inset (type given by the parameters).
2715 \end_layout
2716
2717 \begin_layout Description
2718 Syntax inset-insert <INSET> <ARGS>
2719 \end_layout
2720
2721 \begin_layout Description
2722 Params <INSET>: <bibitem|bibtex|citation|ert|listings|external|graphics|tabular|
2723 \begin_inset Newline newline
2724 \end_inset
2725
2726 hyperlink|include|index|label|line|nomencl|vspace|ref|toc|script>
2727 \begin_inset Newline newline
2728 \end_inset
2729
2730 <ARGS>: depends on the given inset. Use "lyx -dbg action" to explore.
2731 \end_layout
2732
2733 \begin_layout Description
2734 Sample inset-insert ref LatexCommand <Format> reference "<label name>"
2735 \backslash
2736 end_inset
2737 \begin_inset Newline newline
2738 \end_inset
2739
2740 where <label name> is the name of the referenced label and <Format> is one of the following:
2741 \begin_inset Newline newline
2742 \end_inset
2743
2744 ref -- <reference>
2745 \begin_inset Newline newline
2746 \end_inset
2747
2748 eqref -- (<reference>)
2749 \begin_inset Newline newline
2750 \end_inset
2751
2752 pageref -- <page>
2753 \begin_inset Newline newline
2754 \end_inset
2755
2756 vpageref -- on <page>
2757 \begin_inset Newline newline
2758 \end_inset
2759
2760 vref -- <reference> on <page>
2761 \begin_inset Newline newline
2762 \end_inset
2763
2764 formatted -- Formatted reference
2765 \end_layout
2766
2767 \begin_layout Subsection*
2768 inset-insert-copy
2769 \end_layout
2770
2771 \begin_layout Description
2772 Action Inserts the inset's content (in ToC pane) at the position of the cursor.
2773 \end_layout
2774
2775 \begin_layout Description
2776 Syntax inset-insert-copy
2777 \end_layout
2778
2779 \begin_layout Description
2780 Origin spitz, 1 Nov 2022
2781 \end_layout
2782
2783 \begin_layout Subsection*
2784 inset-modify
2785 \end_layout
2786
2787 \begin_layout Description
2788 Action Modify some properties of an inset.
2789 \end_layout
2790
2791 \begin_layout Description
2792 Notion Used for argument, bibitem, bibtex, box, branch, caption, citation, command, ert, external, float, graphics, include, index, info, label, line, listings, newline, newpage, nomencl, note, phantom, quotes, ref, script, separator, space, tabular, vspace and wrap insets.
2793 \end_layout
2794
2795 \begin_layout Description
2796 Syntax inset-modify <INSET> <ARGS>
2797 \begin_inset Newline newline
2798 \end_inset
2799
2800 inset-modify changetype <TYPE>
2801 \end_layout
2802
2803 \begin_layout Description
2804 Sample Change a Note inset into a Comment inset:
2805 \begin_inset Newline newline
2806 \end_inset
2807
2808 inset-modify note Note Comment
2809 \begin_inset Newline newline
2810 \end_inset
2811
2812 Change a Box into an Ovalbox:
2813 \begin_inset Newline newline
2814 \end_inset
2815
2816 inset-modify changetype Ovalbox
2817 \begin_inset Newline newline
2818 \end_inset
2819
2820 Change a quotation mark to e[nglish style], l[eft side = opening], s[ingle = inner, secondary]
2821 \begin_inset Newline newline
2822 \end_inset
2823
2824 inset-modify changetype els
2825 \begin_inset Newline newline
2826 \end_inset
2827
2828 Change only the style of a quotation mark, maintaining the other aspects (. = wildcard)
2829 \begin_inset Newline newline
2830 \end_inset
2831
2832 inset-modify changetype e..
2833 \begin_inset Newline newline
2834 \end_inset
2835
2836
2837 \end_layout
2838
2839 \begin_layout Subsection*
2840 inset-select-all
2841 \end_layout
2842
2843 \begin_layout Description
2844 Action Select all contents of an inset.
2845 \end_layout
2846
2847 \begin_layout Description
2848 Notion There are 3 successive levels: select current cell, select all cells of inset, select the inset from outside (in the enclosing inset).
2849 \end_layout
2850
2851 \begin_layout Description
2852 Syntax inset-select-all
2853 \end_layout
2854
2855 \begin_layout Description
2856 Origin vfr, 22 Aug 2009; lasgouttes 1 Nov 2014
2857 \end_layout
2858
2859 \begin_layout Subsection*
2860 inset-settings
2861 \end_layout
2862
2863 \begin_layout Description
2864 Action Open the inset's properties dialog.
2865 \end_layout
2866
2867 \begin_layout Description
2868 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.
2869 \end_layout
2870
2871 \begin_layout Description
2872 Syntax inset-settings <INSET>
2873 \end_layout
2874
2875 \begin_layout Description
2876 Params <INSET>: <bibitem|bibtex|box|branch|citation|ert|external|float|
2877 \begin_inset Newline newline
2878 \end_inset
2879
2880 graphics|href|include|index|index_print|label|line|
2881 \begin_inset Newline newline
2882 \end_inset
2883
2884 listings|note|phantom|ref|space|tabular|vspace|wrap>.
2885 \end_layout
2886
2887 \begin_layout Subsection*
2888 inset-split
2889 \end_layout
2890
2891 \begin_layout Description
2892 Action Splits the current inset into two at current position.
2893 \end_layout
2894
2895 \begin_layout Description
2896 Syntax inset-split [<INSET>]
2897 \end_layout
2898
2899 \begin_layout Description
2900 Params <INSET>: this can be used to make sure the right kind of inset                   is dissolved. For example "split" entry in the charstyles                       sub-menu should only dissolve the charstyle inset, even if the                  cursor is inside several nested insets of different type.
2901 \begin_inset Newline newline
2902 \end_inset
2903
2904                         For values see lyx::InsetLayout::lyxtype_ .
2905 \end_layout
2906
2907 \begin_layout Description
2908 Origin spitz, 22 Dec 2020
2909 \end_layout
2910
2911 \begin_layout Subsection*
2912 inset-toggle
2913 \end_layout
2914
2915 \begin_layout Description
2916 Action Toggles the collapsible inset at cursor position, or the inset we are currently in.
2917 \end_layout
2918
2919 \begin_layout Description
2920 Syntax inset-toggle [<ARG>]
2921 \end_layout
2922
2923 \begin_layout Description
2924 Params <ARG>: <open|close|toggle|assign>.
2925 \begin_inset Newline newline
2926 \end_inset
2927
2928 open/close/toggle are for collapsible insets. toggle is used when no argument is given.
2929 \begin_inset Newline newline
2930 \end_inset
2931
2932 assign synchronize the branch-inset with activation status of the branch. Used for global toggling when changed activation.
2933 \end_layout
2934
2935 \begin_layout Description
2936 Origin lasgouttes, 19 Jul 2001
2937 \end_layout
2938
2939 \begin_layout Subsection*
2940 ipa-insert
2941 \end_layout
2942
2943 \begin_layout Description
2944 Action Inserts an IPA inset.
2945 \end_layout
2946
2947 \begin_layout Description
2948 Syntax ipa-insert
2949 \end_layout
2950
2951 \begin_layout Description
2952 Origin spitz, 05 Mar 2012
2953 \end_layout
2954
2955 \begin_layout Subsection*
2956 ipamacro-insert
2957 \end_layout
2958
2959 \begin_layout Description
2960 Action Inserts special IPA macros into the document.
2961 \end_layout
2962
2963 \begin_layout Description
2964 Syntax ipamacro-insert <CHAR>
2965 \end_layout
2966
2967 \begin_layout Description
2968 Params <CHAR>: tone-falling, tone-rising, tone-high-rising, tone-low-rising, tone-high-rising-falling, deco bottomtiebar, deco toptiebar.
2969 \end_layout
2970
2971 \begin_layout Description
2972 Origin spitz, 22 Aug 2012
2973 \end_layout
2974
2975 \begin_layout Subsection*
2976 keymap-off
2977 \end_layout
2978
2979 \begin_layout Description
2980 Action Turn off the loaded keyboard map.
2981 \end_layout
2982
2983 \begin_layout Description
2984 Syntax keymap-off
2985 \end_layout
2986
2987 \begin_layout Subsection*
2988 keymap-primary
2989 \end_layout
2990
2991 \begin_layout Description
2992 Action Turn on the primary keyboard map.
2993 \end_layout
2994
2995 \begin_layout Description
2996 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 platforms.
2997 \begin_inset Newline newline
2998 \end_inset
2999
3000 The language is to be set in the Preferences dialog.
3001 \end_layout
3002
3003 \begin_layout Description
3004 Syntax keymap-primary
3005 \end_layout
3006
3007 \begin_layout Subsection*
3008 keymap-secondary
3009 \end_layout
3010
3011 \begin_layout Description
3012 Action Turn on the secondary keyboard map.
3013 \end_layout
3014
3015 \begin_layout Description
3016 Syntax keymap-secondary
3017 \end_layout
3018
3019 \begin_layout Subsection*
3020 keymap-toggle
3021 \end_layout
3022
3023 \begin_layout Description
3024 Action Toggles keyboard maps (first/second/off).
3025 \end_layout
3026
3027 \begin_layout Description
3028 Syntax keymap-toggle
3029 \end_layout
3030
3031 \begin_layout Description
3032 Origin leeming, 30 Mar 2004
3033 \end_layout
3034
3035 \begin_layout Subsection*
3036 label-copy-as-reference
3037 \end_layout
3038
3039 \begin_layout Description
3040 Action Copies the label at the cursor as a cross-reference to be pasted elsewhere.
3041 \end_layout
3042
3043 \begin_layout Description
3044 Syntax copy-label-as-reference <LABEL>
3045 \end_layout
3046
3047 \begin_layout Description
3048 Params <LABEL>: The label to copy (for multi-line math)
3049 \end_layout
3050
3051 \begin_layout Description
3052 Origin sts, 16 Nov 2008
3053 \end_layout
3054
3055 \begin_layout Subsection*
3056 label-goto
3057 \end_layout
3058
3059 \begin_layout Description
3060 Action Goto a label.
3061 \end_layout
3062
3063 \begin_layout Description
3064 Syntax label-goto [<LABEL>]
3065 \end_layout
3066
3067 \begin_layout Description
3068 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.
3069 \end_layout
3070
3071 \begin_layout Description
3072 Origin Ale, 6 Aug 1997
3073 \end_layout
3074
3075 \begin_layout Subsection*
3076 label-insert
3077 \end_layout
3078
3079 \begin_layout Description
3080 Action Inserts label to text or displayed formula.
3081 \end_layout
3082
3083 \begin_layout Description
3084 Syntax label-insert [<LABEL>]
3085 \end_layout
3086
3087 \begin_layout Description
3088 Params <LABEL>: Requested label. If no label is given dialog requesting name will be opened.
3089 \end_layout
3090
3091 \begin_layout Subsection*
3092 label-insert-as-reference
3093 \end_layout
3094
3095 \begin_layout Description
3096 Action Inserts the label (in ToC pane) as a cross-reference at the position of the cursor.
3097 \end_layout
3098
3099 \begin_layout Description
3100 Syntax label-insert-as-reference
3101 \end_layout
3102
3103 \begin_layout Description
3104 Origin vfr, 7 Apr 2009
3105 \end_layout
3106
3107 \begin_layout Subsection*
3108 language
3109 \end_layout
3110
3111 \begin_layout Description
3112 Action Set language from the current cursor position.
3113 \end_layout
3114
3115 \begin_layout Description
3116 Syntax language <LANG> [set]
3117 \end_layout
3118
3119 \begin_layout Description
3120 Params <LANG>: Requested language. Look in lib/languages for the list. "language reset" or "language" (without param) reset to the document language. set: If used, the language will be set to the specified language. Otherwise, the language will be toggled (i.e., if the current language is LANG, switch to the document language or the default language, if LANG is the document language).
3121 \end_layout
3122
3123 \begin_layout Description
3124 Origin Dekel, 2 Mar 2000
3125 \end_layout
3126
3127 \begin_layout Subsection*
3128 line-begin
3129 \end_layout
3130
3131 \begin_layout Description
3132 Action Move the cursor to the beginning of the (screen) line.
3133 \end_layout
3134
3135 \begin_layout Description
3136 Syntax line-begin
3137 \end_layout
3138
3139 \begin_layout Subsection*
3140 line-begin-select
3141 \end_layout
3142
3143 \begin_layout Description
3144 Action Move the cursor to the beginning of the (screen) line adding the traversed text to the selection.
3145 \end_layout
3146
3147 \begin_layout Description
3148 Syntax line-begin-select
3149 \end_layout
3150
3151 \begin_layout Subsection*
3152 line-delete-forward
3153 \end_layout
3154
3155 \begin_layout Description
3156 Action Deletes the letters to the end of the (screen) line or deletes the selection.
3157 \end_layout
3158
3159 \begin_layout Description
3160 Syntax line-delete-forward
3161 \end_layout
3162
3163 \begin_layout Subsection*
3164 line-end
3165 \end_layout
3166
3167 \begin_layout Description
3168 Action Move the cursor to the end of the (screen) line.
3169 \end_layout
3170
3171 \begin_layout Description
3172 Syntax line-end
3173 \end_layout
3174
3175 \begin_layout Subsection*
3176 line-end-select
3177 \end_layout
3178
3179 \begin_layout Description
3180 Action Move the cursor to the end of the (screen) line adding the traversed text to the selection.
3181 \end_layout
3182
3183 \begin_layout Description
3184 Syntax line-end-select
3185 \end_layout
3186
3187 \begin_layout Subsection*
3188 listing-insert
3189 \end_layout
3190
3191 \begin_layout Description
3192 Action Inserts a new listings inset.
3193 \end_layout
3194
3195 \begin_layout Description
3196 Syntax listing-insert
3197 \end_layout
3198
3199 \begin_layout Description
3200 Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
3201 \end_layout
3202
3203 \begin_layout Subsection*
3204 marginalnote-insert
3205 \end_layout
3206
3207 \begin_layout Description
3208 Action Inserts a marginal note.
3209 \end_layout
3210
3211 \begin_layout Description
3212 Syntax marginalnote-insert
3213 \end_layout
3214
3215 \begin_layout Description
3216 Origin Lgb, 26 Jun 2000
3217 \end_layout
3218
3219 \begin_layout Subsection*
3220 mark-off
3221 \end_layout
3222
3223 \begin_layout Description
3224 Action Disable selecting of text-region.
3225 \end_layout
3226
3227 \begin_layout Description
3228 Syntax mark-off
3229 \end_layout
3230
3231 \begin_layout Subsection*
3232 mark-on
3233 \end_layout
3234
3235 \begin_layout Description
3236 Action Enable selecting of text-region.
3237 \end_layout
3238
3239 \begin_layout Description
3240 Notion After enabling you can simply move arrow keys to get selected region.
3241 \end_layout
3242
3243 \begin_layout Description
3244 Syntax mark-on
3245 \end_layout
3246
3247 \begin_layout Subsection*
3248 mark-toggle
3249 \end_layout
3250
3251 \begin_layout Description
3252 Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
3253 \end_layout
3254
3255 \begin_layout Description
3256 Syntax mark-toggle
3257 \end_layout
3258
3259 \begin_layout Description
3260 Origin Andre, May 5 2006
3261 \end_layout
3262
3263 \begin_layout Subsection*
3264 newline-insert
3265 \end_layout
3266
3267 \begin_layout Description
3268 Action Inserts a line break or new line.
3269 \end_layout
3270
3271 \begin_layout Description
3272 Syntax newline-insert [<ARG>]
3273 \end_layout
3274
3275 \begin_layout Description
3276 Params <ARG>: <newline|linebreak> default: newline
3277 \end_layout
3278
3279 \begin_layout Description
3280 Origin spitz, 25 Mar 2008
3281 \end_layout
3282
3283 \begin_layout Subsection*
3284 newpage-insert
3285 \end_layout
3286
3287 \begin_layout Description
3288 Action Inserts a new page.
3289 \end_layout
3290
3291 \begin_layout Description
3292 Syntax newpage-insert <ARG>
3293 \end_layout
3294
3295 \begin_layout Description
3296 Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
3297 \end_layout
3298
3299 \begin_layout Description
3300 Origin uwestoehr, 24 Nov 2007
3301 \end_layout
3302
3303 \begin_layout Subsection*
3304 nomencl-insert
3305 \end_layout
3306
3307 \begin_layout Description
3308 Action Inserts Nomenclature entry.
3309 \end_layout
3310
3311 \begin_layout Description
3312 Notion It automatically takes the word on the cursor position if no symbol is given.
3313 \end_layout
3314
3315 \begin_layout Description
3316 Syntax nomencl-insert [<SYMBOL>]
3317 \end_layout
3318
3319 \begin_layout Description
3320 Origin Ugras, 4 Nov 2006
3321 \end_layout
3322
3323 \begin_layout Subsection*
3324 nomencl-print
3325 \end_layout
3326
3327 \begin_layout Description
3328 Action Inserts list of Nomenclature entries.
3329 \end_layout
3330
3331 \begin_layout Description
3332 Syntax nomenclature-print
3333 \end_layout
3334
3335 \begin_layout Description
3336 Origin Ugras, 4 Nov 2006
3337 \end_layout
3338
3339 \begin_layout Subsection*
3340 note-insert
3341 \end_layout
3342
3343 \begin_layout Description
3344 Action Inserts Note on the current cursor position, move selection inside the inset.
3345 \end_layout
3346
3347 \begin_layout Description
3348 Syntax note-insert [<TYPE>]
3349 \end_layout
3350
3351 \begin_layout Description
3352 Params <TYPE>: <Note|Greyedout|Comment> default: Note
3353 \end_layout
3354
3355 \begin_layout Subsection*
3356 note-next
3357 \end_layout
3358
3359 \begin_layout Description
3360 Action Moves the cursor to the beginning of next Note inset.
3361 \end_layout
3362
3363 \begin_layout Description
3364 Syntax note-next
3365 \end_layout
3366
3367 \begin_layout Subsection*
3368 outline-down
3369 \end_layout
3370
3371 \begin_layout Description
3372 Action Move the current group in the downward direction in the structure of the document.
3373 \end_layout
3374
3375 \begin_layout Description
3376 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
3377 \end_layout
3378
3379 \begin_layout Description
3380 Syntax outline-down
3381 \end_layout
3382
3383 \begin_layout Description
3384 Origin Vermeer, 23 Mar 2006
3385 \end_layout
3386
3387 \begin_layout Subsection*
3388 outline-in
3389 \end_layout
3390
3391 \begin_layout Description
3392 Action Moves the current group in the downward direction in the hierarchy of the document structure.
3393 \end_layout
3394
3395 \begin_layout Description
3396 Notion Part -> Chapter -> Section -> etc.
3397 \end_layout
3398
3399 \begin_layout Description
3400 Syntax outline-in
3401 \end_layout
3402
3403 \begin_layout Description
3404 Origin Vermeer, 23 Mar 2006
3405 \end_layout
3406
3407 \begin_layout Subsection*
3408 outline-out
3409 \end_layout
3410
3411 \begin_layout Description
3412 Action Moves the current group in the upward direction in the hierarchy of the document structure.
3413 \end_layout
3414
3415 \begin_layout Description
3416 Notion Part <- Chapter <- Section <- etc.
3417 \end_layout
3418
3419 \begin_layout Description
3420 Syntax outline-out
3421 \end_layout
3422
3423 \begin_layout Description
3424 Origin Vermeer, 23 Mar 2006
3425 \end_layout
3426
3427 \begin_layout Subsection*
3428 outline-up
3429 \end_layout
3430
3431 \begin_layout Description
3432 Action Move the current group in the upward direction in the structure of the document.
3433 \end_layout
3434
3435 \begin_layout Description
3436 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
3437 \end_layout
3438
3439 \begin_layout Description
3440 Syntax outline-up
3441 \end_layout
3442
3443 \begin_layout Description
3444 Origin Vermeer, 23 Mar 2006
3445 \end_layout
3446
3447 \begin_layout Subsection*
3448 paragraph-break
3449 \end_layout
3450
3451 \begin_layout Description
3452 Action Breaks the current paragraph at the current location.
3453 \end_layout
3454
3455 \begin_layout Description
3456 Notion Removes the selection.
3457 \end_layout
3458
3459 \begin_layout Description
3460 Syntax paragraph-break [<LAYOUT>] [ignoresep]
3461 \end_layout
3462
3463 \begin_layout Description
3464 Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to default layout) when the cursor is at the end of the line.
3465 \begin_inset Newline newline
3466 \end_inset
3467
3468 ignoresep: Do not account for paragraph separators while breaking.
3469 \end_layout
3470
3471 \begin_layout Subsection*
3472 paragraph-down
3473 \end_layout
3474
3475 \begin_layout Description
3476 Action Move the cursor to the next paragraph (or beginning of the current one) in downward direction.
3477 \end_layout
3478
3479 \begin_layout Description
3480 Syntax paragraph-down
3481 \end_layout
3482
3483 \begin_layout Description
3484 Origin Asger, 1 Oct 1996
3485 \end_layout
3486
3487 \begin_layout Subsection*
3488 paragraph-down-select
3489 \end_layout
3490
3491 \begin_layout Description
3492 Action Move the cursor and select the text to the next paragraph (or beginning of the current one) in downward direction.
3493 \end_layout
3494
3495 \begin_layout Description
3496 Syntax paragraph-down-select
3497 \end_layout
3498
3499 \begin_layout Description
3500 Origin Asger, 1 Oct 1996
3501 \end_layout
3502
3503 \begin_layout Subsection*
3504 paragraph-goto
3505 \end_layout
3506
3507 \begin_layout Description
3508 Action Jump to a paragraph given by its id number and optionally the desired position within the paragraph. If given four arguments id_start, pos_start, id_end, pos_end, perform a selection from start to end.
3509 \end_layout
3510
3511 \begin_layout Description
3512 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). Both ids must belong to the same buffer.
3513 \end_layout
3514
3515 \begin_layout Description
3516 Syntax paragraph-goto <PAR_ID> <POS_IN_PAR> [<PAR_ID> <POS_IN_PAR>]
3517 \end_layout
3518
3519 \begin_layout Description
3520 Params <PAR_ID>:  paragraph id
3521 \begin_inset Newline newline
3522 \end_inset
3523
3524 <POS_IN_PAR>: desired position within the paragraph
3525 \end_layout
3526
3527 \begin_layout Description
3528 Origin Dekel, 26 Aug 2000 gmunch, 5 Sep 2016
3529 \end_layout
3530
3531 \begin_layout Subsection*
3532 paragraph-move-down
3533 \end_layout
3534
3535 \begin_layout Description
3536 Action Moves the current paragraph downwards in the document.
3537 \end_layout
3538
3539 \begin_layout Description
3540 Syntax paragraph-move-down
3541 \end_layout
3542
3543 \begin_layout Description
3544 Origin Edwin, 8 Apr 2006
3545 \end_layout
3546
3547 \begin_layout Subsection*
3548 paragraph-move-up
3549 \end_layout
3550
3551 \begin_layout Description
3552 Action Moves the current paragraph upwards in the document.
3553 \end_layout
3554
3555 \begin_layout Description
3556 Notion Movement through the document will possibly break the paragraph-depth (e.g. itemize structure).
3557 \end_layout
3558
3559 \begin_layout Description
3560 Syntax paragraph-move-up
3561 \end_layout
3562
3563 \begin_layout Description
3564 Origin Edwin, 8 Apr 2006
3565 \end_layout
3566
3567 \begin_layout Subsection*
3568 paragraph-params
3569 \end_layout
3570
3571 \begin_layout Description
3572 Action Change paragraph settings.
3573 \end_layout
3574
3575 \begin_layout Description
3576 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.
3577 \end_layout
3578
3579 \begin_layout Description
3580 Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
3581 \end_layout
3582
3583 \begin_layout Description
3584 Params <INDENT>:  
3585 \backslash
3586 noindent|
3587 \backslash
3588 indent|
3589 \backslash
3590 indent-toggle|
3591 \backslash
3592 leftindent LENGTH
3593 \begin_inset Newline newline
3594 \end_inset
3595
3596 <SPACING>: 
3597 \backslash
3598 paragraph_spacing default|single|onehalf|double|other SIZE
3599 \begin_inset Newline newline
3600 \end_inset
3601
3602 <ALIGN>:   
3603 \backslash
3604 align block|left|right|center|default
3605 \begin_inset Newline newline
3606 \end_inset
3607
3608 <OTHERS>:  
3609 \backslash
3610 labelwidthstring WIDTH|
3611 \backslash
3612 start_of_appendix
3613 \end_layout
3614
3615 \begin_layout Description
3616 Origin rgh, Aug 15 2007
3617 \end_layout
3618
3619 \begin_layout Subsection*
3620 paragraph-params-apply
3621 \end_layout
3622
3623 \begin_layout Description
3624 Action Change paragraph settings.
3625 \end_layout
3626
3627 \begin_layout Description
3628 Notion Overwrite all nonspecified settings to the default ones. Use paragraph-params lfun if you don't want to overwrite others settings.
3629 \end_layout
3630
3631 \begin_layout Description
3632 Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
3633 \end_layout
3634
3635 \begin_layout Description
3636 Params For parameters see LFUN_PARAGRAPH_PARAMS
3637 \end_layout
3638
3639 \begin_layout Description
3640 Origin leeming, 30 Mar 2004
3641 \end_layout
3642
3643 \begin_layout Subsection*
3644 paragraph-select
3645 \end_layout
3646
3647 \begin_layout Description
3648 Action Move cursor to beginning of current paragraph and select to the end in downward direction
3649 \end_layout
3650
3651 \begin_layout Description
3652 Notion This function is by default bound to triple mouse click
3653 \end_layout
3654
3655 \begin_layout Description
3656 Syntax paragraph-select
3657 \end_layout
3658
3659 \begin_layout Description
3660 Origin Kornel, 16 Apr 2019
3661 \end_layout
3662
3663 \begin_layout Subsection*
3664 paragraph-up
3665 \end_layout
3666
3667 \begin_layout Description
3668 Action Move the cursor to the next paragraph (or beginning of the current one) in upward direction.
3669 \end_layout
3670
3671 \begin_layout Description
3672 Syntax paragraph-up
3673 \end_layout
3674
3675 \begin_layout Description
3676 Origin Asger, 1 Oct 1996
3677 \end_layout
3678
3679 \begin_layout Subsection*
3680 paragraph-up-select
3681 \end_layout
3682
3683 \begin_layout Description
3684 Action Move the cursor and select the text to the next paragraph (or beginning of the current one) in upward direction.
3685 \end_layout
3686
3687 \begin_layout Description
3688 Syntax paragraph-up-select
3689 \end_layout
3690
3691 \begin_layout Description
3692 Origin Asger, 1 Oct 1996
3693 \end_layout
3694
3695 \begin_layout Subsection*
3696 paste
3697 \end_layout
3698
3699 \begin_layout Description
3700 Action Pastes material (text or picture) from the active clipboard.
3701 \end_layout
3702
3703 \begin_layout Description
3704 Syntax paste [<TYPE>|<NUM>]
3705 \end_layout
3706
3707 \begin_layout Description
3708 Params <TYPE>: emf|pdf|png|jpeg|linkback|wmf|latex|html
3709 \begin_inset Newline newline
3710 \end_inset
3711
3712 <NUM>: number of the selection in the internal clipboard stack to be pasted.
3713 \end_layout
3714
3715 \begin_layout Subsection*
3716 phantom-insert
3717 \end_layout
3718
3719 \begin_layout Description
3720 Action Inserts phantom on the current cursor position, move selection inside the inset.
3721 \end_layout
3722
3723 \begin_layout Description
3724 Syntax phantom-insert [<TYPE>]
3725 \end_layout
3726
3727 \begin_layout Description
3728 Params <TYPE>: <Phantom|HPhantom|VPhantom> default: Phantom
3729 \end_layout
3730
3731 \begin_layout Description
3732 Origin uwestoehr, 30 Jan 2009
3733 \end_layout
3734
3735 \begin_layout Subsection*
3736 preview-insert
3737 \end_layout
3738
3739 \begin_layout Description
3740 Action Inserts a new preview inset.
3741 \end_layout
3742
3743 \begin_layout Description
3744 Syntax preview-insert
3745 \end_layout
3746
3747 \begin_layout Description
3748 Origin vfr, 28 Mar 2010
3749 \end_layout
3750
3751 \begin_layout Subsection*
3752 primary-selection-paste
3753 \end_layout
3754
3755 \begin_layout Description
3756 Action Pastes the currently selected text.
3757 \end_layout
3758
3759 \begin_layout Description
3760 Notion Primary selection mechanism is X11/Wayland-only thing.
3761 \end_layout
3762
3763 \begin_layout Description
3764 Syntax primary-selection-paste [<ARG>]
3765 \end_layout
3766
3767 \begin_layout Description
3768 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
3769 \end_layout
3770
3771 \begin_layout Subsection*
3772 quote-insert
3773 \end_layout
3774
3775 \begin_layout Description
3776 Action Inserts quotes according to the type and quote-language preference.
3777 \end_layout
3778
3779 \begin_layout Description
3780 Notion Currently 15 different quote styles are distinguished (see params).
3781 \end_layout
3782
3783 \begin_layout Description
3784 Syntax quote-insert [<LEVEL>] [<SIDE>] [<STYLE>]
3785 \end_layout
3786
3787 \begin_layout Description
3788 Params <LEVEL>: 'inner' for (i.e., secondary, usually single) quotes, otherwise outer (i.e., primary, usually double) quotes will be used.
3789 \begin_inset Newline newline
3790 \end_inset
3791
3792 <SIDE>:  'opening' for opening quotes, 'closing' for closing quotes, otherwise the side will be guessed from the context.
3793 \begin_inset Newline newline
3794 \end_inset
3795
3796 <STYLE>: 'british' for `British' quote style (with ``inner quotation'')
3797 \begin_inset Newline newline
3798 \end_inset
3799
3800 'cjk' for Chinese/Japanese/Korean corner bracket quotation marks
3801 \begin_inset Newline newline
3802 \end_inset
3803
3804 'cjk-angle' for Chinese/Japanese/Korean angle bracket quotation marks
3805 \begin_inset Newline newline
3806 \end_inset
3807
3808 'danish' for >>Danish<< quote style (with >inner quotation<)
3809 \begin_inset Newline newline
3810 \end_inset
3811
3812 'english' for ``English'' quote style (with `inner quotation')
3813 \begin_inset Newline newline
3814 \end_inset
3815
3816 'french' for <<french>> quote style (with ``inner quotation'')
3817 \begin_inset Newline newline
3818 \end_inset
3819
3820 'frenchin' for <<frenchin>> quote style (with <<inner quotation>>) ["in" = Imprimerie Nationale]
3821 \begin_inset Newline newline
3822 \end_inset
3823
3824 'german' for ,,German`` quote style (with ,inner quotation`)
3825 \begin_inset Newline newline
3826 \end_inset
3827
3828 'plain' for "Plain" quote style (with 'inner quotation')
3829 \begin_inset Newline newline
3830 \end_inset
3831
3832 'polish' for ,,Polish'' quote style (with ,inner quotation')
3833 \begin_inset Newline newline
3834 \end_inset
3835
3836 'swedish' for ''Swedish'' quote style (with 'inner quotation')
3837 \begin_inset Newline newline
3838 \end_inset
3839
3840 'swedishg' for >>swedishg>> quote style (with 'inner quotation') ["g" = Guillemets]
3841 \begin_inset Newline newline
3842 \end_inset
3843
3844 'swiss' for <<Swiss>> quote style (with <inner quotation>)
3845 \begin_inset Newline newline
3846 \end_inset
3847
3848 'russian' for <<Russian>> quote style (with ,,inner quotation``)
3849 \begin_inset Newline newline
3850 \end_inset
3851
3852 'dynamic' for Dynamic quotation marks which inherit the global document style
3853 \begin_inset Newline newline
3854 \end_inset
3855
3856 If no quote style is specified, the document-wide will be used.
3857 \end_layout
3858
3859 \begin_layout Subsection*
3860 redo
3861 \end_layout
3862
3863 \begin_layout Description
3864 Action Redoes the last thing undone.
3865 \end_layout
3866
3867 \begin_layout Description
3868 Syntax redo
3869 \end_layout
3870
3871 \begin_layout Subsection*
3872 reference-next
3873 \end_layout
3874
3875 \begin_layout Description
3876 Action Go to the next label or cross-reference.
3877 \end_layout
3878
3879 \begin_layout Description
3880 Syntax reference-next
3881 \end_layout
3882
3883 \begin_layout Description
3884 Origin Dekel, 14 Jan 2001
3885 \end_layout
3886
3887 \begin_layout Subsection*
3888 repeat
3889 \end_layout
3890
3891 \begin_layout Description
3892 Action Repeat the given command.
3893 \end_layout
3894
3895 \begin_layout Description
3896 Notion fails when the repeat count is greater than 10000.
3897 \end_layout
3898
3899 \begin_layout Description
3900 Syntax repeat <COUNT> <LFUN-COMMAND>
3901 \end_layout
3902
3903 \begin_layout Description
3904 Origin Andre, 27 Oct 2003
3905 \end_layout
3906
3907 \begin_layout Subsection*
3908 screen-down
3909 \end_layout
3910
3911 \begin_layout Description
3912 Action Moves the cursor one page in downward direction.
3913 \end_layout
3914
3915 \begin_layout Description
3916 Syntax screen-down
3917 \end_layout
3918
3919 \begin_layout Subsection*
3920 screen-down-select
3921 \end_layout
3922
3923 \begin_layout Description
3924 Action Moves the cursor one screen in downward direction adding the current position to the selection.
3925 \end_layout
3926
3927 \begin_layout Description
3928 Syntax screen-down-select
3929 \end_layout
3930
3931 \begin_layout Subsection*
3932 screen-recenter
3933 \end_layout
3934
3935 \begin_layout Description
3936 Action Recenters the screen on the current cursor position.
3937 \end_layout
3938
3939 \begin_layout Description
3940 Syntax screen-recenter
3941 \end_layout
3942
3943 \begin_layout Subsection*
3944 screen-show-cursor
3945 \end_layout
3946
3947 \begin_layout Description
3948 Action Repositions the screen such that the cursor is visible.
3949 \end_layout
3950
3951 \begin_layout Description
3952 Syntax screen-show-cursor
3953 \end_layout
3954
3955 \begin_layout Description
3956 Origin vfr, 25 Mar 2009
3957 \end_layout
3958
3959 \begin_layout Subsection*
3960 screen-up
3961 \end_layout
3962
3963 \begin_layout Description
3964 Action Moves the cursor one page in upward direction.
3965 \end_layout
3966
3967 \begin_layout Description
3968 Syntax screen-up
3969 \end_layout
3970
3971 \begin_layout Subsection*
3972 screen-up-select
3973 \end_layout
3974
3975 \begin_layout Description
3976 Action Moves the cursor one page in upward direction adding the current position to the selection.
3977 \end_layout
3978
3979 \begin_layout Description
3980 Syntax screen-up-select
3981 \end_layout
3982
3983 \begin_layout Subsection*
3984 script-insert
3985 \end_layout
3986
3987 \begin_layout Description
3988 Action Inserts a subscript or superscript inset.
3989 \end_layout
3990
3991 \begin_layout Description
3992 Syntax script-insert <TYPE>
3993 \end_layout
3994
3995 \begin_layout Description
3996 Params <TYPE>: subscript|superscript
3997 \end_layout
3998
3999 \begin_layout Description
4000 Origin Georg, 23 Nov 2010
4001 \end_layout
4002
4003 \begin_layout Subsection*
4004 scroll
4005 \end_layout
4006
4007 \begin_layout Description
4008 Action Scroll the buffer view.
4009 \end_layout
4010
4011 \begin_layout Description
4012 Notion Only scrolls the screen up or down; does not move the cursor.
4013 \end_layout
4014
4015 \begin_layout Description
4016 Syntax scroll <TYPE> <QUANTITY>
4017 \end_layout
4018
4019 \begin_layout Description
4020 Params <TYPE>:  line|page
4021 \begin_inset Newline newline
4022 \end_inset
4023
4024 <QUANTITY>: up|down|<number>
4025 \end_layout
4026
4027 \begin_layout Description
4028 Origin Abdel, Dec 27 2007
4029 \end_layout
4030
4031 \begin_layout Subsection*
4032 search-string-set
4033 \end_layout
4034
4035 \begin_layout Description
4036 Action Set search string buffer.
4037 \end_layout
4038
4039 \begin_layout Description
4040 Syntax search-string-set [<DATA>]
4041 \end_layout
4042
4043 \begin_layout Description
4044 Params <DATA>: string to search for. If no parameter is given, use (word under) selection.
4045 \end_layout
4046
4047 \begin_layout Description
4048 Origin stwitt, spitz, Feb 12 2021
4049 \end_layout
4050
4051 \begin_layout Subsection*
4052 section-select
4053 \end_layout
4054
4055 \begin_layout Description
4056 Action Select the whole section.
4057 \end_layout
4058
4059 \begin_layout Description
4060 Notion The cursor should be in a section heading before calling this lfun.
4061 \end_layout
4062
4063 \begin_layout Description
4064 Syntax section-select
4065 \end_layout
4066
4067 \begin_layout Description
4068 Origin vfr, 05 May 2009
4069 \end_layout
4070
4071 \begin_layout Subsection*
4072 selection-paste
4073 \end_layout
4074
4075 \begin_layout Description
4076 Action Pastes the internal selection text in permanent selection.
4077 \end_layout
4078
4079 \begin_layout Description
4080 Notion Created in order to have middle mouse button pasting correct (bound to command-alternatives selection-paste ; primary-selection-paste paragraph).
4081 \end_layout
4082
4083 \begin_layout Description
4084 Syntax selection-paste
4085 \end_layout
4086
4087 \begin_layout Description
4088 Origin lasgouttes, 14 Jan 2009
4089 \end_layout
4090
4091 \begin_layout Subsection*
4092 separator-insert
4093 \end_layout
4094
4095 \begin_layout Description
4096 Action Inserts an environment separator or latex paragraph break.
4097 \end_layout
4098
4099 \begin_layout Description
4100 Syntax separator-insert [<ARG>]
4101 \end_layout
4102
4103 \begin_layout Description
4104 Params <ARG>: <plain|parbreak|latexpar> default: plain
4105 \end_layout
4106
4107 \begin_layout Description
4108 Origin ef, 2 May 2014
4109 \end_layout
4110
4111 \begin_layout Subsection*
4112 space-insert
4113 \end_layout
4114
4115 \begin_layout Description
4116 Action Inserts one of horizontal space insets.
4117 \end_layout
4118
4119 \begin_layout Description
4120 Syntax space-insert <NAME> [<LEN>]
4121 \end_layout
4122
4123 \begin_layout Description
4124 Params <NAME>: normal, protected, visible, thin, quad, qquad, enspace, enskip, negthinspace, negmedspace, negthickspace, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
4125 \begin_inset Newline newline
4126 \end_inset
4127
4128 Only in math mode: med and thick.
4129 \begin_inset Newline newline
4130 \end_inset
4131
4132 <LEN>: length for custom spaces (hspace, hspace* for protected)
4133 \end_layout
4134
4135 \begin_layout Description
4136 Origin spitz, 20 May 2003, Mar 17 2008
4137 \end_layout
4138
4139 \begin_layout Subsection*
4140 specialchar-insert
4141 \end_layout
4142
4143 \begin_layout Description
4144 Action Inserts various characters into the document.
4145 \end_layout
4146
4147 \begin_layout Description
4148 Syntax specialchar-insert <CHAR>
4149 \end_layout
4150
4151 \begin_layout Description
4152 Params <CHAR>: hyphenation, allowbreak, ligature-break, slash, nobreakdash, dots, end-of-sentence, menu-separator, lyx, tex, latex, latex2e.
4153 \end_layout
4154
4155 \begin_layout Description
4156 Origin spitz, 6 Dec 2007
4157 \end_layout
4158
4159 \begin_layout Subsection*
4160 spelling-add
4161 \end_layout
4162
4163 \begin_layout Description
4164 Action Add the word under the cursor to the respective spell checker dictionary. The default for the language is retrieved from the cursor position.
4165 \end_layout
4166
4167 \begin_layout Description
4168 Syntax spelling-add [<STRING>] [<LANG>]
4169 \end_layout
4170
4171 \begin_layout Description
4172 Params <WORD>: word to add <LANG>: language name (see file languages)
4173 \end_layout
4174
4175 \begin_layout Description
4176 Origin spitz, 18 Jan 2010
4177 \end_layout
4178
4179 \begin_layout Subsection*
4180 spelling-add-local
4181 \end_layout
4182
4183 \begin_layout Description
4184 Action Add the word under the cursor to the document's local spell checker dictionary. The default for the language is retrieved from the cursor position.
4185 \end_layout
4186
4187 \begin_layout Description
4188 Syntax spelling-add-local [<STRING>] [<LANG>]
4189 \end_layout
4190
4191 \begin_layout Description
4192 Params <WORD>: word to add             <LANG>: language name (see file languages)
4193 \end_layout
4194
4195 \begin_layout Description
4196 Origin spitz, 6 Mar 2021
4197 \end_layout
4198
4199 \begin_layout Subsection*
4200 spelling-continuously
4201 \end_layout
4202
4203 \begin_layout Description
4204 Action Toggle continuous spell checking.
4205 \end_layout
4206
4207 \begin_layout Description
4208 Syntax spelling-continuously
4209 \end_layout
4210
4211 \begin_layout Description
4212 Origin vfr, 24 March 2013
4213 \end_layout
4214
4215 \begin_layout Subsection*
4216 spelling-ignore
4217 \end_layout
4218
4219 \begin_layout Description
4220 Action Let the spell checker ignore the word under the cursor in the current session for the given language. The default for the language is retrieved from the cursor position.
4221 \end_layout
4222
4223 \begin_layout Description
4224 Syntax spelling-ignore [<WORD>] [<LANG>]
4225 \end_layout
4226
4227 \begin_layout Description
4228 Params <WORD>: word to ignore <LANG>: language name (see file languages)
4229 \end_layout
4230
4231 \begin_layout Description
4232 Origin spitz, 18 Jan 2010
4233 \end_layout
4234
4235 \begin_layout Subsection*
4236 spelling-remove
4237 \end_layout
4238
4239 \begin_layout Description
4240 Action Remove the word under the cursor from the respective spell checker dictionary. The default for the language is retrieved from the cursor position.
4241 \end_layout
4242
4243 \begin_layout Description
4244 Syntax spelling-remove [<STRING>] [<LANG>]
4245 \end_layout
4246
4247 \begin_layout Description
4248 Params <WORD>: word to remove <LANG>: language name (see file languages)
4249 \end_layout
4250
4251 \begin_layout Description
4252 Origin SWitt, 28 July 2010
4253 \end_layout
4254
4255 \begin_layout Subsection*
4256 spelling-remove-local
4257 \end_layout
4258
4259 \begin_layout Description
4260 Action Remove the word under the cursor from the document's local spell checker dictionary. The default for the language is retrieved from the cursor position.
4261 \end_layout
4262
4263 \begin_layout Description
4264 Syntax spelling-remove-local [<STRING>] [<LANG>]
4265 \end_layout
4266
4267 \begin_layout Description
4268 Params <WORD>: word to remove          <LANG>: language name (see file languages)
4269 \end_layout
4270
4271 \begin_layout Description
4272 Origin spitz, 7 Mar 2021
4273 \end_layout
4274
4275 \begin_layout Subsection*
4276 tab-delete
4277 \end_layout
4278
4279 \begin_layout Description
4280 Action Delete a tab or up to an equivalent amount of spaces from a listings inset.
4281 \end_layout
4282
4283 \begin_layout Description
4284 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.
4285 \end_layout
4286
4287 \begin_layout Description
4288 Syntax tab-delete
4289 \end_layout
4290
4291 \begin_layout Description
4292 Origin vfr, Sep 30 2008
4293 \end_layout
4294
4295 \begin_layout Subsection*
4296 tab-insert
4297 \end_layout
4298
4299 \begin_layout Description
4300 Action Insert a tab into a listings inset.
4301 \end_layout
4302
4303 \begin_layout Description
4304 Notion It also works on a selection.
4305 \end_layout
4306
4307 \begin_layout Description
4308 Syntax tab-insert
4309 \end_layout
4310
4311 \begin_layout Description
4312 Origin vfr, Sep 30 2008
4313 \end_layout
4314
4315 \begin_layout Subsection*
4316 tabular-feature
4317 \end_layout
4318
4319 \begin_layout Description
4320 Action Modify properties of tabulars and table-like math environments.
4321 \end_layout
4322
4323 \begin_layout Description
4324 Syntax tabular-feature <FEATURE> [<ARG>]
4325 \end_layout
4326
4327 \begin_layout Description
4328 Params Generally see LFUN_INSET_INSERT for further details.
4329 \begin_inset Newline newline
4330 \end_inset
4331
4332 <FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|
4333 \begin_inset Newline newline
4334 \end_inset
4335
4336 copy-column|move-column-right|move-column-left|move-row-down|move-row-up|
4337 \begin_inset Newline newline
4338 \end_inset
4339
4340 set-line-top|set-line-bottom|set-line-left|set-line-right|
4341 \begin_inset Newline newline
4342 \end_inset
4343
4344 toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right|
4345 \begin_inset Newline newline
4346 \end_inset
4347
4348 set-ltrim-top|set-rtrim-top|set-ltrim-bottom|set-rtrim-bottom
4349 \begin_inset Newline newline
4350 \end_inset
4351
4352 toggle-ltrim-top|toggle-rtrim-top|toggle-ltrim-bottom|toggle-rtrim-bottom
4353 \begin_inset Newline newline
4354 \end_inset
4355
4356 align-left|align-right|align-center|align-block|align-decimal|set-decimal-point|
4357 \begin_inset Newline newline
4358 \end_inset
4359
4360 valign-top|valign-bottom|valign-middle|longtabular-align-left|
4361 \begin_inset Newline newline
4362 \end_inset
4363
4364 longtabular-align-center|longtabular-align-right|m-align-left|m-align-right|
4365 \begin_inset Newline newline
4366 \end_inset
4367
4368 m-align-center|m-valign-top|m-valign-bottom|m-valign-middle|multicolumn|
4369 \begin_inset Newline newline
4370 \end_inset
4371
4372 reset-formal-default|set-all-lines|toggle-all-lines|unset-all-lines|
4373 \begin_inset Newline newline
4374 \end_inset
4375
4376 toggle-longtabular|set-longtabular|unset-longtabular|set-pwidth|
4377 \begin_inset Newline newline
4378 \end_inset
4379
4380 set-mpwidth|set-rotate-tabular|unset-rotate-tabular|toggle-rotate-tabular|
4381 \begin_inset Newline newline
4382 \end_inset
4383
4384 set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|set-usebox|set-lthead|
4385 \begin_inset Newline newline
4386 \end_inset
4387
4388 unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot|unset-ltfoot|
4389 \begin_inset Newline newline
4390 \end_inset
4391
4392 set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption|
4393 \begin_inset Newline newline
4394 \end_inset
4395
4396 set-special-column|set-special-multicolumn|set-special-multirow|
4397 \begin_inset Newline newline
4398 \end_inset
4399
4400 toggle-booktabs|set-booktabs|unset-booktabs|set-top-space|set-bottom-space|
4401 \begin_inset Newline newline
4402 \end_inset
4403
4404 set-interline-space|tabular-valign-top|tabular-valign-middle|
4405 \begin_inset Newline newline
4406 \end_inset
4407
4408 tabular-valign-bottom|set-tabular-width|toggle-varwidth-column|
4409 \begin_inset Newline newline
4410 \end_inset
4411
4412 set-border-lines|toggle-border-lines|set-inner-lines|toggle-inner-lines Various math-environment features are handled as well, e.g. add-vline-left/right for
4413 \begin_inset Newline newline
4414 \end_inset
4415
4416 the Grid/Array environment.
4417 \begin_inset Newline newline
4418 \end_inset
4419
4420 <ARG>: additional argument for some commands, use debug mode to explore its values.
4421 \end_layout
4422
4423 \begin_layout Description
4424 Origin gm, 10 Dec 2015
4425 \end_layout
4426
4427 \begin_layout Subsection*
4428 tabular-insert
4429 \end_layout
4430
4431 \begin_layout Description
4432 Action Inserts table into the document.
4433 \end_layout
4434
4435 \begin_layout Description
4436 Notion See LFUN_TABULAR_FEATURE for some more details about tabular modifications.
4437 \end_layout
4438
4439 \begin_layout Description
4440 Syntax tabular-insert [<ROWS> <COLUMNS>]
4441 \end_layout
4442
4443 \begin_layout Description
4444 Params In case no arguments are given show insert dialog.
4445 \end_layout
4446
4447 \begin_layout Description
4448 Origin Jug, 12 Apr 2000
4449 \end_layout
4450
4451 \begin_layout Subsection*
4452 tabular-style-insert
4453 \end_layout
4454
4455 \begin_layout Description
4456 Action Inserts table of a given style into the document.
4457 \end_layout
4458
4459 \begin_layout Description
4460 Notion See LFUN_TABULAR_FEATURE for some more details          about tabular modifications.
4461 \end_layout
4462
4463 \begin_layout Description
4464 Syntax tabular-style-insert <style> <ROWS> <COLUMNS>
4465 \end_layout
4466
4467 \begin_layout Description
4468 Params Valid styles are the names of the files in lib/tabletemplates, minus _1x<n> and .lyx suffix.
4469 \end_layout
4470
4471 \begin_layout Description
4472 Origin spitz, 25 Mar 2019
4473 \end_layout
4474
4475 \begin_layout Subsection*
4476 thesaurus-entry
4477 \end_layout
4478
4479 \begin_layout Description
4480 Action Look up thesaurus entries with respect to the word under the cursor.
4481 \end_layout
4482
4483 \begin_layout Description
4484 Syntax thesaurus-entry [<STRING>] [lang=<LANG>]
4485 \end_layout
4486
4487 \begin_layout Description
4488 Params <STRING>: word to look up <LANG>: language (see file languages)
4489 \end_layout
4490
4491 \begin_layout Description
4492 Origin Levon, 20 Jul 2001
4493 \end_layout
4494
4495 \begin_layout Subsection*
4496 undo
4497 \end_layout
4498
4499 \begin_layout Description
4500 Action Undoes the last edit.
4501 \end_layout
4502
4503 \begin_layout Description
4504 Syntax undo
4505 \end_layout
4506
4507 \begin_layout Subsection*
4508 unicode-insert
4509 \end_layout
4510
4511 \begin_layout Description
4512 Action Inserts a single unicode character.
4513 \end_layout
4514
4515 \begin_layout Description
4516 Syntax unicode-insert <CHAR1> <CHAR2> ...
4517 \end_layout
4518
4519 \begin_layout Description
4520 Params <CHARn>: The character to insert, given as its code point, in hexadecimal.
4521 \end_layout
4522
4523 \begin_layout Description
4524 Sample unicode-insert 0x0100 0x0259
4525 \end_layout
4526
4527 \begin_layout Description
4528 Origin Lgb, 22 Oct 2006
4529 \end_layout
4530
4531 \begin_layout Subsection*
4532 up
4533 \end_layout
4534
4535 \begin_layout Description
4536 Action Moves the cursor one line in upward direction.
4537 \end_layout
4538
4539 \begin_layout Description
4540 Syntax up
4541 \end_layout
4542
4543 \begin_layout Subsection*
4544 up-select
4545 \end_layout
4546
4547 \begin_layout Description
4548 Action Moves the cursor one line in upward direction adding the current position to the selection.
4549 \end_layout
4550
4551 \begin_layout Description
4552 Syntax up-select
4553 \end_layout
4554
4555 \begin_layout Subsection*
4556 word-backward
4557 \end_layout
4558
4559 \begin_layout Description
4560 Action Moves the cursor to the logically previous beginning of a word.
4561 \end_layout
4562
4563 \begin_layout Description
4564 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.
4565 \end_layout
4566
4567 \begin_layout Description
4568 Syntax word-backward
4569 \end_layout
4570
4571 \begin_layout Subsection*
4572 word-backward-select
4573 \end_layout
4574
4575 \begin_layout Description
4576 Action Moves the cursor to the logically previous beginning of a word, adding the logically traversed text to the selection.
4577 \end_layout
4578
4579 \begin_layout Description
4580 Notion See also LFUN_WORD_BACKWARD.
4581 \end_layout
4582
4583 \begin_layout Description
4584 Syntax word-backward-select
4585 \end_layout
4586
4587 \begin_layout Subsection*
4588 word-capitalize
4589 \end_layout
4590
4591 \begin_layout Description
4592 Action Capitalizes the words in the selection (i.e. the first letters) or the first letter of word at cursor position.
4593 \end_layout
4594
4595 \begin_layout Description
4596 Syntax word-capitalize [<SEL_TYPE>]
4597 \end_layout
4598
4599 \begin_layout Description
4600 Params <SEL_TYPE>: if this is equal to "partial", then the default word starts at cursor position (emacs-style). Otherwise, the whole word is considered.
4601 \end_layout
4602
4603 \begin_layout Subsection*
4604 word-delete-backward
4605 \end_layout
4606
4607 \begin_layout Description
4608 Action Deletes characters to the beginning of the word (usually the "C+BackSpace" key).
4609 \end_layout
4610
4611 \begin_layout Description
4612 Syntax word-delete-backward [confirm]
4613 \end_layout
4614
4615 \begin_layout Description
4616 Params confirm: Select big insets, do not directly delete them.
4617 \end_layout
4618
4619 \begin_layout Subsection*
4620 word-delete-forward
4621 \end_layout
4622
4623 \begin_layout Description
4624 Action Deletes characters to the end of the word (usually the "C+Delete" key).
4625 \end_layout
4626
4627 \begin_layout Description
4628 Syntax word-delete-forward [confirm]
4629 \end_layout
4630
4631 \begin_layout Description
4632 Params confirm: Select big insets, do not directly delete them.
4633 \end_layout
4634
4635 \begin_layout Subsection*
4636 word-find
4637 \end_layout
4638
4639 \begin_layout Description
4640 Action Search for next occurrence of a string.
4641 \end_layout
4642
4643 \begin_layout Description
4644 Syntax word-find [<DATA>]
4645 \end_layout
4646
4647 \begin_layout Description
4648 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).
4649 \end_layout
4650
4651 \begin_layout Description
4652 Origin Andre, Jan 7 2004
4653 \end_layout
4654
4655 \begin_layout Subsection*
4656 word-find-backward
4657 \end_layout
4658
4659 \begin_layout Description
4660 Action Search for a given string in backward direction.
4661 \end_layout
4662
4663 \begin_layout Description
4664 Notion Case sensitive, match words. If no argument given, last search repeated.
4665 \end_layout
4666
4667 \begin_layout Description
4668 Syntax word-find-backward [<STRING>]
4669 \end_layout
4670
4671 \begin_layout Description
4672 Origin Etienne, 20 Feb 1998
4673 \end_layout
4674
4675 \begin_layout Subsection*
4676 word-find-forward
4677 \end_layout
4678
4679 \begin_layout Description
4680 Action Search for a given string in forward direction.
4681 \end_layout
4682
4683 \begin_layout Description
4684 Notion Case sensitive, match words. If no argument given, last search repeated.
4685 \end_layout
4686
4687 \begin_layout Description
4688 Syntax word-find-forward [<STRING>]
4689 \end_layout
4690
4691 \begin_layout Description
4692 Origin Etienne, 16 Feb 1998
4693 \end_layout
4694
4695 \begin_layout Subsection*
4696 word-findadv
4697 \end_layout
4698
4699 \begin_layout Description
4700 Action Search for next occurrence of a pattern.
4701 \end_layout
4702
4703 \begin_layout Description
4704 Syntax word-findadv [<DATA>]
4705 \end_layout
4706
4707 \begin_layout Description
4708 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).
4709 \end_layout
4710
4711 \begin_layout Description
4712 Origin Tommaso, Nov 15 2007
4713 \end_layout
4714
4715 \begin_layout Subsection*
4716 word-forward
4717 \end_layout
4718
4719 \begin_layout Description
4720 Action Moves the cursor to the logically next beginning of a word.
4721 \end_layout
4722
4723 \begin_layout Description
4724 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.
4725 \end_layout
4726
4727 \begin_layout Description
4728 Syntax word-forward
4729 \end_layout
4730
4731 \begin_layout Subsection*
4732 word-forward-select
4733 \end_layout
4734
4735 \begin_layout Description
4736 Action Moves the cursor to the logically next beginning of a word, adding the logically traversed text to the selection.
4737 \end_layout
4738
4739 \begin_layout Description
4740 Notion See also LFUN_WORD_FORWARD.
4741 \end_layout
4742
4743 \begin_layout Description
4744 Syntax word-forward-select
4745 \end_layout
4746
4747 \begin_layout Subsection*
4748 word-left
4749 \end_layout
4750
4751 \begin_layout Description
4752 Action Moves the cursor to the next beginning of a word "on the left".
4753 \end_layout
4754
4755 \begin_layout Description
4756 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.
4757 \end_layout
4758
4759 \begin_layout Description
4760 Syntax word-left
4761 \end_layout
4762
4763 \begin_layout Description
4764 Origin dov, 28 Oct 2007
4765 \end_layout
4766
4767 \begin_layout Subsection*
4768 word-left-select
4769 \end_layout
4770
4771 \begin_layout Description
4772 Action Moves the cursor to the next beginning of a word "on the left", adding *logically* traversed text to the selection.
4773 \end_layout
4774
4775 \begin_layout Description
4776 Notion See also LFUN_WORD_LEFT for exact details of the movement.
4777 \end_layout
4778
4779 \begin_layout Description
4780 Syntax word-left-select
4781 \end_layout
4782
4783 \begin_layout Description
4784 Origin dov, 28 Oct 2007
4785 \end_layout
4786
4787 \begin_layout Subsection*
4788 word-lowcase
4789 \end_layout
4790
4791 \begin_layout Description
4792 Action Change the words in the selection or word at cursor position to lower case.
4793 \end_layout
4794
4795 \begin_layout Description
4796 Syntax word-lowcase [<SEL_TYPE>]
4797 \end_layout
4798
4799 \begin_layout Description
4800 Params <SEL_TYPE>: if this is equal to "partial", then the default word starts at cursor position (emacs-style). Otherwise, the whole word is considered.
4801 \end_layout
4802
4803 \begin_layout Subsection*
4804 word-replace
4805 \end_layout
4806
4807 \begin_layout Description
4808 Action Replace a string in the document.
4809 \end_layout
4810
4811 \begin_layout Description
4812 Syntax word-replace [<DATA>]
4813 \end_layout
4814
4815 \begin_layout Description
4816 Params <DATA>: data is of the form "<replacestring>
4817 \begin_inset Newline newline
4818 \end_inset
4819
4820 <searchstring>
4821 \begin_inset Newline newline
4822 \end_inset
4823
4824 <casesensitive> <matchword> <all> <forward> <findnext>"
4825 \end_layout
4826
4827 \begin_layout Description
4828 Origin Andre, Jan 7 2004
4829 \end_layout
4830
4831 \begin_layout Subsection*
4832 word-right
4833 \end_layout
4834
4835 \begin_layout Description
4836 Action Moves the cursor to the next beginning of a word "on the right".
4837 \end_layout
4838
4839 \begin_layout Description
4840 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.
4841 \end_layout
4842
4843 \begin_layout Description
4844 Syntax word-right
4845 \end_layout
4846
4847 \begin_layout Description
4848 Origin dov, 28 Oct 2007
4849 \end_layout
4850
4851 \begin_layout Subsection*
4852 word-right-select
4853 \end_layout
4854
4855 \begin_layout Description
4856 Action Moves the cursor to the next beginning of a word "on the right", adding *logically* traversed text to the selection.
4857 \end_layout
4858
4859 \begin_layout Description
4860 Notion See also LFUN_WORD_RIGHT for exact details of the movement.
4861 \end_layout
4862
4863 \begin_layout Description
4864 Syntax word-right-select
4865 \end_layout
4866
4867 \begin_layout Description
4868 Origin dov, 28 Oct 2007
4869 \end_layout
4870
4871 \begin_layout Subsection*
4872 word-select
4873 \end_layout
4874
4875 \begin_layout Description
4876 Action Puts the word where the cursor stands into the selection.
4877 \end_layout
4878
4879 \begin_layout Description
4880 Syntax word-select
4881 \end_layout
4882
4883 \begin_layout Description
4884 Origin Andre, 11 Sep 2002
4885 \end_layout
4886
4887 \begin_layout Subsection*
4888 word-upcase
4889 \end_layout
4890
4891 \begin_layout Description
4892 Action Change the words in the selection or word at cursor position to upper case.
4893 \end_layout
4894
4895 \begin_layout Description
4896 Syntax word-upcase [<SEL_TYPE>]
4897 \end_layout
4898
4899 \begin_layout Description
4900 Params <SEL_TYPE>: if this is equal to "partial", then the default word starts at cursor position (emacs-style). Otherwise, the whole word is considered.
4901 \end_layout
4902
4903 \begin_layout Subsection*
4904 wrap-insert
4905 \end_layout
4906
4907 \begin_layout Description
4908 Action Inserts floats wrapped by the text around.
4909 \end_layout
4910
4911 \begin_layout Description
4912 Syntax wrap-insert <TYPE>
4913 \end_layout
4914
4915 \begin_layout Description
4916 Params <TYPE>: table|figure
4917 \end_layout
4918
4919 \begin_layout Description
4920 Origin Dekel, 7 Apr 2002
4921 \end_layout
4922
4923 \begin_layout Section
4924 Math Editor Functions
4925 \end_layout
4926
4927 \begin_layout Subsection*
4928 in-mathmacrotemplate
4929 \end_layout
4930
4931 \begin_layout Description
4932 Action Only active in Math Macro definition.
4933 \end_layout
4934
4935 \begin_layout Description
4936 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.
4937 \end_layout
4938
4939 \begin_layout Description
4940 Syntax in-mathmacrotemplate
4941 \end_layout
4942
4943 \begin_layout Description
4944 Origin sts, 06 January 2008
4945 \end_layout
4946
4947 \begin_layout Subsection*
4948 math-ams-matrix
4949 \end_layout
4950
4951 \begin_layout Description
4952 Action Inserts an extended matrix as provided by the amsmath package.
4953 \end_layout
4954
4955 \begin_layout Description
4956 Syntax math-matrix <COLS> <ROWS> [<DECORATION>]
4957 \end_layout
4958
4959 \begin_layout Description
4960 Params <DECORATION>: Decoration determines the LaTeX name of the matrix that should be created. Possible values include pmatrix, bmatrix, Bmatrix, vmatrix, Vmatrix, smallmatrix, and matrix. The default is 'matrix'.
4961 \end_layout
4962
4963 \begin_layout Description
4964 Sample math-ams-matrix 3 3 bmatrix
4965 \end_layout
4966
4967 \begin_layout Subsection*
4968 math-bigdelim
4969 \end_layout
4970
4971 \begin_layout Description
4972 Action Inserts math fixed size delimiters (e.g. parentheses, brackets) enclosing expression.
4973 \end_layout
4974
4975 \begin_layout Description
4976 Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
4977 \end_layout
4978
4979 \begin_layout Description
4980 Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
4981 \begin_inset Newline newline
4982 \end_inset
4983
4984 <L/RDELIM>: TeX code for delimiter. See Delimiter dialog for delimiters to be used.
4985 \end_layout
4986
4987 \begin_layout Description
4988 Sample math-bigdelim "Bigl" "
4989 \backslash
4990 Downarrow" "Bigr" "
4991 \backslash
4992 }"
4993 \end_layout
4994
4995 \begin_layout Description
4996 Origin Enrico & Georg, 7 May 2006
4997 \end_layout
4998
4999 \begin_layout Subsection*
5000 math-delim
5001 \end_layout
5002
5003 \begin_layout Description
5004 Action Inserts math delimiters (e.g. parentheses, brackets) enclosing expression.
5005 \end_layout
5006
5007 \begin_layout Description
5008 Syntax math-delim [<LEFT>] [<RIGHT>]
5009 \end_layout
5010
5011 \begin_layout Description
5012 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.
5013 \end_layout
5014
5015 \begin_layout Description
5016 Sample math-delim { rangle
5017 \end_layout
5018
5019 \begin_layout Description
5020 Origin Alejandro, 18 Jun 1996
5021 \end_layout
5022
5023 \begin_layout Subsection*
5024 math-display
5025 \end_layout
5026
5027 \begin_layout Description
5028 Action Creates a new displayed equation in text mode. Toggles inlined/display formula in math mode.
5029 \end_layout
5030
5031 \begin_layout Description
5032 Syntax math-display [<ARG>]
5033 \end_layout
5034
5035 \begin_layout Description
5036 Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating new equation from the text mode.
5037 \end_layout
5038
5039 \begin_layout Description
5040 Origin Alejandro, 18 Jun 1996
5041 \end_layout
5042
5043 \begin_layout Subsection*
5044 math-extern
5045 \end_layout
5046
5047 \begin_layout Description
5048 Action Calls external program and passes the current expression/equation as an argument for the calculation in the format appropriate to the given language.
5049 \end_layout
5050
5051 \begin_layout Description
5052 Notion Selection can be used to determine the input for the external program.
5053 \end_layout
5054
5055 \begin_layout Description
5056 Syntax math-extern <LANG> [<COMMAND>]
5057 \end_layout
5058
5059 \begin_layout Description
5060 Params <LANG>: octave|maxima|maple|mathematica|script
5061 \begin_inset Newline newline
5062 \end_inset
5063
5064 where "script" stands for the external script (normalized expression will be passed)
5065 \end_layout
5066
5067 \begin_layout Description
5068 Sample math-extern maple simplify
5069 \end_layout
5070
5071 \begin_layout Description
5072 Origin Andre, 24 Apr 2001
5073 \end_layout
5074
5075 \begin_layout Subsection*
5076 math-font-style
5077 \end_layout
5078
5079 \begin_layout Description
5080 Action Changes the text style used in math.
5081 \end_layout
5082
5083 \begin_layout Description
5084 Syntax math-font-style <STYLE>
5085 \end_layout
5086
5087 \begin_layout Description
5088 Params <STYLE>: mathnormal|mathcal|mathfrak|mathrm|mathsf|mathbf|textnormal
5089 \begin_inset Newline newline
5090 \end_inset
5091
5092 |textrm|textsf|texttt|textbf|textmd|textit|textsc|textsl|textup
5093 \end_layout
5094
5095 \begin_layout Description
5096 Origin vfr, 9 jan 2009
5097 \end_layout
5098
5099 \begin_layout Subsection*
5100 math-insert
5101 \end_layout
5102
5103 \begin_layout Description
5104 Action Inserts math objects and symbols.
5105 \end_layout
5106
5107 \begin_layout Description
5108 Notion When <ARG> is a _single_ math inset with more than one cell (such as "x_y^z" or "
5109 \backslash
5110 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 
5111 \backslash
5112 frac{x}{y}" replaces "abc" with "
5113 \backslash
5114 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.
5115 \end_layout
5116
5117 \begin_layout Description
5118 Syntax math-insert <ARG>
5119 \end_layout
5120
5121 \begin_layout Description
5122 Params <ARG>: Symbol or LaTeX code to be inserted.
5123 \end_layout
5124
5125 \begin_layout Subsection*
5126 math-limits
5127 \end_layout
5128
5129 \begin_layout Description
5130 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.
5131 \end_layout
5132
5133 \begin_layout Description
5134 Notion Put the cursor before the symbol with the limits and then invoke math-limits.
5135 \end_layout
5136
5137 \begin_layout Description
5138 Syntax math-limits [<STATE>]
5139 \end_layout
5140
5141 \begin_layout Description
5142 Params <STATE>: limits|nolimits
5143 \end_layout
5144
5145 \begin_layout Subsection*
5146 math-macro
5147 \end_layout
5148
5149 \begin_layout Description
5150 Action Inserts a math macro definition at the cursor position in the text.
5151 \end_layout
5152
5153 \begin_layout Description
5154 Syntax math-macro <NAME> [<NARGS>] [def]
5155 \end_layout
5156
5157 \begin_layout Description
5158 Params <NAME>: The name of the macro, e.g. "mymacro".
5159 \begin_inset Newline newline
5160 \end_inset
5161
5162 <NARGS>: The number of parameters of the macro. Default is 0. "def": Has no effect anymore, just for compatibility with former LyX versions.
5163 \end_layout
5164
5165 \begin_layout Description
5166 Origin ale, 10 May 1997;  sts, 21 Dec 2007
5167 \end_layout
5168
5169 \begin_layout Subsection*
5170 math-macro-add-greedy-optional-param
5171 \end_layout
5172
5173 \begin_layout Description
5174 Action Add a greedy optional parameter.
5175 \end_layout
5176
5177 \begin_layout Description
5178 Notion Add a greedy optional parameter which eats the value from the following cells in mathed which are in the [value] format.
5179 \end_layout
5180
5181 \begin_layout Description
5182 Syntax math-macro-add-greedy-optional-param
5183 \end_layout
5184
5185 \begin_layout Description
5186 Origin sts, 06 January 2008
5187 \end_layout
5188
5189 \begin_layout Subsection*
5190 math-macro-add-optional-param
5191 \end_layout
5192
5193 \begin_layout Description
5194 Action Add an optional parameter.
5195 \end_layout
5196
5197 \begin_layout Description
5198 Notion Insert an optional parameter just behind the already existing optional parameters.
5199 \end_layout
5200
5201 \begin_layout Description
5202 Syntax math-macro-add-optional-param
5203 \end_layout
5204
5205 \begin_layout Description
5206 Origin sts, 06 January 2008
5207 \end_layout
5208
5209 \begin_layout Subsection*
5210 math-macro-add-param
5211 \end_layout
5212
5213 \begin_layout Description
5214 Action Add a parameter.
5215 \end_layout
5216
5217 \begin_layout Description
5218 Notion Add a parameter to a Math Macro.
5219 \end_layout
5220
5221 \begin_layout Description
5222 Syntax math-macro-add-param <NUM>
5223 \end_layout
5224
5225 \begin_layout Description
5226 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.
5227 \end_layout
5228
5229 \begin_layout Description
5230 Origin sts, 06 January 2008
5231 \end_layout
5232
5233 \begin_layout Subsection*
5234 math-macro-append-greedy-param
5235 \end_layout
5236
5237 \begin_layout Description
5238 Action Append a greedy parameter.
5239 \end_layout
5240
5241 \begin_layout Description
5242 Notion Append a greedy parameter to a Math Macro which eats the following mathed cell in every instance of the macro in the buffer.
5243 \end_layout
5244
5245 \begin_layout Description
5246 Syntax math-macro-append-greedy-param
5247 \end_layout
5248
5249 \begin_layout Description
5250 Origin sts, 06 January 2008
5251 \end_layout
5252
5253 \begin_layout Subsection*
5254 math-macro-fold
5255 \end_layout
5256
5257 \begin_layout Description
5258 Action Fold a Math Macro.
5259 \end_layout
5260
5261 \begin_layout Description
5262 Notion Fold the Math Macro the cursor is in if it was unfolded, i.e. displayed as 
5263 \backslash
5264 foo before.
5265 \end_layout
5266
5267 \begin_layout Description
5268 Syntax math-macro-fold
5269 \end_layout
5270
5271 \begin_layout Description
5272 Origin sts, 06 January 2008
5273 \end_layout
5274
5275 \begin_layout Subsection*
5276 math-macro-make-nonoptional
5277 \end_layout
5278
5279 \begin_layout Description
5280 Action Make a parameter non-optional.
5281 \end_layout
5282
5283 \begin_layout Description
5284 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.
5285 \end_layout
5286
5287 \begin_layout Description
5288 Syntax math-macro-make-nonoptional
5289 \end_layout
5290
5291 \begin_layout Description
5292 Origin sts, 06 January 2008
5293 \end_layout
5294
5295 \begin_layout Subsection*
5296 math-macro-make-optional
5297 \end_layout
5298
5299 \begin_layout Description
5300 Action Make a parameter optional.
5301 \end_layout
5302
5303 \begin_layout Description
5304 Notion Turn the first non-optional parameter of a Math Macro into an optional parameter with a default value.
5305 \end_layout
5306
5307 \begin_layout Description
5308 Syntax math-macro-make-optional
5309 \end_layout
5310
5311 \begin_layout Description
5312 Origin sts, 06 January 2008
5313 \end_layout
5314
5315 \begin_layout Subsection*
5316 math-macro-remove-greedy-param
5317 \end_layout
5318
5319 \begin_layout Description
5320 Action Remove a greedy parameter.
5321 \end_layout
5322
5323 \begin_layout Description
5324 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.
5325 \end_layout
5326
5327 \begin_layout Description
5328 Syntax math-macro-remove-greedy-param
5329 \end_layout
5330
5331 \begin_layout Description
5332 Origin sts, 06 January 2008
5333 \end_layout
5334
5335 \begin_layout Subsection*
5336 math-macro-remove-optional-param
5337 \end_layout
5338
5339 \begin_layout Description
5340 Action Remove the last optional parameter.
5341 \end_layout
5342
5343 \begin_layout Description
5344 Notion Remove the last optional parameter of a Math Macro and remove it in all the instances of the macro in the buffer.
5345 \end_layout
5346
5347 \begin_layout Description
5348 Syntax math-macro-remove-optional-param
5349 \end_layout
5350
5351 \begin_layout Description
5352 Origin sts, 06 January 2008
5353 \end_layout
5354
5355 \begin_layout Subsection*
5356 math-macro-remove-param
5357 \end_layout
5358
5359 \begin_layout Description
5360 Action Remove the last parameter.
5361 \end_layout
5362
5363 \begin_layout Description
5364 Notion Remove the last parameter of a Math Macro and remove its value in all instances of the macro in the buffer.
5365 \end_layout
5366
5367 \begin_layout Description
5368 Syntax math-macro-remove-param <NUM>
5369 \end_layout
5370
5371 \begin_layout Description
5372 Params <NUM>: The number of the parameter to be deleted (1 for the first), defaults to the last one.
5373 \end_layout
5374
5375 \begin_layout Description
5376 Origin sts, 06 January 2008
5377 \end_layout
5378
5379 \begin_layout Subsection*
5380 math-macro-unfold
5381 \end_layout
5382
5383 \begin_layout Description
5384 Action Unfold a Math Macro.
5385 \end_layout
5386
5387 \begin_layout Description
5388 Notion Unfold the Math Macro the cursor is in, i.e. display it as 
5389 \backslash
5390 foo.
5391 \end_layout
5392
5393 \begin_layout Description
5394 Syntax math-macro-unfold
5395 \end_layout
5396
5397 \begin_layout Description
5398 Origin sts, 06 January 2008
5399 \end_layout
5400
5401 \begin_layout Subsection*
5402 math-matrix
5403 \end_layout
5404
5405 \begin_layout Description
5406 Action Inserts a matrix.
5407 \end_layout
5408
5409 \begin_layout Description
5410 Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
5411 \end_layout
5412
5413 \begin_layout Description
5414 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).
5415 \end_layout
5416
5417 \begin_layout Description
5418 Sample math-matrix 3 3 bccc
5419 \end_layout
5420
5421 \begin_layout Subsection*
5422 math-mode
5423 \end_layout
5424
5425 \begin_layout Description
5426 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.
5427 \end_layout
5428
5429 \begin_layout Description
5430 Notion If there is some selected text, it puts the text inside created math box.
5431 \end_layout
5432
5433 \begin_layout Description
5434 Syntax math-mode [on|<ARG>]
5435 \end_layout
5436
5437 \begin_layout Description
5438 Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT .
5439 \begin_inset Newline newline
5440 \end_inset
5441
5442 "on": allow only entering of math mode from text mode.
5443 \end_layout
5444
5445 \begin_layout Description
5446 Origin Alejandro, 4 Jun 1996
5447 \end_layout
5448
5449 \begin_layout Subsection*
5450 math-mutate
5451 \end_layout
5452
5453 \begin_layout Description
5454 Action Mutates the type of math inset to the newly selected one.
5455 \end_layout
5456
5457 \begin_layout Description
5458 Syntax math-mutate <TYPE>
5459 \end_layout
5460
5461 \begin_layout Description
5462 Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat| multline|gather|flalign
5463 \end_layout
5464
5465 \begin_layout Description
5466 Origin Andre, 23 May 2001
5467 \end_layout
5468
5469 \begin_layout Subsection*
5470 math-number-line-toggle
5471 \end_layout
5472
5473 \begin_layout Description
5474 Action Toggles numbering of the current formula line.
5475 \end_layout
5476
5477 \begin_layout Description
5478 Notion Must be in display formula mode.
5479 \end_layout
5480
5481 \begin_layout Description
5482 Syntax math-number-line-toggle
5483 \end_layout
5484
5485 \begin_layout Description
5486 Origin Alejandro, 18 Jun 1996
5487 \end_layout
5488
5489 \begin_layout Subsection*
5490 math-number-toggle
5491 \end_layout
5492
5493 \begin_layout Description
5494 Action Toggles numbering/labeling of the current formula.
5495 \end_layout
5496
5497 \begin_layout Description
5498 Notion Must be in display formula mode.
5499 \end_layout
5500
5501 \begin_layout Description
5502 Syntax math-number-toggle
5503 \end_layout
5504
5505 \begin_layout Description
5506 Origin Alejandro, 4 Jun 1996
5507 \end_layout
5508
5509 \begin_layout Subsection*
5510 math-size
5511 \end_layout
5512
5513 \begin_layout Description
5514 Action Changes arbitrarily the size used by math fonts inside a context.
5515 \end_layout
5516
5517 \begin_layout Description
5518 Notion Provides an interface to the LaTeX math mode font size commands.
5519 \end_layout
5520
5521 \begin_layout Description
5522 Syntax math-size <STYLE>
5523 \end_layout
5524
5525 \begin_layout Description
5526 Params <STYLE>: 
5527 \backslash
5528 displaystyle|
5529 \backslash
5530 textstyle|
5531 \backslash
5532 scriptstyle|
5533 \backslash
5534 scriptscriptstyle
5535 \end_layout
5536
5537 \begin_layout Description
5538 Origin Alejandro, 15 Aug 1996; sanda, 14 Jun 2008
5539 \end_layout
5540
5541 \begin_layout Subsection*
5542 math-space
5543 \end_layout
5544
5545 \begin_layout Description
5546 Action Inserts space into math expression.
5547 \end_layout
5548
5549 \begin_layout Description
5550 Notion Use spacebar after entering this space to change type of space.
5551 \end_layout
5552
5553 \begin_layout Description
5554 Syntax math-space [<TYPE>] [<LEN>]
5555 \end_layout
5556
5557 \begin_layout Description
5558 Params <TYPE>: negative spaces: !|negthinspace|negmedspace|negthickspace
5559 \begin_inset Newline newline
5560 \end_inset
5561
5562 positive spaces: ,|thinspace|:|medspace|;|thickspace|enskip|quad|qquad
5563 \begin_inset Newline newline
5564 \end_inset
5565
5566 custom space: hspace
5567 \begin_inset Newline newline
5568 \end_inset
5569
5570 "," used by default.
5571 \begin_inset Newline newline
5572 \end_inset
5573
5574 Note that ! is equivalent to negthinspace, , = thinspace, : = medspace, and ; = thickspace.
5575 \begin_inset Newline newline
5576 \end_inset
5577
5578 <LEN>: length for custom spaces (hspace)
5579 \end_layout
5580
5581 \begin_layout Description
5582 Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
5583 \end_layout
5584
5585 \begin_layout Subsection*
5586 math-subscript
5587 \end_layout
5588
5589 \begin_layout Description
5590 Action Enters subscript expression in math expression.
5591 \end_layout
5592
5593 \begin_layout Description
5594 Syntax math-subscript
5595 \end_layout
5596
5597 \begin_layout Description
5598 Origin vermeer, 12 Dec 2001
5599 \end_layout
5600
5601 \begin_layout Subsection*
5602 math-superscript
5603 \end_layout
5604
5605 \begin_layout Description
5606 Action Enters superscript expression in math expression.
5607 \end_layout
5608
5609 \begin_layout Description
5610 Syntax math-superscript
5611 \end_layout
5612
5613 \begin_layout Description
5614 Origin vermeer, 12 Dec 2001
5615 \end_layout
5616
5617 \begin_layout Subsection*
5618 regexp-mode
5619 \end_layout
5620
5621 \begin_layout Description
5622 Action Enters regexp mode (i.e., puts regexp insets on the current cursor position). Used by the advanced search dialog.
5623 \end_layout
5624
5625 \begin_layout Description
5626 Notion If there is any selected text, then it is moved inside the created regexp inset.
5627 \end_layout
5628
5629 \begin_layout Description
5630 Syntax regexp-mode [<ARG>]
5631 \end_layout
5632
5633 \begin_layout Description
5634 Params <ARG>: eventual argument (regular expression).
5635 \end_layout
5636
5637 \begin_layout Description
5638 Origin Tommaso, 4 Oct 2008
5639 \end_layout
5640
5641 \begin_layout Section
5642 Buffer Fuctions (File and Window related)
5643 \end_layout
5644
5645 \begin_layout Subsection*
5646 branch-activate
5647 \end_layout
5648
5649 \begin_layout Description
5650 Action Activate the branch.
5651 \end_layout
5652
5653 \begin_layout Description
5654 Syntax branch-activate <BRANCH>
5655 \end_layout
5656
5657 \begin_layout Description
5658 Params <BRANCH>: The branch to activate
5659 \end_layout
5660
5661 \begin_layout Description
5662 Sample lyx -x "branch-activate answers" -e pdf2 finalexam.lyx
5663 \begin_inset Newline newline
5664 \end_inset
5665
5666 could be used to export a pdf with the answers branch included without one's having to open LyX and activate the branch manually.
5667 \end_layout
5668
5669 \begin_layout Description
5670 Origin rgh, 27 May 2008
5671 \end_layout
5672
5673 \begin_layout Subsection*
5674 branch-add
5675 \end_layout
5676
5677 \begin_layout Description
5678 Action Add a branch to the buffer's BranchList.
5679 \end_layout
5680
5681 \begin_layout Description
5682 Syntax branch-add <BRANCH>
5683 \end_layout
5684
5685 \begin_layout Description
5686 Params <BRANCH>: Name of the branch to add
5687 \end_layout
5688
5689 \begin_layout Description
5690 Origin spitz, 7 Jul 2009
5691 \end_layout
5692
5693 \begin_layout Subsection*
5694 branch-add-insert
5695 \end_layout
5696
5697 \begin_layout Description
5698 Action Create new branch and directly put the branch inset into the document.
5699 \end_layout
5700
5701 \begin_layout Description
5702 Syntax branch-add-insert [<NAME>]
5703 \end_layout
5704
5705 \begin_layout Description
5706 Params <NAME>: Branch name. If it is not specified, you will be asked.
5707 \end_layout
5708
5709 \begin_layout Description
5710 Origin sanda, 10 Jul 2009
5711 \end_layout
5712
5713 \begin_layout Subsection*
5714 branch-deactivate
5715 \end_layout
5716
5717 \begin_layout Description
5718 Action De-activate the branch.
5719 \end_layout
5720
5721 \begin_layout Description
5722 Syntax branch-deactivate <BRANCH>
5723 \end_layout
5724
5725 \begin_layout Description
5726 Params <BRANCH>: The branch to deactivate
5727 \end_layout
5728
5729 \begin_layout Description
5730 Origin rgh, 27 May 2008
5731 \end_layout
5732
5733 \begin_layout Subsection*
5734 branch-invert
5735 \end_layout
5736
5737 \begin_layout Description
5738 Action Toggles inversion status of branch inset.
5739 \end_layout
5740
5741 \begin_layout Description
5742 Syntax branch-invert
5743 \end_layout
5744
5745 \begin_layout Description
5746 Origin rgheck, 12 July 2016
5747 \end_layout
5748
5749 \begin_layout Subsection*
5750 branch-master-activate
5751 \end_layout
5752
5753 \begin_layout Description
5754 Action Activate the branch in the master buffer.
5755 \end_layout
5756
5757 \begin_layout Description
5758 Syntax branch-master-activate <BRANCH>
5759 \end_layout
5760
5761 \begin_layout Description
5762 Params <BRANCH>: The branch to activate
5763 \end_layout
5764
5765 \begin_layout Description
5766 Sample lyx -x "branch-activate answers" -e pdf2 finalexam.lyx
5767 \begin_inset Newline newline
5768 \end_inset
5769
5770 could be used to export a pdf with the answers branch included without one's having to open LyX and activate the branch manually.
5771 \end_layout
5772
5773 \begin_layout Description
5774 Origin spitz, 30 Sep 2012
5775 \end_layout
5776
5777 \begin_layout Subsection*
5778 branch-master-deactivate
5779 \end_layout
5780
5781 \begin_layout Description
5782 Action De-activate the branch in the master buffer.
5783 \end_layout
5784
5785 \begin_layout Description
5786 Syntax branch-master-deactivate <BRANCH>
5787 \end_layout
5788
5789 \begin_layout Description
5790 Params <BRANCH>: The branch to deactivate
5791 \end_layout
5792
5793 \begin_layout Description
5794 Origin spitz, 30 Sep 2012
5795 \end_layout
5796
5797 \begin_layout Subsection*
5798 branch-sync-all
5799 \end_layout
5800
5801 \begin_layout Description
5802 Action Open/close all insets of selected branch (depending on its activation status).
5803 \end_layout
5804
5805 \begin_layout Description
5806 Syntax branch-sync-all
5807 \end_layout
5808
5809 \begin_layout Description
5810 Origin sanda, 15 April 2022
5811 \end_layout
5812
5813 \begin_layout Subsection*
5814 branches-rename
5815 \end_layout
5816
5817 \begin_layout Description
5818 Action Rename all branches of a given name in a document.
5819 \end_layout
5820
5821 \begin_layout Description
5822 Syntax branches-rename <OLDNAME> <NEWNAME>
5823 \end_layout
5824
5825 \begin_layout Description
5826 Params <OLDNAME>: Current name of the branch to be renamed <NEWNAME>: New name of the branch
5827 \end_layout
5828
5829 \begin_layout Description
5830 Origin spitz, 9 Jul 2009
5831 \end_layout
5832
5833 \begin_layout Subsection*
5834 buffer-auto-save
5835 \end_layout
5836
5837 \begin_layout Description
5838 Action Saves the current buffer to a temporary file.
5839 \end_layout
5840
5841 \begin_layout Description
5842 Notion Saves the current buffer to a file named "#filename#". This LFUN is called automatically by LyX, to "autosave" the current buffer.
5843 \end_layout
5844
5845 \begin_layout Description
5846 Syntax buffer-auto-save
5847 \end_layout
5848
5849 \begin_layout Subsection*
5850 buffer-child-open
5851 \end_layout
5852
5853 \begin_layout Description
5854 Action Loads the given child document.
5855 \end_layout
5856
5857 \begin_layout Description
5858 Notion The current document is treated as a parent.
5859 \end_layout
5860
5861 \begin_layout Description
5862 Syntax buffer-child-open <FILE>
5863 \end_layout
5864
5865 \begin_layout Description
5866 Params <FILE>: Filename of the child. The directory of the parent is assumed by default.
5867 \end_layout
5868
5869 \begin_layout Description
5870 Origin Ale, 28 May 1997
5871 \end_layout
5872
5873 \begin_layout Subsection*
5874 buffer-chktex
5875 \end_layout
5876
5877 \begin_layout Description
5878 Action Runs chktex for the current document.
5879 \end_layout
5880
5881 \begin_layout Description
5882 Syntax buffer-chktex
5883 \end_layout
5884
5885 \begin_layout Description
5886 Origin Asger, 30 Oct 1997
5887 \end_layout
5888
5889 \begin_layout Subsection*
5890 buffer-close
5891 \end_layout
5892
5893 \begin_layout Description
5894 Action Closes the current buffer.
5895 \end_layout
5896
5897 \begin_layout Description
5898 Notion Closes the current buffer, asking whether to save it, etc, if the buffer has been modified.
5899 \end_layout
5900
5901 \begin_layout Description
5902 Syntax buffer-close
5903 \end_layout
5904
5905 \begin_layout Subsection*
5906 buffer-close-all
5907 \end_layout
5908
5909 \begin_layout Description
5910 Action Closes all buffers.
5911 \end_layout
5912
5913 \begin_layout Description
5914 Notion Closes all buffers, asking whether to save it, etc, if a buffer has been modified.
5915 \end_layout
5916
5917 \begin_layout Description
5918 Syntax buffer-close-all
5919 \end_layout
5920
5921 \begin_layout Subsection*
5922 buffer-export
5923 \end_layout
5924
5925 \begin_layout Description
5926 Action Exports the current buffer (document) to the given format.
5927 \end_layout
5928
5929 \begin_layout Description
5930 Syntax buffer-export [<FORMAT>] [<DEST>]
5931 \end_layout
5932
5933 \begin_layout Description
5934 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.
5935 \begin_inset Newline newline
5936 \end_inset
5937
5938 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.
5939 \begin_inset Newline newline
5940 \end_inset
5941
5942 If absent or "default", then the default output format of the document is used.
5943 \begin_inset Newline newline
5944 \end_inset
5945
5946 <DEST>   If present, this argument provides the export destination filename. Its containing folder will also be the destination folder, where all the needed external files will be copied.
5947 \end_layout
5948
5949 \begin_layout Description
5950 Origin Lgb, 29 Jul 1997
5951 \end_layout
5952
5953 \begin_layout Subsection*
5954 buffer-export-as
5955 \end_layout
5956
5957 \begin_layout Description
5958 Action Opens a dialog for exporting the current buffer.
5959 \end_layout
5960
5961 \begin_layout Description
5962 Syntax buffer-export-as [<FORMAT>]
5963 \end_layout
5964
5965 \begin_layout Description
5966 Params <FORMAT> is the export format initially selected in the dialog. You can pass any of the formats which you can find in Tools->Preferences->File formats->Format, provided it has the "document" flag set. If no format is specified the dialog will start with the default output format of the current document.
5967 \end_layout
5968
5969 \begin_layout Description
5970 Sample buffer-export-as pdf2
5971 \end_layout
5972
5973 \begin_layout Description
5974 Origin tommaso, 6 Oct 2011
5975 \end_layout
5976
5977 \begin_layout Subsection*
5978 buffer-export-custom
5979 \end_layout
5980
5981 \begin_layout Description
5982 Action Exports the current buffer (document) from the given format using the given command on it.
5983 \end_layout
5984
5985 \begin_layout Description
5986 Syntax buffer-export-custom <FORMAT> <COMMAND>
5987 \end_layout
5988
5989 \begin_layout Description
5990 Params <FORMAT> format to start from (LyX will care to produce such intermediate file).
5991 \begin_inset Newline newline
5992 \end_inset
5993
5994 <COMMAND> this command will be launched on the file. Note that you can use "$$FName" string to qualify the intermediate file.
5995 \end_layout
5996
5997 \begin_layout Description
5998 Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
5999 \end_layout
6000
6001 \begin_layout Description
6002 Origin leeming, 27 Mar 2004
6003 \end_layout
6004
6005 \begin_layout Subsection*
6006 buffer-external-modification-clear
6007 \end_layout
6008
6009 \begin_layout Description
6010 Action Clear the external modification flag on the current buffer.
6011 \end_layout
6012
6013 \begin_layout Description
6014 Syntax buffer-external-modification-clear
6015 \end_layout
6016
6017 \begin_layout Description
6018 Origin gm, 2 March 2017
6019 \end_layout
6020
6021 \begin_layout Subsection*
6022 buffer-forall
6023 \end_layout
6024
6025 \begin_layout Description
6026 Action Applies a command to all non-hidden buffers.
6027 \end_layout
6028
6029 \begin_layout Description
6030 Notion a buffer is `hidden' if it is internally open in LyX, but not visible in any window.
6031 \end_layout
6032
6033 \begin_layout Description
6034 Syntax buffer-forall <LFUN-COMMAND>
6035 \end_layout
6036
6037 \begin_layout Description
6038 Params <LFUN-COMMAND>: The command to be applied to the buffers.
6039 \end_layout
6040
6041 \begin_layout Description
6042 Sample Close all Notes in all buffers:
6043 \begin_inset Newline newline
6044 \end_inset
6045
6046 buffer-forall inset-forall Note inset-toggle close
6047 \begin_inset Newline newline
6048 \end_inset
6049
6050 Toggle change tracking on buffers:
6051 \begin_inset Newline newline
6052 \end_inset
6053
6054 buffer-forall changes-track
6055 \begin_inset Newline newline
6056 \end_inset
6057
6058 Toggle read-only for buffers:
6059 \begin_inset Newline newline
6060 \end_inset
6061
6062 buffer-forall buffer-toggle-read-only
6063 \begin_inset Newline newline
6064 \end_inset
6065
6066 Show statistics for individual buffers:
6067 \begin_inset Newline newline
6068 \end_inset
6069
6070 buffer-forall statistics
6071 \begin_inset Newline newline
6072 \end_inset
6073
6074 Activate the branch named "Solutions" in buffers:
6075 \begin_inset Newline newline
6076 \end_inset
6077
6078 buffer-forall branch-activate Solutions
6079 \begin_inset Newline newline
6080 \end_inset
6081
6082 Export buffers to PDF (pdflatex):
6083 \begin_inset Newline newline
6084 \end_inset
6085
6086 buffer-forall buffer-export pdf2
6087 \begin_inset Newline newline
6088 \end_inset
6089
6090
6091 \end_layout
6092
6093 \begin_layout Description
6094 Origin skostysh, 20 Jul 2012
6095 \end_layout
6096
6097 \begin_layout Subsection*
6098 buffer-import
6099 \end_layout
6100
6101 \begin_layout Description
6102 Action Import a given file as a lyx document.
6103 \end_layout
6104
6105 \begin_layout Description
6106 Notion File can be imported iff lyx file format is (transitively) reachable via defined converters in preferences. Look in the File->Import menu to get an idea of the currently active import formats.
6107 \end_layout
6108
6109 \begin_layout Description
6110 Syntax buffer-import <FORMAT> [<FILE>]
6111 \end_layout
6112
6113 \begin_layout Description
6114 Origin Asger, 24 Jul 1998
6115 \end_layout
6116
6117 \begin_layout Subsection*
6118 buffer-language
6119 \end_layout
6120
6121 \begin_layout Description
6122 Action Set language of the current document.
6123 \end_layout
6124
6125 \begin_layout Description
6126 Syntax buffer-language <LANG>
6127 \end_layout
6128
6129 \begin_layout Description
6130 Params <LANG>: language name. See lib/languages for list.
6131 \end_layout
6132
6133 \begin_layout Description
6134 Origin leeming, 30 Mar 2004
6135 \end_layout
6136
6137 \begin_layout Subsection*
6138 buffer-move-next
6139 \end_layout
6140
6141 \begin_layout Description
6142 Action Moves the current tab one spot to the right.
6143 \end_layout
6144
6145 \begin_layout Description
6146 Syntax buffer-move-next
6147 \end_layout
6148
6149 \begin_layout Description
6150 Origin skostysh, 7 Apr 2015
6151 \end_layout
6152
6153 \begin_layout Subsection*
6154 buffer-move-previous
6155 \end_layout
6156
6157 \begin_layout Description
6158 Action Moves the current tab one spot to the left.
6159 \end_layout
6160
6161 \begin_layout Description
6162 Syntax buffer-move-previous
6163 \end_layout
6164
6165 \begin_layout Description
6166 Origin skostysh, 7 Apr 2015
6167 \end_layout
6168
6169 \begin_layout Subsection*
6170 buffer-new
6171 \end_layout
6172
6173 \begin_layout Description
6174 Action Creates a new buffer (that is, document) and switches to it.
6175 \end_layout
6176
6177 \begin_layout Description
6178 Notion Implicit path can be set in Preferences dialog.
6179 \end_layout
6180
6181 \begin_layout Description
6182 Syntax buffer-new [<FILE>]
6183 \end_layout
6184
6185 \begin_layout Description
6186 Params <FILE>: filename of created file with absolute path.
6187 \end_layout
6188
6189 \begin_layout Subsection*
6190 buffer-new-template
6191 \end_layout
6192
6193 \begin_layout Description
6194 Action Creates a new buffer (that is, document) from a template.
6195 \end_layout
6196
6197 \begin_layout Description
6198 Notion Path for new files and templates can be set in Preferences dialog. Template will be asked for via Open-dialog.
6199 \end_layout
6200
6201 \begin_layout Description
6202 Syntax buffer-new-template [<FILE>] [<TEMPLATE FILE>]
6203 \end_layout
6204
6205 \begin_layout Description
6206 Params <FILE>: filename of created file with absolute path. If empty or "newfile", a file with appropriate name is generated. <TEMPLATE FILE>: filename of template with absolute path. If empty, a dialog is opened to select the new file.
6207 \end_layout
6208
6209 \begin_layout Subsection*
6210 buffer-next
6211 \end_layout
6212
6213 \begin_layout Description
6214 Action Switch to the next opened document.
6215 \end_layout
6216
6217 \begin_layout Description
6218 Notion Note that this does not necessarily mean next in tabbar (for full list see View menu).
6219 \end_layout
6220
6221 \begin_layout Description
6222 Syntax buffer-next
6223 \end_layout
6224
6225 \begin_layout Subsection*
6226 buffer-params-apply
6227 \end_layout
6228
6229 \begin_layout Description
6230 Action Apply the given settings to the current document.
6231 \end_layout
6232
6233 \begin_layout Description
6234 Syntax buffer-params-apply [<ARGS>]
6235 \end_layout
6236
6237 \begin_layout Description
6238 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
6239 \end_layout
6240
6241 \begin_layout Description
6242 Origin leeming, 30 Mar 2004
6243 \end_layout
6244
6245 \begin_layout Subsection*
6246 buffer-previous
6247 \end_layout
6248
6249 \begin_layout Description
6250 Action Switch to the previous opened document.
6251 \end_layout
6252
6253 \begin_layout Description
6254 Syntax buffer-previous
6255 \end_layout
6256
6257 \begin_layout Subsection*
6258 buffer-reload
6259 \end_layout
6260
6261 \begin_layout Description
6262 Action Reverts opened document.
6263 \end_layout
6264
6265 \begin_layout Description
6266 Syntax buffer-reload [dump]
6267 \end_layout
6268
6269 \begin_layout Description
6270 Params dump: do not ask for any confirmation, just reload. All changes will be lost.
6271 \end_layout
6272
6273 \begin_layout Description
6274 Origin Asger, 2 Feb 1997
6275 \end_layout
6276
6277 \begin_layout Subsection*
6278 buffer-reset-export
6279 \end_layout
6280
6281 \begin_layout Description
6282 Action Removes the auxiliary file before next export to assure export is done afresh.
6283 \end_layout
6284
6285 \begin_layout Description
6286 Syntax buffer-reset-export
6287 \end_layout
6288
6289 \begin_layout Description
6290 Origin spitz, 27 Dec 2019
6291 \end_layout
6292
6293 \begin_layout Subsection*
6294 buffer-save-as-default
6295 \end_layout
6296
6297 \begin_layout Description
6298 Action Save the current document settings as default.
6299 \end_layout
6300
6301 \begin_layout Description
6302 Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
6303 \end_layout
6304
6305 \begin_layout Description
6306 Syntax buffer-save-as-default [<ARGS>]
6307 \end_layout
6308
6309 \begin_layout Description
6310 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
6311 \end_layout
6312
6313 \begin_layout Description
6314 Origin leeming, 30 Mar 2004
6315 \end_layout
6316
6317 \begin_layout Subsection*
6318 buffer-switch
6319 \end_layout
6320
6321 \begin_layout Description
6322 Action Display and switch to the given buffer.
6323 \end_layout
6324
6325 \begin_layout Description
6326 Syntax buffer-switch <BUFFER>
6327 \end_layout
6328
6329 \begin_layout Description
6330 Params <BUFFER>: path and filename of already opened (but possibly hidden) document which is to be shown.
6331 \end_layout
6332
6333 \begin_layout Subsection*
6334 buffer-toggle-compression
6335 \end_layout
6336
6337 \begin_layout Description
6338 Action Toggles compression of the current document on/off.
6339 \end_layout
6340
6341 \begin_layout Description
6342 Syntax buffer-toggle-compression
6343 \end_layout
6344
6345 \begin_layout Description
6346 Origin bpeng, 27 Apr 2006
6347 \end_layout
6348
6349 \begin_layout Subsection*
6350 buffer-toggle-read-only
6351 \end_layout
6352
6353 \begin_layout Description
6354 Action Toggle editing mode of the current document between read/write and read-only.
6355 \end_layout
6356
6357 \begin_layout Description
6358 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.
6359 \end_layout
6360
6361 \begin_layout Description
6362 Syntax buffer-toggle-read-only
6363 \end_layout
6364
6365 \begin_layout Description
6366 Origin Lgb, 27 May 1997
6367 \end_layout
6368
6369 \begin_layout Subsection*
6370 buffer-update
6371 \end_layout
6372
6373 \begin_layout Description
6374 Action Exports the current document and put the result into the temporary directory.
6375 \end_layout
6376
6377 \begin_layout Description
6378 Notion In case you are already viewing the exported document (see LFUN_BUFFER_VIEW) the output will be rewritten - updated. This is useful in case your viewer is able to detect such changes (e.g. ghostview for postscript).
6379 \end_layout
6380
6381 \begin_layout Description
6382 Syntax buffer-update [<FORMAT>]
6383 \end_layout
6384
6385 \begin_layout Description
6386 Params <FORMAT>: The format to display, where this is one of the formats defined in the Tools>Preferences>File Formats dialog,                   use the "Short name" field. If no format is given, the default format as specified in the same dialog is used.
6387 \end_layout
6388
6389 \begin_layout Description
6390 Origin Dekel, 5 Aug 2000
6391 \end_layout
6392
6393 \begin_layout Subsection*
6394 buffer-view
6395 \end_layout
6396
6397 \begin_layout Description
6398 Action Displays current buffer in chosen format.
6399 \end_layout
6400
6401 \begin_layout Description
6402 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.
6403 \end_layout
6404
6405 \begin_layout Description
6406 Syntax buffer-view [<FORMAT>]
6407 \end_layout
6408
6409 \begin_layout Description
6410 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.
6411 \end_layout
6412
6413 \begin_layout Subsection*
6414 buffer-view-cache
6415 \end_layout
6416
6417 \begin_layout Description
6418 Action Opens the file that was created from last preview of this buffer.
6419 \end_layout
6420
6421 \begin_layout Description
6422 Notion This LFUN is called by the "Show Output Anyway" button in the LaTeX Errors dialog. It can also be called by the user, which is useful if the document takes a long time to compile, and you just want to see the last previewed version.
6423 \end_layout
6424
6425 \begin_layout Description
6426 Syntax buffer-view-cache
6427 \end_layout
6428
6429 \begin_layout Subsection*
6430 buffer-write
6431 \end_layout
6432
6433 \begin_layout Description
6434 Action Saves the current buffer.
6435 \end_layout
6436
6437 \begin_layout Description
6438 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.
6439 \end_layout
6440
6441 \begin_layout Description
6442 Syntax buffer-write [force]
6443 \end_layout
6444
6445 \begin_layout Description
6446 Params force: write even if buffer is not marked as modified.
6447 \end_layout
6448
6449 \begin_layout Subsection*
6450 buffer-write-all
6451 \end_layout
6452
6453 \begin_layout Description
6454 Action Save all changed documents.
6455 \end_layout
6456
6457 \begin_layout Description
6458 Syntax buffer-write-all
6459 \end_layout
6460
6461 \begin_layout Description
6462 Origin rgh, gpothier 6 Aug 2007
6463 \end_layout
6464
6465 \begin_layout Subsection*
6466 buffer-write-as
6467 \end_layout
6468
6469 \begin_layout Description
6470 Action Rename and save current buffer.
6471 \end_layout
6472
6473 \begin_layout Description
6474 Syntax buffer-write-as <FILENAME>
6475 \end_layout
6476
6477 \begin_layout Description
6478 Params <FILENAME>: New name of the buffer/file. A relative path is with respect to the original location of the buffer/file.
6479 \end_layout
6480
6481 \begin_layout Subsection*
6482 buffer-write-as-template
6483 \end_layout
6484
6485 \begin_layout Description
6486 Action Rename and save current buffer in the local templates directory.
6487 \end_layout
6488
6489 \begin_layout Description
6490 Syntax buffer-write-as-template <FILENAME>
6491 \end_layout
6492
6493 \begin_layout Description
6494 Params <FILENAME>: New name of the buffer/file. A relative path                is with respect to the original location of the buffer/file.
6495 \end_layout
6496
6497 \begin_layout Subsection*
6498 buffer-zoom
6499 \end_layout
6500
6501 \begin_layout Description
6502 Action Sets the zoom of the screen fonts.
6503 \end_layout
6504
6505 \begin_layout Description
6506 Syntax buffer-zoom [<ZOOM>]
6507 \end_layout
6508
6509 \begin_layout Description
6510 Params <ZOOM>: The target zoom value in %; the default is the default zoom as saved in preferences.
6511 \end_layout
6512
6513 \begin_layout Description
6514 Origin daniel, 28 Oct 2016
6515 \end_layout
6516
6517 \begin_layout Subsection*
6518 buffer-zoom-in
6519 \end_layout
6520
6521 \begin_layout Description
6522 Action Increases the zoom of the screen fonts.
6523 \end_layout
6524
6525 \begin_layout Description
6526 Syntax buffer-zoom-in [<ZOOM>]
6527 \end_layout
6528
6529 \begin_layout Description
6530 Params <ZOOM>: The zoom value addition in % (neg. or pos.); the default is 10% of the default zoom as saved in preferences.
6531 \end_layout
6532
6533 \begin_layout Description
6534 Origin vfr, 30 Mar 2009
6535 \end_layout
6536
6537 \begin_layout Subsection*
6538 buffer-zoom-out
6539 \end_layout
6540
6541 \begin_layout Description
6542 Action Decreases the zoom of the screen fonts.
6543 \end_layout
6544
6545 \begin_layout Description
6546 Syntax buffer-zoom-out [<ZOOM>]
6547 \end_layout
6548
6549 \begin_layout Description
6550 Params <ZOOM>: The zoom value abstraction in % (neg. or pos.); the default is 10% of the default zoom as saved in preferences.
6551 \end_layout
6552
6553 \begin_layout Description
6554 Origin vfr, 30 Mar 2009
6555 \end_layout
6556
6557 \begin_layout Subsection*
6558 build-program
6559 \end_layout
6560
6561 \begin_layout Description
6562 Action Generates the code (literate programming).
6563 \end_layout
6564
6565 \begin_layout Description
6566 Notion Latex file with extension 
6567 \backslash
6568 literate_extension is generated. Then LyX invokes 
6569 \backslash
6570 build_command (with a default of ``make'') to generate the code and 
6571 \backslash
6572 build_error_filter to process the compilation error messages.
6573 \begin_inset Newline newline
6574 \end_inset
6575
6576 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:
6577 \begin_inset Newline newline
6578 \end_inset
6579
6580
6581 \backslash
6582 build_command "my_script my_arguments"
6583 \begin_inset Newline newline
6584 \end_inset
6585
6586 The 
6587 \backslash
6588 build_error_filter differs from the 
6589 \backslash
6590 literate_error_filter only in that the former will identify error messages from your compiler.
6591 \end_layout
6592
6593 \begin_layout Description
6594 Syntax build-program
6595 \end_layout
6596
6597 \begin_layout Subsection*
6598 file-open
6599 \end_layout
6600
6601 \begin_layout Description
6602 Action Open LyX document.
6603 \end_layout
6604
6605 \begin_layout Description
6606 Syntax file-open [<FILE>]
6607 \end_layout
6608
6609 \begin_layout Description
6610 Params <FILE>: Filename to be opened.
6611 \end_layout
6612
6613 \begin_layout Subsection*
6614 help-open
6615 \end_layout
6616
6617 \begin_layout Description
6618 Action Open the given help file according to the language setting.
6619 \end_layout
6620
6621 \begin_layout Description
6622 Syntax help-open <FILE>[.lyx]
6623 \end_layout
6624
6625 \begin_layout Description
6626 Params <FILE>: any document from (/usr/share/)doc directory.
6627 \end_layout
6628
6629 \begin_layout Description
6630 Origin Jug, 27 Jun 1999
6631 \end_layout
6632
6633 \begin_layout Subsection*
6634 icon-size
6635 \end_layout
6636
6637 \begin_layout Description
6638 Action Sets icon size of toolbars.
6639 \end_layout
6640
6641 \begin_layout Description
6642 Syntax icon-size [<SIZE>]
6643 \end_layout
6644
6645 \begin_layout Description
6646 Params <SIZE> : the icon size in px or one of the logical settings small|normal|big|huge|giant, the default is normal (whose size in px is icon set dependent).
6647 \end_layout
6648
6649 \begin_layout Description
6650 Origin 11 July 2016
6651 \end_layout
6652
6653 \begin_layout Subsection*
6654 ifrelatives
6655 \end_layout
6656
6657 \begin_layout Description
6658 Action Helper function for master-related actions
6659 \end_layout
6660
6661 \begin_layout Description
6662 Notion In a buffer, the function will be disabled if the buffer has no master or children. It thus allows to enable actions only in documents with master/children
6663 \end_layout
6664
6665 \begin_layout Description
6666 Syntax ifrelatives <ACTION>
6667 \end_layout
6668
6669 \begin_layout Description
6670 Origin spitz, 2 January 2020
6671 \end_layout
6672
6673 \begin_layout Subsection*
6674 lyx-quit
6675 \end_layout
6676
6677 \begin_layout Description
6678 Action Terminates the current LyX instance.
6679 \end_layout
6680
6681 \begin_layout Description
6682 Notion Terminates the current LyX instance, asking whether to save modified documents, etc.
6683 \end_layout
6684
6685 \begin_layout Description
6686 Syntax lyx-quit
6687 \end_layout
6688
6689 \begin_layout Subsection*
6690 lyxfiles-open
6691 \end_layout
6692
6693 \begin_layout Description
6694 Action Open lyxfiles (templates/examples). Create a view if he have none.
6695 \end_layout
6696
6697 \begin_layout Description
6698 Syntax lyxfiles-open [<TYPE>]
6699 \end_layout
6700
6701 \begin_layout Description
6702 Params <TYPE>: templates or examples. Default is templates.
6703 \end_layout
6704
6705 \begin_layout Description
6706 Origin spitz, 10 Feb 2021
6707 \end_layout
6708
6709 \begin_layout Subsection*
6710 master-buffer-export
6711 \end_layout
6712
6713 \begin_layout Description
6714 Action Exports the master buffer (document) to the given format.
6715 \end_layout
6716
6717 \begin_layout Description
6718 Syntax master-buffer-export [<FORMAT>] [<DEST>]
6719 \end_layout
6720
6721 \begin_layout Description
6722 Params <FORMAT> is 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.
6723 \begin_inset Newline newline
6724 \end_inset
6725
6726 Note that "custom" is not allowed in this case.
6727 \begin_inset Newline newline
6728 \end_inset
6729
6730 If absent or "default", then the default output format of the document is used.
6731 \begin_inset Newline newline
6732 \end_inset
6733
6734 <DEST>   If present, this argument provides the export destination filename. Its containing folder will also be the destination folder, where all the needed external files will be copied.
6735 \end_layout
6736
6737 \begin_layout Description
6738 Origin rkh, 18 April 2018
6739 \end_layout
6740
6741 \begin_layout Subsection*
6742 master-buffer-forall
6743 \end_layout
6744
6745 \begin_layout Description
6746 Action Applies a command to a buffer and all it children, starting from the master.
6747 \end_layout
6748
6749 \begin_layout Description
6750 Syntax master-buffer-forall <LFUN-COMMAND>
6751 \end_layout
6752
6753 \begin_layout Description
6754 Params <LFUN-COMMAND>: The command to be applied to the buffers.
6755 \end_layout
6756
6757 \begin_layout Description
6758 Sample Close all Notes in buffers:
6759 \begin_inset Newline newline
6760 \end_inset
6761
6762                master-buffer-forall inset-forall Note inset-toggle close
6763 \begin_inset Newline newline
6764 \end_inset
6765
6766                Toggle change tracking on buffers:
6767 \begin_inset Newline newline
6768 \end_inset
6769
6770                master-buffer-forall changes-track
6771 \begin_inset Newline newline
6772 \end_inset
6773
6774                Toggle read-only for buffers:
6775 \begin_inset Newline newline
6776 \end_inset
6777
6778                master-buffer-forall buffer-toggle-read-only
6779 \begin_inset Newline newline
6780 \end_inset
6781
6782                Show statistics for individual buffers:
6783 \begin_inset Newline newline
6784 \end_inset
6785
6786                master-buffer-forall statistics
6787 \begin_inset Newline newline
6788 \end_inset
6789
6790                Activate the branch named "Solutions" in buffers:
6791 \begin_inset Newline newline
6792 \end_inset
6793
6794                master-buffer-forall branch-activate Solutions
6795 \begin_inset Newline newline
6796 \end_inset
6797
6798
6799 \end_layout
6800
6801 \begin_layout Description
6802 Origin spitz, 31 Dec 2019
6803 \end_layout
6804
6805 \begin_layout Subsection*
6806 master-buffer-update
6807 \end_layout
6808
6809 \begin_layout Description
6810 Action Update (export) the document built from the master buffer, if the current buffer is part of a master/child document.
6811 \end_layout
6812
6813 \begin_layout Description
6814 Syntax master-buffer-update [<FORMAT>]
6815 \end_layout
6816
6817 \begin_layout Description
6818 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.
6819 \end_layout
6820
6821 \begin_layout Description
6822 Origin Tommaso, 20 Sep 2007
6823 \end_layout
6824
6825 \begin_layout Subsection*
6826 master-buffer-view
6827 \end_layout
6828
6829 \begin_layout Description
6830 Action Show a preview built from the master buffer, if available. if the current buffer is part of a master/child document.
6831 \end_layout
6832
6833 \begin_layout Description
6834 Syntax master-buffer-view [<FORMAT>]
6835 \end_layout
6836
6837 \begin_layout Description
6838 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.
6839 \end_layout
6840
6841 \begin_layout Description
6842 Origin Tommaso, 20 Sep 2007
6843 \end_layout
6844
6845 \begin_layout Subsection*
6846 menu-open
6847 \end_layout
6848
6849 \begin_layout Description
6850 Action Opens the menu given by its name.
6851 \end_layout
6852
6853 \begin_layout Description
6854 Syntax menu-open <NAME>
6855 \end_layout
6856
6857 \begin_layout Description
6858 Params <NAME>: menu name. See various .inc files in lib/ui for candidates.
6859 \end_layout
6860
6861 \begin_layout Subsection*
6862 tab-group-close
6863 \end_layout
6864
6865 \begin_layout Description
6866 Action Close the current tab group.
6867 \end_layout
6868
6869 \begin_layout Description
6870 Notion This only closes the work areas, not the buffers themselves. The still opened buffers can be visualized in another tab group.
6871 \end_layout
6872
6873 \begin_layout Description
6874 Syntax tab-group-close
6875 \end_layout
6876
6877 \begin_layout Description
6878 Origin Abdel, 21 Feb 2008
6879 \end_layout
6880
6881 \begin_layout Subsection*
6882 tab-group-next
6883 \end_layout
6884
6885 \begin_layout Description
6886 Action Switch to the next tab group in split view.
6887 \end_layout
6888
6889 \begin_layout Description
6890 Syntax tab-group-next
6891 \end_layout
6892
6893 \begin_layout Subsection*
6894 tab-group-previous
6895 \end_layout
6896
6897 \begin_layout Description
6898 Action Switch to the previous tab group in split view.
6899 \end_layout
6900
6901 \begin_layout Description
6902 Syntax tab-group-previous
6903 \end_layout
6904
6905 \begin_layout Subsection*
6906 toolbar-movable
6907 \end_layout
6908
6909 \begin_layout Description
6910 Action Toggles movability of a given toolbar between true/false.
6911 \end_layout
6912
6913 \begin_layout Description
6914 Syntax toolbar-movable <NAME>
6915 \end_layout
6916
6917 \begin_layout Description
6918 Params <NAME>: *|standard|extra|table|math|mathmacrotemplate| minibuffer|review|view/update|math_panels|vcs| view-others|update-others
6919 \end_layout
6920
6921 \begin_layout Description
6922 Origin daniel, 12 July 2016
6923 \end_layout
6924
6925 \begin_layout Subsection*
6926 toolbar-set
6927 \end_layout
6928
6929 \begin_layout Description
6930 Action Sets visibility of a given toolbar to on, off, or auto.
6931 \end_layout
6932
6933 \begin_layout Description
6934 Notion Skipping "auto" when allowauto is false.
6935 \end_layout
6936
6937 \begin_layout Description
6938 Syntax toolbar-set <NAME> [on|off|auto]
6939 \end_layout
6940
6941 \begin_layout Description
6942 Params <NAME>: standard|extra|table|math|mathmacrotemplate|
6943 \begin_inset Newline newline
6944 \end_inset
6945
6946                        minibuffer|review|view/update|math_panels|vcs|                  view-others|update-others
6947 \end_layout
6948
6949 \begin_layout Description
6950 Origin spitz, 17 Dec 2020
6951 \end_layout
6952
6953 \begin_layout Subsection*
6954 toolbar-toggle
6955 \end_layout
6956
6957 \begin_layout Description
6958 Action Toggles visibility of a given toolbar between on/off/auto.
6959 \end_layout
6960
6961 \begin_layout Description
6962 Notion Skipping "auto" when allowauto is false.
6963 \end_layout
6964
6965 \begin_layout Description
6966 Syntax toolbar-toggle <NAME> [allowauto]
6967 \end_layout
6968
6969 \begin_layout Description
6970 Params <NAME>: standard|extra|table|math|mathmacrotemplate|
6971 \begin_inset Newline newline
6972 \end_inset
6973
6974 minibuffer|review|view/update|math_panels|vcs| view-others|update-others
6975 \end_layout
6976
6977 \begin_layout Description
6978 Origin Edwin, 21 May 2007
6979 \end_layout
6980
6981 \begin_layout Subsection*
6982 ui-toggle
6983 \end_layout
6984
6985 \begin_layout Description
6986 Action Various UI visibility-toggling actions.
6987 \end_layout
6988
6989 \begin_layout Description
6990 Syntax ui-toggle <statusbar|menubar|scrollbar|frame|fullscreen>
6991 \end_layout
6992
6993 \begin_layout Description
6994 Params statusbar     : Toggle visibility of the statusbar.
6995 \begin_inset Newline newline
6996 \end_inset
6997
6998 menubar       : Toggle visibility of the menubar.
6999 \begin_inset Newline newline
7000 \end_inset
7001
7002 scrollbar     : Toggle visibility of the scrollbar.
7003 \begin_inset Newline newline
7004 \end_inset
7005
7006 frame         : Toggle visibility of the frames around editing window.
7007 \begin_inset Newline newline
7008 \end_inset
7009
7010 zoomslider    : Toggle visibility of the zoom slider in statusbar.
7011 \begin_inset Newline newline
7012 \end_inset
7013
7014 zoomlevel     : Toggle visibility of the zoom level display in statusbar.
7015 \begin_inset Newline newline
7016 \end_inset
7017
7018 statistics-w  : Toggle visibility of the document word count in statusbar.
7019 \begin_inset Newline newline
7020 \end_inset
7021
7022 statistics-cb : Toggle visibility of the document character count (incl. blanks) in statusbar.
7023 \begin_inset Newline newline
7024 \end_inset
7025
7026 statistics-c  : Toggle visibility of the document character count (excl. blanks) in statusbar.
7027 \begin_inset Newline newline
7028 \end_inset
7029
7030 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.
7031 \end_layout
7032
7033 \begin_layout Description
7034 Origin sanda, 9 Feb 2007
7035 \end_layout
7036
7037 \begin_layout Subsection*
7038 view-close
7039 \end_layout
7040
7041 \begin_layout Description
7042 Action Close the current document work area.
7043 \end_layout
7044
7045 \begin_layout Description
7046 Notion Close the current work area. If no other work areas are showing the buffer, then close the associated buffer as well.
7047 \end_layout
7048
7049 \begin_layout Description
7050 Syntax view-close
7051 \end_layout
7052
7053 \begin_layout Description
7054 Origin Tommaso, 15 Sep 2012
7055 \end_layout
7056
7057 \begin_layout Subsection*
7058 view-split
7059 \end_layout
7060
7061 \begin_layout Description
7062 Action Creates another split view of current buffer.
7063 \end_layout
7064
7065 \begin_layout Description
7066 Notion All split views act in the same way independently.
7067 \end_layout
7068
7069 \begin_layout Description
7070 Syntax view-split <vertical|horizontal>
7071 \end_layout
7072
7073 \begin_layout Description
7074 Params horizontal : The work areas are laid out side by side.
7075 \begin_inset Newline newline
7076 \end_inset
7077
7078 vertical   : The work areas laid out vertically.
7079 \end_layout
7080
7081 \begin_layout Description
7082 Origin Abdel, 20 Feb 2008
7083 \end_layout
7084
7085 \begin_layout Subsection*
7086 window-close
7087 \end_layout
7088
7089 \begin_layout Description
7090 Action Closes the current LyX window.
7091 \end_layout
7092
7093 \begin_layout Description
7094 Syntax window-close
7095 \end_layout
7096
7097 \begin_layout Description
7098 Origin Abdel, 23 Oct 2006
7099 \end_layout
7100
7101 \begin_layout Subsection*
7102 window-new
7103 \end_layout
7104
7105 \begin_layout Description
7106 Action Creates new empty LyX window.
7107 \end_layout
7108
7109 \begin_layout Description
7110 Notion Already opened documents from the previous window can be found under View menu.
7111 \end_layout
7112
7113 \begin_layout Description
7114 Syntax window-new [<GEOMETRY>]
7115 \end_layout
7116
7117 \begin_layout Description
7118 Params <GEOMETRY>: pass the geometry of the window. This parameter is currently accepted only on Windows platform.
7119 \end_layout
7120
7121 \begin_layout Description
7122 Origin Abdel, 21 Oct 2006
7123 \end_layout
7124
7125 \begin_layout Section
7126 System Functions (Preferences, LyX Server etc.)
7127 \end_layout
7128
7129 \begin_layout Subsection*
7130 bibtex-database-list
7131 \end_layout
7132
7133 \begin_layout Description
7134 Action Lists the available databases (separated by path separator common on the used OS).
7135 \end_layout
7136
7137 \begin_layout Description
7138 Notion Used by bibliographic managers
7139 \end_layout
7140
7141 \begin_layout Description
7142 Syntax bibtex-database-list
7143 \end_layout
7144
7145 \begin_layout Description
7146 Origin bpiwowar, 18 December 2022
7147 \end_layout
7148
7149 \begin_layout Subsection*
7150 buffer-toggle-output-sync
7151 \end_layout
7152
7153 \begin_layout Description
7154 Action Toggles including of resources for forward/reverse search of the given document.
7155 \end_layout
7156
7157 \begin_layout Description
7158 Notion When toggled on, SyncTeX is invoked for PDF, while srcltx package is used for DVI. Custom LaTeX macro can be defined in preferences.
7159 \end_layout
7160
7161 \begin_layout Description
7162 Syntax buffer-toggle-output-sync
7163 \end_layout
7164
7165 \begin_layout Description
7166 Origin sanda, 25 May 2010
7167 \end_layout
7168
7169 \begin_layout Subsection*
7170 call
7171 \end_layout
7172
7173 \begin_layout Description
7174 Action Executes a command defined in a .def file.
7175 \end_layout
7176
7177 \begin_layout Description
7178 Notion The definitions are by default read from lib/commands/default.def.
7179 \begin_inset Newline newline
7180 \end_inset
7181
7182 A .def file allows to define a command with 
7183 \backslash
7184 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). 
7185 \backslash
7186 def_file "FileName" allows to include another .def file.
7187 \begin_inset Newline newline
7188 \end_inset
7189
7190 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.
7191 \end_layout
7192
7193 \begin_layout Description
7194 Syntax call <NAME>
7195 \end_layout
7196
7197 \begin_layout Description
7198 Params <NAME>: Name of the command that must be called.
7199 \end_layout
7200
7201 \begin_layout Description
7202 Origin broider, 2 Oct 2007
7203 \end_layout
7204
7205 \begin_layout Subsection*
7206 cancel
7207 \end_layout
7208
7209 \begin_layout Description
7210 Action Cancels sequence prepared by LFUN_META_PREFIX .
7211 \end_layout
7212
7213 \begin_layout Description
7214 Syntax cancel
7215 \end_layout
7216
7217 \begin_layout Subsection*
7218 command-alternatives
7219 \end_layout
7220
7221 \begin_layout Description
7222 Action Runs the first listed command that is enabled.
7223 \end_layout
7224
7225 \begin_layout Description
7226 Notion This can be used to bind multiple functions to a single key, and then which one is used will depend upon the context.
7227 \end_layout
7228
7229 \begin_layout Description
7230 Syntax command-alternatives <CMDS>
7231 \end_layout
7232
7233 \begin_layout Description
7234 Params <CMDS>: Sequence of commands separated by semicolons.
7235 \end_layout
7236
7237 \begin_layout Description
7238 Sample command-alternatives completion-accept;cell-forward
7239 \end_layout
7240
7241 \begin_layout Description
7242 Origin rgh, 24 September 2008
7243 \end_layout
7244
7245 \begin_layout Subsection*
7246 command-sequence
7247 \end_layout
7248
7249 \begin_layout Description
7250 Action Run more commands (LFUN and its parameters) in a sequence.
7251 \end_layout
7252
7253 \begin_layout Description
7254 Syntax command-sequence <CMDS>
7255 \end_layout
7256
7257 \begin_layout Description
7258 Params <CMDS>: Sequence of commands separated by semicolons.
7259 \end_layout
7260
7261 \begin_layout Description
7262 Sample command-sequence cut; ert-insert; self-insert 
7263 \backslash
7264 ; paste; self-insert {}; inset-toggle;
7265 \end_layout
7266
7267 \begin_layout Description
7268 Origin Andre, 11 Nov 1999
7269 \end_layout
7270
7271 \begin_layout Subsection*
7272 cursor-follows-scrollbar-toggle
7273 \end_layout
7274
7275 \begin_layout Description
7276 Action Determine whether to keep cursor inside the editing window regardless of the scrollbar movement.
7277 \end_layout
7278
7279 \begin_layout Description
7280 Syntax toggle-cursor-follows-scrollbar
7281 \end_layout
7282
7283 \begin_layout Description
7284 Origin ARRae, 2 Dec 1997
7285 \end_layout
7286
7287 \begin_layout Subsection*
7288 debug-level-set
7289 \end_layout
7290
7291 \begin_layout Description
7292 Action Set debug output level.
7293 \end_layout
7294
7295 \begin_layout Description
7296 Syntax debug-level-set <LEVEL>
7297 \end_layout
7298
7299 \begin_layout Description
7300 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.
7301 \end_layout
7302
7303 \begin_layout Description
7304 Origin sanda, 28 Dec 2009
7305 \end_layout
7306
7307 \begin_layout Subsection*
7308 devel-mode-toggle
7309 \end_layout
7310
7311 \begin_layout Description
7312 Action toggle a mode where more information is given in UI
7313 \end_layout
7314
7315 \begin_layout Description
7316 Notion in so called "devel" mode, the information given in the status bar is more precise, and the help documents are open in editing mode.
7317 \end_layout
7318
7319 \begin_layout Description
7320 Syntax devel-mode-toggle
7321 \end_layout
7322
7323 \begin_layout Description
7324 Origin lasgouttes, 23 Jul 2017
7325 \end_layout
7326
7327 \begin_layout Subsection*
7328 forward-search
7329 \end_layout
7330
7331 \begin_layout Description
7332 Action Sets the cursor position in the previewed (dvi/pdf) file based on the row number in LyX window.
7333 \end_layout
7334
7335 \begin_layout Description
7336 Notion The external program used for forward search call can be specified in LyX Output preferences. See Additional manual for details of these settings.
7337 \end_layout
7338
7339 \begin_layout Description
7340 Syntax forward-search
7341 \end_layout
7342
7343 \begin_layout Description
7344 Origin sanda, 14 Apr 2010
7345 \end_layout
7346
7347 \begin_layout Subsection*
7348 lyxrc-apply
7349 \end_layout
7350
7351 \begin_layout Description
7352 Action Apply the given settings to user preferences.
7353 \end_layout
7354
7355 \begin_layout Description
7356 Syntax lyxrc-apply <SETTINGS>
7357 \end_layout
7358
7359 \begin_layout Description
7360 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.
7361 \end_layout
7362
7363 \begin_layout Subsection*
7364 message
7365 \end_layout
7366
7367 \begin_layout Description
7368 Action Shows message in statusbar (for script purposes).
7369 \end_layout
7370
7371 \begin_layout Description
7372 Syntax message <STRING>
7373 \end_layout
7374
7375 \begin_layout Description
7376 Origin Lgb, 8 Apr 2001
7377 \end_layout
7378
7379 \begin_layout Subsection*
7380 meta-prefix
7381 \end_layout
7382
7383 \begin_layout Description
7384 Action Simulate halting Meta key (Alt key on PCs).
7385 \end_layout
7386
7387 \begin_layout Description
7388 Notion Used for buffer edition not for GUI control.
7389 \end_layout
7390
7391 \begin_layout Description
7392 Syntax meta-prefix
7393 \end_layout
7394
7395 \begin_layout Subsection*
7396 preferences-save
7397 \end_layout
7398
7399 \begin_layout Description
7400 Action Save user preferences.
7401 \end_layout
7402
7403 \begin_layout Description
7404 Syntax preferences-save
7405 \end_layout
7406
7407 \begin_layout Description
7408 Origin Lgb, 27 Nov 1999
7409 \end_layout
7410
7411 \begin_layout Subsection*
7412 reconfigure
7413 \end_layout
7414
7415 \begin_layout Description
7416 Action Reconfigure the automatic settings.
7417 \end_layout
7418
7419 \begin_layout Description
7420 Syntax reconfigure
7421 \end_layout
7422
7423 \begin_layout Description
7424 Origin Asger, 14 Feb 1997
7425 \end_layout
7426
7427 \begin_layout Subsection*
7428 search-ignore
7429 \end_layout
7430
7431 \begin_layout Description
7432 Action Enables/disables searching for features in findadv
7433 \end_layout
7434
7435 \begin_layout Description
7436 Syntax search-ignore <type> <value>
7437 \end_layout
7438
7439 \begin_layout Description
7440 Params <type>: language|color|sectioning|font|series|shape|family|markup|underline|strike|deleted|non-output-content
7441 \begin_inset Newline newline
7442 \end_inset
7443
7444 <value>: true|false
7445 \end_layout
7446
7447 \begin_layout Subsection*
7448 server-get-filename
7449 \end_layout
7450
7451 \begin_layout Description
7452 Action Returns path and file name of the currently edited document.
7453 \end_layout
7454
7455 \begin_layout Description
7456 Syntax server-get-filename
7457 \end_layout
7458
7459 \begin_layout Subsection*
7460 server-get-layout
7461 \end_layout
7462
7463 \begin_layout Description
7464 Action Returns the current layout (that is environment) name on the cursor position.
7465 \end_layout
7466
7467 \begin_layout Description
7468 Syntax server-get-layout
7469 \end_layout
7470
7471 \begin_layout Subsection*
7472 server-get-statistics
7473 \end_layout
7474
7475 \begin_layout Description
7476 Action Returns the statistics (number of words and characters) in the document or in the given selection.
7477 \end_layout
7478
7479 \begin_layout Description
7480 Notion Note that this function gives the number of words/chars written, not the number of characters which will be typeset.
7481 \end_layout
7482
7483 \begin_layout Description
7484 Syntax server-get-statistics [<TYPE>]
7485 \end_layout
7486
7487 \begin_layout Description
7488 Params <TYPE>: <words|chars|chars-space> The requested count; if not specified, the three values are returned, separated by a space.
7489 \begin_inset Newline newline
7490 \end_inset
7491
7492 words: count words.
7493 \begin_inset Newline newline
7494 \end_inset
7495
7496 chars: count characters.
7497 \begin_inset Newline newline
7498 \end_inset
7499
7500 chars-space: count characters and spaces.
7501 \end_layout
7502
7503 \begin_layout Description
7504 Origin brokenclock, Oct 10 2014
7505 \end_layout
7506
7507 \begin_layout Subsection*
7508 server-get-xy
7509 \end_layout
7510
7511 \begin_layout Description
7512 Action Returns the coordinates of cursor position in the editing area.
7513 \end_layout
7514
7515 \begin_layout Description
7516 Syntax server-get-xy
7517 \end_layout
7518
7519 \begin_layout Subsection*
7520 server-goto-file-row
7521 \end_layout
7522
7523 \begin_layout Description
7524 Action Sets the cursor position in LyX based on the row number of generated TeX file.
7525 \end_layout
7526
7527 \begin_layout Description
7528 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).
7529 \end_layout
7530
7531 \begin_layout Description
7532 Syntax server-goto-file-row <FILE[.ext]> <ROW_NUMBER>
7533 \end_layout
7534
7535 \begin_layout Description
7536 Params <FILE>: the path and 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.
7537 \begin_inset Newline newline
7538 \end_inset
7539
7540 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).
7541 \begin_inset Newline newline
7542 \end_inset
7543
7544 .ext: extensions will be automatically replaced by .lyx.
7545 \begin_inset Newline newline
7546 \end_inset
7547
7548 <ROW_NUMBER> The row number of the LaTeX file to which to go.
7549 \end_layout
7550
7551 \begin_layout Description
7552 Sample server-goto-file-row /home/user/example.lyx 41
7553 \begin_inset Newline newline
7554 \end_inset
7555
7556 server-goto-file-row /tmp/lyx_tmpdir.XM3088/lyx_tmpbuf0/example.tex 41
7557 \end_layout
7558
7559 \begin_layout Description
7560 Origin Edmar, 23 Dec 1998
7561 \end_layout
7562
7563 \begin_layout Subsection*
7564 server-notify
7565 \end_layout
7566
7567 \begin_layout Description
7568 Action Sends notify message about the last key-sequence to client.
7569 \end_layout
7570
7571 \begin_layout Description
7572 Notion This can be used to grab last key-sequence used inside the LyX window. See also Debug extensions section in Additional features manual.
7573 \end_layout
7574
7575 \begin_layout Description
7576 Syntax server-notify
7577 \end_layout
7578
7579 \begin_layout Subsection*
7580 server-set-xy
7581 \end_layout
7582
7583 \begin_layout Description
7584 Action Sets the cursor position based on the editing area coordinates (similar to clicking on that point with left mouse button).
7585 \end_layout
7586
7587 \begin_layout Description
7588 Syntax server-set-xy <X> <Y>
7589 \end_layout
7590
7591 \begin_layout Subsection*
7592 set-color
7593 \end_layout
7594
7595 \begin_layout Description
7596 Action Set the given LyX color to the color defined by the X11 name given, and optionally a specific color for dark mode.
7597 \end_layout
7598
7599 \begin_layout Description
7600 Notion A new color entry is created if the color is unknown. Color names can be stored as a part of user settings.
7601 \end_layout
7602
7603 \begin_layout Description
7604 Syntax set-color <LYX_NAME> <X11_NAME> [<X11_DARKNAME>]
7605 \end_layout
7606
7607 \begin_layout Description
7608 Origin SLior, 11 Jun 2000
7609 \end_layout
7610
7611 \begin_layout Subsection*
7612 statistics
7613 \end_layout
7614
7615 \begin_layout Description
7616 Action Count the statistics (number of words and characters) in the document or in the given selection and display it in a dialog box.
7617 \end_layout
7618
7619 \begin_layout Description
7620 Notion Note that this function gives the number of words/chars written, not the number of characters which will be typeset.
7621 \end_layout
7622
7623 \begin_layout Description
7624 Syntax statistics
7625 \end_layout
7626
7627 \begin_layout Description
7628 Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
7629 \end_layout
7630
7631 \begin_layout Subsection*
7632 vc-check-in
7633 \end_layout
7634
7635 \begin_layout Description
7636 Action Checks-in/commits the changes of the registered file to the repository.
7637 \end_layout
7638
7639 \begin_layout Description
7640 Notion In RCS case this also unlocks the file.
7641 \end_layout
7642
7643 \begin_layout Description
7644 Syntax vc-check-in
7645 \end_layout
7646
7647 \begin_layout Description
7648 Origin Lgb, 1 Jul 1997
7649 \end_layout
7650
7651 \begin_layout Subsection*
7652 vc-check-out
7653 \end_layout
7654
7655 \begin_layout Description
7656 Action Checks-out the document for edit (and locks it in some cases).
7657 \end_layout
7658
7659 \begin_layout Description
7660 Syntax vc-check-out
7661 \end_layout
7662
7663 \begin_layout Description
7664 Origin Lgb, 1 Jul 1997
7665 \end_layout
7666
7667 \begin_layout Subsection*
7668 vc-command
7669 \end_layout
7670
7671 \begin_layout Description
7672 Action Executes external command. This command is intended to support additional VCS commands.
7673 \end_layout
7674
7675 \begin_layout Description
7676 Syntax vc-command <FLAG> <PATH> <COMMAND>
7677 \end_layout
7678
7679 \begin_layout Description
7680 Params  <FLAG>: Flags for the command can be combined together.
7681 \begin_inset Newline newline
7682 \end_inset
7683
7684 U - dUmmy - no flags
7685 \begin_inset Newline newline
7686 \end_inset
7687
7688 D - Doc - need document loaded to proceed
7689 \begin_inset Newline newline
7690 \end_inset
7691
7692 I - dIrty - mark document dirty
7693 \begin_inset Newline newline
7694 \end_inset
7695
7696 R - Reload - ensure that the document is saved and reload it after command execution
7697 \begin_inset Newline newline
7698 \end_inset
7699
7700 M - Message - ask for input string (commit message)
7701 \begin_inset Newline newline
7702 \end_inset
7703
7704 <PATH>: path where to start. $$p will be replaced by the current document path.
7705 \begin_inset Newline newline
7706 \end_inset
7707
7708 <COMMAND>: command to execute. $$i/$$p/$$m will be replaced by the current document(with absolute path)/path/message.
7709 \end_layout
7710
7711 \begin_layout Description
7712 Sample vc-command DR $$p "svn up"
7713 \end_layout
7714
7715 \begin_layout Description
7716 Origin sanda, 13 Jan 2009
7717 \end_layout
7718
7719 \begin_layout Subsection*
7720 vc-compare
7721 \end_layout
7722
7723 \begin_layout Description
7724 Action Compares two revisions of the same file under version control.
7725 \end_layout
7726
7727 \begin_layout Description
7728 Syntax vc-compare [<REV1>] [<REV2>]
7729 \end_layout
7730
7731 \begin_layout Description
7732 Params Revision number either points directly to commit in history or if negative number -x it points to (last commit - x).
7733 \begin_inset Newline newline
7734 \end_inset
7735
7736 In RCS we subtract only in the last number of revision specification. Special case "0" is reserved for the last committed revision.
7737 \begin_inset Newline newline
7738 \end_inset
7739
7740 <REV1>: Older file.
7741 \begin_inset Newline newline
7742 \end_inset
7743
7744 <REV2>: Newer file. Used only if REV1 > 0.
7745 \begin_inset Newline newline
7746 \end_inset
7747
7748 If no parameter is given, interactive dialog will be shown.
7749 \end_layout
7750
7751 \begin_layout Description
7752 Sample Compare current document against last commit
7753 \begin_inset Newline newline
7754 \end_inset
7755
7756 vc-compare 0
7757 \begin_inset Newline newline
7758 \end_inset
7759
7760 Compare current document against current revision - 5 commits
7761 \begin_inset Newline newline
7762 \end_inset
7763
7764 vc-compare -5
7765 \begin_inset Newline newline
7766 \end_inset
7767
7768 Compare revisions 120 and 155
7769 \begin_inset Newline newline
7770 \end_inset
7771
7772 vc-compare 120 155
7773 \end_layout
7774
7775 \begin_layout Description
7776 Origin sanda, 12 Feb 2010
7777 \end_layout
7778
7779 \begin_layout Subsection*
7780 vc-copy
7781 \end_layout
7782
7783 \begin_layout Description
7784 Action Copies the document to another name.
7785 \end_layout
7786
7787 \begin_layout Description
7788 Notion Copying with revision history is only supported by SVN. For RCS and CVS it is simulated by adding the document under a new name. Disabled if uncommitted changes exist.
7789 \end_layout
7790
7791 \begin_layout Description
7792 Syntax vc-copy <FILENAME>
7793 \end_layout
7794
7795 \begin_layout Description
7796 Params <FILENAME>: New name of the document.
7797 \begin_inset Newline newline
7798 \end_inset
7799
7800 A file dialog is opened if no filename is given.
7801 \end_layout
7802
7803 \begin_layout Description
7804 Origin gb, 05 Feb 2013
7805 \end_layout
7806
7807 \begin_layout Subsection*
7808 vc-locking-toggle
7809 \end_layout
7810
7811 \begin_layout Description
7812 Action Toggles the locking property of the edited file.
7813 \end_layout
7814
7815 \begin_layout Description
7816 Notion This is currently implemented only for SVN.
7817 \end_layout
7818
7819 \begin_layout Description
7820 Syntax vc-locking-toggle
7821 \end_layout
7822
7823 \begin_layout Description
7824 Origin sanda, 25 Jun 2009
7825 \end_layout
7826
7827 \begin_layout Subsection*
7828 vc-register
7829 \end_layout
7830
7831 \begin_layout Description
7832 Action Register the document as an file inside version control system.
7833 \end_layout
7834
7835 \begin_layout Description
7836 Notion File is registered inside cvs, svn or rcs repository acording to the existence of cvs/svn/rcs entries in the document's directory.
7837 \begin_inset Newline newline
7838 \end_inset
7839
7840 See LyX Additional Features Manual (Version Control Chapter) for additional information.
7841 \end_layout
7842
7843 \begin_layout Description
7844 Syntax vc-register
7845 \end_layout
7846
7847 \begin_layout Description
7848 Origin Lgb, 1 Jul 1997
7849 \end_layout
7850
7851 \begin_layout Subsection*
7852 vc-rename
7853 \end_layout
7854
7855 \begin_layout Description
7856 Action Renames the document to another name.
7857 \end_layout
7858
7859 \begin_layout Description
7860 Notion Renaming with revision history is only supported by SVN. For CVS it is simulated by adding the document under a new name and deleting the old one. For RCS it is not supported. Disabled if uncommitted changes exist.
7861 \end_layout
7862
7863 \begin_layout Description
7864 Syntax vc-rename <FILENAME>
7865 \end_layout
7866
7867 \begin_layout Description
7868 Params <FILENAME>: New name of the document.
7869 \begin_inset Newline newline
7870 \end_inset
7871
7872 A file dialog is opened if no filename is given.
7873 \end_layout
7874
7875 \begin_layout Description
7876 Origin gb, 05 Feb 2013
7877 \end_layout
7878
7879 \begin_layout Subsection*
7880 vc-repo-update
7881 \end_layout
7882
7883 \begin_layout Description
7884 Action Update the local archive directory in which resides the current document with the remote repository.
7885 \end_layout
7886
7887 \begin_layout Description
7888 Syntax vc-repo-update
7889 \end_layout
7890
7891 \begin_layout Description
7892 Origin sanda, 16 Oct 2009
7893 \end_layout
7894
7895 \begin_layout Subsection*
7896 vc-revert
7897 \end_layout
7898
7899 \begin_layout Description
7900 Action Reverts the document to the last check-in/commit in VCS.
7901 \end_layout
7902
7903 \begin_layout Description
7904 Syntax vc-revert
7905 \end_layout
7906
7907 \begin_layout Description
7908 Origin Lgb, 1 Jul 1997
7909 \end_layout
7910
7911 \begin_layout Subsection*
7912 vc-undo-last
7913 \end_layout
7914
7915 \begin_layout Description
7916 Action Undo last check-in.
7917 \end_layout
7918
7919 \begin_layout Description
7920 Notion This is currently implemented only for RCS.
7921 \end_layout
7922
7923 \begin_layout Description
7924 Syntax vc-check-out
7925 \end_layout
7926
7927 \begin_layout Description
7928 Origin Lgb, 1 Jul 1997
7929 \end_layout
7930
7931 \begin_layout Section
7932 Hidden Functions (not listed for configuration)
7933 \end_layout
7934
7935 \begin_layout Subsection*
7936 command-prefix
7937 \end_layout
7938
7939 \begin_layout Description
7940 Action Return the current key sequence and available options as a string.
7941 \end_layout
7942
7943 \begin_layout Description
7944 Notion No options are added if no current map exists.
7945 \begin_inset Newline newline
7946 \end_inset
7947
7948 This is probably usable only with connection to lyxserver.
7949 \end_layout
7950
7951 \begin_layout Description
7952 Syntax command-prefix
7953 \end_layout
7954
7955 \begin_layout Subsection*
7956 lyx-activate
7957 \end_layout
7958
7959 \begin_layout Description
7960 Action Activates the LyX window.
7961 \end_layout
7962
7963 \begin_layout Description
7964 Notion On Linux and Mac OS, this action brings the LyX window into focus. Such behavior is not allowed by Windows OS so instead the color of the taskbar entry is changed to indicate that the window has changed in some way. This action is useful in combination with reverse search.
7965 \end_layout
7966
7967 \begin_layout Description
7968 Syntax lyx-activate
7969 \end_layout
7970
7971 \begin_layout Description
7972 Origin skostysh, 4 Aug 2016
7973 \end_layout
7974
7975 \begin_layout Subsection*
7976 self-insert
7977 \end_layout
7978
7979 \begin_layout Description
7980 Action Inserts the given string (accordingly to the correct keymap).
7981 \end_layout
7982
7983 \begin_layout Description
7984 Notion Automatically replace the currently selected text. Depends on lyxrc settings "auto_region_delete".
7985 \end_layout
7986
7987 \begin_layout Description
7988 Syntax self-insert <STRING>
7989 \end_layout
7990
7991 \begin_layout Subsection*
7992 window-raise
7993 \end_layout
7994
7995 \begin_layout Description
7996 Action Raises the LyX window.
7997 \end_layout
7998
7999 \begin_layout Description
8000 Notion Brings the LyX window to the front. Such behavior is allowed on Windows only when no other application has focus. This action is used when LyX is in single instance mode.
8001 \end_layout
8002
8003 \begin_layout Description
8004 Syntax window-raise
8005 \end_layout
8006
8007 \begin_layout Description
8008 Origin forenr, 21 Apr 2020
8009 \end_layout
8010
8011 \end_body
8012 \end_document