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