]> git.lyx.org Git - lyx.git/blob - lib/doc/LFUNs.lyx
de/Additional: small adaptations
[lyx.git] / lib / doc / LFUNs.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 620
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 [nogui] [<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 \begin_inset Newline newline
2592 \end_inset
2593
2594 nogui: does not launch external editor, only returns filename to be processed.
2595 \end_layout
2596
2597 \begin_layout Description
2598 Origin spitz, 27 Apr 2006
2599 \end_layout
2600
2601 \begin_layout Subsection*
2602 inset-end
2603 \end_layout
2604
2605 \begin_layout Description
2606 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.
2607 \end_layout
2608
2609 \begin_layout Description
2610 Syntax inset-end
2611 \end_layout
2612
2613 \begin_layout Description
2614 Origin lasgouttes, 16 Mar 2009
2615 \end_layout
2616
2617 \begin_layout Subsection*
2618 inset-end-edit
2619 \end_layout
2620
2621 \begin_layout Description
2622 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.
2623 \end_layout
2624
2625 \begin_layout Description
2626 Syntax inset-end-edit
2627 \end_layout
2628
2629 \begin_layout Description
2630 Origin gb, 11 Oct 2015
2631 \end_layout
2632
2633 \begin_layout Subsection*
2634 inset-end-select
2635 \end_layout
2636
2637 \begin_layout Description
2638 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).
2639 \end_layout
2640
2641 \begin_layout Description
2642 Syntax inset-end-select
2643 \end_layout
2644
2645 \begin_layout Description
2646 Origin lasgouttes, 16 Mar 2009
2647 \end_layout
2648
2649 \begin_layout Subsection*
2650 inset-forall
2651 \end_layout
2652
2653 \begin_layout Description
2654 Action Apply the given commands on insets of a given name.
2655 \end_layout
2656
2657 \begin_layout Description
2658 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.
2659 \end_layout
2660
2661 \begin_layout Description
2662 Syntax inset-forall <NAME> <LFUN-COMMAND>
2663 \begin_inset Newline newline
2664 \end_inset
2665
2666 <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.
2667 \end_layout
2668
2669 \begin_layout Description
2670 Sample Remove all index insets:
2671 \begin_inset Newline newline
2672 \end_inset
2673
2674 inset-forall Index char-delete-forward
2675 \begin_inset Newline newline
2676 \end_inset
2677
2678 Close all Notes:
2679 \begin_inset Newline newline
2680 \end_inset
2681
2682 inset-forall Note inset-toggle close
2683 \begin_inset Newline newline
2684 \end_inset
2685
2686 Open all branch insets of branch "myBranch":
2687 \begin_inset Newline newline
2688 \end_inset
2689
2690 inset-forall Branch:myBranch inset-toggle open
2691 \begin_inset Newline newline
2692 \end_inset
2693
2694 Transform all yellow notes to comments
2695 \begin_inset Newline newline
2696 \end_inset
2697
2698 inset-forall Note:Note inset-modify note Note Comment
2699 \begin_inset Newline newline
2700 \end_inset
2701
2702 Try to put LyX in an infinite loop if there is at least a Note:
2703 \begin_inset Newline newline
2704 \end_inset
2705
2706 inset-forall Note char-backward
2707 \end_layout
2708
2709 \begin_layout Description
2710 Origin lasgouttes, 27 Nov 2009
2711 \end_layout
2712
2713 \begin_layout Subsection*
2714 inset-insert
2715 \end_layout
2716
2717 \begin_layout Description
2718 Action Insert new inset (type given by the parameters).
2719 \end_layout
2720
2721 \begin_layout Description
2722 Syntax inset-insert <INSET> <ARGS>
2723 \end_layout
2724
2725 \begin_layout Description
2726 Params <INSET>: <bibitem|bibtex|citation|ert|listings|external|graphics|tabular|
2727 \begin_inset Newline newline
2728 \end_inset
2729
2730 hyperlink|include|index|label|line|nomencl|vspace|ref|toc|script>
2731 \begin_inset Newline newline
2732 \end_inset
2733
2734 <ARGS>: depends on the given inset. Use "lyx -dbg action" to explore.
2735 \end_layout
2736
2737 \begin_layout Description
2738 Sample inset-insert ref LatexCommand <Format> reference "<label name>"
2739 \backslash
2740 end_inset
2741 \begin_inset Newline newline
2742 \end_inset
2743
2744 where <label name> is the name of the referenced label and <Format> is one of the following:
2745 \begin_inset Newline newline
2746 \end_inset
2747
2748 ref -- <reference>
2749 \begin_inset Newline newline
2750 \end_inset
2751
2752 eqref -- (<reference>)
2753 \begin_inset Newline newline
2754 \end_inset
2755
2756 pageref -- <page>
2757 \begin_inset Newline newline
2758 \end_inset
2759
2760 vpageref -- on <page>
2761 \begin_inset Newline newline
2762 \end_inset
2763
2764 vref -- <reference> on <page>
2765 \begin_inset Newline newline
2766 \end_inset
2767
2768 formatted -- Formatted reference
2769 \end_layout
2770
2771 \begin_layout Subsection*
2772 inset-insert-copy
2773 \end_layout
2774
2775 \begin_layout Description
2776 Action Inserts the inset's content (in ToC pane) at the position of the cursor.
2777 \end_layout
2778
2779 \begin_layout Description
2780 Syntax inset-insert-copy
2781 \end_layout
2782
2783 \begin_layout Description
2784 Origin spitz, 1 Nov 2022
2785 \end_layout
2786
2787 \begin_layout Subsection*
2788 inset-modify
2789 \end_layout
2790
2791 \begin_layout Description
2792 Action Modify some properties of an inset.
2793 \end_layout
2794
2795 \begin_layout Description
2796 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.
2797 \end_layout
2798
2799 \begin_layout Description
2800 Syntax inset-modify <INSET> <ARGS>
2801 \begin_inset Newline newline
2802 \end_inset
2803
2804 inset-modify changetype <TYPE>
2805 \end_layout
2806
2807 \begin_layout Description
2808 Sample Change a Note inset into a Comment inset:
2809 \begin_inset Newline newline
2810 \end_inset
2811
2812 inset-modify note Note Comment
2813 \begin_inset Newline newline
2814 \end_inset
2815
2816 Change a Box into an Ovalbox:
2817 \begin_inset Newline newline
2818 \end_inset
2819
2820 inset-modify changetype Ovalbox
2821 \begin_inset Newline newline
2822 \end_inset
2823
2824 Change a quotation mark to e[nglish style], l[eft side = opening], s[ingle = inner, secondary]
2825 \begin_inset Newline newline
2826 \end_inset
2827
2828 inset-modify changetype els
2829 \begin_inset Newline newline
2830 \end_inset
2831
2832 Change only the style of a quotation mark, maintaining the other aspects (. = wildcard)
2833 \begin_inset Newline newline
2834 \end_inset
2835
2836 inset-modify changetype e..
2837 \begin_inset Newline newline
2838 \end_inset
2839
2840
2841 \end_layout
2842
2843 \begin_layout Subsection*
2844 inset-select-all
2845 \end_layout
2846
2847 \begin_layout Description
2848 Action Select all contents of an inset.
2849 \end_layout
2850
2851 \begin_layout Description
2852 Notion There are 3 successive levels: select current cell, select all cells of inset, select the inset from outside (in the enclosing inset).
2853 \end_layout
2854
2855 \begin_layout Description
2856 Syntax inset-select-all
2857 \end_layout
2858
2859 \begin_layout Description
2860 Origin vfr, 22 Aug 2009; lasgouttes 1 Nov 2014
2861 \end_layout
2862
2863 \begin_layout Subsection*
2864 inset-settings
2865 \end_layout
2866
2867 \begin_layout Description
2868 Action Open the inset's properties dialog.
2869 \end_layout
2870
2871 \begin_layout Description
2872 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.
2873 \end_layout
2874
2875 \begin_layout Description
2876 Syntax inset-settings <INSET>
2877 \end_layout
2878
2879 \begin_layout Description
2880 Params <INSET>: <bibitem|bibtex|box|branch|citation|ert|external|float|
2881 \begin_inset Newline newline
2882 \end_inset
2883
2884 graphics|href|include|index|index_print|label|line|
2885 \begin_inset Newline newline
2886 \end_inset
2887
2888 listings|note|phantom|ref|space|tabular|vspace|wrap>.
2889 \end_layout
2890
2891 \begin_layout Subsection*
2892 inset-split
2893 \end_layout
2894
2895 \begin_layout Description
2896 Action Splits the current inset into two at current position.
2897 \end_layout
2898
2899 \begin_layout Description
2900 Syntax inset-split [<INSET>]
2901 \end_layout
2902
2903 \begin_layout Description
2904 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.
2905 \begin_inset Newline newline
2906 \end_inset
2907
2908 For values see lyx::InsetLayout::lyxtype_ .
2909 \end_layout
2910
2911 \begin_layout Description
2912 Origin spitz, 22 Dec 2020
2913 \end_layout
2914
2915 \begin_layout Subsection*
2916 inset-toggle
2917 \end_layout
2918
2919 \begin_layout Description
2920 Action Toggles the collapsible inset at cursor position, or the inset we are currently in.
2921 \end_layout
2922
2923 \begin_layout Description
2924 Syntax inset-toggle [<ARG>]
2925 \end_layout
2926
2927 \begin_layout Description
2928 Params <ARG>: <open|close|toggle|assign>.
2929 \begin_inset Newline newline
2930 \end_inset
2931
2932 open/close/toggle are for collapsible insets. toggle is used when no argument is given.
2933 \begin_inset Newline newline
2934 \end_inset
2935
2936 assign synchronize the branch-inset with activation status of the branch. Used for global toggling when changed activation.
2937 \end_layout
2938
2939 \begin_layout Description
2940 Origin lasgouttes, 19 Jul 2001
2941 \end_layout
2942
2943 \begin_layout Subsection*
2944 ipa-insert
2945 \end_layout
2946
2947 \begin_layout Description
2948 Action Inserts an IPA inset.
2949 \end_layout
2950
2951 \begin_layout Description
2952 Syntax ipa-insert
2953 \end_layout
2954
2955 \begin_layout Description
2956 Origin spitz, 05 Mar 2012
2957 \end_layout
2958
2959 \begin_layout Subsection*
2960 ipamacro-insert
2961 \end_layout
2962
2963 \begin_layout Description
2964 Action Inserts special IPA macros into the document.
2965 \end_layout
2966
2967 \begin_layout Description
2968 Syntax ipamacro-insert <CHAR>
2969 \end_layout
2970
2971 \begin_layout Description
2972 Params <CHAR>: tone-falling, tone-rising, tone-high-rising, tone-low-rising, tone-high-rising-falling, deco bottomtiebar, deco toptiebar.
2973 \end_layout
2974
2975 \begin_layout Description
2976 Origin spitz, 22 Aug 2012
2977 \end_layout
2978
2979 \begin_layout Subsection*
2980 keymap-off
2981 \end_layout
2982
2983 \begin_layout Description
2984 Action Turn off the loaded keyboard map.
2985 \end_layout
2986
2987 \begin_layout Description
2988 Syntax keymap-off
2989 \end_layout
2990
2991 \begin_layout Subsection*
2992 keymap-primary
2993 \end_layout
2994
2995 \begin_layout Description
2996 Action Turn on the primary keyboard map.
2997 \end_layout
2998
2999 \begin_layout Description
3000 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.
3001 \begin_inset Newline newline
3002 \end_inset
3003
3004 The language is to be set in the Preferences dialog.
3005 \end_layout
3006
3007 \begin_layout Description
3008 Syntax keymap-primary
3009 \end_layout
3010
3011 \begin_layout Subsection*
3012 keymap-secondary
3013 \end_layout
3014
3015 \begin_layout Description
3016 Action Turn on the secondary keyboard map.
3017 \end_layout
3018
3019 \begin_layout Description
3020 Syntax keymap-secondary
3021 \end_layout
3022
3023 \begin_layout Subsection*
3024 keymap-toggle
3025 \end_layout
3026
3027 \begin_layout Description
3028 Action Toggles keyboard maps (first/second/off).
3029 \end_layout
3030
3031 \begin_layout Description
3032 Syntax keymap-toggle
3033 \end_layout
3034
3035 \begin_layout Description
3036 Origin leeming, 30 Mar 2004
3037 \end_layout
3038
3039 \begin_layout Subsection*
3040 label-copy-as-reference
3041 \end_layout
3042
3043 \begin_layout Description
3044 Action Copies the label at the cursor as a cross-reference to be pasted elsewhere.
3045 \end_layout
3046
3047 \begin_layout Description
3048 Syntax copy-label-as-reference <LABEL>
3049 \end_layout
3050
3051 \begin_layout Description
3052 Params <LABEL>: The label to copy (for multi-line math)
3053 \end_layout
3054
3055 \begin_layout Description
3056 Origin sts, 16 Nov 2008
3057 \end_layout
3058
3059 \begin_layout Subsection*
3060 label-goto
3061 \end_layout
3062
3063 \begin_layout Description
3064 Action Goto a label.
3065 \end_layout
3066
3067 \begin_layout Description
3068 Syntax label-goto [<LABEL>]
3069 \end_layout
3070
3071 \begin_layout Description
3072 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.
3073 \end_layout
3074
3075 \begin_layout Description
3076 Origin Ale, 6 Aug 1997
3077 \end_layout
3078
3079 \begin_layout Subsection*
3080 label-insert
3081 \end_layout
3082
3083 \begin_layout Description
3084 Action Inserts label to text or displayed formula.
3085 \end_layout
3086
3087 \begin_layout Description
3088 Syntax label-insert [<LABEL>]
3089 \end_layout
3090
3091 \begin_layout Description
3092 Params <LABEL>: Requested label. If no label is given dialog requesting name will be opened.
3093 \end_layout
3094
3095 \begin_layout Subsection*
3096 label-insert-as-reference
3097 \end_layout
3098
3099 \begin_layout Description
3100 Action Inserts the label (in ToC pane) as a cross-reference at the position of the cursor.
3101 \end_layout
3102
3103 \begin_layout Description
3104 Syntax label-insert-as-reference
3105 \end_layout
3106
3107 \begin_layout Description
3108 Origin vfr, 7 Apr 2009
3109 \end_layout
3110
3111 \begin_layout Subsection*
3112 language
3113 \end_layout
3114
3115 \begin_layout Description
3116 Action Set language from the current cursor position.
3117 \end_layout
3118
3119 \begin_layout Description
3120 Syntax language <LANG> [set]
3121 \end_layout
3122
3123 \begin_layout Description
3124 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).
3125 \end_layout
3126
3127 \begin_layout Description
3128 Origin Dekel, 2 Mar 2000
3129 \end_layout
3130
3131 \begin_layout Subsection*
3132 line-begin
3133 \end_layout
3134
3135 \begin_layout Description
3136 Action Move the cursor to the beginning of the (screen) line.
3137 \end_layout
3138
3139 \begin_layout Description
3140 Syntax line-begin
3141 \end_layout
3142
3143 \begin_layout Subsection*
3144 line-begin-select
3145 \end_layout
3146
3147 \begin_layout Description
3148 Action Move the cursor to the beginning of the (screen) line adding the traversed text to the selection.
3149 \end_layout
3150
3151 \begin_layout Description
3152 Syntax line-begin-select
3153 \end_layout
3154
3155 \begin_layout Subsection*
3156 line-delete-forward
3157 \end_layout
3158
3159 \begin_layout Description
3160 Action Deletes the letters to the end of the (screen) line or deletes the selection.
3161 \end_layout
3162
3163 \begin_layout Description
3164 Syntax line-delete-forward
3165 \end_layout
3166
3167 \begin_layout Subsection*
3168 line-end
3169 \end_layout
3170
3171 \begin_layout Description
3172 Action Move the cursor to the end of the (screen) line.
3173 \end_layout
3174
3175 \begin_layout Description
3176 Syntax line-end
3177 \end_layout
3178
3179 \begin_layout Subsection*
3180 line-end-select
3181 \end_layout
3182
3183 \begin_layout Description
3184 Action Move the cursor to the end of the (screen) line adding the traversed text to the selection.
3185 \end_layout
3186
3187 \begin_layout Description
3188 Syntax line-end-select
3189 \end_layout
3190
3191 \begin_layout Subsection*
3192 listing-insert
3193 \end_layout
3194
3195 \begin_layout Description
3196 Action Inserts a new listings inset.
3197 \end_layout
3198
3199 \begin_layout Description
3200 Syntax listing-insert
3201 \end_layout
3202
3203 \begin_layout Description
3204 Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
3205 \end_layout
3206
3207 \begin_layout Subsection*
3208 marginalnote-insert
3209 \end_layout
3210
3211 \begin_layout Description
3212 Action Inserts a marginal note.
3213 \end_layout
3214
3215 \begin_layout Description
3216 Syntax marginalnote-insert
3217 \end_layout
3218
3219 \begin_layout Description
3220 Origin Lgb, 26 Jun 2000
3221 \end_layout
3222
3223 \begin_layout Subsection*
3224 mark-off
3225 \end_layout
3226
3227 \begin_layout Description
3228 Action Disable selecting of text-region.
3229 \end_layout
3230
3231 \begin_layout Description
3232 Syntax mark-off
3233 \end_layout
3234
3235 \begin_layout Subsection*
3236 mark-on
3237 \end_layout
3238
3239 \begin_layout Description
3240 Action Enable selecting of text-region.
3241 \end_layout
3242
3243 \begin_layout Description
3244 Notion After enabling you can simply move arrow keys to get selected region.
3245 \end_layout
3246
3247 \begin_layout Description
3248 Syntax mark-on
3249 \end_layout
3250
3251 \begin_layout Subsection*
3252 mark-toggle
3253 \end_layout
3254
3255 \begin_layout Description
3256 Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
3257 \end_layout
3258
3259 \begin_layout Description
3260 Syntax mark-toggle
3261 \end_layout
3262
3263 \begin_layout Description
3264 Origin Andre, May 5 2006
3265 \end_layout
3266
3267 \begin_layout Subsection*
3268 newline-insert
3269 \end_layout
3270
3271 \begin_layout Description
3272 Action Inserts a line break or new line.
3273 \end_layout
3274
3275 \begin_layout Description
3276 Syntax newline-insert [<ARG>]
3277 \end_layout
3278
3279 \begin_layout Description
3280 Params <ARG>: <newline|linebreak> default: newline
3281 \end_layout
3282
3283 \begin_layout Description
3284 Origin spitz, 25 Mar 2008
3285 \end_layout
3286
3287 \begin_layout Subsection*
3288 newpage-insert
3289 \end_layout
3290
3291 \begin_layout Description
3292 Action Inserts a new page.
3293 \end_layout
3294
3295 \begin_layout Description
3296 Syntax newpage-insert <ARG>
3297 \end_layout
3298
3299 \begin_layout Description
3300 Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
3301 \end_layout
3302
3303 \begin_layout Description
3304 Origin uwestoehr, 24 Nov 2007
3305 \end_layout
3306
3307 \begin_layout Subsection*
3308 nomencl-insert
3309 \end_layout
3310
3311 \begin_layout Description
3312 Action Inserts Nomenclature entry.
3313 \end_layout
3314
3315 \begin_layout Description
3316 Notion It automatically takes the word on the cursor position if no symbol is given.
3317 \end_layout
3318
3319 \begin_layout Description
3320 Syntax nomencl-insert [<SYMBOL>]
3321 \end_layout
3322
3323 \begin_layout Description
3324 Origin Ugras, 4 Nov 2006
3325 \end_layout
3326
3327 \begin_layout Subsection*
3328 nomencl-print
3329 \end_layout
3330
3331 \begin_layout Description
3332 Action Inserts list of Nomenclature entries.
3333 \end_layout
3334
3335 \begin_layout Description
3336 Syntax nomenclature-print
3337 \end_layout
3338
3339 \begin_layout Description
3340 Origin Ugras, 4 Nov 2006
3341 \end_layout
3342
3343 \begin_layout Subsection*
3344 note-insert
3345 \end_layout
3346
3347 \begin_layout Description
3348 Action Inserts Note on the current cursor position, move selection inside the inset.
3349 \end_layout
3350
3351 \begin_layout Description
3352 Syntax note-insert [<TYPE>]
3353 \end_layout
3354
3355 \begin_layout Description
3356 Params <TYPE>: <Note|Greyedout|Comment> default: Note
3357 \end_layout
3358
3359 \begin_layout Subsection*
3360 note-next
3361 \end_layout
3362
3363 \begin_layout Description
3364 Action Moves the cursor to the beginning of next Note inset.
3365 \end_layout
3366
3367 \begin_layout Description
3368 Syntax note-next
3369 \end_layout
3370
3371 \begin_layout Subsection*
3372 outline-down
3373 \end_layout
3374
3375 \begin_layout Description
3376 Action Move the current group in the downward direction in the structure of the document.
3377 \end_layout
3378
3379 \begin_layout Description
3380 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
3381 \end_layout
3382
3383 \begin_layout Description
3384 Syntax outline-down
3385 \end_layout
3386
3387 \begin_layout Description
3388 Origin Vermeer, 23 Mar 2006
3389 \end_layout
3390
3391 \begin_layout Subsection*
3392 outline-in
3393 \end_layout
3394
3395 \begin_layout Description
3396 Action Moves the current group in the downward direction in the hierarchy of the document structure.
3397 \end_layout
3398
3399 \begin_layout Description
3400 Notion Part -> Chapter -> Section -> etc.
3401 \end_layout
3402
3403 \begin_layout Description
3404 Syntax outline-in [local]
3405 \end_layout
3406
3407 \begin_layout Description
3408 Params local: if given, only the current paragraph will be affected.
3409 \end_layout
3410
3411 \begin_layout Description
3412 Origin Vermeer, 23 Mar 2006
3413 \end_layout
3414
3415 \begin_layout Subsection*
3416 outline-out
3417 \end_layout
3418
3419 \begin_layout Description
3420 Action Moves the current group in the upward direction in the hierarchy of the document structure.
3421 \end_layout
3422
3423 \begin_layout Description
3424 Notion Part <- Chapter <- Section <- etc.
3425 \end_layout
3426
3427 \begin_layout Description
3428 Syntax outline-out [local]
3429 \end_layout
3430
3431 \begin_layout Description
3432 Params local: if given, only the current paragraph will be affected.
3433 \end_layout
3434
3435 \begin_layout Description
3436 Origin Vermeer, 23 Mar 2006
3437 \end_layout
3438
3439 \begin_layout Subsection*
3440 outline-up
3441 \end_layout
3442
3443 \begin_layout Description
3444 Action Move the current group in the upward direction in the structure of the document.
3445 \end_layout
3446
3447 \begin_layout Description
3448 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
3449 \end_layout
3450
3451 \begin_layout Description
3452 Syntax outline-up
3453 \end_layout
3454
3455 \begin_layout Description
3456 Origin Vermeer, 23 Mar 2006
3457 \end_layout
3458
3459 \begin_layout Subsection*
3460 paragraph-break
3461 \end_layout
3462
3463 \begin_layout Description
3464 Action Breaks the current paragraph at the current location.
3465 \end_layout
3466
3467 \begin_layout Description
3468 Notion Removes the selection.
3469 \end_layout
3470
3471 \begin_layout Description
3472 Syntax paragraph-break [<LAYOUT>] [ignoresep]
3473 \end_layout
3474
3475 \begin_layout Description
3476 Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to default layout) when the cursor is at the end of the line.
3477 \begin_inset Newline newline
3478 \end_inset
3479
3480 ignoresep: Do not account for paragraph separators while breaking.
3481 \end_layout
3482
3483 \begin_layout Subsection*
3484 paragraph-down
3485 \end_layout
3486
3487 \begin_layout Description
3488 Action Move the cursor to the next paragraph (or beginning of the current one) in downward direction.
3489 \end_layout
3490
3491 \begin_layout Description
3492 Syntax paragraph-down
3493 \end_layout
3494
3495 \begin_layout Description
3496 Origin Asger, 1 Oct 1996
3497 \end_layout
3498
3499 \begin_layout Subsection*
3500 paragraph-down-select
3501 \end_layout
3502
3503 \begin_layout Description
3504 Action Move the cursor and select the text to the next paragraph (or beginning of the current one) in downward direction.
3505 \end_layout
3506
3507 \begin_layout Description
3508 Syntax paragraph-down-select
3509 \end_layout
3510
3511 \begin_layout Description
3512 Origin Asger, 1 Oct 1996
3513 \end_layout
3514
3515 \begin_layout Subsection*
3516 paragraph-goto
3517 \end_layout
3518
3519 \begin_layout Description
3520 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.
3521 \end_layout
3522
3523 \begin_layout Description
3524 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.
3525 \end_layout
3526
3527 \begin_layout Description
3528 Syntax paragraph-goto <PAR_ID> <POS_IN_PAR> [<PAR_ID> <POS_IN_PAR>]
3529 \end_layout
3530
3531 \begin_layout Description
3532 Params <PAR_ID>:  paragraph id
3533 \begin_inset Newline newline
3534 \end_inset
3535
3536 <POS_IN_PAR>: desired position within the paragraph
3537 \end_layout
3538
3539 \begin_layout Description
3540 Origin Dekel, 26 Aug 2000 gmunch, 5 Sep 2016
3541 \end_layout
3542
3543 \begin_layout Subsection*
3544 paragraph-move-down
3545 \end_layout
3546
3547 \begin_layout Description
3548 Action Moves the current paragraph downwards in the document.
3549 \end_layout
3550
3551 \begin_layout Description
3552 Syntax paragraph-move-down
3553 \end_layout
3554
3555 \begin_layout Description
3556 Origin Edwin, 8 Apr 2006
3557 \end_layout
3558
3559 \begin_layout Subsection*
3560 paragraph-move-up
3561 \end_layout
3562
3563 \begin_layout Description
3564 Action Moves the current paragraph upwards in the document.
3565 \end_layout
3566
3567 \begin_layout Description
3568 Notion Movement through the document will possibly break the paragraph-depth (e.g. itemize structure).
3569 \end_layout
3570
3571 \begin_layout Description
3572 Syntax paragraph-move-up
3573 \end_layout
3574
3575 \begin_layout Description
3576 Origin Edwin, 8 Apr 2006
3577 \end_layout
3578
3579 \begin_layout Subsection*
3580 paragraph-params
3581 \end_layout
3582
3583 \begin_layout Description
3584 Action Change paragraph settings.
3585 \end_layout
3586
3587 \begin_layout Description
3588 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.
3589 \end_layout
3590
3591 \begin_layout Description
3592 Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
3593 \end_layout
3594
3595 \begin_layout Description
3596 Params <INDENT>:  
3597 \backslash
3598 noindent|
3599 \backslash
3600 indent|
3601 \backslash
3602 indent-toggle|
3603 \backslash
3604 leftindent LENGTH
3605 \begin_inset Newline newline
3606 \end_inset
3607
3608 <SPACING>: 
3609 \backslash
3610 paragraph_spacing default|single|onehalf|double|other SIZE
3611 \begin_inset Newline newline
3612 \end_inset
3613
3614 <ALIGN>:   
3615 \backslash
3616 align block|left|right|center|default
3617 \begin_inset Newline newline
3618 \end_inset
3619
3620 <OTHERS>:  
3621 \backslash
3622 labelwidthstring WIDTH|
3623 \backslash
3624 start_of_appendix
3625 \end_layout
3626
3627 \begin_layout Description
3628 Origin rgh, Aug 15 2007
3629 \end_layout
3630
3631 \begin_layout Subsection*
3632 paragraph-params-apply
3633 \end_layout
3634
3635 \begin_layout Description
3636 Action Change paragraph settings.
3637 \end_layout
3638
3639 \begin_layout Description
3640 Notion Overwrite all nonspecified settings to the default ones. Use paragraph-params lfun if you don't want to overwrite others settings.
3641 \end_layout
3642
3643 \begin_layout Description
3644 Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
3645 \end_layout
3646
3647 \begin_layout Description
3648 Params For parameters see LFUN_PARAGRAPH_PARAMS
3649 \end_layout
3650
3651 \begin_layout Description
3652 Origin leeming, 30 Mar 2004
3653 \end_layout
3654
3655 \begin_layout Subsection*
3656 paragraph-select
3657 \end_layout
3658
3659 \begin_layout Description
3660 Action Move cursor to beginning of current paragraph and select to the end in downward direction
3661 \end_layout
3662
3663 \begin_layout Description
3664 Notion This function is by default bound to triple mouse click
3665 \end_layout
3666
3667 \begin_layout Description
3668 Syntax paragraph-select
3669 \end_layout
3670
3671 \begin_layout Description
3672 Origin Kornel, 16 Apr 2019
3673 \end_layout
3674
3675 \begin_layout Subsection*
3676 paragraph-up
3677 \end_layout
3678
3679 \begin_layout Description
3680 Action Move the cursor to the next paragraph (or beginning of the current one) in upward direction.
3681 \end_layout
3682
3683 \begin_layout Description
3684 Syntax paragraph-up
3685 \end_layout
3686
3687 \begin_layout Description
3688 Origin Asger, 1 Oct 1996
3689 \end_layout
3690
3691 \begin_layout Subsection*
3692 paragraph-up-select
3693 \end_layout
3694
3695 \begin_layout Description
3696 Action Move the cursor and select the text to the next paragraph (or beginning of the current one) in upward direction.
3697 \end_layout
3698
3699 \begin_layout Description
3700 Syntax paragraph-up-select
3701 \end_layout
3702
3703 \begin_layout Description
3704 Origin Asger, 1 Oct 1996
3705 \end_layout
3706
3707 \begin_layout Subsection*
3708 paste
3709 \end_layout
3710
3711 \begin_layout Description
3712 Action Pastes material (text or picture) from the active clipboard.
3713 \end_layout
3714
3715 \begin_layout Description
3716 Syntax paste [<TYPE>|<NUM>]
3717 \end_layout
3718
3719 \begin_layout Description
3720 Params <TYPE>: emf|pdf|png|jpeg|linkback|wmf|latex|html
3721 \begin_inset Newline newline
3722 \end_inset
3723
3724 <NUM>: number of the selection in the internal clipboard stack to be pasted.
3725 \end_layout
3726
3727 \begin_layout Subsection*
3728 phantom-insert
3729 \end_layout
3730
3731 \begin_layout Description
3732 Action Inserts phantom on the current cursor position, move selection inside the inset.
3733 \end_layout
3734
3735 \begin_layout Description
3736 Syntax phantom-insert [<TYPE>]
3737 \end_layout
3738
3739 \begin_layout Description
3740 Params <TYPE>: <Phantom|HPhantom|VPhantom> default: Phantom
3741 \end_layout
3742
3743 \begin_layout Description
3744 Origin uwestoehr, 30 Jan 2009
3745 \end_layout
3746
3747 \begin_layout Subsection*
3748 preview-insert
3749 \end_layout
3750
3751 \begin_layout Description
3752 Action Inserts a new preview inset.
3753 \end_layout
3754
3755 \begin_layout Description
3756 Syntax preview-insert
3757 \end_layout
3758
3759 \begin_layout Description
3760 Origin vfr, 28 Mar 2010
3761 \end_layout
3762
3763 \begin_layout Subsection*
3764 primary-selection-paste
3765 \end_layout
3766
3767 \begin_layout Description
3768 Action Pastes the currently selected text.
3769 \end_layout
3770
3771 \begin_layout Description
3772 Notion Primary selection mechanism is X11/Wayland-only thing.
3773 \end_layout
3774
3775 \begin_layout Description
3776 Syntax primary-selection-paste [<ARG>]
3777 \end_layout
3778
3779 \begin_layout Description
3780 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
3781 \end_layout
3782
3783 \begin_layout Subsection*
3784 quote-insert
3785 \end_layout
3786
3787 \begin_layout Description
3788 Action Inserts quotes according to the type and quote-language preference.
3789 \end_layout
3790
3791 \begin_layout Description
3792 Notion Currently 15 different quote styles are distinguished (see params).
3793 \end_layout
3794
3795 \begin_layout Description
3796 Syntax quote-insert [<LEVEL>] [<SIDE>] [<STYLE>]
3797 \end_layout
3798
3799 \begin_layout Description
3800 Params <LEVEL>: 'inner' for (i.e., secondary, usually single) quotes, otherwise outer (i.e., primary, usually double) quotes will be used.
3801 \begin_inset Newline newline
3802 \end_inset
3803
3804 <SIDE>:  'opening' for opening quotes, 'closing' for closing quotes, otherwise the side will be guessed from the context.
3805 \begin_inset Newline newline
3806 \end_inset
3807
3808 <STYLE>: 'british' for `British' quote style (with ``inner quotation'')
3809 \begin_inset Newline newline
3810 \end_inset
3811
3812 'cjk' for Chinese/Japanese/Korean corner bracket quotation marks
3813 \begin_inset Newline newline
3814 \end_inset
3815
3816 'cjk-angle' for Chinese/Japanese/Korean angle bracket quotation marks
3817 \begin_inset Newline newline
3818 \end_inset
3819
3820 'danish' for >>Danish<< quote style (with >inner quotation<)
3821 \begin_inset Newline newline
3822 \end_inset
3823
3824 'english' for ``English'' quote style (with `inner quotation')
3825 \begin_inset Newline newline
3826 \end_inset
3827
3828 'french' for <<french>> quote style (with ``inner quotation'')
3829 \begin_inset Newline newline
3830 \end_inset
3831
3832 'frenchin' for <<frenchin>> quote style (with <<inner quotation>>) ["in" = Imprimerie Nationale]
3833 \begin_inset Newline newline
3834 \end_inset
3835
3836 'german' for ,,German`` quote style (with ,inner quotation`)
3837 \begin_inset Newline newline
3838 \end_inset
3839
3840                         'hebrew' for ''hebrew,, quote style (with 'inner quotation,)
3841 \begin_inset Newline newline
3842 \end_inset
3843
3844 'plain' for "Plain" quote style (with 'inner quotation')
3845 \begin_inset Newline newline
3846 \end_inset
3847
3848 'polish' for ,,Polish'' quote style (with ,inner quotation')
3849 \begin_inset Newline newline
3850 \end_inset
3851
3852 'swedish' for ''Swedish'' quote style (with 'inner quotation')
3853 \begin_inset Newline newline
3854 \end_inset
3855
3856 'swedishg' for >>swedishg>> quote style (with 'inner quotation') ["g" = Guillemets]
3857 \begin_inset Newline newline
3858 \end_inset
3859
3860 'swiss' for <<Swiss>> quote style (with <inner quotation>)
3861 \begin_inset Newline newline
3862 \end_inset
3863
3864 'russian' for <<Russian>> quote style (with ,,inner quotation``)
3865 \begin_inset Newline newline
3866 \end_inset
3867
3868 'dynamic' for Dynamic quotation marks which inherit the global document style
3869 \begin_inset Newline newline
3870 \end_inset
3871
3872 If no quote style is specified, the document-wide will be used.
3873 \end_layout
3874
3875 \begin_layout Subsection*
3876 redo
3877 \end_layout
3878
3879 \begin_layout Description
3880 Action Redoes the last thing undone.
3881 \end_layout
3882
3883 \begin_layout Description
3884 Syntax redo
3885 \end_layout
3886
3887 \begin_layout Subsection*
3888 reference-next
3889 \end_layout
3890
3891 \begin_layout Description
3892 Action Go to the next label or cross-reference.
3893 \end_layout
3894
3895 \begin_layout Description
3896 Syntax reference-next
3897 \end_layout
3898
3899 \begin_layout Description
3900 Origin Dekel, 14 Jan 2001
3901 \end_layout
3902
3903 \begin_layout Subsection*
3904 repeat
3905 \end_layout
3906
3907 \begin_layout Description
3908 Action Repeat the given command.
3909 \end_layout
3910
3911 \begin_layout Description
3912 Notion fails when the repeat count is greater than 10000.
3913 \end_layout
3914
3915 \begin_layout Description
3916 Syntax repeat <COUNT> <LFUN-COMMAND>
3917 \end_layout
3918
3919 \begin_layout Description
3920 Origin Andre, 27 Oct 2003
3921 \end_layout
3922
3923 \begin_layout Subsection*
3924 screen-down
3925 \end_layout
3926
3927 \begin_layout Description
3928 Action Moves the cursor one page in downward direction.
3929 \end_layout
3930
3931 \begin_layout Description
3932 Syntax screen-down
3933 \end_layout
3934
3935 \begin_layout Subsection*
3936 screen-down-select
3937 \end_layout
3938
3939 \begin_layout Description
3940 Action Moves the cursor one screen in downward direction adding the current position to the selection.
3941 \end_layout
3942
3943 \begin_layout Description
3944 Syntax screen-down-select
3945 \end_layout
3946
3947 \begin_layout Subsection*
3948 screen-recenter
3949 \end_layout
3950
3951 \begin_layout Description
3952 Action Recenters the screen on the current cursor position.
3953 \end_layout
3954
3955 \begin_layout Description
3956 Syntax screen-recenter
3957 \end_layout
3958
3959 \begin_layout Subsection*
3960 screen-show-cursor
3961 \end_layout
3962
3963 \begin_layout Description
3964 Action Repositions the screen such that the cursor is visible.
3965 \end_layout
3966
3967 \begin_layout Description
3968 Syntax screen-show-cursor
3969 \end_layout
3970
3971 \begin_layout Description
3972 Origin vfr, 25 Mar 2009
3973 \end_layout
3974
3975 \begin_layout Subsection*
3976 screen-up
3977 \end_layout
3978
3979 \begin_layout Description
3980 Action Moves the cursor one page in upward direction.
3981 \end_layout
3982
3983 \begin_layout Description
3984 Syntax screen-up
3985 \end_layout
3986
3987 \begin_layout Subsection*
3988 screen-up-select
3989 \end_layout
3990
3991 \begin_layout Description
3992 Action Moves the cursor one page in upward direction adding the current position to the selection.
3993 \end_layout
3994
3995 \begin_layout Description
3996 Syntax screen-up-select
3997 \end_layout
3998
3999 \begin_layout Subsection*
4000 script-insert
4001 \end_layout
4002
4003 \begin_layout Description
4004 Action Inserts a subscript or superscript inset.
4005 \end_layout
4006
4007 \begin_layout Description
4008 Syntax script-insert <TYPE>
4009 \end_layout
4010
4011 \begin_layout Description
4012 Params <TYPE>: subscript|superscript
4013 \end_layout
4014
4015 \begin_layout Description
4016 Origin Georg, 23 Nov 2010
4017 \end_layout
4018
4019 \begin_layout Subsection*
4020 scroll
4021 \end_layout
4022
4023 \begin_layout Description
4024 Action Scroll the buffer view.
4025 \end_layout
4026
4027 \begin_layout Description
4028 Notion Only scrolls the screen up or down; does not move the cursor.
4029 \end_layout
4030
4031 \begin_layout Description
4032 Syntax scroll <TYPE> <QUANTITY>
4033 \end_layout
4034
4035 \begin_layout Description
4036 Params <TYPE>:  line|page
4037 \begin_inset Newline newline
4038 \end_inset
4039
4040 <QUANTITY>: up|down|<number>
4041 \end_layout
4042
4043 \begin_layout Description
4044 Origin Abdel, Dec 27 2007
4045 \end_layout
4046
4047 \begin_layout Subsection*
4048 search-string-set
4049 \end_layout
4050
4051 \begin_layout Description
4052 Action Set search string buffer.
4053 \end_layout
4054
4055 \begin_layout Description
4056 Syntax search-string-set [<DATA>]
4057 \end_layout
4058
4059 \begin_layout Description
4060 Params <DATA>: string to search for. If no parameter is given, use (word under) selection.
4061 \end_layout
4062
4063 \begin_layout Description
4064 Origin stwitt, spitz, Feb 12 2021
4065 \end_layout
4066
4067 \begin_layout Subsection*
4068 section-select
4069 \end_layout
4070
4071 \begin_layout Description
4072 Action Select the whole section.
4073 \end_layout
4074
4075 \begin_layout Description
4076 Notion The cursor should be in a section heading before calling this lfun.
4077 \end_layout
4078
4079 \begin_layout Description
4080 Syntax section-select
4081 \end_layout
4082
4083 \begin_layout Description
4084 Origin vfr, 05 May 2009
4085 \end_layout
4086
4087 \begin_layout Subsection*
4088 selection-paste
4089 \end_layout
4090
4091 \begin_layout Description
4092 Action Pastes the internal selection text in permanent selection.
4093 \end_layout
4094
4095 \begin_layout Description
4096 Notion Created in order to have middle mouse button pasting correct (bound to command-alternatives selection-paste ; primary-selection-paste paragraph).
4097 \end_layout
4098
4099 \begin_layout Description
4100 Syntax selection-paste
4101 \end_layout
4102
4103 \begin_layout Description
4104 Origin lasgouttes, 14 Jan 2009
4105 \end_layout
4106
4107 \begin_layout Subsection*
4108 separator-insert
4109 \end_layout
4110
4111 \begin_layout Description
4112 Action Inserts an environment separator or latex paragraph break.
4113 \end_layout
4114
4115 \begin_layout Description
4116 Syntax separator-insert [<ARG>]
4117 \end_layout
4118
4119 \begin_layout Description
4120 Params <ARG>: <plain|parbreak|latexpar> default: plain
4121 \end_layout
4122
4123 \begin_layout Description
4124 Origin ef, 2 May 2014
4125 \end_layout
4126
4127 \begin_layout Subsection*
4128 space-insert
4129 \end_layout
4130
4131 \begin_layout Description
4132 Action Inserts one of horizontal space insets.
4133 \end_layout
4134
4135 \begin_layout Description
4136 Syntax space-insert <NAME> [<LEN>]
4137 \end_layout
4138
4139 \begin_layout Description
4140 Params <NAME>: normal, protected, visible, thin, quad, qquad, enspace, enskip, negthinspace, negmedspace, negthickspace, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
4141 \begin_inset Newline newline
4142 \end_inset
4143
4144 Only in math mode: med and thick.
4145 \begin_inset Newline newline
4146 \end_inset
4147
4148 <LEN>: length for custom spaces (hspace, hspace* for protected)
4149 \end_layout
4150
4151 \begin_layout Description
4152 Origin spitz, 20 May 2003, Mar 17 2008
4153 \end_layout
4154
4155 \begin_layout Subsection*
4156 specialchar-insert
4157 \end_layout
4158
4159 \begin_layout Description
4160 Action Inserts various characters into the document.
4161 \end_layout
4162
4163 \begin_layout Description
4164 Syntax specialchar-insert <CHAR>
4165 \end_layout
4166
4167 \begin_layout Description
4168 Params <CHAR>: hyphenation, allowbreak, ligature-break, slash, nobreakdash, dots, end-of-sentence, menu-separator, lyx, tex, latex, latex2e.
4169 \end_layout
4170
4171 \begin_layout Description
4172 Origin spitz, 6 Dec 2007
4173 \end_layout
4174
4175 \begin_layout Subsection*
4176 spelling-add
4177 \end_layout
4178
4179 \begin_layout Description
4180 Action Add the word under the cursor to the respective spell checker dictionary. The default for the language is retrieved from the cursor position.
4181 \end_layout
4182
4183 \begin_layout Description
4184 Syntax spelling-add [<STRING>] [<LANG>]
4185 \end_layout
4186
4187 \begin_layout Description
4188 Params <WORD>: word to add
4189 \begin_inset Newline newline
4190 \end_inset
4191
4192 <LANG>: language name (see file languages)
4193 \end_layout
4194
4195 \begin_layout Description
4196 Origin spitz, 18 Jan 2010
4197 \end_layout
4198
4199 \begin_layout Subsection*
4200 spelling-add-local
4201 \end_layout
4202
4203 \begin_layout Description
4204 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.
4205 \end_layout
4206
4207 \begin_layout Description
4208 Syntax spelling-add-local [<STRING>] [<LANG>]
4209 \end_layout
4210
4211 \begin_layout Description
4212 Params <WORD>: word to add
4213 \begin_inset Newline newline
4214 \end_inset
4215
4216 <LANG>: language name (see file languages)
4217 \end_layout
4218
4219 \begin_layout Description
4220 Origin spitz, 6 Mar 2021
4221 \end_layout
4222
4223 \begin_layout Subsection*
4224 spelling-continuously
4225 \end_layout
4226
4227 \begin_layout Description
4228 Action Toggle continuous spell checking.
4229 \end_layout
4230
4231 \begin_layout Description
4232 Syntax spelling-continuously
4233 \end_layout
4234
4235 \begin_layout Description
4236 Origin vfr, 24 March 2013
4237 \end_layout
4238
4239 \begin_layout Subsection*
4240 spelling-ignore
4241 \end_layout
4242
4243 \begin_layout Description
4244 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.
4245 \end_layout
4246
4247 \begin_layout Description
4248 Syntax spelling-ignore [<WORD>] [<LANG>]
4249 \end_layout
4250
4251 \begin_layout Description
4252 Params <WORD>: word to ignore
4253 \begin_inset Newline newline
4254 \end_inset
4255
4256 <LANG>: language name (see file languages)
4257 \end_layout
4258
4259 \begin_layout Description
4260 Origin spitz, 18 Jan 2010
4261 \end_layout
4262
4263 \begin_layout Subsection*
4264 spelling-remove
4265 \end_layout
4266
4267 \begin_layout Description
4268 Action Remove the word under the cursor from the respective spell checker dictionary. The default for the language is retrieved from the cursor position.
4269 \end_layout
4270
4271 \begin_layout Description
4272 Syntax spelling-remove [<STRING>] [<LANG>]
4273 \end_layout
4274
4275 \begin_layout Description
4276 Params <WORD>: word to remove
4277 \begin_inset Newline newline
4278 \end_inset
4279
4280 <LANG>: language name (see file languages)
4281 \end_layout
4282
4283 \begin_layout Description
4284 Origin SWitt, 28 July 2010
4285 \end_layout
4286
4287 \begin_layout Subsection*
4288 spelling-remove-local
4289 \end_layout
4290
4291 \begin_layout Description
4292 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.
4293 \end_layout
4294
4295 \begin_layout Description
4296 Syntax spelling-remove-local [<STRING>] [<LANG>]
4297 \end_layout
4298
4299 \begin_layout Description
4300 Params <WORD>: word to remove
4301 \begin_inset Newline newline
4302 \end_inset
4303
4304 <LANG>: language name (see file languages)
4305 \end_layout
4306
4307 \begin_layout Description
4308 Origin spitz, 7 Mar 2021
4309 \end_layout
4310
4311 \begin_layout Subsection*
4312 tab-delete
4313 \end_layout
4314
4315 \begin_layout Description
4316 Action Delete a tab or up to an equivalent amount of spaces from a listings inset.
4317 \end_layout
4318
4319 \begin_layout Description
4320 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.
4321 \end_layout
4322
4323 \begin_layout Description
4324 Syntax tab-delete
4325 \end_layout
4326
4327 \begin_layout Description
4328 Origin vfr, Sep 30 2008
4329 \end_layout
4330
4331 \begin_layout Subsection*
4332 tab-insert
4333 \end_layout
4334
4335 \begin_layout Description
4336 Action Insert a tab into a listings inset.
4337 \end_layout
4338
4339 \begin_layout Description
4340 Notion It also works on a selection.
4341 \end_layout
4342
4343 \begin_layout Description
4344 Syntax tab-insert
4345 \end_layout
4346
4347 \begin_layout Description
4348 Origin vfr, Sep 30 2008
4349 \end_layout
4350
4351 \begin_layout Subsection*
4352 tabular-feature
4353 \end_layout
4354
4355 \begin_layout Description
4356 Action Modify properties of tabulars and table-like math environments.
4357 \end_layout
4358
4359 \begin_layout Description
4360 Syntax tabular-feature <FEATURE> [<ARG>]
4361 \end_layout
4362
4363 \begin_layout Description
4364 Params Generally see LFUN_INSET_INSERT for further details.
4365 \begin_inset Newline newline
4366 \end_inset
4367
4368 <FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|
4369 \begin_inset Newline newline
4370 \end_inset
4371
4372 copy-column|move-column-right|move-column-left|move-row-down|move-row-up|
4373 \begin_inset Newline newline
4374 \end_inset
4375
4376 set-line-top|set-line-bottom|set-line-left|set-line-right|
4377 \begin_inset Newline newline
4378 \end_inset
4379
4380 toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right|
4381 \begin_inset Newline newline
4382 \end_inset
4383
4384 set-ltrim-top|set-rtrim-top|set-ltrim-bottom|set-rtrim-bottom
4385 \begin_inset Newline newline
4386 \end_inset
4387
4388 toggle-ltrim-top|toggle-rtrim-top|toggle-ltrim-bottom|toggle-rtrim-bottom
4389 \begin_inset Newline newline
4390 \end_inset
4391
4392 align-left|align-right|align-center|align-block|align-decimal|set-decimal-point|
4393 \begin_inset Newline newline
4394 \end_inset
4395
4396 valign-top|valign-bottom|valign-middle|longtabular-align-left|
4397 \begin_inset Newline newline
4398 \end_inset
4399
4400 longtabular-align-center|longtabular-align-right|m-align-left|m-align-right|
4401 \begin_inset Newline newline
4402 \end_inset
4403
4404 m-align-center|m-valign-top|m-valign-bottom|m-valign-middle|multicolumn|
4405 \begin_inset Newline newline
4406 \end_inset
4407
4408 reset-formal-default|set-all-lines|toggle-all-lines|unset-all-lines|
4409 \begin_inset Newline newline
4410 \end_inset
4411
4412 toggle-longtabular|set-longtabular|unset-longtabular|set-pwidth|
4413 \begin_inset Newline newline
4414 \end_inset
4415
4416 set-mpwidth|set-rotate-tabular|unset-rotate-tabular|toggle-rotate-tabular|
4417 \begin_inset Newline newline
4418 \end_inset
4419
4420 set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|set-usebox|set-lthead|
4421 \begin_inset Newline newline
4422 \end_inset
4423
4424 unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot|unset-ltfoot|
4425 \begin_inset Newline newline
4426 \end_inset
4427
4428 set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption|
4429 \begin_inset Newline newline
4430 \end_inset
4431
4432 set-special-column|set-special-multicolumn|set-special-multirow|
4433 \begin_inset Newline newline
4434 \end_inset
4435
4436 toggle-booktabs|set-booktabs|unset-booktabs|set-top-space|set-bottom-space|
4437 \begin_inset Newline newline
4438 \end_inset
4439
4440 set-interline-space|tabular-valign-top|tabular-valign-middle|
4441 \begin_inset Newline newline
4442 \end_inset
4443
4444 tabular-valign-bottom|set-tabular-width|toggle-varwidth-column|
4445 \begin_inset Newline newline
4446 \end_inset
4447
4448 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
4449 \begin_inset Newline newline
4450 \end_inset
4451
4452 the Grid/Array environment.
4453 \begin_inset Newline newline
4454 \end_inset
4455
4456 <ARG>: additional argument for some commands, use debug mode to explore its values.
4457 \end_layout
4458
4459 \begin_layout Description
4460 Origin gm, 10 Dec 2015
4461 \end_layout
4462
4463 \begin_layout Subsection*
4464 tabular-insert
4465 \end_layout
4466
4467 \begin_layout Description
4468 Action Inserts table into the document.
4469 \end_layout
4470
4471 \begin_layout Description
4472 Notion See LFUN_TABULAR_FEATURE for some more details about tabular modifications.
4473 \end_layout
4474
4475 \begin_layout Description
4476 Syntax tabular-insert [<ROWS> <COLUMNS>]
4477 \end_layout
4478
4479 \begin_layout Description
4480 Params In case no arguments are given show insert dialog.
4481 \end_layout
4482
4483 \begin_layout Description
4484 Origin Jug, 12 Apr 2000
4485 \end_layout
4486
4487 \begin_layout Subsection*
4488 tabular-style-insert
4489 \end_layout
4490
4491 \begin_layout Description
4492 Action Inserts table of a given style into the document.
4493 \end_layout
4494
4495 \begin_layout Description
4496 Notion See LFUN_TABULAR_FEATURE for some more details          about tabular modifications.
4497 \end_layout
4498
4499 \begin_layout Description
4500 Syntax tabular-style-insert <style> <ROWS> <COLUMNS>
4501 \end_layout
4502
4503 \begin_layout Description
4504 Params Valid styles are the names of the files in lib/tabletemplates, minus _1x<n> and .lyx suffix.
4505 \end_layout
4506
4507 \begin_layout Description
4508 Origin spitz, 25 Mar 2019
4509 \end_layout
4510
4511 \begin_layout Subsection*
4512 thesaurus-entry
4513 \end_layout
4514
4515 \begin_layout Description
4516 Action Look up thesaurus entries with respect to the word under the cursor.
4517 \end_layout
4518
4519 \begin_layout Description
4520 Syntax thesaurus-entry [<STRING>] [lang=<LANG>]
4521 \end_layout
4522
4523 \begin_layout Description
4524 Params <STRING>: word to look up
4525 \begin_inset Newline newline
4526 \end_inset
4527
4528 <LANG>: language (see file languages)
4529 \end_layout
4530
4531 \begin_layout Description
4532 Origin Levon, 20 Jul 2001
4533 \end_layout
4534
4535 \begin_layout Subsection*
4536 undo
4537 \end_layout
4538
4539 \begin_layout Description
4540 Action Undoes the last edit.
4541 \end_layout
4542
4543 \begin_layout Description
4544 Syntax undo
4545 \end_layout
4546
4547 \begin_layout Subsection*
4548 unicode-insert
4549 \end_layout
4550
4551 \begin_layout Description
4552 Action Inserts a single unicode character.
4553 \end_layout
4554
4555 \begin_layout Description
4556 Syntax unicode-insert <CHAR1> <CHAR2> ...
4557 \end_layout
4558
4559 \begin_layout Description
4560 Params <CHARn>: The character to insert, given as its code point, in hexadecimal.
4561 \end_layout
4562
4563 \begin_layout Description
4564 Sample unicode-insert 0x0100 0x0259
4565 \end_layout
4566
4567 \begin_layout Description
4568 Origin Lgb, 22 Oct 2006
4569 \end_layout
4570
4571 \begin_layout Subsection*
4572 up
4573 \end_layout
4574
4575 \begin_layout Description
4576 Action Moves the cursor one line in upward direction.
4577 \end_layout
4578
4579 \begin_layout Description
4580 Syntax up
4581 \end_layout
4582
4583 \begin_layout Subsection*
4584 up-select
4585 \end_layout
4586
4587 \begin_layout Description
4588 Action Moves the cursor one line in upward direction adding the current position to the selection.
4589 \end_layout
4590
4591 \begin_layout Description
4592 Syntax up-select
4593 \end_layout
4594
4595 \begin_layout Subsection*
4596 word-backward
4597 \end_layout
4598
4599 \begin_layout Description
4600 Action Moves the cursor to the logically previous beginning of a word.
4601 \end_layout
4602
4603 \begin_layout Description
4604 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.
4605 \end_layout
4606
4607 \begin_layout Description
4608 Syntax word-backward
4609 \end_layout
4610
4611 \begin_layout Subsection*
4612 word-backward-select
4613 \end_layout
4614
4615 \begin_layout Description
4616 Action Moves the cursor to the logically previous beginning of a word, adding the logically traversed text to the selection.
4617 \end_layout
4618
4619 \begin_layout Description
4620 Notion See also LFUN_WORD_BACKWARD.
4621 \end_layout
4622
4623 \begin_layout Description
4624 Syntax word-backward-select
4625 \end_layout
4626
4627 \begin_layout Subsection*
4628 word-capitalize
4629 \end_layout
4630
4631 \begin_layout Description
4632 Action Capitalizes the words in the selection (i.e. the first letters) or the first letter of word at cursor position.
4633 \end_layout
4634
4635 \begin_layout Description
4636 Syntax word-capitalize [<SEL_TYPE>]
4637 \end_layout
4638
4639 \begin_layout Description
4640 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.
4641 \end_layout
4642
4643 \begin_layout Subsection*
4644 word-delete-backward
4645 \end_layout
4646
4647 \begin_layout Description
4648 Action Deletes characters to the beginning of the word (usually the "C+BackSpace" key).
4649 \end_layout
4650
4651 \begin_layout Description
4652 Syntax word-delete-backward [confirm]
4653 \end_layout
4654
4655 \begin_layout Description
4656 Params confirm: Select big insets, do not directly delete them.
4657 \end_layout
4658
4659 \begin_layout Subsection*
4660 word-delete-forward
4661 \end_layout
4662
4663 \begin_layout Description
4664 Action Deletes characters to the end of the word (usually the "C+Delete" key).
4665 \end_layout
4666
4667 \begin_layout Description
4668 Syntax word-delete-forward [confirm]
4669 \end_layout
4670
4671 \begin_layout Description
4672 Params confirm: Select big insets, do not directly delete them.
4673 \end_layout
4674
4675 \begin_layout Subsection*
4676 word-find
4677 \end_layout
4678
4679 \begin_layout Description
4680 Action Search for next occurrence of a string.
4681 \end_layout
4682
4683 \begin_layout Description
4684 Syntax word-find [<DATA>]
4685 \end_layout
4686
4687 \begin_layout Description
4688 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).
4689 \end_layout
4690
4691 \begin_layout Description
4692 Origin Andre, Jan 7 2004
4693 \end_layout
4694
4695 \begin_layout Subsection*
4696 word-find-backward
4697 \end_layout
4698
4699 \begin_layout Description
4700 Action Search for a given string in backward direction.
4701 \end_layout
4702
4703 \begin_layout Description
4704 Notion Case sensitive, match words. If no argument given, last search repeated.
4705 \end_layout
4706
4707 \begin_layout Description
4708 Syntax word-find-backward [<STRING>]
4709 \end_layout
4710
4711 \begin_layout Description
4712 Origin Etienne, 20 Feb 1998
4713 \end_layout
4714
4715 \begin_layout Subsection*
4716 word-find-forward
4717 \end_layout
4718
4719 \begin_layout Description
4720 Action Search for a given string in forward direction.
4721 \end_layout
4722
4723 \begin_layout Description
4724 Notion Case sensitive, match words. If no argument given, last search repeated.
4725 \end_layout
4726
4727 \begin_layout Description
4728 Syntax word-find-forward [<STRING>]
4729 \end_layout
4730
4731 \begin_layout Description
4732 Origin Etienne, 16 Feb 1998
4733 \end_layout
4734
4735 \begin_layout Subsection*
4736 word-findadv
4737 \end_layout
4738
4739 \begin_layout Description
4740 Action Search for next occurrence of a pattern.
4741 \end_layout
4742
4743 \begin_layout Description
4744 Syntax word-findadv [<DATA>]
4745 \end_layout
4746
4747 \begin_layout Description
4748 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).
4749 \end_layout
4750
4751 \begin_layout Description
4752 Origin Tommaso, Nov 15 2007
4753 \end_layout
4754
4755 \begin_layout Subsection*
4756 word-forward
4757 \end_layout
4758
4759 \begin_layout Description
4760 Action Moves the cursor to the logically next beginning of a word.
4761 \end_layout
4762
4763 \begin_layout Description
4764 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.
4765 \end_layout
4766
4767 \begin_layout Description
4768 Syntax word-forward
4769 \end_layout
4770
4771 \begin_layout Subsection*
4772 word-forward-select
4773 \end_layout
4774
4775 \begin_layout Description
4776 Action Moves the cursor to the logically next beginning of a word, adding the logically traversed text to the selection.
4777 \end_layout
4778
4779 \begin_layout Description
4780 Notion See also LFUN_WORD_FORWARD.
4781 \end_layout
4782
4783 \begin_layout Description
4784 Syntax word-forward-select
4785 \end_layout
4786
4787 \begin_layout Subsection*
4788 word-left
4789 \end_layout
4790
4791 \begin_layout Description
4792 Action Moves the cursor to the next beginning of a word "on the left".
4793 \end_layout
4794
4795 \begin_layout Description
4796 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.
4797 \end_layout
4798
4799 \begin_layout Description
4800 Syntax word-left
4801 \end_layout
4802
4803 \begin_layout Description
4804 Origin dov, 28 Oct 2007
4805 \end_layout
4806
4807 \begin_layout Subsection*
4808 word-left-select
4809 \end_layout
4810
4811 \begin_layout Description
4812 Action Moves the cursor to the next beginning of a word "on the left", adding *logically* traversed text to the selection.
4813 \end_layout
4814
4815 \begin_layout Description
4816 Notion See also LFUN_WORD_LEFT for exact details of the movement.
4817 \end_layout
4818
4819 \begin_layout Description
4820 Syntax word-left-select
4821 \end_layout
4822
4823 \begin_layout Description
4824 Origin dov, 28 Oct 2007
4825 \end_layout
4826
4827 \begin_layout Subsection*
4828 word-lowcase
4829 \end_layout
4830
4831 \begin_layout Description
4832 Action Change the words in the selection or word at cursor position to lower case.
4833 \end_layout
4834
4835 \begin_layout Description
4836 Syntax word-lowcase [<SEL_TYPE>]
4837 \end_layout
4838
4839 \begin_layout Description
4840 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.
4841 \end_layout
4842
4843 \begin_layout Subsection*
4844 word-replace
4845 \end_layout
4846
4847 \begin_layout Description
4848 Action Replace a string in the document.
4849 \end_layout
4850
4851 \begin_layout Description
4852 Syntax word-replace [<DATA>]
4853 \end_layout
4854
4855 \begin_layout Description
4856 Params <DATA>: data is of the form "<replacestring>
4857 \begin_inset Newline newline
4858 \end_inset
4859
4860 <searchstring>
4861 \begin_inset Newline newline
4862 \end_inset
4863
4864 <casesensitive> <matchword> <all> <forward> <findnext>"
4865 \end_layout
4866
4867 \begin_layout Description
4868 Origin Andre, Jan 7 2004
4869 \end_layout
4870
4871 \begin_layout Subsection*
4872 word-right
4873 \end_layout
4874
4875 \begin_layout Description
4876 Action Moves the cursor to the next beginning of a word "on the right".
4877 \end_layout
4878
4879 \begin_layout Description
4880 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.
4881 \end_layout
4882
4883 \begin_layout Description
4884 Syntax word-right
4885 \end_layout
4886
4887 \begin_layout Description
4888 Origin dov, 28 Oct 2007
4889 \end_layout
4890
4891 \begin_layout Subsection*
4892 word-right-select
4893 \end_layout
4894
4895 \begin_layout Description
4896 Action Moves the cursor to the next beginning of a word "on the right", adding *logically* traversed text to the selection.
4897 \end_layout
4898
4899 \begin_layout Description
4900 Notion See also LFUN_WORD_RIGHT for exact details of the movement.
4901 \end_layout
4902
4903 \begin_layout Description
4904 Syntax word-right-select
4905 \end_layout
4906
4907 \begin_layout Description
4908 Origin dov, 28 Oct 2007
4909 \end_layout
4910
4911 \begin_layout Subsection*
4912 word-select
4913 \end_layout
4914
4915 \begin_layout Description
4916 Action Puts the word where the cursor stands into the selection.
4917 \end_layout
4918
4919 \begin_layout Description
4920 Syntax word-select
4921 \end_layout
4922
4923 \begin_layout Description
4924 Origin Andre, 11 Sep 2002
4925 \end_layout
4926
4927 \begin_layout Subsection*
4928 word-upcase
4929 \end_layout
4930
4931 \begin_layout Description
4932 Action Change the words in the selection or word at cursor position to upper case.
4933 \end_layout
4934
4935 \begin_layout Description
4936 Syntax word-upcase [<SEL_TYPE>]
4937 \end_layout
4938
4939 \begin_layout Description
4940 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.
4941 \end_layout
4942
4943 \begin_layout Subsection*
4944 wrap-insert
4945 \end_layout
4946
4947 \begin_layout Description
4948 Action Inserts floats wrapped by the text around.
4949 \end_layout
4950
4951 \begin_layout Description
4952 Syntax wrap-insert <TYPE>
4953 \end_layout
4954
4955 \begin_layout Description
4956 Params <TYPE>: table|figure
4957 \end_layout
4958
4959 \begin_layout Description
4960 Origin Dekel, 7 Apr 2002
4961 \end_layout
4962
4963 \begin_layout Section
4964 Math Editor Functions
4965 \end_layout
4966
4967 \begin_layout Subsection*
4968 in-mathmacrotemplate
4969 \end_layout
4970
4971 \begin_layout Description
4972 Action Only active in Math Macro definition.
4973 \end_layout
4974
4975 \begin_layout Description
4976 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.
4977 \end_layout
4978
4979 \begin_layout Description
4980 Syntax in-mathmacrotemplate
4981 \end_layout
4982
4983 \begin_layout Description
4984 Origin sts, 06 January 2008
4985 \end_layout
4986
4987 \begin_layout Subsection*
4988 math-ams-matrix
4989 \end_layout
4990
4991 \begin_layout Description
4992 Action Inserts an extended matrix as provided by the amsmath package.
4993 \end_layout
4994
4995 \begin_layout Description
4996 Syntax math-matrix <COLS> <ROWS> [<DECORATION>]
4997 \end_layout
4998
4999 \begin_layout Description
5000 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'.
5001 \end_layout
5002
5003 \begin_layout Description
5004 Sample math-ams-matrix 3 3 bmatrix
5005 \end_layout
5006
5007 \begin_layout Subsection*
5008 math-bigdelim
5009 \end_layout
5010
5011 \begin_layout Description
5012 Action Inserts math fixed size delimiters (e.g. parentheses, brackets) enclosing expression.
5013 \end_layout
5014
5015 \begin_layout Description
5016 Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
5017 \end_layout
5018
5019 \begin_layout Description
5020 Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
5021 \begin_inset Newline newline
5022 \end_inset
5023
5024 <L/RDELIM>: TeX code for delimiter. See Delimiter dialog for delimiters to be used.
5025 \end_layout
5026
5027 \begin_layout Description
5028 Sample math-bigdelim "Bigl" "
5029 \backslash
5030 Downarrow" "Bigr" "
5031 \backslash
5032 }"
5033 \end_layout
5034
5035 \begin_layout Description
5036 Origin Enrico & Georg, 7 May 2006
5037 \end_layout
5038
5039 \begin_layout Subsection*
5040 math-delim
5041 \end_layout
5042
5043 \begin_layout Description
5044 Action Inserts math delimiters (e.g. parentheses, brackets) enclosing expression.
5045 \end_layout
5046
5047 \begin_layout Description
5048 Syntax math-delim [<LEFT>] [<RIGHT>]
5049 \end_layout
5050
5051 \begin_layout Description
5052 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.
5053 \end_layout
5054
5055 \begin_layout Description
5056 Sample math-delim { rangle
5057 \end_layout
5058
5059 \begin_layout Description
5060 Origin Alejandro, 18 Jun 1996
5061 \end_layout
5062
5063 \begin_layout Subsection*
5064 math-display
5065 \end_layout
5066
5067 \begin_layout Description
5068 Action Creates a new displayed equation in text mode. Toggles inlined/display formula in math mode.
5069 \end_layout
5070
5071 \begin_layout Description
5072 Syntax math-display [<ARG>]
5073 \end_layout
5074
5075 \begin_layout Description
5076 Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating new equation from the text mode.
5077 \end_layout
5078
5079 \begin_layout Description
5080 Origin Alejandro, 18 Jun 1996
5081 \end_layout
5082
5083 \begin_layout Subsection*
5084 math-extern
5085 \end_layout
5086
5087 \begin_layout Description
5088 Action Calls external program and passes the current expression/equation as an argument for the calculation in the format appropriate to the given language.
5089 \end_layout
5090
5091 \begin_layout Description
5092 Notion Selection can be used to determine the input for the external program.
5093 \end_layout
5094
5095 \begin_layout Description
5096 Syntax math-extern <LANG> [<COMMAND>]
5097 \end_layout
5098
5099 \begin_layout Description
5100 Params <LANG>: octave|maxima|maple|mathematica|script
5101 \begin_inset Newline newline
5102 \end_inset
5103
5104 where "script" stands for the external script (normalized expression will be passed)
5105 \end_layout
5106
5107 \begin_layout Description
5108 Sample math-extern maple simplify
5109 \end_layout
5110
5111 \begin_layout Description
5112 Origin Andre, 24 Apr 2001
5113 \end_layout
5114
5115 \begin_layout Subsection*
5116 math-font-style
5117 \end_layout
5118
5119 \begin_layout Description
5120 Action Changes the text style used in math.
5121 \end_layout
5122
5123 \begin_layout Description
5124 Syntax math-font-style <STYLE>
5125 \end_layout
5126
5127 \begin_layout Description
5128 Params <STYLE>: mathnormal|mathcal|mathfrak|mathrm|mathsf|mathbf|textnormal
5129 \begin_inset Newline newline
5130 \end_inset
5131
5132 |textrm|textsf|texttt|textbf|textmd|textit|textsc|textsl|textup
5133 \end_layout
5134
5135 \begin_layout Description
5136 Origin vfr, 9 jan 2009
5137 \end_layout
5138
5139 \begin_layout Subsection*
5140 math-insert
5141 \end_layout
5142
5143 \begin_layout Description
5144 Action Inserts math objects and symbols.
5145 \end_layout
5146
5147 \begin_layout Description
5148 Notion When <ARG> is a _single_ math inset with more than one cell (such as "x_y^z" or "
5149 \backslash
5150 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 
5151 \backslash
5152 frac{x}{y}" replaces "abc" with "
5153 \backslash
5154 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.
5155 \end_layout
5156
5157 \begin_layout Description
5158 Syntax math-insert <ARG>
5159 \end_layout
5160
5161 \begin_layout Description
5162 Params <ARG>: Symbol or LaTeX code to be inserted.
5163 \end_layout
5164
5165 \begin_layout Subsection*
5166 math-limits
5167 \end_layout
5168
5169 \begin_layout Description
5170 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.
5171 \end_layout
5172
5173 \begin_layout Description
5174 Notion Put the cursor before the symbol with the limits and then invoke math-limits.
5175 \end_layout
5176
5177 \begin_layout Description
5178 Syntax math-limits [<STATE>]
5179 \end_layout
5180
5181 \begin_layout Description
5182 Params <STATE>: limits|nolimits
5183 \end_layout
5184
5185 \begin_layout Subsection*
5186 math-macro
5187 \end_layout
5188
5189 \begin_layout Description
5190 Action Inserts a math macro definition at the cursor position in the text.
5191 \end_layout
5192
5193 \begin_layout Description
5194 Syntax math-macro <NAME> [<NARGS>] [def]
5195 \end_layout
5196
5197 \begin_layout Description
5198 Params <NAME>: The name of the macro, e.g. "mymacro".
5199 \begin_inset Newline newline
5200 \end_inset
5201
5202 <NARGS>: The number of parameters of the macro. Default is 0. "def": Has no effect anymore, just for compatibility with former LyX versions.
5203 \end_layout
5204
5205 \begin_layout Description
5206 Origin ale, 10 May 1997;  sts, 21 Dec 2007
5207 \end_layout
5208
5209 \begin_layout Subsection*
5210 math-macro-add-greedy-optional-param
5211 \end_layout
5212
5213 \begin_layout Description
5214 Action Add a greedy optional parameter.
5215 \end_layout
5216
5217 \begin_layout Description
5218 Notion Add a greedy optional parameter which eats the value from the following cells in mathed which are in the [value] format.
5219 \end_layout
5220
5221 \begin_layout Description
5222 Syntax math-macro-add-greedy-optional-param
5223 \end_layout
5224
5225 \begin_layout Description
5226 Origin sts, 06 January 2008
5227 \end_layout
5228
5229 \begin_layout Subsection*
5230 math-macro-add-optional-param
5231 \end_layout
5232
5233 \begin_layout Description
5234 Action Add an optional parameter.
5235 \end_layout
5236
5237 \begin_layout Description
5238 Notion Insert an optional parameter just behind the already existing optional parameters.
5239 \end_layout
5240
5241 \begin_layout Description
5242 Syntax math-macro-add-optional-param
5243 \end_layout
5244
5245 \begin_layout Description
5246 Origin sts, 06 January 2008
5247 \end_layout
5248
5249 \begin_layout Subsection*
5250 math-macro-add-param
5251 \end_layout
5252
5253 \begin_layout Description
5254 Action Add a parameter.
5255 \end_layout
5256
5257 \begin_layout Description
5258 Notion Add a parameter to a Math Macro.
5259 \end_layout
5260
5261 \begin_layout Description
5262 Syntax math-macro-add-param <NUM>
5263 \end_layout
5264
5265 \begin_layout Description
5266 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.
5267 \end_layout
5268
5269 \begin_layout Description
5270 Origin sts, 06 January 2008
5271 \end_layout
5272
5273 \begin_layout Subsection*
5274 math-macro-append-greedy-param
5275 \end_layout
5276
5277 \begin_layout Description
5278 Action Append a greedy parameter.
5279 \end_layout
5280
5281 \begin_layout Description
5282 Notion Append a greedy parameter to a Math Macro which eats the following mathed cell in every instance of the macro in the buffer.
5283 \end_layout
5284
5285 \begin_layout Description
5286 Syntax math-macro-append-greedy-param
5287 \end_layout
5288
5289 \begin_layout Description
5290 Origin sts, 06 January 2008
5291 \end_layout
5292
5293 \begin_layout Subsection*
5294 math-macro-fold
5295 \end_layout
5296
5297 \begin_layout Description
5298 Action Fold a Math Macro.
5299 \end_layout
5300
5301 \begin_layout Description
5302 Notion Fold the Math Macro the cursor is in if it was unfolded, i.e. displayed as 
5303 \backslash
5304 foo before.
5305 \end_layout
5306
5307 \begin_layout Description
5308 Syntax math-macro-fold
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-make-nonoptional
5317 \end_layout
5318
5319 \begin_layout Description
5320 Action Make a parameter non-optional.
5321 \end_layout
5322
5323 \begin_layout Description
5324 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.
5325 \end_layout
5326
5327 \begin_layout Description
5328 Syntax math-macro-make-nonoptional
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-make-optional
5337 \end_layout
5338
5339 \begin_layout Description
5340 Action Make a parameter optional.
5341 \end_layout
5342
5343 \begin_layout Description
5344 Notion Turn the first non-optional parameter of a Math Macro into an optional parameter with a default value.
5345 \end_layout
5346
5347 \begin_layout Description
5348 Syntax math-macro-make-optional
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-greedy-param
5357 \end_layout
5358
5359 \begin_layout Description
5360 Action Remove a greedy parameter.
5361 \end_layout
5362
5363 \begin_layout Description
5364 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.
5365 \end_layout
5366
5367 \begin_layout Description
5368 Syntax math-macro-remove-greedy-param
5369 \end_layout
5370
5371 \begin_layout Description
5372 Origin sts, 06 January 2008
5373 \end_layout
5374
5375 \begin_layout Subsection*
5376 math-macro-remove-optional-param
5377 \end_layout
5378
5379 \begin_layout Description
5380 Action Remove the last optional parameter.
5381 \end_layout
5382
5383 \begin_layout Description
5384 Notion Remove the last optional parameter of a Math Macro and remove it in all the instances of the macro in the buffer.
5385 \end_layout
5386
5387 \begin_layout Description
5388 Syntax math-macro-remove-optional-param
5389 \end_layout
5390
5391 \begin_layout Description
5392 Origin sts, 06 January 2008
5393 \end_layout
5394
5395 \begin_layout Subsection*
5396 math-macro-remove-param
5397 \end_layout
5398
5399 \begin_layout Description
5400 Action Remove the last parameter.
5401 \end_layout
5402
5403 \begin_layout Description
5404 Notion Remove the last parameter of a Math Macro and remove its value in all instances of the macro in the buffer.
5405 \end_layout
5406
5407 \begin_layout Description
5408 Syntax math-macro-remove-param <NUM>
5409 \end_layout
5410
5411 \begin_layout Description
5412 Params <NUM>: The number of the parameter to be deleted (1 for the first), defaults to the last one.
5413 \end_layout
5414
5415 \begin_layout Description
5416 Origin sts, 06 January 2008
5417 \end_layout
5418
5419 \begin_layout Subsection*
5420 math-macro-unfold
5421 \end_layout
5422
5423 \begin_layout Description
5424 Action Unfold a Math Macro.
5425 \end_layout
5426
5427 \begin_layout Description
5428 Notion Unfold the Math Macro the cursor is in, i.e. display it as 
5429 \backslash
5430 foo.
5431 \end_layout
5432
5433 \begin_layout Description
5434 Syntax math-macro-unfold
5435 \end_layout
5436
5437 \begin_layout Description
5438 Origin sts, 06 January 2008
5439 \end_layout
5440
5441 \begin_layout Subsection*
5442 math-matrix
5443 \end_layout
5444
5445 \begin_layout Description
5446 Action Inserts a matrix.
5447 \end_layout
5448
5449 \begin_layout Description
5450 Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
5451 \end_layout
5452
5453 \begin_layout Description
5454 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).
5455 \end_layout
5456
5457 \begin_layout Description
5458 Sample math-matrix 3 3 bccc
5459 \end_layout
5460
5461 \begin_layout Subsection*
5462 math-mode
5463 \end_layout
5464
5465 \begin_layout Description
5466 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.
5467 \end_layout
5468
5469 \begin_layout Description
5470 Notion If there is some selected text, it puts the text inside created math box.
5471 \end_layout
5472
5473 \begin_layout Description
5474 Syntax math-mode [on|<ARG>]
5475 \end_layout
5476
5477 \begin_layout Description
5478 Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT .
5479 \begin_inset Newline newline
5480 \end_inset
5481
5482 "on": allow only entering of math mode from text mode.
5483 \end_layout
5484
5485 \begin_layout Description
5486 Origin Alejandro, 4 Jun 1996
5487 \end_layout
5488
5489 \begin_layout Subsection*
5490 math-mutate
5491 \end_layout
5492
5493 \begin_layout Description
5494 Action Mutates the type of math inset to the newly selected one.
5495 \end_layout
5496
5497 \begin_layout Description
5498 Syntax math-mutate <TYPE>
5499 \end_layout
5500
5501 \begin_layout Description
5502 Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat| multline|gather|flalign
5503 \end_layout
5504
5505 \begin_layout Description
5506 Origin Andre, 23 May 2001
5507 \end_layout
5508
5509 \begin_layout Subsection*
5510 math-number-line-toggle
5511 \end_layout
5512
5513 \begin_layout Description
5514 Action Toggles numbering of the current formula line.
5515 \end_layout
5516
5517 \begin_layout Description
5518 Notion Must be in display formula mode.
5519 \end_layout
5520
5521 \begin_layout Description
5522 Syntax math-number-line-toggle
5523 \end_layout
5524
5525 \begin_layout Description
5526 Origin Alejandro, 18 Jun 1996
5527 \end_layout
5528
5529 \begin_layout Subsection*
5530 math-number-toggle
5531 \end_layout
5532
5533 \begin_layout Description
5534 Action Toggles numbering/labeling of the current formula.
5535 \end_layout
5536
5537 \begin_layout Description
5538 Notion Must be in display formula mode.
5539 \end_layout
5540
5541 \begin_layout Description
5542 Syntax math-number-toggle
5543 \end_layout
5544
5545 \begin_layout Description
5546 Origin Alejandro, 4 Jun 1996
5547 \end_layout
5548
5549 \begin_layout Subsection*
5550 math-size
5551 \end_layout
5552
5553 \begin_layout Description
5554 Action Changes arbitrarily the size used by math fonts inside a context.
5555 \end_layout
5556
5557 \begin_layout Description
5558 Notion Provides an interface to the LaTeX math mode font size commands.
5559 \end_layout
5560
5561 \begin_layout Description
5562 Syntax math-size <STYLE>
5563 \end_layout
5564
5565 \begin_layout Description
5566 Params <STYLE>: 
5567 \backslash
5568 displaystyle|
5569 \backslash
5570 textstyle|
5571 \backslash
5572 scriptstyle|
5573 \backslash
5574 scriptscriptstyle
5575 \end_layout
5576
5577 \begin_layout Description
5578 Origin Alejandro, 15 Aug 1996; sanda, 14 Jun 2008
5579 \end_layout
5580
5581 \begin_layout Subsection*
5582 math-space
5583 \end_layout
5584
5585 \begin_layout Description
5586 Action Inserts space into math expression.
5587 \end_layout
5588
5589 \begin_layout Description
5590 Notion Use spacebar after entering this space to change type of space.
5591 \end_layout
5592
5593 \begin_layout Description
5594 Syntax math-space [<TYPE>] [<LEN>]
5595 \end_layout
5596
5597 \begin_layout Description
5598 Params <TYPE>: negative spaces: !|negthinspace|negmedspace|negthickspace
5599 \begin_inset Newline newline
5600 \end_inset
5601
5602 positive spaces: ,|thinspace|:|medspace|;|thickspace|enskip|quad|qquad
5603 \begin_inset Newline newline
5604 \end_inset
5605
5606 custom space: hspace
5607 \begin_inset Newline newline
5608 \end_inset
5609
5610 "," used by default.
5611 \begin_inset Newline newline
5612 \end_inset
5613
5614 Note that ! is equivalent to negthinspace, , = thinspace, : = medspace, and ; = thickspace.
5615 \begin_inset Newline newline
5616 \end_inset
5617
5618 <LEN>: length for custom spaces (hspace)
5619 \end_layout
5620
5621 \begin_layout Description
5622 Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
5623 \end_layout
5624
5625 \begin_layout Subsection*
5626 math-subscript
5627 \end_layout
5628
5629 \begin_layout Description
5630 Action Enters subscript expression in math expression.
5631 \end_layout
5632
5633 \begin_layout Description
5634 Syntax math-subscript
5635 \end_layout
5636
5637 \begin_layout Description
5638 Origin vermeer, 12 Dec 2001
5639 \end_layout
5640
5641 \begin_layout Subsection*
5642 math-superscript
5643 \end_layout
5644
5645 \begin_layout Description
5646 Action Enters superscript expression in math expression.
5647 \end_layout
5648
5649 \begin_layout Description
5650 Syntax math-superscript
5651 \end_layout
5652
5653 \begin_layout Description
5654 Origin vermeer, 12 Dec 2001
5655 \end_layout
5656
5657 \begin_layout Subsection*
5658 regexp-mode
5659 \end_layout
5660
5661 \begin_layout Description
5662 Action Enters regexp mode (i.e., puts regexp insets on the current cursor position). Used by the advanced search dialog.
5663 \end_layout
5664
5665 \begin_layout Description
5666 Notion If there is any selected text, then it is moved inside the created regexp inset.
5667 \end_layout
5668
5669 \begin_layout Description
5670 Syntax regexp-mode [<ARG>]
5671 \end_layout
5672
5673 \begin_layout Description
5674 Params <ARG>: eventual argument (regular expression).
5675 \end_layout
5676
5677 \begin_layout Description
5678 Origin Tommaso, 4 Oct 2008
5679 \end_layout
5680
5681 \begin_layout Section
5682 Buffer Fuctions (File and Window related)
5683 \end_layout
5684
5685 \begin_layout Subsection*
5686 branch-activate
5687 \end_layout
5688
5689 \begin_layout Description
5690 Action Activate the branch.
5691 \end_layout
5692
5693 \begin_layout Description
5694 Syntax branch-activate <BRANCH>
5695 \end_layout
5696
5697 \begin_layout Description
5698 Params <BRANCH>: The branch to activate
5699 \end_layout
5700
5701 \begin_layout Description
5702 Sample lyx -x "branch-activate answers" -e pdf2 finalexam.lyx
5703 \begin_inset Newline newline
5704 \end_inset
5705
5706 could be used to export a pdf with the answers branch included without one's having to open LyX and activate the branch manually.
5707 \end_layout
5708
5709 \begin_layout Description
5710 Origin rgh, 27 May 2008
5711 \end_layout
5712
5713 \begin_layout Subsection*
5714 branch-add
5715 \end_layout
5716
5717 \begin_layout Description
5718 Action Add a branch to the buffer's BranchList.
5719 \end_layout
5720
5721 \begin_layout Description
5722 Syntax branch-add <BRANCH>
5723 \end_layout
5724
5725 \begin_layout Description
5726 Params <BRANCH>: Name of the branch to add
5727 \end_layout
5728
5729 \begin_layout Description
5730 Origin spitz, 7 Jul 2009
5731 \end_layout
5732
5733 \begin_layout Subsection*
5734 branch-add-insert
5735 \end_layout
5736
5737 \begin_layout Description
5738 Action Create new branch and directly put the branch inset into the document.
5739 \end_layout
5740
5741 \begin_layout Description
5742 Syntax branch-add-insert [<NAME>]
5743 \end_layout
5744
5745 \begin_layout Description
5746 Params <NAME>: Branch name. If it is not specified, you will be asked.
5747 \end_layout
5748
5749 \begin_layout Description
5750 Origin sanda, 10 Jul 2009
5751 \end_layout
5752
5753 \begin_layout Subsection*
5754 branch-deactivate
5755 \end_layout
5756
5757 \begin_layout Description
5758 Action De-activate the branch.
5759 \end_layout
5760
5761 \begin_layout Description
5762 Syntax branch-deactivate <BRANCH>
5763 \end_layout
5764
5765 \begin_layout Description
5766 Params <BRANCH>: The branch to deactivate
5767 \end_layout
5768
5769 \begin_layout Description
5770 Origin rgh, 27 May 2008
5771 \end_layout
5772
5773 \begin_layout Subsection*
5774 branch-invert
5775 \end_layout
5776
5777 \begin_layout Description
5778 Action Toggles inversion status of branch inset.
5779 \end_layout
5780
5781 \begin_layout Description
5782 Syntax branch-invert
5783 \end_layout
5784
5785 \begin_layout Description
5786 Origin rgheck, 12 July 2016
5787 \end_layout
5788
5789 \begin_layout Subsection*
5790 branch-master-activate
5791 \end_layout
5792
5793 \begin_layout Description
5794 Action Activate the branch in the master buffer.
5795 \end_layout
5796
5797 \begin_layout Description
5798 Syntax branch-master-activate <BRANCH>
5799 \end_layout
5800
5801 \begin_layout Description
5802 Params <BRANCH>: The branch to activate
5803 \end_layout
5804
5805 \begin_layout Description
5806 Sample lyx -x "branch-activate answers" -e pdf2 finalexam.lyx
5807 \begin_inset Newline newline
5808 \end_inset
5809
5810 could be used to export a pdf with the answers branch included without one's having to open LyX and activate the branch manually.
5811 \end_layout
5812
5813 \begin_layout Description
5814 Origin spitz, 30 Sep 2012
5815 \end_layout
5816
5817 \begin_layout Subsection*
5818 branch-master-deactivate
5819 \end_layout
5820
5821 \begin_layout Description
5822 Action De-activate the branch in the master buffer.
5823 \end_layout
5824
5825 \begin_layout Description
5826 Syntax branch-master-deactivate <BRANCH>
5827 \end_layout
5828
5829 \begin_layout Description
5830 Params <BRANCH>: The branch to deactivate
5831 \end_layout
5832
5833 \begin_layout Description
5834 Origin spitz, 30 Sep 2012
5835 \end_layout
5836
5837 \begin_layout Subsection*
5838 branch-sync-all
5839 \end_layout
5840
5841 \begin_layout Description
5842 Action Open/close all insets of selected branch (depending on its activation status).
5843 \end_layout
5844
5845 \begin_layout Description
5846 Syntax branch-sync-all
5847 \end_layout
5848
5849 \begin_layout Description
5850 Origin sanda, 15 April 2022
5851 \end_layout
5852
5853 \begin_layout Subsection*
5854 branches-rename
5855 \end_layout
5856
5857 \begin_layout Description
5858 Action Rename all branches of a given name in a document.
5859 \end_layout
5860
5861 \begin_layout Description
5862 Syntax branches-rename <OLDNAME> <NEWNAME>
5863 \end_layout
5864
5865 \begin_layout Description
5866 Params <OLDNAME>: Current name of the branch to be renamed <NEWNAME>: New name of the branch
5867 \end_layout
5868
5869 \begin_layout Description
5870 Origin spitz, 9 Jul 2009
5871 \end_layout
5872
5873 \begin_layout Subsection*
5874 buffer-auto-save
5875 \end_layout
5876
5877 \begin_layout Description
5878 Action Saves the current buffer to a temporary file.
5879 \end_layout
5880
5881 \begin_layout Description
5882 Notion Saves the current buffer to a file named "#filename#". This LFUN is called automatically by LyX, to "autosave" the current buffer.
5883 \end_layout
5884
5885 \begin_layout Description
5886 Syntax buffer-auto-save
5887 \end_layout
5888
5889 \begin_layout Subsection*
5890 buffer-child-open
5891 \end_layout
5892
5893 \begin_layout Description
5894 Action Loads the given child document.
5895 \end_layout
5896
5897 \begin_layout Description
5898 Notion The current document is treated as a parent.
5899 \end_layout
5900
5901 \begin_layout Description
5902 Syntax buffer-child-open <FILE>
5903 \end_layout
5904
5905 \begin_layout Description
5906 Params <FILE>: Filename of the child. The directory of the parent is assumed by default.
5907 \end_layout
5908
5909 \begin_layout Description
5910 Origin Ale, 28 May 1997
5911 \end_layout
5912
5913 \begin_layout Subsection*
5914 buffer-chktex
5915 \end_layout
5916
5917 \begin_layout Description
5918 Action Runs chktex for the current document.
5919 \end_layout
5920
5921 \begin_layout Description
5922 Syntax buffer-chktex
5923 \end_layout
5924
5925 \begin_layout Description
5926 Origin Asger, 30 Oct 1997
5927 \end_layout
5928
5929 \begin_layout Subsection*
5930 buffer-close
5931 \end_layout
5932
5933 \begin_layout Description
5934 Action Closes the current buffer.
5935 \end_layout
5936
5937 \begin_layout Description
5938 Notion Closes the current buffer, asking whether to save it, etc, if the buffer has been modified.
5939 \end_layout
5940
5941 \begin_layout Description
5942 Syntax buffer-close
5943 \end_layout
5944
5945 \begin_layout Subsection*
5946 buffer-close-all
5947 \end_layout
5948
5949 \begin_layout Description
5950 Action Closes all buffers.
5951 \end_layout
5952
5953 \begin_layout Description
5954 Notion Closes all buffers, asking whether to save it, etc, if a buffer has been modified.
5955 \end_layout
5956
5957 \begin_layout Description
5958 Syntax buffer-close-all
5959 \end_layout
5960
5961 \begin_layout Subsection*
5962 buffer-export
5963 \end_layout
5964
5965 \begin_layout Description
5966 Action Exports the current buffer (document) to the given format.
5967 \end_layout
5968
5969 \begin_layout Description
5970 Syntax buffer-export [<FORMAT>] [<DEST>]
5971 \end_layout
5972
5973 \begin_layout Description
5974 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.
5975 \begin_inset Newline newline
5976 \end_inset
5977
5978 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.
5979 \begin_inset Newline newline
5980 \end_inset
5981
5982 If absent or "default", then the default output format of the document is used.
5983 \begin_inset Newline newline
5984 \end_inset
5985
5986 <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.
5987 \end_layout
5988
5989 \begin_layout Description
5990 Origin Lgb, 29 Jul 1997
5991 \end_layout
5992
5993 \begin_layout Subsection*
5994 buffer-export-as
5995 \end_layout
5996
5997 \begin_layout Description
5998 Action Opens a dialog for exporting the current buffer.
5999 \end_layout
6000
6001 \begin_layout Description
6002 Syntax buffer-export-as [<FORMAT>]
6003 \end_layout
6004
6005 \begin_layout Description
6006 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.
6007 \end_layout
6008
6009 \begin_layout Description
6010 Sample buffer-export-as pdf2
6011 \end_layout
6012
6013 \begin_layout Description
6014 Origin tommaso, 6 Oct 2011
6015 \end_layout
6016
6017 \begin_layout Subsection*
6018 buffer-export-custom
6019 \end_layout
6020
6021 \begin_layout Description
6022 Action Exports the current buffer (document) from the given format using the given command on it.
6023 \end_layout
6024
6025 \begin_layout Description
6026 Syntax buffer-export-custom <FORMAT> <COMMAND>
6027 \end_layout
6028
6029 \begin_layout Description
6030 Params <FORMAT> format to start from (LyX will care to produce such intermediate file).
6031 \begin_inset Newline newline
6032 \end_inset
6033
6034 <COMMAND> this command will be launched on the file. Note that you can use "$$FName" string to qualify the intermediate file.
6035 \end_layout
6036
6037 \begin_layout Description
6038 Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
6039 \end_layout
6040
6041 \begin_layout Description
6042 Origin leeming, 27 Mar 2004
6043 \end_layout
6044
6045 \begin_layout Subsection*
6046 buffer-external-modification-clear
6047 \end_layout
6048
6049 \begin_layout Description
6050 Action Clear the external modification flag on the current buffer.
6051 \end_layout
6052
6053 \begin_layout Description
6054 Syntax buffer-external-modification-clear
6055 \end_layout
6056
6057 \begin_layout Description
6058 Origin gm, 2 March 2017
6059 \end_layout
6060
6061 \begin_layout Subsection*
6062 buffer-forall
6063 \end_layout
6064
6065 \begin_layout Description
6066 Action Applies a command to all non-hidden buffers.
6067 \end_layout
6068
6069 \begin_layout Description
6070 Notion a buffer is `hidden' if it is internally open in LyX, but not visible in any window.
6071 \end_layout
6072
6073 \begin_layout Description
6074 Syntax buffer-forall <LFUN-COMMAND>
6075 \end_layout
6076
6077 \begin_layout Description
6078 Params <LFUN-COMMAND>: The command to be applied to the buffers.
6079 \end_layout
6080
6081 \begin_layout Description
6082 Sample Close all Notes in all buffers:
6083 \begin_inset Newline newline
6084 \end_inset
6085
6086 buffer-forall inset-forall Note inset-toggle close
6087 \begin_inset Newline newline
6088 \end_inset
6089
6090 Toggle change tracking on buffers:
6091 \begin_inset Newline newline
6092 \end_inset
6093
6094 buffer-forall changes-track
6095 \begin_inset Newline newline
6096 \end_inset
6097
6098 Toggle read-only for buffers:
6099 \begin_inset Newline newline
6100 \end_inset
6101
6102 buffer-forall buffer-toggle-read-only
6103 \begin_inset Newline newline
6104 \end_inset
6105
6106 Show statistics for individual buffers:
6107 \begin_inset Newline newline
6108 \end_inset
6109
6110 buffer-forall statistics
6111 \begin_inset Newline newline
6112 \end_inset
6113
6114 Activate the branch named "Solutions" in buffers:
6115 \begin_inset Newline newline
6116 \end_inset
6117
6118 buffer-forall branch-activate Solutions
6119 \begin_inset Newline newline
6120 \end_inset
6121
6122 Export buffers to PDF (pdflatex):
6123 \begin_inset Newline newline
6124 \end_inset
6125
6126 buffer-forall buffer-export pdf2
6127 \begin_inset Newline newline
6128 \end_inset
6129
6130
6131 \end_layout
6132
6133 \begin_layout Description
6134 Origin skostysh, 20 Jul 2012
6135 \end_layout
6136
6137 \begin_layout Subsection*
6138 buffer-import
6139 \end_layout
6140
6141 \begin_layout Description
6142 Action Import a given file as a lyx document.
6143 \end_layout
6144
6145 \begin_layout Description
6146 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.
6147 \end_layout
6148
6149 \begin_layout Description
6150 Syntax buffer-import <FORMAT> [<FILE>]
6151 \end_layout
6152
6153 \begin_layout Description
6154 Origin Asger, 24 Jul 1998
6155 \end_layout
6156
6157 \begin_layout Subsection*
6158 buffer-language
6159 \end_layout
6160
6161 \begin_layout Description
6162 Action Set language of the current document.
6163 \end_layout
6164
6165 \begin_layout Description
6166 Syntax buffer-language <LANG>
6167 \end_layout
6168
6169 \begin_layout Description
6170 Params <LANG>: language name. See lib/languages for list.
6171 \end_layout
6172
6173 \begin_layout Description
6174 Origin leeming, 30 Mar 2004
6175 \end_layout
6176
6177 \begin_layout Subsection*
6178 buffer-move-next
6179 \end_layout
6180
6181 \begin_layout Description
6182 Action Moves the current tab one spot to the right.
6183 \end_layout
6184
6185 \begin_layout Description
6186 Syntax buffer-move-next
6187 \end_layout
6188
6189 \begin_layout Description
6190 Origin skostysh, 7 Apr 2015
6191 \end_layout
6192
6193 \begin_layout Subsection*
6194 buffer-move-previous
6195 \end_layout
6196
6197 \begin_layout Description
6198 Action Moves the current tab one spot to the left.
6199 \end_layout
6200
6201 \begin_layout Description
6202 Syntax buffer-move-previous
6203 \end_layout
6204
6205 \begin_layout Description
6206 Origin skostysh, 7 Apr 2015
6207 \end_layout
6208
6209 \begin_layout Subsection*
6210 buffer-new
6211 \end_layout
6212
6213 \begin_layout Description
6214 Action Creates a new buffer (that is, document) and switches to it.
6215 \end_layout
6216
6217 \begin_layout Description
6218 Notion Implicit path can be set in Preferences dialog.
6219 \end_layout
6220
6221 \begin_layout Description
6222 Syntax buffer-new [<FILE>]
6223 \end_layout
6224
6225 \begin_layout Description
6226 Params <FILE>: filename of created file with absolute path.
6227 \end_layout
6228
6229 \begin_layout Subsection*
6230 buffer-new-template
6231 \end_layout
6232
6233 \begin_layout Description
6234 Action Creates a new buffer (that is, document) from a template.
6235 \end_layout
6236
6237 \begin_layout Description
6238 Notion Path for new files and templates can be set in Preferences dialog. Template will be asked for via Open-dialog.
6239 \end_layout
6240
6241 \begin_layout Description
6242 Syntax buffer-new-template [<FILE>] [<TEMPLATE FILE>]
6243 \end_layout
6244
6245 \begin_layout Description
6246 Params <FILE>: filename of created file with absolute path. If empty or "newfile", a file with appropriate name is generated.
6247 \begin_inset Newline newline
6248 \end_inset
6249
6250 <TEMPLATE FILE>: filename of template with absolute path. If empty, a dialog is opened to select the new file.
6251 \end_layout
6252
6253 \begin_layout Subsection*
6254 buffer-next
6255 \end_layout
6256
6257 \begin_layout Description
6258 Action Switch to the next opened document.
6259 \end_layout
6260
6261 \begin_layout Description
6262 Notion Note that this does not necessarily mean next in tabbar (for full list see View menu).
6263 \end_layout
6264
6265 \begin_layout Description
6266 Syntax buffer-next
6267 \end_layout
6268
6269 \begin_layout Subsection*
6270 buffer-params-apply
6271 \end_layout
6272
6273 \begin_layout Description
6274 Action Apply the given settings to the current document.
6275 \end_layout
6276
6277 \begin_layout Description
6278 Syntax buffer-params-apply [<ARGS>]
6279 \end_layout
6280
6281 \begin_layout Description
6282 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
6283 \end_layout
6284
6285 \begin_layout Description
6286 Origin leeming, 30 Mar 2004
6287 \end_layout
6288
6289 \begin_layout Subsection*
6290 buffer-previous
6291 \end_layout
6292
6293 \begin_layout Description
6294 Action Switch to the previous opened document.
6295 \end_layout
6296
6297 \begin_layout Description
6298 Syntax buffer-previous
6299 \end_layout
6300
6301 \begin_layout Subsection*
6302 buffer-reload
6303 \end_layout
6304
6305 \begin_layout Description
6306 Action Reverts opened document.
6307 \end_layout
6308
6309 \begin_layout Description
6310 Syntax buffer-reload [dump]
6311 \end_layout
6312
6313 \begin_layout Description
6314 Params dump: do not ask for any confirmation, just reload. All changes will be lost.
6315 \end_layout
6316
6317 \begin_layout Description
6318 Origin Asger, 2 Feb 1997
6319 \end_layout
6320
6321 \begin_layout Subsection*
6322 buffer-reset-export
6323 \end_layout
6324
6325 \begin_layout Description
6326 Action Removes the auxiliary file before next export to assure export is done afresh.
6327 \end_layout
6328
6329 \begin_layout Description
6330 Syntax buffer-reset-export
6331 \end_layout
6332
6333 \begin_layout Description
6334 Origin spitz, 27 Dec 2019
6335 \end_layout
6336
6337 \begin_layout Subsection*
6338 buffer-save-as-default
6339 \end_layout
6340
6341 \begin_layout Description
6342 Action Save the current document settings as default.
6343 \end_layout
6344
6345 \begin_layout Description
6346 Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
6347 \end_layout
6348
6349 \begin_layout Description
6350 Syntax buffer-save-as-default [<ARGS>]
6351 \end_layout
6352
6353 \begin_layout Description
6354 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
6355 \end_layout
6356
6357 \begin_layout Description
6358 Origin leeming, 30 Mar 2004
6359 \end_layout
6360
6361 \begin_layout Subsection*
6362 buffer-switch
6363 \end_layout
6364
6365 \begin_layout Description
6366 Action Display and switch to the given buffer.
6367 \end_layout
6368
6369 \begin_layout Description
6370 Syntax buffer-switch <BUFFER>
6371 \end_layout
6372
6373 \begin_layout Description
6374 Params <BUFFER>: path and filename of already opened (but possibly hidden) document which is to be shown.
6375 \end_layout
6376
6377 \begin_layout Subsection*
6378 buffer-toggle-compression
6379 \end_layout
6380
6381 \begin_layout Description
6382 Action Toggles compression of the current document on/off.
6383 \end_layout
6384
6385 \begin_layout Description
6386 Syntax buffer-toggle-compression
6387 \end_layout
6388
6389 \begin_layout Description
6390 Origin bpeng, 27 Apr 2006
6391 \end_layout
6392
6393 \begin_layout Subsection*
6394 buffer-toggle-read-only
6395 \end_layout
6396
6397 \begin_layout Description
6398 Action Toggle editing mode of the current document between read/write and read-only.
6399 \end_layout
6400
6401 \begin_layout Description
6402 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.
6403 \end_layout
6404
6405 \begin_layout Description
6406 Syntax buffer-toggle-read-only
6407 \end_layout
6408
6409 \begin_layout Description
6410 Origin Lgb, 27 May 1997
6411 \end_layout
6412
6413 \begin_layout Subsection*
6414 buffer-update
6415 \end_layout
6416
6417 \begin_layout Description
6418 Action Exports the current document and put the result into the temporary directory.
6419 \end_layout
6420
6421 \begin_layout Description
6422 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).
6423 \end_layout
6424
6425 \begin_layout Description
6426 Syntax buffer-update [<FORMAT>]
6427 \end_layout
6428
6429 \begin_layout Description
6430 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.
6431 \end_layout
6432
6433 \begin_layout Description
6434 Origin Dekel, 5 Aug 2000
6435 \end_layout
6436
6437 \begin_layout Subsection*
6438 buffer-view
6439 \end_layout
6440
6441 \begin_layout Description
6442 Action Displays current buffer in chosen format.
6443 \end_layout
6444
6445 \begin_layout Description
6446 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.
6447 \end_layout
6448
6449 \begin_layout Description
6450 Syntax buffer-view [<FORMAT>]
6451 \end_layout
6452
6453 \begin_layout Description
6454 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.
6455 \end_layout
6456
6457 \begin_layout Subsection*
6458 buffer-view-cache
6459 \end_layout
6460
6461 \begin_layout Description
6462 Action Opens the file that was created from last preview of this buffer.
6463 \end_layout
6464
6465 \begin_layout Description
6466 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.
6467 \end_layout
6468
6469 \begin_layout Description
6470 Syntax buffer-view-cache
6471 \end_layout
6472
6473 \begin_layout Subsection*
6474 buffer-write
6475 \end_layout
6476
6477 \begin_layout Description
6478 Action Saves the current buffer.
6479 \end_layout
6480
6481 \begin_layout Description
6482 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.
6483 \end_layout
6484
6485 \begin_layout Description
6486 Syntax buffer-write [force]
6487 \end_layout
6488
6489 \begin_layout Description
6490 Params force: write even if buffer is not marked as modified.
6491 \end_layout
6492
6493 \begin_layout Subsection*
6494 buffer-write-all
6495 \end_layout
6496
6497 \begin_layout Description
6498 Action Save all changed documents.
6499 \end_layout
6500
6501 \begin_layout Description
6502 Syntax buffer-write-all
6503 \end_layout
6504
6505 \begin_layout Description
6506 Origin rgh, gpothier 6 Aug 2007
6507 \end_layout
6508
6509 \begin_layout Subsection*
6510 buffer-write-as
6511 \end_layout
6512
6513 \begin_layout Description
6514 Action Rename and save current buffer.
6515 \end_layout
6516
6517 \begin_layout Description
6518 Syntax buffer-write-as <FILENAME>
6519 \end_layout
6520
6521 \begin_layout Description
6522 Params <FILENAME>: New name of the buffer/file. A relative path is with respect to the original location of the buffer/file.
6523 \end_layout
6524
6525 \begin_layout Subsection*
6526 buffer-write-as-template
6527 \end_layout
6528
6529 \begin_layout Description
6530 Action Rename and save current buffer in the local templates directory.
6531 \end_layout
6532
6533 \begin_layout Description
6534 Syntax buffer-write-as-template <FILENAME>
6535 \end_layout
6536
6537 \begin_layout Description
6538 Params <FILENAME>: New name of the buffer/file. A relative path is with respect to the original location of the buffer/file.
6539 \end_layout
6540
6541 \begin_layout Subsection*
6542 buffer-zoom
6543 \end_layout
6544
6545 \begin_layout Description
6546 Action Sets the zoom of the screen fonts.
6547 \end_layout
6548
6549 \begin_layout Description
6550 Syntax buffer-zoom [<ZOOM>]
6551 \end_layout
6552
6553 \begin_layout Description
6554 Params <ZOOM>: The target zoom value in %; the default is the default zoom as saved in preferences.
6555 \end_layout
6556
6557 \begin_layout Description
6558 Origin daniel, 28 Oct 2016
6559 \end_layout
6560
6561 \begin_layout Subsection*
6562 buffer-zoom-in
6563 \end_layout
6564
6565 \begin_layout Description
6566 Action Increases the zoom of the screen fonts.
6567 \end_layout
6568
6569 \begin_layout Description
6570 Syntax buffer-zoom-in [<ZOOM>]
6571 \end_layout
6572
6573 \begin_layout Description
6574 Params <ZOOM>: The zoom value addition in % (neg. or pos.); the default is 10% of the default zoom as saved in preferences.
6575 \end_layout
6576
6577 \begin_layout Description
6578 Origin vfr, 30 Mar 2009
6579 \end_layout
6580
6581 \begin_layout Subsection*
6582 buffer-zoom-out
6583 \end_layout
6584
6585 \begin_layout Description
6586 Action Decreases the zoom of the screen fonts.
6587 \end_layout
6588
6589 \begin_layout Description
6590 Syntax buffer-zoom-out [<ZOOM>]
6591 \end_layout
6592
6593 \begin_layout Description
6594 Params <ZOOM>: The zoom value abstraction in % (neg. or pos.); the default is 10% of the default zoom as saved in preferences.
6595 \end_layout
6596
6597 \begin_layout Description
6598 Origin vfr, 30 Mar 2009
6599 \end_layout
6600
6601 \begin_layout Subsection*
6602 build-program
6603 \end_layout
6604
6605 \begin_layout Description
6606 Action Generates the code (literate programming).
6607 \end_layout
6608
6609 \begin_layout Description
6610 Notion Latex file with extension 
6611 \backslash
6612 literate_extension is generated. Then LyX invokes 
6613 \backslash
6614 build_command (with a default of ``make'') to generate the code and 
6615 \backslash
6616 build_error_filter to process the compilation error messages.
6617 \begin_inset Newline newline
6618 \end_inset
6619
6620 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:
6621 \begin_inset Newline newline
6622 \end_inset
6623
6624
6625 \backslash
6626 build_command "my_script my_arguments"
6627 \begin_inset Newline newline
6628 \end_inset
6629
6630 The 
6631 \backslash
6632 build_error_filter differs from the 
6633 \backslash
6634 literate_error_filter only in that the former will identify error messages from your compiler.
6635 \end_layout
6636
6637 \begin_layout Description
6638 Syntax build-program
6639 \end_layout
6640
6641 \begin_layout Subsection*
6642 file-open
6643 \end_layout
6644
6645 \begin_layout Description
6646 Action Open LyX document.
6647 \end_layout
6648
6649 \begin_layout Description
6650 Syntax file-open [<FILE>]
6651 \end_layout
6652
6653 \begin_layout Description
6654 Params <FILE>: Filename to be opened.
6655 \end_layout
6656
6657 \begin_layout Subsection*
6658 help-open
6659 \end_layout
6660
6661 \begin_layout Description
6662 Action Open the given help file according to the language setting.
6663 \end_layout
6664
6665 \begin_layout Description
6666 Syntax help-open <FILE>[.lyx]
6667 \end_layout
6668
6669 \begin_layout Description
6670 Params <FILE>: any document from (/usr/share/)doc directory.
6671 \end_layout
6672
6673 \begin_layout Description
6674 Origin Jug, 27 Jun 1999
6675 \end_layout
6676
6677 \begin_layout Subsection*
6678 icon-size
6679 \end_layout
6680
6681 \begin_layout Description
6682 Action Sets icon size of toolbars.
6683 \end_layout
6684
6685 \begin_layout Description
6686 Syntax icon-size [<SIZE>]
6687 \end_layout
6688
6689 \begin_layout Description
6690 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).
6691 \end_layout
6692
6693 \begin_layout Description
6694 Origin 11 July 2016
6695 \end_layout
6696
6697 \begin_layout Subsection*
6698 ifrelatives
6699 \end_layout
6700
6701 \begin_layout Description
6702 Action Helper function for master-related actions
6703 \end_layout
6704
6705 \begin_layout Description
6706 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
6707 \end_layout
6708
6709 \begin_layout Description
6710 Syntax ifrelatives <ACTION>
6711 \end_layout
6712
6713 \begin_layout Description
6714 Origin spitz, 2 January 2020
6715 \end_layout
6716
6717 \begin_layout Subsection*
6718 lyx-quit
6719 \end_layout
6720
6721 \begin_layout Description
6722 Action Terminates the current LyX instance.
6723 \end_layout
6724
6725 \begin_layout Description
6726 Notion Terminates the current LyX instance, asking whether to save modified documents, etc.
6727 \end_layout
6728
6729 \begin_layout Description
6730 Syntax lyx-quit
6731 \end_layout
6732
6733 \begin_layout Subsection*
6734 lyxfiles-open
6735 \end_layout
6736
6737 \begin_layout Description
6738 Action Open lyxfiles (templates/examples). Create a view if he have none.
6739 \end_layout
6740
6741 \begin_layout Description
6742 Syntax lyxfiles-open [<TYPE>]
6743 \end_layout
6744
6745 \begin_layout Description
6746 Params <TYPE>: templates or examples. Default is templates.
6747 \end_layout
6748
6749 \begin_layout Description
6750 Origin spitz, 10 Feb 2021
6751 \end_layout
6752
6753 \begin_layout Subsection*
6754 master-buffer-export
6755 \end_layout
6756
6757 \begin_layout Description
6758 Action Exports the master buffer (document) to the given format.
6759 \end_layout
6760
6761 \begin_layout Description
6762 Syntax master-buffer-export [<FORMAT>] [<DEST>]
6763 \end_layout
6764
6765 \begin_layout Description
6766 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.
6767 \begin_inset Newline newline
6768 \end_inset
6769
6770 Note that "custom" is not allowed in this case.
6771 \begin_inset Newline newline
6772 \end_inset
6773
6774 If absent or "default", then the default output format of the document is used.
6775 \begin_inset Newline newline
6776 \end_inset
6777
6778 <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.
6779 \end_layout
6780
6781 \begin_layout Description
6782 Origin rkh, 18 April 2018
6783 \end_layout
6784
6785 \begin_layout Subsection*
6786 master-buffer-forall
6787 \end_layout
6788
6789 \begin_layout Description
6790 Action Applies a command to a buffer and all it children, starting from the master.
6791 \end_layout
6792
6793 \begin_layout Description
6794 Syntax master-buffer-forall <LFUN-COMMAND>
6795 \end_layout
6796
6797 \begin_layout Description
6798 Params <LFUN-COMMAND>: The command to be applied to the buffers.
6799 \end_layout
6800
6801 \begin_layout Description
6802 Sample Close all Notes in buffers:
6803 \begin_inset Newline newline
6804 \end_inset
6805
6806                master-buffer-forall inset-forall Note inset-toggle close
6807 \begin_inset Newline newline
6808 \end_inset
6809
6810                Toggle change tracking on buffers:
6811 \begin_inset Newline newline
6812 \end_inset
6813
6814                master-buffer-forall changes-track
6815 \begin_inset Newline newline
6816 \end_inset
6817
6818                Toggle read-only for buffers:
6819 \begin_inset Newline newline
6820 \end_inset
6821
6822                master-buffer-forall buffer-toggle-read-only
6823 \begin_inset Newline newline
6824 \end_inset
6825
6826                Show statistics for individual buffers:
6827 \begin_inset Newline newline
6828 \end_inset
6829
6830                master-buffer-forall statistics
6831 \begin_inset Newline newline
6832 \end_inset
6833
6834                Activate the branch named "Solutions" in buffers:
6835 \begin_inset Newline newline
6836 \end_inset
6837
6838                master-buffer-forall branch-activate Solutions
6839 \begin_inset Newline newline
6840 \end_inset
6841
6842
6843 \end_layout
6844
6845 \begin_layout Description
6846 Origin spitz, 31 Dec 2019
6847 \end_layout
6848
6849 \begin_layout Subsection*
6850 master-buffer-update
6851 \end_layout
6852
6853 \begin_layout Description
6854 Action Update (export) the document built from the master buffer, if the current buffer is part of a master/child document.
6855 \end_layout
6856
6857 \begin_layout Description
6858 Syntax master-buffer-update [<FORMAT>]
6859 \end_layout
6860
6861 \begin_layout Description
6862 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.
6863 \end_layout
6864
6865 \begin_layout Description
6866 Origin Tommaso, 20 Sep 2007
6867 \end_layout
6868
6869 \begin_layout Subsection*
6870 master-buffer-view
6871 \end_layout
6872
6873 \begin_layout Description
6874 Action Show a preview built from the master buffer, if available. if the current buffer is part of a master/child document.
6875 \end_layout
6876
6877 \begin_layout Description
6878 Syntax master-buffer-view [<FORMAT>]
6879 \end_layout
6880
6881 \begin_layout Description
6882 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.
6883 \end_layout
6884
6885 \begin_layout Description
6886 Origin Tommaso, 20 Sep 2007
6887 \end_layout
6888
6889 \begin_layout Subsection*
6890 menu-open
6891 \end_layout
6892
6893 \begin_layout Description
6894 Action Opens the menu given by its name.
6895 \end_layout
6896
6897 \begin_layout Description
6898 Syntax menu-open <NAME>
6899 \end_layout
6900
6901 \begin_layout Description
6902 Params <NAME>: menu name. See various .inc files in lib/ui for candidates.
6903 \end_layout
6904
6905 \begin_layout Subsection*
6906 tab-group-close
6907 \end_layout
6908
6909 \begin_layout Description
6910 Action Close the current tab group.
6911 \end_layout
6912
6913 \begin_layout Description
6914 Notion This only closes the work areas, not the buffers themselves. The still opened buffers can be visualized in another tab group.
6915 \end_layout
6916
6917 \begin_layout Description
6918 Syntax tab-group-close
6919 \end_layout
6920
6921 \begin_layout Description
6922 Origin Abdel, 21 Feb 2008
6923 \end_layout
6924
6925 \begin_layout Subsection*
6926 tab-group-next
6927 \end_layout
6928
6929 \begin_layout Description
6930 Action Switch to the next tab group in split view.
6931 \end_layout
6932
6933 \begin_layout Description
6934 Syntax tab-group-next
6935 \end_layout
6936
6937 \begin_layout Subsection*
6938 tab-group-previous
6939 \end_layout
6940
6941 \begin_layout Description
6942 Action Switch to the previous tab group in split view.
6943 \end_layout
6944
6945 \begin_layout Description
6946 Syntax tab-group-previous
6947 \end_layout
6948
6949 \begin_layout Subsection*
6950 toolbar-movable
6951 \end_layout
6952
6953 \begin_layout Description
6954 Action Toggles movability of a given toolbar between true/false.
6955 \end_layout
6956
6957 \begin_layout Description
6958 Syntax toolbar-movable <NAME>
6959 \end_layout
6960
6961 \begin_layout Description
6962 Params <NAME>: *|standard|extra|table|math|mathmacrotemplate| minibuffer|review|view/update|math_panels|vcs| view-others|update-others
6963 \end_layout
6964
6965 \begin_layout Description
6966 Origin daniel, 12 July 2016
6967 \end_layout
6968
6969 \begin_layout Subsection*
6970 toolbar-set
6971 \end_layout
6972
6973 \begin_layout Description
6974 Action Sets visibility of a given toolbar to on, off, or auto.
6975 \end_layout
6976
6977 \begin_layout Description
6978 Notion Skipping "auto" when allowauto is false.
6979 \end_layout
6980
6981 \begin_layout Description
6982 Syntax toolbar-set <NAME> [on|off|auto]
6983 \end_layout
6984
6985 \begin_layout Description
6986 Params <NAME>: standard|extra|table|math|mathmacrotemplate|
6987 \begin_inset Newline newline
6988 \end_inset
6989
6990 minibuffer|review|view/update|math_panels|vcs|
6991 \begin_inset Newline newline
6992 \end_inset
6993
6994 view-others|update-others
6995 \end_layout
6996
6997 \begin_layout Description
6998 Origin spitz, 17 Dec 2020
6999 \end_layout
7000
7001 \begin_layout Subsection*
7002 toolbar-toggle
7003 \end_layout
7004
7005 \begin_layout Description
7006 Action Toggles visibility of a given toolbar between on/off/auto.
7007 \end_layout
7008
7009 \begin_layout Description
7010 Notion Skipping "auto" when allowauto is false.
7011 \end_layout
7012
7013 \begin_layout Description
7014 Syntax toolbar-toggle <NAME> [allowauto]
7015 \end_layout
7016
7017 \begin_layout Description
7018 Params <NAME>: standard|extra|table|math|mathmacrotemplate|
7019 \begin_inset Newline newline
7020 \end_inset
7021
7022 minibuffer|review|view/update|math_panels|vcs|
7023 \begin_inset Newline newline
7024 \end_inset
7025
7026 view-others|update-others
7027 \end_layout
7028
7029 \begin_layout Description
7030 Origin Edwin, 21 May 2007
7031 \end_layout
7032
7033 \begin_layout Subsection*
7034 ui-toggle
7035 \end_layout
7036
7037 \begin_layout Description
7038 Action Various UI visibility-toggling actions.
7039 \end_layout
7040
7041 \begin_layout Description
7042 Syntax ui-toggle <statusbar|menubar|scrollbar|frame|fullscreen>
7043 \end_layout
7044
7045 \begin_layout Description
7046 Params statusbar     : Toggle visibility of the statusbar.
7047 \begin_inset Newline newline
7048 \end_inset
7049
7050 menubar       : Toggle visibility of the menubar.
7051 \begin_inset Newline newline
7052 \end_inset
7053
7054 scrollbar     : Toggle visibility of the scrollbar.
7055 \begin_inset Newline newline
7056 \end_inset
7057
7058 frame         : Toggle visibility of the frames around editing window.
7059 \begin_inset Newline newline
7060 \end_inset
7061
7062 zoomslider    : Toggle visibility of the zoom slider in statusbar.
7063 \begin_inset Newline newline
7064 \end_inset
7065
7066 zoomlevel     : Toggle visibility of the zoom level display in statusbar.
7067 \begin_inset Newline newline
7068 \end_inset
7069
7070 statistics-w  : Toggle visibility of the document word count in statusbar.
7071 \begin_inset Newline newline
7072 \end_inset
7073
7074 statistics-cb : Toggle visibility of the document character count (incl. blanks) in statusbar.
7075 \begin_inset Newline newline
7076 \end_inset
7077
7078 statistics-c  : Toggle visibility of the document character count (excl. blanks) in statusbar.
7079 \begin_inset Newline newline
7080 \end_inset
7081
7082 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.
7083 \end_layout
7084
7085 \begin_layout Description
7086 Origin sanda, 9 Feb 2007
7087 \end_layout
7088
7089 \begin_layout Subsection*
7090 view-close
7091 \end_layout
7092
7093 \begin_layout Description
7094 Action Close the current document work area.
7095 \end_layout
7096
7097 \begin_layout Description
7098 Notion Close the current work area. If no other work areas are showing the buffer, then close the associated buffer as well.
7099 \end_layout
7100
7101 \begin_layout Description
7102 Syntax view-close
7103 \end_layout
7104
7105 \begin_layout Description
7106 Origin Tommaso, 15 Sep 2012
7107 \end_layout
7108
7109 \begin_layout Subsection*
7110 view-split
7111 \end_layout
7112
7113 \begin_layout Description
7114 Action Creates another split view of current buffer.
7115 \end_layout
7116
7117 \begin_layout Description
7118 Notion All split views act in the same way independently.
7119 \end_layout
7120
7121 \begin_layout Description
7122 Syntax view-split <vertical|horizontal>
7123 \end_layout
7124
7125 \begin_layout Description
7126 Params horizontal : The work areas are laid out side by side.
7127 \begin_inset Newline newline
7128 \end_inset
7129
7130 vertical   : The work areas laid out vertically.
7131 \end_layout
7132
7133 \begin_layout Description
7134 Origin Abdel, 20 Feb 2008
7135 \end_layout
7136
7137 \begin_layout Subsection*
7138 window-close
7139 \end_layout
7140
7141 \begin_layout Description
7142 Action Closes the current LyX window.
7143 \end_layout
7144
7145 \begin_layout Description
7146 Syntax window-close
7147 \end_layout
7148
7149 \begin_layout Description
7150 Origin Abdel, 23 Oct 2006
7151 \end_layout
7152
7153 \begin_layout Subsection*
7154 window-new
7155 \end_layout
7156
7157 \begin_layout Description
7158 Action Creates new empty LyX window.
7159 \end_layout
7160
7161 \begin_layout Description
7162 Notion Already opened documents from the previous window can be found under View menu.
7163 \end_layout
7164
7165 \begin_layout Description
7166 Syntax window-new [<GEOMETRY>]
7167 \end_layout
7168
7169 \begin_layout Description
7170 Params <GEOMETRY>: pass the geometry of the window. This parameter is currently accepted only on Windows platform.
7171 \end_layout
7172
7173 \begin_layout Description
7174 Origin Abdel, 21 Oct 2006
7175 \end_layout
7176
7177 \begin_layout Section
7178 System Functions (Preferences, LyX Server etc.)
7179 \end_layout
7180
7181 \begin_layout Subsection*
7182 bibtex-database-list
7183 \end_layout
7184
7185 \begin_layout Description
7186 Action Lists the available databases (separated by path separator common on the used OS).
7187 \end_layout
7188
7189 \begin_layout Description
7190 Notion Used by bibliographic managers
7191 \end_layout
7192
7193 \begin_layout Description
7194 Syntax bibtex-database-list
7195 \end_layout
7196
7197 \begin_layout Description
7198 Origin bpiwowar, 18 December 2022
7199 \end_layout
7200
7201 \begin_layout Subsection*
7202 buffer-toggle-output-sync
7203 \end_layout
7204
7205 \begin_layout Description
7206 Action Toggles including of resources for forward/reverse search of the given document.
7207 \end_layout
7208
7209 \begin_layout Description
7210 Notion When toggled on, SyncTeX is invoked for PDF, while srcltx package is used for DVI. Custom LaTeX macro can be defined in preferences.
7211 \end_layout
7212
7213 \begin_layout Description
7214 Syntax buffer-toggle-output-sync
7215 \end_layout
7216
7217 \begin_layout Description
7218 Origin sanda, 25 May 2010
7219 \end_layout
7220
7221 \begin_layout Subsection*
7222 call
7223 \end_layout
7224
7225 \begin_layout Description
7226 Action Executes a command defined in a .def file.
7227 \end_layout
7228
7229 \begin_layout Description
7230 Notion The definitions are by default read from lib/commands/default.def.
7231 \begin_inset Newline newline
7232 \end_inset
7233
7234 A .def file allows to define a command with 
7235 \backslash
7236 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). 
7237 \backslash
7238 def_file "FileName" allows to include another .def file.
7239 \begin_inset Newline newline
7240 \end_inset
7241
7242 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.
7243 \end_layout
7244
7245 \begin_layout Description
7246 Syntax call <NAME>
7247 \end_layout
7248
7249 \begin_layout Description
7250 Params <NAME>: Name of the command that must be called.
7251 \end_layout
7252
7253 \begin_layout Description
7254 Origin broider, 2 Oct 2007
7255 \end_layout
7256
7257 \begin_layout Subsection*
7258 cancel
7259 \end_layout
7260
7261 \begin_layout Description
7262 Action Cancels sequence prepared by LFUN_META_PREFIX .
7263 \end_layout
7264
7265 \begin_layout Description
7266 Syntax cancel
7267 \end_layout
7268
7269 \begin_layout Subsection*
7270 command-alternatives
7271 \end_layout
7272
7273 \begin_layout Description
7274 Action Runs the first listed command that is enabled.
7275 \end_layout
7276
7277 \begin_layout Description
7278 Notion This can be used to bind multiple functions to a single key, and then which one is used will depend upon the context.
7279 \end_layout
7280
7281 \begin_layout Description
7282 Syntax command-alternatives <CMDS>
7283 \end_layout
7284
7285 \begin_layout Description
7286 Params <CMDS>: Sequence of commands separated by semicolons.
7287 \end_layout
7288
7289 \begin_layout Description
7290 Sample command-alternatives completion-accept;cell-forward
7291 \end_layout
7292
7293 \begin_layout Description
7294 Origin rgh, 24 September 2008
7295 \end_layout
7296
7297 \begin_layout Subsection*
7298 command-sequence
7299 \end_layout
7300
7301 \begin_layout Description
7302 Action Run more commands (LFUN and its parameters) in a sequence.
7303 \end_layout
7304
7305 \begin_layout Description
7306 Syntax command-sequence <CMDS>
7307 \end_layout
7308
7309 \begin_layout Description
7310 Params <CMDS>: Sequence of commands separated by semicolons.
7311 \end_layout
7312
7313 \begin_layout Description
7314 Sample command-sequence cut; ert-insert; self-insert 
7315 \backslash
7316 ; paste; self-insert {}; inset-toggle;
7317 \end_layout
7318
7319 \begin_layout Description
7320 Origin Andre, 11 Nov 1999
7321 \end_layout
7322
7323 \begin_layout Subsection*
7324 cursor-follows-scrollbar-toggle
7325 \end_layout
7326
7327 \begin_layout Description
7328 Action Determine whether to keep cursor inside the editing window regardless of the scrollbar movement.
7329 \end_layout
7330
7331 \begin_layout Description
7332 Syntax toggle-cursor-follows-scrollbar
7333 \end_layout
7334
7335 \begin_layout Description
7336 Origin ARRae, 2 Dec 1997
7337 \end_layout
7338
7339 \begin_layout Subsection*
7340 debug-level-set
7341 \end_layout
7342
7343 \begin_layout Description
7344 Action Set debug output level.
7345 \end_layout
7346
7347 \begin_layout Description
7348 Syntax debug-level-set <LEVEL>
7349 \end_layout
7350
7351 \begin_layout Description
7352 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.
7353 \end_layout
7354
7355 \begin_layout Description
7356 Origin sanda, 28 Dec 2009
7357 \end_layout
7358
7359 \begin_layout Subsection*
7360 devel-mode-toggle
7361 \end_layout
7362
7363 \begin_layout Description
7364 Action toggle a mode where more information is given in UI
7365 \end_layout
7366
7367 \begin_layout Description
7368 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.
7369 \end_layout
7370
7371 \begin_layout Description
7372 Syntax devel-mode-toggle
7373 \end_layout
7374
7375 \begin_layout Description
7376 Origin lasgouttes, 23 Jul 2017
7377 \end_layout
7378
7379 \begin_layout Subsection*
7380 forward-search
7381 \end_layout
7382
7383 \begin_layout Description
7384 Action Sets the cursor position in the previewed (dvi/pdf) file based on the row number in LyX window.
7385 \end_layout
7386
7387 \begin_layout Description
7388 Notion The external program used for forward search call can be specified in LyX Output preferences. See Additional manual for details of these settings.
7389 \end_layout
7390
7391 \begin_layout Description
7392 Syntax forward-search
7393 \end_layout
7394
7395 \begin_layout Description
7396 Origin sanda, 14 Apr 2010
7397 \end_layout
7398
7399 \begin_layout Subsection*
7400 lyxrc-apply
7401 \end_layout
7402
7403 \begin_layout Description
7404 Action Apply the given settings to user preferences.
7405 \end_layout
7406
7407 \begin_layout Description
7408 Syntax lyxrc-apply <SETTINGS>
7409 \end_layout
7410
7411 \begin_layout Description
7412 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.
7413 \end_layout
7414
7415 \begin_layout Subsection*
7416 message
7417 \end_layout
7418
7419 \begin_layout Description
7420 Action Shows message in statusbar (for script purposes).
7421 \end_layout
7422
7423 \begin_layout Description
7424 Syntax message <STRING>
7425 \end_layout
7426
7427 \begin_layout Description
7428 Origin Lgb, 8 Apr 2001
7429 \end_layout
7430
7431 \begin_layout Subsection*
7432 meta-prefix
7433 \end_layout
7434
7435 \begin_layout Description
7436 Action Simulate halting Meta key (Alt key on PCs).
7437 \end_layout
7438
7439 \begin_layout Description
7440 Notion Used for buffer edition not for GUI control.
7441 \end_layout
7442
7443 \begin_layout Description
7444 Syntax meta-prefix
7445 \end_layout
7446
7447 \begin_layout Subsection*
7448 preferences-save
7449 \end_layout
7450
7451 \begin_layout Description
7452 Action Save user preferences.
7453 \end_layout
7454
7455 \begin_layout Description
7456 Syntax preferences-save
7457 \end_layout
7458
7459 \begin_layout Description
7460 Origin Lgb, 27 Nov 1999
7461 \end_layout
7462
7463 \begin_layout Subsection*
7464 reconfigure
7465 \end_layout
7466
7467 \begin_layout Description
7468 Action Reconfigure the automatic settings.
7469 \end_layout
7470
7471 \begin_layout Description
7472 Syntax reconfigure
7473 \end_layout
7474
7475 \begin_layout Description
7476 Origin Asger, 14 Feb 1997
7477 \end_layout
7478
7479 \begin_layout Subsection*
7480 search-ignore
7481 \end_layout
7482
7483 \begin_layout Description
7484 Action Enables/disables searching for features in findadv
7485 \end_layout
7486
7487 \begin_layout Description
7488 Syntax search-ignore <type> <value>
7489 \end_layout
7490
7491 \begin_layout Description
7492 Params <type>: language|color|sectioning|font|series|shape|family|markup|underline|strike|deleted|non-output-content
7493 \begin_inset Newline newline
7494 \end_inset
7495
7496 <value>: true|false
7497 \end_layout
7498
7499 \begin_layout Subsection*
7500 server-get-filename
7501 \end_layout
7502
7503 \begin_layout Description
7504 Action Returns path and file name of the currently edited document.
7505 \end_layout
7506
7507 \begin_layout Description
7508 Syntax server-get-filename
7509 \end_layout
7510
7511 \begin_layout Subsection*
7512 server-get-layout
7513 \end_layout
7514
7515 \begin_layout Description
7516 Action Returns the current layout (that is environment) name on the cursor position.
7517 \end_layout
7518
7519 \begin_layout Description
7520 Syntax server-get-layout
7521 \end_layout
7522
7523 \begin_layout Subsection*
7524 server-get-statistics
7525 \end_layout
7526
7527 \begin_layout Description
7528 Action Returns the statistics (number of words and characters) in the document or in the given selection.
7529 \end_layout
7530
7531 \begin_layout Description
7532 Notion Note that this function gives the number of words/chars written, not the number of characters which will be typeset.
7533 \end_layout
7534
7535 \begin_layout Description
7536 Syntax server-get-statistics [<TYPE>]
7537 \end_layout
7538
7539 \begin_layout Description
7540 Params <TYPE>: <words|chars|chars-space> The requested count; if not specified, the three values are returned, separated by a space.
7541 \begin_inset Newline newline
7542 \end_inset
7543
7544 words: count words.
7545 \begin_inset Newline newline
7546 \end_inset
7547
7548 chars: count characters.
7549 \begin_inset Newline newline
7550 \end_inset
7551
7552 chars-space: count characters and spaces.
7553 \end_layout
7554
7555 \begin_layout Description
7556 Origin brokenclock, Oct 10 2014
7557 \end_layout
7558
7559 \begin_layout Subsection*
7560 server-get-xy
7561 \end_layout
7562
7563 \begin_layout Description
7564 Action Returns the coordinates of cursor position in the editing area.
7565 \end_layout
7566
7567 \begin_layout Description
7568 Syntax server-get-xy
7569 \end_layout
7570
7571 \begin_layout Subsection*
7572 server-goto-file-row
7573 \end_layout
7574
7575 \begin_layout Description
7576 Action Sets the cursor position in LyX based on the row number of generated TeX file.
7577 \end_layout
7578
7579 \begin_layout Description
7580 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).
7581 \end_layout
7582
7583 \begin_layout Description
7584 Syntax server-goto-file-row <FILE[.ext]> <ROW_NUMBER>
7585 \end_layout
7586
7587 \begin_layout Description
7588 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.
7589 \begin_inset Newline newline
7590 \end_inset
7591
7592 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).
7593 \begin_inset Newline newline
7594 \end_inset
7595
7596 .ext: extensions will be automatically replaced by .lyx.
7597 \begin_inset Newline newline
7598 \end_inset
7599
7600 <ROW_NUMBER> The row number of the LaTeX file to which to go.
7601 \end_layout
7602
7603 \begin_layout Description
7604 Sample server-goto-file-row /home/user/example.lyx 41
7605 \begin_inset Newline newline
7606 \end_inset
7607
7608 server-goto-file-row /tmp/lyx_tmpdir.XM3088/lyx_tmpbuf0/example.tex 41
7609 \end_layout
7610
7611 \begin_layout Description
7612 Origin Edmar, 23 Dec 1998
7613 \end_layout
7614
7615 \begin_layout Subsection*
7616 server-notify
7617 \end_layout
7618
7619 \begin_layout Description
7620 Action Sends notify message about the last key-sequence to client.
7621 \end_layout
7622
7623 \begin_layout Description
7624 Notion This can be used to grab last key-sequence used inside the LyX window. See also Debug extensions section in Additional features manual.
7625 \end_layout
7626
7627 \begin_layout Description
7628 Syntax server-notify
7629 \end_layout
7630
7631 \begin_layout Subsection*
7632 server-set-xy
7633 \end_layout
7634
7635 \begin_layout Description
7636 Action Sets the cursor position based on the editing area coordinates (similar to clicking on that point with left mouse button).
7637 \end_layout
7638
7639 \begin_layout Description
7640 Syntax server-set-xy <X> <Y>
7641 \end_layout
7642
7643 \begin_layout Subsection*
7644 set-color
7645 \end_layout
7646
7647 \begin_layout Description
7648 Action Set the given LyX color to the color defined by the X11 name given, and optionally a specific color for dark mode.
7649 \end_layout
7650
7651 \begin_layout Description
7652 Notion A new color entry is created if the color is unknown. Color names can be stored as a part of user settings.
7653 \end_layout
7654
7655 \begin_layout Description
7656 Syntax set-color <LYX_NAME> <X11_NAME> [<X11_DARKNAME>]
7657 \end_layout
7658
7659 \begin_layout Description
7660 Origin SLior, 11 Jun 2000
7661 \end_layout
7662
7663 \begin_layout Subsection*
7664 statistics
7665 \end_layout
7666
7667 \begin_layout Description
7668 Action Count the statistics (number of words and characters) in the document or in the given selection and display it in a dialog box.
7669 \end_layout
7670
7671 \begin_layout Description
7672 Notion Note that this function gives the number of words/chars written, not the number of characters which will be typeset.
7673 \end_layout
7674
7675 \begin_layout Description
7676 Syntax statistics
7677 \end_layout
7678
7679 \begin_layout Description
7680 Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
7681 \end_layout
7682
7683 \begin_layout Subsection*
7684 vc-check-in
7685 \end_layout
7686
7687 \begin_layout Description
7688 Action Checks-in/commits the changes of the registered file to the repository.
7689 \end_layout
7690
7691 \begin_layout Description
7692 Notion In RCS case this also unlocks the file.
7693 \end_layout
7694
7695 \begin_layout Description
7696 Syntax vc-check-in
7697 \end_layout
7698
7699 \begin_layout Description
7700 Origin Lgb, 1 Jul 1997
7701 \end_layout
7702
7703 \begin_layout Subsection*
7704 vc-check-out
7705 \end_layout
7706
7707 \begin_layout Description
7708 Action Checks-out the document for edit (and locks it in some cases).
7709 \end_layout
7710
7711 \begin_layout Description
7712 Syntax vc-check-out
7713 \end_layout
7714
7715 \begin_layout Description
7716 Origin Lgb, 1 Jul 1997
7717 \end_layout
7718
7719 \begin_layout Subsection*
7720 vc-command
7721 \end_layout
7722
7723 \begin_layout Description
7724 Action Executes external command. This command is intended to support additional VCS commands.
7725 \end_layout
7726
7727 \begin_layout Description
7728 Syntax vc-command <FLAG> <PATH> <COMMAND>
7729 \end_layout
7730
7731 \begin_layout Description
7732 Params  <FLAG>: Flags for the command can be combined together.
7733 \begin_inset Newline newline
7734 \end_inset
7735
7736 U - dUmmy - no flags
7737 \begin_inset Newline newline
7738 \end_inset
7739
7740 D - Doc - need document loaded to proceed
7741 \begin_inset Newline newline
7742 \end_inset
7743
7744 I - dIrty - mark document dirty
7745 \begin_inset Newline newline
7746 \end_inset
7747
7748 R - Reload - ensure that the document is saved and reload it after command execution
7749 \begin_inset Newline newline
7750 \end_inset
7751
7752 M - Message - ask for input string (commit message)
7753 \begin_inset Newline newline
7754 \end_inset
7755
7756 <PATH>: path where to start. $$p will be replaced by the current document path.
7757 \begin_inset Newline newline
7758 \end_inset
7759
7760 <COMMAND>: command to execute. $$i/$$p/$$m will be replaced by the current document(with absolute path)/path/message.
7761 \end_layout
7762
7763 \begin_layout Description
7764 Sample vc-command DR $$p "svn up"
7765 \end_layout
7766
7767 \begin_layout Description
7768 Origin sanda, 13 Jan 2009
7769 \end_layout
7770
7771 \begin_layout Subsection*
7772 vc-compare
7773 \end_layout
7774
7775 \begin_layout Description
7776 Action Compares two revisions of the same file under version control.
7777 \end_layout
7778
7779 \begin_layout Description
7780 Syntax vc-compare [<REV1>] [<REV2>]
7781 \end_layout
7782
7783 \begin_layout Description
7784 Params Revision number either points directly to commit in history or if negative number -x it points to (last commit - x).
7785 \begin_inset Newline newline
7786 \end_inset
7787
7788 In RCS we subtract only in the last number of revision specification. Special case "0" is reserved for the last committed revision.
7789 \begin_inset Newline newline
7790 \end_inset
7791
7792 <REV1>: Older file.
7793 \begin_inset Newline newline
7794 \end_inset
7795
7796 <REV2>: Newer file. Used only if REV1 > 0.
7797 \begin_inset Newline newline
7798 \end_inset
7799
7800 If no parameter is given, interactive dialog will be shown.
7801 \end_layout
7802
7803 \begin_layout Description
7804 Sample Compare current document against last commit
7805 \begin_inset Newline newline
7806 \end_inset
7807
7808 vc-compare 0
7809 \begin_inset Newline newline
7810 \end_inset
7811
7812 Compare current document against current revision - 5 commits
7813 \begin_inset Newline newline
7814 \end_inset
7815
7816 vc-compare -5
7817 \begin_inset Newline newline
7818 \end_inset
7819
7820 Compare revisions 120 and 155
7821 \begin_inset Newline newline
7822 \end_inset
7823
7824 vc-compare 120 155
7825 \end_layout
7826
7827 \begin_layout Description
7828 Origin sanda, 12 Feb 2010
7829 \end_layout
7830
7831 \begin_layout Subsection*
7832 vc-copy
7833 \end_layout
7834
7835 \begin_layout Description
7836 Action Copies the document to another name.
7837 \end_layout
7838
7839 \begin_layout Description
7840 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.
7841 \end_layout
7842
7843 \begin_layout Description
7844 Syntax vc-copy <FILENAME>
7845 \end_layout
7846
7847 \begin_layout Description
7848 Params <FILENAME>: New name of the document.
7849 \begin_inset Newline newline
7850 \end_inset
7851
7852 A file dialog is opened if no filename is given.
7853 \end_layout
7854
7855 \begin_layout Description
7856 Origin gb, 05 Feb 2013
7857 \end_layout
7858
7859 \begin_layout Subsection*
7860 vc-locking-toggle
7861 \end_layout
7862
7863 \begin_layout Description
7864 Action Toggles the locking property of the edited file.
7865 \end_layout
7866
7867 \begin_layout Description
7868 Notion This is currently implemented only for SVN.
7869 \end_layout
7870
7871 \begin_layout Description
7872 Syntax vc-locking-toggle
7873 \end_layout
7874
7875 \begin_layout Description
7876 Origin sanda, 25 Jun 2009
7877 \end_layout
7878
7879 \begin_layout Subsection*
7880 vc-register
7881 \end_layout
7882
7883 \begin_layout Description
7884 Action Register the document as an file inside version control system.
7885 \end_layout
7886
7887 \begin_layout Description
7888 Notion File is registered inside cvs, svn or rcs repository acording to the existence of cvs/svn/rcs entries in the document's directory.
7889 \begin_inset Newline newline
7890 \end_inset
7891
7892 See LyX Additional Features Manual (Version Control Chapter) for additional information.
7893 \end_layout
7894
7895 \begin_layout Description
7896 Syntax vc-register
7897 \end_layout
7898
7899 \begin_layout Description
7900 Origin Lgb, 1 Jul 1997
7901 \end_layout
7902
7903 \begin_layout Subsection*
7904 vc-rename
7905 \end_layout
7906
7907 \begin_layout Description
7908 Action Renames the document to another name.
7909 \end_layout
7910
7911 \begin_layout Description
7912 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.
7913 \end_layout
7914
7915 \begin_layout Description
7916 Syntax vc-rename <FILENAME>
7917 \end_layout
7918
7919 \begin_layout Description
7920 Params <FILENAME>: New name of the document.
7921 \begin_inset Newline newline
7922 \end_inset
7923
7924 A file dialog is opened if no filename is given.
7925 \end_layout
7926
7927 \begin_layout Description
7928 Origin gb, 05 Feb 2013
7929 \end_layout
7930
7931 \begin_layout Subsection*
7932 vc-repo-update
7933 \end_layout
7934
7935 \begin_layout Description
7936 Action Update the local archive directory in which resides the current document with the remote repository.
7937 \end_layout
7938
7939 \begin_layout Description
7940 Syntax vc-repo-update
7941 \end_layout
7942
7943 \begin_layout Description
7944 Origin sanda, 16 Oct 2009
7945 \end_layout
7946
7947 \begin_layout Subsection*
7948 vc-revert
7949 \end_layout
7950
7951 \begin_layout Description
7952 Action Reverts the document to the last check-in/commit in VCS.
7953 \end_layout
7954
7955 \begin_layout Description
7956 Syntax vc-revert
7957 \end_layout
7958
7959 \begin_layout Description
7960 Origin Lgb, 1 Jul 1997
7961 \end_layout
7962
7963 \begin_layout Subsection*
7964 vc-undo-last
7965 \end_layout
7966
7967 \begin_layout Description
7968 Action Undo last check-in.
7969 \end_layout
7970
7971 \begin_layout Description
7972 Notion This is currently implemented only for RCS.
7973 \end_layout
7974
7975 \begin_layout Description
7976 Syntax vc-check-out
7977 \end_layout
7978
7979 \begin_layout Description
7980 Origin Lgb, 1 Jul 1997
7981 \end_layout
7982
7983 \begin_layout Section
7984 Hidden Functions (not listed for configuration)
7985 \end_layout
7986
7987 \begin_layout Subsection*
7988 command-prefix
7989 \end_layout
7990
7991 \begin_layout Description
7992 Action Return the current key sequence and available options as a string.
7993 \end_layout
7994
7995 \begin_layout Description
7996 Notion No options are added if no current map exists.
7997 \begin_inset Newline newline
7998 \end_inset
7999
8000 This is probably usable only with connection to lyxserver.
8001 \end_layout
8002
8003 \begin_layout Description
8004 Syntax command-prefix
8005 \end_layout
8006
8007 \begin_layout Subsection*
8008 lyx-activate
8009 \end_layout
8010
8011 \begin_layout Description
8012 Action Activates the LyX window.
8013 \end_layout
8014
8015 \begin_layout Description
8016 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.
8017 \end_layout
8018
8019 \begin_layout Description
8020 Syntax lyx-activate
8021 \end_layout
8022
8023 \begin_layout Description
8024 Origin skostysh, 4 Aug 2016
8025 \end_layout
8026
8027 \begin_layout Subsection*
8028 self-insert
8029 \end_layout
8030
8031 \begin_layout Description
8032 Action Inserts the given string (accordingly to the correct keymap).
8033 \end_layout
8034
8035 \begin_layout Description
8036 Notion Automatically replace the currently selected text. Depends on lyxrc settings "auto_region_delete".
8037 \end_layout
8038
8039 \begin_layout Description
8040 Syntax self-insert <STRING>
8041 \end_layout
8042
8043 \begin_layout Subsection*
8044 window-raise
8045 \end_layout
8046
8047 \begin_layout Description
8048 Action Raises the LyX window.
8049 \end_layout
8050
8051 \begin_layout Description
8052 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.
8053 \end_layout
8054
8055 \begin_layout Description
8056 Syntax window-raise
8057 \end_layout
8058
8059 \begin_layout Description
8060 Origin forenr, 21 Apr 2020
8061 \end_layout
8062
8063 \end_body
8064 \end_document