]> git.lyx.org Git - lyx.git/blob - lib/doc/LFUNs.lyx
Minor formatting changes.
[lyx.git] / lib / doc / LFUNs.lyx
1 # gen_lfuns.py generated this file. For more info see http://www.lyx.org/
2 \lyxformat 345
3 \begin_document
4 \begin_header
5 \textclass article
6 \begin_preamble
7 \renewcommand{\descriptionlabel}[1]{\hspace\labelsep\upshape\bfseries #1:}
8 \renewenvironment{description}{\list{}{%
9   \setlength{\itemsep}{-2pt}
10   \advance\leftmargini6\p@ \itemindent-12\p@
11   \labelwidth\z@ \let\makelabel\descriptionlabel}%
12 }{
13   \endlist
14 }
15 \end_preamble
16 \use_default_options false
17 \language english
18 \inputencoding auto
19 \font_roman default
20 \font_sans default
21 \font_typewriter default
22 \font_default_family default
23 \font_sc false
24 \font_osf false
25 \font_sf_scale 100
26 \font_tt_scale 100
27
28 \graphics default
29 \paperfontsize default
30 \spacing single
31 \use_hyperref false
32 \papersize default
33 \use_geometry true
34 \use_amsmath 1
35 \use_esint 1
36 \cite_engine basic
37 \use_bibtopic false
38 \paperorientation portrait
39 \leftmargin 2.5cm
40 \topmargin 2cm
41 \rightmargin 3cm
42 \bottommargin 1cm
43 \secnumdepth 3
44 \tocdepth 3
45 \paragraph_separation indent
46 \defskip medskip
47 \quotes_language english
48 \papercolumns 1
49 \papersides 1
50 \paperpagestyle default
51 \tracking_changes false
52 \output_changes false
53 \author "" 
54 \author "" 
55 \end_header
56
57 \begin_body
58
59 \begin_layout Section*
60 LFUNs documentation automatically generated 2010-01-10
61 \end_layout
62
63 \begin_layout Standard
64 \begin_inset ERT
65 status collapsed
66
67 \begin_layout Plain Layout
68
69
70 \backslash
71 thispagestyle{empty}
72 \end_layout
73
74 \end_inset
75
76
77 \begin_inset VSpace 1cm
78 \end_inset
79
80
81 \end_layout
82 \begin_layout Subsection*
83 LFUN_ACCENT_ACUTE
84 \end_layout
85 \begin_layout Description
86 Action Adds an acute accent to the next character typed.
87 \end_layout
88 \begin_layout Description
89 Syntax accent-acute
90 \end_layout
91
92 \begin_layout Subsection*
93 LFUN_ACCENT_BREVE
94 \end_layout
95 \begin_layout Description
96 Action Adds a breve accent to the next character typed.
97 \end_layout
98 \begin_layout Description
99 Syntax accent-breve
100 \end_layout
101
102 \begin_layout Subsection*
103 LFUN_ACCENT_CARON
104 \end_layout
105 \begin_layout Description
106 Action Adds a caron to the next character typed.
107 \end_layout
108 \begin_layout Description
109 Syntax accent-caron
110 \end_layout
111
112 \begin_layout Subsection*
113 LFUN_ACCENT_CEDILLA
114 \end_layout
115 \begin_layout Description
116 Action Adds a cedilla to the next character typed.
117 \end_layout
118 \begin_layout Description
119 Syntax accent-cedilla
120 \end_layout
121
122 \begin_layout Subsection*
123 LFUN_ACCENT_CIRCLE
124 \end_layout
125 \begin_layout Description
126 Action Adds a circle accent to the next character typed.
127 \end_layout
128 \begin_layout Description
129 Syntax accent-circle
130 \end_layout
131
132 \begin_layout Subsection*
133 LFUN_ACCENT_CIRCUMFLEX
134 \end_layout
135 \begin_layout Description
136 Action Adds a circumflex to the next character typed.
137 \end_layout
138 \begin_layout Description
139 Syntax accent-circumflex
140 \end_layout
141
142 \begin_layout Subsection*
143 LFUN_ACCENT_DOT
144 \end_layout
145 \begin_layout Description
146 Action Adds a dot accent to the next character typed.
147 \end_layout
148 \begin_layout Description
149 Syntax accent-dot
150 \end_layout
151
152 \begin_layout Subsection*
153 LFUN_ACCENT_GRAVE
154 \end_layout
155 \begin_layout Description
156 Action Adds a grave accent to the next character typed.
157 \end_layout
158 \begin_layout Description
159 Syntax accent-grave
160 \end_layout
161
162 \begin_layout Subsection*
163 LFUN_ACCENT_HUNGARIAN_UMLAUT
164 \end_layout
165 \begin_layout Description
166 Action Adds a Hungarian umlaut to the next character typed.
167 \end_layout
168 \begin_layout Description
169 Syntax accent-grave
170 \end_layout
171
172 \begin_layout Subsection*
173 LFUN_ACCENT_MACRON
174 \end_layout
175 \begin_layout Description
176 Action Adds a macron to the next character typed.
177 \end_layout
178 \begin_layout Description
179 Syntax accent-macron
180 \end_layout
181
182 \begin_layout Subsection*
183 LFUN_ACCENT_OGONEK
184 \end_layout
185 \begin_layout Description
186 Action Adds an ogonek accent to the next character typed.
187 \end_layout
188 \begin_layout Description
189 Syntax accent-ogonek
190 \end_layout
191
192 \begin_layout Subsection*
193 LFUN_ACCENT_TIE
194 \end_layout
195 \begin_layout Description
196 Action Adds a tie over the next two character typed.
197 \end_layout
198 \begin_layout Description
199 Notion The following char will finish the tie.
200 \end_layout
201 \begin_layout Description
202 Syntax accent-tie
203 \end_layout
204
205 \begin_layout Subsection*
206 LFUN_ACCENT_TILDE
207 \end_layout
208 \begin_layout Description
209 Action Adds a tilde over the next character typed.
210 \end_layout
211 \begin_layout Description
212 Syntax accent-tilde
213 \end_layout
214
215 \begin_layout Subsection*
216 LFUN_ACCENT_UMLAUT
217 \end_layout
218 \begin_layout Description
219 Action Adds an umlaut over the next character typed.
220 \end_layout
221 \begin_layout Description
222 Syntax accent-umlaut
223 \end_layout
224
225 \begin_layout Subsection*
226 LFUN_ACCENT_UNDERBAR
227 \end_layout
228 \begin_layout Description
229 Action Adds a bar under the next character typed.
230 \end_layout
231 \begin_layout Description
232 Syntax accent-underbar
233 \end_layout
234
235 \begin_layout Subsection*
236 LFUN_ACCENT_UNDERDOT
237 \end_layout
238 \begin_layout Description
239 Action Adds a dot under the next character typed.
240 \end_layout
241 \begin_layout Description
242 Syntax accent-underdot
243 \end_layout
244
245 \begin_layout Subsection*
246 LFUN_CAPTION_INSERT
247 \end_layout
248 \begin_layout Description
249 Action Inserts a caption inset.
250 \end_layout
251 \begin_layout Description
252 Syntax caption-insert
253 \end_layout
254 \begin_layout Description
255 Origin Lgb, 18 Jul 2000
256 \end_layout
257
258 \begin_layout Subsection*
259 LFUN_DATE_INSERT
260 \end_layout
261 \begin_layout Description
262 Action Inserts the current date.
263 \end_layout
264 \begin_layout Description
265 Syntax date-insert [<ARG>]
266 \end_layout
267 \begin_layout Description
268 Params <ARG>: Format of date. The default value (%x) can be set in Preferences->Date format. For possible formats see manual page of strftime function.
269 \end_layout
270 \begin_layout Description
271 Origin jdblair, 31 Jan 2000
272 \end_layout
273
274 \begin_layout Subsection*
275 LFUN_FOOTNOTE_INSERT
276 \end_layout
277 \begin_layout Description
278 Action Inserts a footnote inset.
279 \end_layout
280 \begin_layout Description
281 Syntax footnote-insert
282 \end_layout
283 \begin_layout Description
284 Origin Jug, 7 Mar 2000
285 \end_layout
286
287 \begin_layout Subsection*
288 LFUN_ERT_INSERT
289 \end_layout
290 \begin_layout Description
291 Action Inserts an ERT inset.
292 \end_layout
293 \begin_layout Description
294 Syntax ert-insert
295 \end_layout
296 \begin_layout Description
297 Origin Jug, 18 Feb 2000
298 \end_layout
299
300 \begin_layout Subsection*
301 LFUN_FLOAT_INSERT
302 \end_layout
303 \begin_layout Description
304 Action Inserts a float inset.
305 \end_layout
306 \begin_layout Description
307 Syntax float-insert <TYPE>
308 \end_layout
309 \begin_layout Description
310 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
311 \end_layout
312 \begin_layout Description
313 Origin Lgb, 27 Jun 2000
314 \end_layout
315
316 \begin_layout Subsection*
317 LFUN_FLOAT_WIDE_INSERT
318 \end_layout
319 \begin_layout Description
320 Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns.
321 \end_layout
322 \begin_layout Description
323 Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX.
324 \end_layout
325 \begin_layout Description
326 Syntax float-wide-insert <TYPE>
327 \end_layout
328 \begin_layout Description
329 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
330 \end_layout
331 \begin_layout Description
332 Origin Lgb, 31 Oct 2001
333 \end_layout
334
335 \begin_layout Subsection*
336 LFUN_FLOAT_LIST_INSERT
337 \end_layout
338 \begin_layout Description
339 Action Inserts the list of floats in the document.
340 \end_layout
341 \begin_layout Description
342 Syntax float-list-insert <TYPE>
343 \end_layout
344 \begin_layout Description
345 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
346 \end_layout
347 \begin_layout Description
348 Origin Lgb, 3 May 2001
349 \end_layout
350
351 \begin_layout Subsection*
352 LFUN_WRAP_INSERT
353 \end_layout
354 \begin_layout Description
355 Action Inserts floats wrapped by the text around.
356 \end_layout
357 \begin_layout Description
358 Syntax wrap-insert <TYPE>
359 \end_layout
360 \begin_layout Description
361 Params <TYPE>: table|figure
362 \end_layout
363 \begin_layout Description
364 Origin Dekel, 7 Apr 2002
365 \end_layout
366
367 \begin_layout Subsection*
368 LFUN_OPTIONAL_INSERT
369 \end_layout
370 \begin_layout Description
371 Action Inserts an optional-argument (short title) inset.
372 \end_layout
373 \begin_layout Description
374 Syntax optional-insert
375 \end_layout
376 \begin_layout Description
377 Origin vermeer, 12 Aug 2002
378 \end_layout
379
380 \begin_layout Subsection*
381 LFUN_LINE_INSERT
382 \end_layout
383 \begin_layout Description
384 Action Inserts a horizontal line.
385 \end_layout
386 \begin_layout Description
387 Syntax line-insert
388 \end_layout
389 \begin_layout Description
390 Origin Andre, Oct 27 2003
391 \end_layout
392
393 \begin_layout Subsection*
394 LFUN_NEWPAGE_INSERT
395 \end_layout
396 \begin_layout Description
397 Action Inserts a new page.
398 \end_layout
399 \begin_layout Description
400 Syntax newpage-insert <ARG>
401 \end_layout
402 \begin_layout Description
403 Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
404 \end_layout
405 \begin_layout Description
406 Origin uwestoehr, 24 Nov 2007
407 \end_layout
408
409 \begin_layout Subsection*
410 LFUN_MARGINALNOTE_INSERT
411 \end_layout
412 \begin_layout Description
413 Action Inserts a marginal note.
414 \end_layout
415 \begin_layout Description
416 Syntax marginalnote-insert
417 \end_layout
418 \begin_layout Description
419 Origin Lgb, 26 Jun 2000
420 \end_layout
421
422 \begin_layout Subsection*
423 LFUN_UNICODE_INSERT
424 \end_layout
425 \begin_layout Description
426 Action Inserts a single unicode character.
427 \end_layout
428 \begin_layout Description
429 Syntax unicode-insert <CHAR>
430 \end_layout
431 \begin_layout Description
432 Params <CHAR>: The character to insert, given as its code point, in hexadecimal.
433 \end_layout
434 \begin_layout Description
435 Sample unicode-insert 0x0100
436 \end_layout
437 \begin_layout Description
438 Origin Lgb, 22 Oct 2006
439 \end_layout
440
441 \begin_layout Subsection*
442 LFUN_LISTING_INSERT
443 \end_layout
444 \begin_layout Description
445 Action Inserts a new listings inset.
446 \end_layout
447 \begin_layout Description
448 Syntax listing-insert
449 \end_layout
450 \begin_layout Description
451 Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
452 \end_layout
453
454 \begin_layout Subsection*
455 LFUN_TAB_INSERT
456 \end_layout
457 \begin_layout Description
458 Action Insert a tab into a listings inset.
459 \end_layout
460 \begin_layout Description
461 Notion It also works on a selection.
462 \end_layout
463 \begin_layout Description
464 Syntax tab-insert
465 \end_layout
466 \begin_layout Description
467 Origin vfr, Sep 30 2008
468 \end_layout
469
470 \begin_layout Subsection*
471 LFUN_TAB_DELETE
472 \end_layout
473 \begin_layout Description
474 Action Delete a tab or up to an equivalent amount of spaces from a listings inset.
475 \end_layout
476 \begin_layout Description
477 Notion It also works on a selection - it removes a tab or spaces from the beginning of each line spanned by the selection. This is useful if you want to indent/unindent multiple lines in one action.
478 \end_layout
479 \begin_layout Description
480 Syntax tab-delete
481 \end_layout
482 \begin_layout Description
483 Origin vfr, Sep 30 2008
484 \end_layout
485
486 \begin_layout Subsection*
487 LFUN_QUOTE_INSERT
488 \end_layout
489 \begin_layout Description
490 Action Inserts quotes according to the type and quote-language preference.
491 \end_layout
492 \begin_layout Description
493 Notion Currently English, Swedish, German, Polish, French, Danish quotes are distinguished.
494 \end_layout
495 \begin_layout Description
496 Syntax quote-insert [<TYPE>]
497 \end_layout
498 \begin_layout Description
499 Params <TYPE>: 'single' for single quotes, otherwise double quotes will be used.
500 \end_layout
501
502 \begin_layout Subsection*
503 LFUN_INFO_INSERT
504 \end_layout
505 \begin_layout Description
506 Action Displays shortcuts, lyxrc, package and textclass availability and menu information in a non-editable boxed InsetText.
507 \end_layout
508 \begin_layout Description
509 Notion Apart from lfun arguments you can use the following method:
510 \begin_inset Newline newline
511 \end_inset
512
513 1. input the type and argument of this inset, e.g. "menu paste", in the work area.
514 \begin_inset Newline newline
515 \end_inset
516
517 2. select the text and run info-insert lfun.
518 \end_layout
519 \begin_layout Description
520 Syntax info-insert <TYPE> <ARG>
521 \end_layout
522 \begin_layout Description
523 Params <TYPE>: shortcut[s]|lyxrc|package|textclass|menu|buffer
524 \begin_inset Newline newline
525 \end_inset
526
527 <ARG>: argument for a given type. Look into InsetInfo.h for detailed description.
528 \begin_inset Newline newline
529 \end_inset
530
531                       shortcut[s]: name of lfun (e.g math-insert 
532 \backslash
533 alpha)
534 \begin_inset Newline newline
535 \end_inset
536
537                       lyxrc: name of rc_entry (e.g. bind_file)
538 \begin_inset Newline newline
539 \end_inset
540
541                       package: name of latex package (e.g. listings)
542 \begin_inset Newline newline
543 \end_inset
544
545                       textclass: name of textclass (e.g. article)
546 \begin_inset Newline newline
547 \end_inset
548
549                       menu: name of lfun used in menu 
550 \begin_inset Newline newline
551 \end_inset
552
553                       icon: name of lfun used in toolbar
554 \begin_inset Newline newline
555 \end_inset
556
557                       buffer: "name"|"path"|"class"
558 \end_layout
559 \begin_layout Description
560 Sample command-sequence info-insert buffer path; info-insert buffer name
561 \end_layout
562 \begin_layout Description
563 Origin bpeng, 7 Oct 2007
564 \end_layout
565
566 \begin_layout Subsection*
567 LFUN_BRANCH_INSERT
568 \end_layout
569 \begin_layout Description
570 Action Inserts branch inset.
571 \end_layout
572 \begin_layout Description
573 Syntax branch-insert <BRANCH-NAME>
574 \end_layout
575 \begin_layout Description
576 Origin vermeer, 17 Aug 2003
577 \end_layout
578
579 \begin_layout Subsection*
580 LFUN_BOX_INSERT
581 \end_layout
582 \begin_layout Description
583 Action Inserts Box inset.
584 \end_layout
585 \begin_layout Description
586 Syntax box-insert [<TYPE>]
587 \end_layout
588 \begin_layout Description
589 Params <TYPE>: Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox
590 \begin_inset Newline newline
591 \end_inset
592
593 Framed is the default one.
594 \end_layout
595 \begin_layout Description
596 Origin vermeer, 7 Oct 2003
597 \end_layout
598
599 \begin_layout Subsection*
600 LFUN_FLEX_INSERT
601 \end_layout
602 \begin_layout Description
603 Action Inserts CharStyle, Custom inset or XML short element.
604 \end_layout
605 \begin_layout Description
606 Notion Look into the Customization manual for more information about these elements.
607 \begin_inset Newline newline
608 \end_inset
609
610 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.
611 \begin_inset Newline newline
612 \end_inset
613
614 For dissolving the element see LFUN_INSET_DISSOLVE.
615 \end_layout
616 \begin_layout Description
617 Syntax flex-insert <TYPE:Name>
618 \end_layout
619 \begin_layout Description
620 Params TYPE: CharStyle|Custom|Element|Standard
621 \begin_inset Newline newline
622 \end_inset
623
624 Identifies whether this is a Character Style, a Custom Inset or an XML Element, and which dynamical sub-menu this flex inset is in on the LyX menu tree. If Standard (currently unused): none of these.
625 \begin_inset Newline newline
626 \end_inset
627
628 Name: This name must be defined either in your layout file or imported by some module. The definition is InsetLayout <TYPE:Name>
629 \end_layout
630 \begin_layout Description
631 Sample flex-insert CharStyle:Code
632 \end_layout
633
634 \begin_layout Subsection*
635 LFUN_SELF_INSERT
636 \end_layout
637 \begin_layout Description
638 Action Inserts the given string (accordingly to the correct keymap).
639 \end_layout
640 \begin_layout Description
641 Notion Automatically replace the currently selected text. Depends on lyxrc settings "auto_region_delete".
642 \end_layout
643 \begin_layout Description
644 Syntax self-insert <STRING>
645 \end_layout
646
647 \begin_layout Subsection*
648 LFUN_SPACE_INSERT
649 \end_layout
650 \begin_layout Description
651 Action Inserts one of horizontal space insets.
652 \end_layout
653 \begin_layout Description
654 Syntax space-insert <NAME> [<LEN>]
655 \end_layout
656 \begin_layout Description
657 Params <NAME>: normal, protected, thin, quad, qquad, enspace, enskip, negthinspace, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
658 \begin_inset Newline newline
659 \end_inset
660
661 <LEN>: length for custom spaces (hspace, hspace* for protected)
662 \end_layout
663 \begin_layout Description
664 Origin JSpitzm, 20 May 2003, Mar 17 2008
665 \end_layout
666
667 \begin_layout Subsection*
668 LFUN_HYPERLINK_INSERT
669 \end_layout
670 \begin_layout Description
671 Action Inserts hyperlinks into the document (clickable in pdf output).
672 \end_layout
673 \begin_layout Description
674 Notion Hyperlink target can be set via selection + hyperlink-insert function.
675 \end_layout
676 \begin_layout Description
677 Syntax href-insert [<TARGET>]
678 \end_layout
679 \begin_layout Description
680 Origin CFO-G, 21 Nov 1997
681 \end_layout
682
683 \begin_layout Subsection*
684 LFUN_SPECIALCHAR_INSERT
685 \end_layout
686 \begin_layout Description
687 Action Inserts various characters into the document.
688 \end_layout
689 \begin_layout Description
690 Syntax specialchar-insert <CHAR>
691 \end_layout
692 \begin_layout Description
693 Params <CHAR>: hyphenation, ligature-break, slash, nobreakdash, dots, end-of-sentence, menu-separator.
694 \end_layout
695 \begin_layout Description
696 Origin JSpitzm, 6 Dec 2007
697 \end_layout
698
699 \begin_layout Subsection*
700 LFUN_TOC_INSERT
701 \end_layout
702 \begin_layout Description
703 Action Inserts table of contents.
704 \end_layout
705 \begin_layout Description
706 Syntax toc-insert
707 \end_layout
708 \begin_layout Description
709 Origin Lgb, 27 May 97
710 \end_layout
711
712 \begin_layout Subsection*
713 LFUN_APPENDIX
714 \end_layout
715 \begin_layout Description
716 Action Start (or remove) Appendix on the given cursor position.
717 \end_layout
718 \begin_layout Description
719 Syntax appendix
720 \end_layout
721 \begin_layout Description
722 Origin ettrich, 5 May 1998
723 \end_layout
724
725 \begin_layout Subsection*
726 LFUN_INDEX_INSERT
727 \end_layout
728 \begin_layout Description
729 Action Inserts Index entry.
730 \end_layout
731 \begin_layout Description
732 Notion It automatically takes the word on the cursor position.
733 \end_layout
734 \begin_layout Description
735 Syntax index-insert [<TYPE:Name>]
736 \end_layout
737 \begin_layout Description
738 Params <TYPE:Name>: name of the index, if multiple indices are defined. with an empty argument, the default index is selected.
739 \end_layout
740 \begin_layout Description
741 Origin leeming, 3 Aug 2000
742 \end_layout
743
744 \begin_layout Subsection*
745 LFUN_INDEX_PRINT
746 \end_layout
747 \begin_layout Description
748 Action Inserts list of Index entries on a new page.
749 \end_layout
750 \begin_layout Description
751 Syntax index-print [<TYPE:Name>]
752 \end_layout
753 \begin_layout Description
754 Params <TYPE:Name>: name of the index, if multiple indices are defined. with an empty argument, the default index is selected.
755 \end_layout
756 \begin_layout Description
757 Origin Lgb, 27 Feb 1997
758 \end_layout
759
760 \begin_layout Subsection*
761 LFUN_NOMENCL_INSERT
762 \end_layout
763 \begin_layout Description
764 Action Inserts Nomenclature entry.
765 \end_layout
766 \begin_layout Description
767 Notion It automatically takes the word on the cursor position if no symbol is given.
768 \end_layout
769 \begin_layout Description
770 Syntax nomencl-insert [<SYMBOL>]
771 \end_layout
772 \begin_layout Description
773 Origin Ugras, 4 Nov 2006
774 \end_layout
775
776 \begin_layout Subsection*
777 LFUN_NOMENCLATURE_PRINT
778 \end_layout
779 \begin_layout Description
780 Action Inserts list of Nomenclature entries.
781 \end_layout
782 \begin_layout Description
783 Syntax nomenclature-print
784 \end_layout
785 \begin_layout Description
786 Origin Ugras, 4 Nov 2006
787 \end_layout
788
789 \begin_layout Subsection*
790 LFUN_NOTE_INSERT
791 \end_layout
792 \begin_layout Description
793 Action Inserts Note on the current cursor postion, move selection inside the inset.
794 \end_layout
795 \begin_layout Description
796 Syntax note-insert [<TYPE>]
797 \end_layout
798 \begin_layout Description
799 Params <TYPE>: <Note|Greyedout|Comment> default: Note
800 \end_layout
801
802 \begin_layout Subsection*
803 LFUN_NOTE_NEXT
804 \end_layout
805 \begin_layout Description
806 Action Moves the cursor to the begining of next Note inset.
807 \end_layout
808 \begin_layout Description
809 Syntax note-next
810 \end_layout
811
812 \begin_layout Subsection*
813 LFUN_NOTES_MUTATE
814 \end_layout
815 \begin_layout Description
816 Action Changes all Note insets of a particular type (source) to a different type (target) fot the current document.
817 \end_layout
818 \begin_layout Description
819 Syntax notes-mutate <SOURCE> <TARGET>
820 \end_layout
821 \begin_layout Description
822 Params <SOURCE/TARGET>: Note|Comment|Greyedout
823 \end_layout
824 \begin_layout Description
825 Origin sanda, 18 Jun 2008
826 \end_layout
827
828 \begin_layout Subsection*
829 LFUN_PHANTOM_INSERT
830 \end_layout
831 \begin_layout Description
832 Action Inserts phantom on the current cursor postion, move selection inside the inset.
833 \end_layout
834 \begin_layout Description
835 Syntax phantom-insert [<TYPE>]
836 \end_layout
837 \begin_layout Description
838 Params <TYPE>: <Phantom|HPhantom|VPhantom> default: Phantom
839 \end_layout
840 \begin_layout Description
841 Origin uwestoehr, 30 Jan 2009
842 \end_layout
843
844 \begin_layout Subsection*
845 LFUN_NEWLINE_INSERT
846 \end_layout
847 \begin_layout Description
848 Action Inserts a line break or new line.
849 \end_layout
850 \begin_layout Description
851 Syntax newline-insert [<ARG>]
852 \end_layout
853 \begin_layout Description
854 Params <ARG>: <newline|linebreak> default: newline
855 \end_layout
856 \begin_layout Description
857 Origin JSpitzm, 25 Mar 2008
858 \end_layout
859
860 \begin_layout Subsection*
861 LFUN_ESCAPE
862 \end_layout
863 \begin_layout Description
864 Action Clears the selection. If no text is selected call LFUN_FINISHED_FORWARD.
865 \end_layout
866 \begin_layout Description
867 Syntax escape
868 \end_layout
869 \begin_layout Description
870 Origin Lgb, 17 May 2001
871 \end_layout
872
873 \begin_layout Subsection*
874 LFUN_DOWN
875 \end_layout
876 \begin_layout Description
877 Action Moves the cursor one line in downward direction.
878 \end_layout
879 \begin_layout Description
880 Syntax down
881 \end_layout
882
883 \begin_layout Subsection*
884 LFUN_UP
885 \end_layout
886 \begin_layout Description
887 Action Moves the cursor one line in upward direction.
888 \end_layout
889 \begin_layout Description
890 Syntax up
891 \end_layout
892
893 \begin_layout Subsection*
894 LFUN_DOWN_SELECT
895 \end_layout
896 \begin_layout Description
897 Action Moves the cursor one line in downward direction adding the current position to the selection.
898 \end_layout
899 \begin_layout Description
900 Syntax down-select
901 \end_layout
902
903 \begin_layout Subsection*
904 LFUN_UP_SELECT
905 \end_layout
906 \begin_layout Description
907 Action Moves the cursor one line in upward direction adding the current position to the selection.
908 \end_layout
909 \begin_layout Description
910 Syntax up-select
911 \end_layout
912
913 \begin_layout Subsection*
914 LFUN_SCREEN_DOWN
915 \end_layout
916 \begin_layout Description
917 Action Moves the cursor one page in downward direction.
918 \end_layout
919 \begin_layout Description
920 Syntax screen-down
921 \end_layout
922
923 \begin_layout Subsection*
924 LFUN_SCREEN_UP
925 \end_layout
926 \begin_layout Description
927 Action Moves the cursor one page in upward direction.
928 \end_layout
929 \begin_layout Description
930 Syntax screen-up
931 \end_layout
932
933 \begin_layout Subsection*
934 LFUN_SCREEN_DOWN_SELECT
935 \end_layout
936 \begin_layout Description
937 Action Moves the cursor one screen in downward direction adding the current position to the selection.
938 \end_layout
939 \begin_layout Description
940 Syntax screen-down-select
941 \end_layout
942
943 \begin_layout Subsection*
944 LFUN_SCREEN_UP_SELECT
945 \end_layout
946 \begin_layout Description
947 Action Moves the cursor one page in upward direction adding the current position to the selection.
948 \end_layout
949 \begin_layout Description
950 Syntax screen-up-select
951 \end_layout
952
953 \begin_layout Subsection*
954 LFUN_SCROLL
955 \end_layout
956 \begin_layout Description
957 Action Scroll the buffer view.
958 \end_layout
959 \begin_layout Description
960 Notion Only scrolls the screen up or down; does not move the cursor.
961 \end_layout
962 \begin_layout Description
963 Syntax scroll <TYPE> <QUANTITY>
964 \end_layout
965 \begin_layout Description
966 Params <TYPE>:  line|page
967 \begin_inset Newline newline
968 \end_inset
969
970 <QUANTITY>: up|down|<number>
971 \end_layout
972 \begin_layout Description
973 Origin Abdel, Dec 27 2007
974 \end_layout
975
976 \begin_layout Subsection*
977 LFUN_SCREEN_RECENTER
978 \end_layout
979 \begin_layout Description
980 Action Recenters the screen on the current cursor position.
981 \end_layout
982 \begin_layout Description
983 Syntax screen-recenter
984 \end_layout
985
986 \begin_layout Subsection*
987 LFUN_SCREEN_SHOW_CURSOR
988 \end_layout
989 \begin_layout Description
990 Action Repositions the screen such that the cursor is visible.
991 \end_layout
992 \begin_layout Description
993 Syntax screen-show-cursor
994 \end_layout
995 \begin_layout Description
996 Origin vfr, 25 Mar 2009
997 \end_layout
998
999 \begin_layout Subsection*
1000 LFUN_CHAR_BACKWARD
1001 \end_layout
1002 \begin_layout Description
1003 Action Moves the cursor one position logically backwards.
1004 \end_layout
1005 \begin_layout Description
1006 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.
1007 \end_layout
1008 \begin_layout Description
1009 Syntax char-backward
1010 \end_layout
1011
1012 \begin_layout Subsection*
1013 LFUN_CHAR_BACKWARD_SELECT
1014 \end_layout
1015 \begin_layout Description
1016 Action Moves the cursor one position logically backwards, adding traversed position to the selection.
1017 \end_layout
1018 \begin_layout Description
1019 Notion See also LFUN_CHAR_BACKWARD.
1020 \end_layout
1021 \begin_layout Description
1022 Syntax char-backward-select
1023 \end_layout
1024
1025 \begin_layout Subsection*
1026 LFUN_CHAR_DELETE_BACKWARD
1027 \end_layout
1028 \begin_layout Description
1029 Action Deletes one character in the backward direction (usually the "BackSpace" key).
1030 \end_layout
1031 \begin_layout Description
1032 Syntax char-delete-backward
1033 \end_layout
1034
1035 \begin_layout Subsection*
1036 LFUN_CHAR_DELETE_FORWARD
1037 \end_layout
1038 \begin_layout Description
1039 Action Deletes one character in the backward direction (usually the "Delete" key).
1040 \end_layout
1041 \begin_layout Description
1042 Syntax char-delete-forward
1043 \end_layout
1044
1045 \begin_layout Subsection*
1046 LFUN_CHAR_FORWARD
1047 \end_layout
1048 \begin_layout Description
1049 Action Moves the cursor one position logically forward.
1050 \end_layout
1051 \begin_layout Description
1052 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.
1053 \end_layout
1054 \begin_layout Description
1055 Syntax char-forward
1056 \end_layout
1057
1058 \begin_layout Subsection*
1059 LFUN_CHAR_FORWARD_SELECT
1060 \end_layout
1061 \begin_layout Description
1062 Action Moves the cursor one position logically forward, adding traversed position to the selection.
1063 \end_layout
1064 \begin_layout Description
1065 Notion See also LFUN_CHAR_FORWARD.
1066 \end_layout
1067 \begin_layout Description
1068 Syntax char-forward-select
1069 \end_layout
1070
1071 \begin_layout Subsection*
1072 LFUN_CHAR_LEFT
1073 \end_layout
1074 \begin_layout Description
1075 Action Moves the cursor one position "to the left".
1076 \end_layout
1077 \begin_layout Description
1078 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.
1079 \end_layout
1080 \begin_layout Description
1081 Syntax char-left
1082 \end_layout
1083
1084 \begin_layout Subsection*
1085 LFUN_CHAR_LEFT_SELECT
1086 \end_layout
1087 \begin_layout Description
1088 Action Moves the cursor one position "to the left", adding traversed position to the selection.
1089 \end_layout
1090 \begin_layout Description
1091 Notion See also LFUN_CHAR_LEFT for exact details of the movement.
1092 \end_layout
1093 \begin_layout Description
1094 Syntax char-left-select
1095 \end_layout
1096
1097 \begin_layout Subsection*
1098 LFUN_CHAR_RIGHT
1099 \end_layout
1100 \begin_layout Description
1101 Action Moves the cursor one position "to the right".
1102 \end_layout
1103 \begin_layout Description
1104 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.
1105 \end_layout
1106 \begin_layout Description
1107 Syntax char-right
1108 \end_layout
1109
1110 \begin_layout Subsection*
1111 LFUN_CHAR_RIGHT_SELECT
1112 \end_layout
1113 \begin_layout Description
1114 Action Moves the cursor one position "to the right", adding traversed position to the selection.
1115 \end_layout
1116 \begin_layout Description
1117 Notion See also LFUN_CHAR_RIGHT for exact details of the movement.
1118 \end_layout
1119 \begin_layout Description
1120 Syntax char-right-select
1121 \end_layout
1122
1123 \begin_layout Subsection*
1124 LFUN_WORD_BACKWARD
1125 \end_layout
1126 \begin_layout Description
1127 Action Moves the cursor to the logically previous beginning of a word.
1128 \end_layout
1129 \begin_layout Description
1130 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.
1131 \end_layout
1132 \begin_layout Description
1133 Syntax word-backward
1134 \end_layout
1135
1136 \begin_layout Subsection*
1137 LFUN_WORD_BACKWARD_SELECT
1138 \end_layout
1139 \begin_layout Description
1140 Action Moves the cursor to the logically previous beginning of a word, adding the logically traversed text to the selection.
1141 \end_layout
1142 \begin_layout Description
1143 Notion See also LFUN_WORD_BACKWARD.
1144 \end_layout
1145 \begin_layout Description
1146 Syntax word-backward-select
1147 \end_layout
1148
1149 \begin_layout Subsection*
1150 LFUN_WORD_DELETE_BACKWARD
1151 \end_layout
1152 \begin_layout Description
1153 Action Deletes characters to the begining of the word (usually the "C+BackSpace" key).
1154 \end_layout
1155 \begin_layout Description
1156 Syntax word-delete-backward
1157 \end_layout
1158
1159 \begin_layout Subsection*
1160 LFUN_WORD_DELETE_FORWARD
1161 \end_layout
1162 \begin_layout Description
1163 Action Deletes characters to the end of the word (usually the "C+Delete" key).
1164 \end_layout
1165 \begin_layout Description
1166 Syntax word-delete-forward
1167 \end_layout
1168
1169 \begin_layout Subsection*
1170 LFUN_WORD_FIND_FORWARD
1171 \end_layout
1172 \begin_layout Description
1173 Action Search for a given string in forward direction.
1174 \end_layout
1175 \begin_layout Description
1176 Notion Case sensitive, match words. If no argument given, last search repeated.
1177 \end_layout
1178 \begin_layout Description
1179 Syntax word-find-forward [<STRING>]
1180 \end_layout
1181 \begin_layout Description
1182 Origin Etienne, 16 Feb 1998
1183 \end_layout
1184
1185 \begin_layout Subsection*
1186 LFUN_WORD_FIND_BACKWARD
1187 \end_layout
1188 \begin_layout Description
1189 Action Search for a given string in backward direction.
1190 \end_layout
1191 \begin_layout Description
1192 Notion Case sensitive, match words. If no argument given, last search repeated.
1193 \end_layout
1194 \begin_layout Description
1195 Syntax word-find-backward [<STRING>]
1196 \end_layout
1197 \begin_layout Description
1198 Origin Etienne, 20 Feb 1998
1199 \end_layout
1200
1201 \begin_layout Subsection*
1202 LFUN_WORD_FIND
1203 \end_layout
1204 \begin_layout Description
1205 Action Search for next occurence of a string.
1206 \end_layout
1207 \begin_layout Description
1208 Syntax word-find [<DATA>]
1209 \end_layout
1210 \begin_layout Description
1211 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).
1212 \end_layout
1213 \begin_layout Description
1214 Origin Andre, Jan 7 2004
1215 \end_layout
1216
1217 \begin_layout Subsection*
1218 LFUN_WORD_REPLACE
1219 \end_layout
1220 \begin_layout Description
1221 Action Replace a string in the document.
1222 \end_layout
1223 \begin_layout Description
1224 Syntax word-replace [<DATA>]
1225 \end_layout
1226 \begin_layout Description
1227 Params <DATA>: data is of the form "<replace>
1228 \begin_inset Newline newline
1229 \end_inset
1230
1231 <search>
1232 \begin_inset Newline newline
1233 \end_inset
1234
1235 <casesensitive> <matchword> <all> <forward>"
1236 \end_layout
1237 \begin_layout Description
1238 Origin Andre, Jan 7 2004
1239 \end_layout
1240
1241 \begin_layout Subsection*
1242 LFUN_WORD_FINDADV
1243 \end_layout
1244 \begin_layout Description
1245 Action Search for next occurence of a pattern.
1246 \end_layout
1247 \begin_layout Description
1248 Syntax word-findadv [<DATA>]
1249 \end_layout
1250 \begin_layout Description
1251 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).
1252 \end_layout
1253 \begin_layout Description
1254 Origin Tommaso, Nov 15 2007
1255 \end_layout
1256
1257 \begin_layout Subsection*
1258 LFUN_WORD_FORWARD
1259 \end_layout
1260 \begin_layout Description
1261 Action Moves the cursor to the logically next beginning of a word.
1262 \end_layout
1263 \begin_layout Description
1264 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.
1265 \end_layout
1266 \begin_layout Description
1267 Syntax word-forward
1268 \end_layout
1269
1270 \begin_layout Subsection*
1271 LFUN_WORD_FORWARD_SELECT
1272 \end_layout
1273 \begin_layout Description
1274 Action Moves the cursor to the logically next beginning of a word, adding the logically traversed text to the selection.
1275 \end_layout
1276 \begin_layout Description
1277 Notion See also LFUN_WORD_FORWARD.
1278 \end_layout
1279 \begin_layout Description
1280 Syntax word-forward-select
1281 \end_layout
1282
1283 \begin_layout Subsection*
1284 LFUN_WORD_LEFT
1285 \end_layout
1286 \begin_layout Description
1287 Action Moves the cursor to the next beginning of a word "on the left".
1288 \end_layout
1289 \begin_layout Description
1290 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.
1291 \end_layout
1292 \begin_layout Description
1293 Syntax word-left
1294 \end_layout
1295 \begin_layout Description
1296 Origin dov, 28 Oct 2007
1297 \end_layout
1298
1299 \begin_layout Subsection*
1300 LFUN_WORD_LEFT_SELECT
1301 \end_layout
1302 \begin_layout Description
1303 Action Moves the cursor to the next beginning of a word "on the left", adding *logically* traversed text to the selection.
1304 \end_layout
1305 \begin_layout Description
1306 Notion See also LFUN_WORD_LEFT for exact details of the movement.
1307 \end_layout
1308 \begin_layout Description
1309 Syntax word-left-select
1310 \end_layout
1311 \begin_layout Description
1312 Origin dov, 28 Oct 2007
1313 \end_layout
1314
1315 \begin_layout Subsection*
1316 LFUN_WORD_RIGHT
1317 \end_layout
1318 \begin_layout Description
1319 Action Moves the cursor to the next beginning of a word "on the right".
1320 \end_layout
1321 \begin_layout Description
1322 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.
1323 \end_layout
1324 \begin_layout Description
1325 Syntax word-right
1326 \end_layout
1327 \begin_layout Description
1328 Origin dov, 28 Oct 2007
1329 \end_layout
1330
1331 \begin_layout Subsection*
1332 LFUN_WORD_RIGHT_SELECT
1333 \end_layout
1334 \begin_layout Description
1335 Action Moves the cursor to the next beginning of a word "on the right", adding *logically* traversed text to the selection.
1336 \end_layout
1337 \begin_layout Description
1338 Notion See also LFUN_WORD_RIGHT for exact details of the movement.
1339 \end_layout
1340 \begin_layout Description
1341 Syntax word-right-select
1342 \end_layout
1343 \begin_layout Description
1344 Origin dov, 28 Oct 2007
1345 \end_layout
1346
1347 \begin_layout Subsection*
1348 LFUN_WORD_SELECT
1349 \end_layout
1350 \begin_layout Description
1351 Action Puts the word where the cursor stands into the selection.
1352 \end_layout
1353 \begin_layout Description
1354 Syntax word-select
1355 \end_layout
1356 \begin_layout Description
1357 Origin Andre, 11 Sep 2002
1358 \end_layout
1359
1360 \begin_layout Subsection*
1361 LFUN_WORD_CAPITALIZE
1362 \end_layout
1363 \begin_layout Description
1364 Action Capitalizes the words in the selection (i.e. the first letters) or the letter on the cursor position.
1365 \end_layout
1366 \begin_layout Description
1367 Syntax word-capitalize
1368 \end_layout
1369
1370 \begin_layout Subsection*
1371 LFUN_WORD_UPCASE
1372 \end_layout
1373 \begin_layout Description
1374 Action Change the words in the selection or from the cursor position to the end of word to the upper case.
1375 \end_layout
1376 \begin_layout Description
1377 Syntax word-upcase
1378 \end_layout
1379
1380 \begin_layout Subsection*
1381 LFUN_WORD_LOWCASE
1382 \end_layout
1383 \begin_layout Description
1384 Action Change the words in the selection or from the cursor position to the end of word to the lower case.
1385 \end_layout
1386 \begin_layout Description
1387 Syntax word-lowcase
1388 \end_layout
1389
1390 \begin_layout Subsection*
1391 LFUN_THESAURUS_ENTRY
1392 \end_layout
1393 \begin_layout Description
1394 Action Look up thesaurus entries with respect to the word under the cursor.
1395 \end_layout
1396 \begin_layout Description
1397 Syntax thesaurus-entry [<STRING>] [lang=<LANG>]
1398 \end_layout
1399 \begin_layout Description
1400 Params <STRING>: word to look up <LANG>: language (see file languages)
1401 \end_layout
1402 \begin_layout Description
1403 Origin Levon, 20 Jul 2001
1404 \end_layout
1405
1406 \begin_layout Subsection*
1407 LFUN_BUFFER_BEGIN
1408 \end_layout
1409 \begin_layout Description
1410 Action Move the cursor to the beginning of the document.
1411 \end_layout
1412 \begin_layout Description
1413 Syntax buffer-begin
1414 \end_layout
1415
1416 \begin_layout Subsection*
1417 LFUN_BUFFER_BEGIN_SELECT
1418 \end_layout
1419 \begin_layout Description
1420 Action Move the cursor to the beginning of the document adding the traversed text to the selection.
1421 \end_layout
1422 \begin_layout Description
1423 Syntax buffer-begin-select
1424 \end_layout
1425
1426 \begin_layout Subsection*
1427 LFUN_BUFFER_END
1428 \end_layout
1429 \begin_layout Description
1430 Action Move the cursor to the end of the document.
1431 \end_layout
1432 \begin_layout Description
1433 Syntax buffer-end
1434 \end_layout
1435
1436 \begin_layout Subsection*
1437 LFUN_BUFFER_END_SELECT
1438 \end_layout
1439 \begin_layout Description
1440 Action Move the cursor to the end of the document adding the traversed text to the selection.
1441 \end_layout
1442 \begin_layout Description
1443 Syntax buffer-end-select
1444 \end_layout
1445
1446 \begin_layout Subsection*
1447 LFUN_INSET_BEGIN
1448 \end_layout
1449 \begin_layout Description
1450 Action Move the cursor to the beginning of the current inset if it is not already there, or at the beginning of the enclosing inset otherwise
1451 \end_layout
1452 \begin_layout Description
1453 Syntax inset-begin
1454 \end_layout
1455 \begin_layout Description
1456 Origin lasgouttes, 16 Mar 2009
1457 \end_layout
1458
1459 \begin_layout Subsection*
1460 LFUN_INSET_BEGIN_SELECT
1461 \end_layout
1462 \begin_layout Description
1463 Action Move the cursor to the beginning of the current inset if it is not already there, or at the beginning of the enclosing inset otherwise (adding the traversed text to the selection).
1464 \end_layout
1465 \begin_layout Description
1466 Syntax inset-begin-select
1467 \end_layout
1468 \begin_layout Description
1469 Origin lasgouttes, 16 Mar 2009
1470 \end_layout
1471
1472 \begin_layout Subsection*
1473 LFUN_INSET_END
1474 \end_layout
1475 \begin_layout Description
1476 Action Move the cursor to the end of the current inset if it is not already there, or at the end of the enclosing inset otherwise
1477 \end_layout
1478 \begin_layout Description
1479 Syntax inset-end
1480 \end_layout
1481 \begin_layout Description
1482 Origin lasgouttes, 16 Mar 2009
1483 \end_layout
1484
1485 \begin_layout Subsection*
1486 LFUN_INSET_END_SELECT
1487 \end_layout
1488 \begin_layout Description
1489 Action Move the cursor to the end of the current inset if it is not already there, or at the end of the enclosing inset otherwise (adding the traversed text to the selection).
1490 \end_layout
1491 \begin_layout Description
1492 Syntax inset-end-select
1493 \end_layout
1494 \begin_layout Description
1495 Origin lasgouttes, 16 Mar 2009
1496 \end_layout
1497
1498 \begin_layout Subsection*
1499 LFUN_INSET_SELECT_ALL
1500 \end_layout
1501 \begin_layout Description
1502 Action Selects all contents of an inset.
1503 \end_layout
1504 \begin_layout Description
1505 Syntax inset-select-all
1506 \end_layout
1507 \begin_layout Description
1508 Origin vfr, 22 Aug 2009
1509 \end_layout
1510
1511 \begin_layout Subsection*
1512 LFUN_SECTION_SELECT
1513 \end_layout
1514 \begin_layout Description
1515 Action Selects the whole section.
1516 \end_layout
1517 \begin_layout Description
1518 Notion The cursor should be in a section heading before calling this lfun.
1519 \end_layout
1520 \begin_layout Description
1521 Syntax section-select
1522 \end_layout
1523 \begin_layout Description
1524 Origin vfr, 05 May 2009
1525 \end_layout
1526
1527 \begin_layout Subsection*
1528 LFUN_LINE_BEGIN
1529 \end_layout
1530 \begin_layout Description
1531 Action Move the cursor to the begining of the (screen) line.
1532 \end_layout
1533 \begin_layout Description
1534 Syntax line-begin
1535 \end_layout
1536
1537 \begin_layout Subsection*
1538 LFUN_LINE_BEGIN_SELECT
1539 \end_layout
1540 \begin_layout Description
1541 Action Move the cursor to the beginning of the (screen) line adding the traversed text to the selection.
1542 \end_layout
1543 \begin_layout Description
1544 Syntax line-begin-select
1545 \end_layout
1546
1547 \begin_layout Subsection*
1548 LFUN_LINE_END
1549 \end_layout
1550 \begin_layout Description
1551 Action Move the cursor to the end of the (screen) line.
1552 \end_layout
1553 \begin_layout Description
1554 Syntax line-end
1555 \end_layout
1556
1557 \begin_layout Subsection*
1558 LFUN_LINE_END_SELECT
1559 \end_layout
1560 \begin_layout Description
1561 Action Move the cursor to the end of the (screen) line adding the traversed text to the selection.
1562 \end_layout
1563 \begin_layout Description
1564 Syntax line-end-select
1565 \end_layout
1566
1567 \begin_layout Subsection*
1568 LFUN_LINE_DELETE
1569 \end_layout
1570 \begin_layout Description
1571 Action Deletes the letters to the end of the (screen) line or deletes the selection.
1572 \end_layout
1573 \begin_layout Description
1574 Syntax line-delete-forward
1575 \end_layout
1576
1577 \begin_layout Subsection*
1578 LFUN_COPY
1579 \end_layout
1580 \begin_layout Description
1581 Action Copies to the clipboard the last edit.
1582 \end_layout
1583 \begin_layout Description
1584 Syntax copy
1585 \end_layout
1586
1587 \begin_layout Subsection*
1588 LFUN_CUT
1589 \end_layout
1590 \begin_layout Description
1591 Action Cuts to the clipboard.
1592 \end_layout
1593 \begin_layout Description
1594 Syntax cut
1595 \end_layout
1596
1597 \begin_layout Subsection*
1598 LFUN_PASTE
1599 \end_layout
1600 \begin_layout Description
1601 Action Pastes material (text or picture) from the active clipboard.
1602 \end_layout
1603 \begin_layout Description
1604 Syntax paste [<TYPE>|<NUM>]
1605 \end_layout
1606 \begin_layout Description
1607 Params <TYPE>: emf|pdf|png|jpeg|linkback|wmf
1608 \begin_inset Newline newline
1609 \end_inset
1610
1611 <NUM>: number of the selection in the internal clipboard stack to be pasted.
1612 \end_layout
1613
1614 \begin_layout Subsection*
1615 LFUN_CLIPBOARD_PASTE
1616 \end_layout
1617 \begin_layout Description
1618 Action Pastes text from the active clipboard.
1619 \end_layout
1620 \begin_layout Description
1621 Syntax clipboard-paste [<ARG>]
1622 \end_layout
1623 \begin_layout Description
1624 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
1625 \end_layout
1626 \begin_layout Description
1627 Origin baum, 10 Jul 2006
1628 \end_layout
1629
1630 \begin_layout Subsection*
1631 LFUN_PRIMARY_SELECTION_PASTE
1632 \end_layout
1633 \begin_layout Description
1634 Action Pastes the currently text selected text.
1635 \end_layout
1636 \begin_layout Description
1637 Notion Primary selection mechanism is linux-only thing.
1638 \end_layout
1639 \begin_layout Description
1640 Syntax primary-selection-paste [<ARG>]
1641 \end_layout
1642 \begin_layout Description
1643 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
1644 \end_layout
1645
1646 \begin_layout Subsection*
1647 LFUN_SELECTION_PASTE
1648 \end_layout
1649 \begin_layout Description
1650 Action Pastes the text in permanent selection.
1651 \end_layout
1652 \begin_layout Description
1653 Syntax selection-paste
1654 \end_layout
1655
1656 \begin_layout Subsection*
1657 LFUN_UNDO
1658 \end_layout
1659 \begin_layout Description
1660 Action Undoes the last edit.
1661 \end_layout
1662 \begin_layout Description
1663 Syntax undo
1664 \end_layout
1665
1666 \begin_layout Subsection*
1667 LFUN_REDO
1668 \end_layout
1669 \begin_layout Description
1670 Action Redoes the last thing undone.
1671 \end_layout
1672 \begin_layout Description
1673 Syntax redo
1674 \end_layout
1675
1676 \begin_layout Subsection*
1677 LFUN_REPEAT
1678 \end_layout
1679 \begin_layout Description
1680 Action Repeat the given command.
1681 \end_layout
1682 \begin_layout Description
1683 Syntax repeat <COUNT> <LFUN-COMMAND>
1684 \end_layout
1685 \begin_layout Description
1686 Origin Andre, 27 Oct 2003
1687 \end_layout
1688
1689 \begin_layout Subsection*
1690 LFUN_CHARS_TRANSPOSE
1691 \end_layout
1692 \begin_layout Description
1693 Action Transposes the character at the cursor with the one before it.
1694 \end_layout
1695 \begin_layout Description
1696 Syntax chars-transpose
1697 \end_layout
1698 \begin_layout Description
1699 Origin Lgb, 25 Apr 2001
1700 \end_layout
1701
1702 \begin_layout Subsection*
1703 LFUN_DEPTH_DECREMENT
1704 \end_layout
1705 \begin_layout Description
1706 Action Decrease the nesting depth of the (selected) paragraph(s) inside lists.
1707 \end_layout
1708 \begin_layout Description
1709 Syntax depth-decrement
1710 \end_layout
1711
1712 \begin_layout Subsection*
1713 LFUN_DEPTH_INCREMENT
1714 \end_layout
1715 \begin_layout Description
1716 Action Increase the nesting depth of the (selected) paragraph(s) inside lists.
1717 \end_layout
1718 \begin_layout Description
1719 Syntax depth-increment
1720 \end_layout
1721
1722 \begin_layout Subsection*
1723 LFUN_FONT_BOLD
1724 \end_layout
1725 \begin_layout Description
1726 Action Toggles the bold font (selection-wise) using mathbf in math.
1727 \end_layout
1728 \begin_layout Description
1729 Syntax font-bold
1730 \end_layout
1731
1732 \begin_layout Subsection*
1733 LFUN_FONT_BOLDSYMBOL
1734 \end_layout
1735 \begin_layout Description
1736 Action Toggles the bold font (selection-wise) using boldsymbol in math.
1737 \end_layout
1738 \begin_layout Description
1739 Syntax font-boldsymbol
1740 \end_layout
1741
1742 \begin_layout Subsection*
1743 LFUN_FONT_TYPEWRITER
1744 \end_layout
1745 \begin_layout Description
1746 Action Toggles the typewriter family font (selection-wise).
1747 \end_layout
1748 \begin_layout Description
1749 Syntax font-typewriter
1750 \end_layout
1751
1752 \begin_layout Subsection*
1753 LFUN_FONT_UNDERLINE
1754 \end_layout
1755 \begin_layout Description
1756 Action Toggles underline in the font (selection-wise).
1757 \end_layout
1758 \begin_layout Description
1759 Syntax font-underline
1760 \end_layout
1761
1762 \begin_layout Subsection*
1763 LFUN_FONT_UULINE
1764 \end_layout
1765 \begin_layout Description
1766 Action Toggles double underline in the font (selection-wise).
1767 \end_layout
1768 \begin_layout Description
1769 Syntax font-underunderline
1770 \end_layout
1771 \begin_layout Description
1772 Origin sanda, 5 May 2009
1773 \end_layout
1774
1775 \begin_layout Subsection*
1776 LFUN_FONT_UWAVE
1777 \end_layout
1778 \begin_layout Description
1779 Action Toggles wavy underline in the font (selection-wise).
1780 \end_layout
1781 \begin_layout Description
1782 Syntax font-underwave
1783 \end_layout
1784 \begin_layout Description
1785 Origin sanda, 5 May 2009
1786 \end_layout
1787
1788 \begin_layout Subsection*
1789 LFUN_FONT_STRIKEOUT
1790 \end_layout
1791 \begin_layout Description
1792 Action Toggles strikeout (strike-through) in the font (selection-wise).
1793 \end_layout
1794 \begin_layout Description
1795 Syntax font-strikeout
1796 \end_layout
1797 \begin_layout Description
1798 Origin sanda, 3 May 2009
1799 \end_layout
1800
1801 \begin_layout Subsection*
1802 LFUN_FONT_EMPH
1803 \end_layout
1804 \begin_layout Description
1805 Action Toggles the emphasis font style (selection-wise).
1806 \end_layout
1807 \begin_layout Description
1808 Syntax font-emph
1809 \end_layout
1810
1811 \begin_layout Subsection*
1812 LFUN_FONT_NOUN
1813 \end_layout
1814 \begin_layout Description
1815 Action Toggles Noun text style font (selection-wise).
1816 \end_layout
1817 \begin_layout Description
1818 Syntax font-noun
1819 \end_layout
1820
1821 \begin_layout Subsection*
1822 LFUN_FONT_ROMAN
1823 \end_layout
1824 \begin_layout Description
1825 Action Toggles Roman family font (selection-wise).
1826 \end_layout
1827 \begin_layout Description
1828 Syntax font-roman
1829 \end_layout
1830
1831 \begin_layout Subsection*
1832 LFUN_FONT_SANS
1833 \end_layout
1834 \begin_layout Description
1835 Action Toggles Sans Serif family font (selection-wise).
1836 \end_layout
1837 \begin_layout Description
1838 Syntax font-sans
1839 \end_layout
1840
1841 \begin_layout Subsection*
1842 LFUN_FONT_FRAK
1843 \end_layout
1844 \begin_layout Description
1845 Action Toggles Fraktur family font (math-mode, selection-wise).
1846 \end_layout
1847 \begin_layout Description
1848 Syntax font-frak
1849 \end_layout
1850 \begin_layout Description
1851 Origin vermeer, 10 Jan 2002
1852 \end_layout
1853
1854 \begin_layout Subsection*
1855 LFUN_FONT_ITAL
1856 \end_layout
1857 \begin_layout Description
1858 Action Toggles Italics font shape (math-mode, selection-wise).
1859 \end_layout
1860 \begin_layout Description
1861 Syntax font-ital
1862 \end_layout
1863 \begin_layout Description
1864 Origin vermeer, 10 Jan 2002
1865 \end_layout
1866
1867 \begin_layout Subsection*
1868 LFUN_FONT_DEFAULT
1869 \end_layout
1870 \begin_layout Description
1871 Action Reverts the settings of the font to the default values (selection-wise).
1872 \end_layout
1873 \begin_layout Description
1874 Syntax font-default
1875 \end_layout
1876
1877 \begin_layout Subsection*
1878 LFUN_FONT_SIZE
1879 \end_layout
1880 \begin_layout Description
1881 Action Sets font size according to lyx format string.
1882 \end_layout
1883 \begin_layout Description
1884 Syntax font-size <SIZE>
1885 \end_layout
1886 \begin_layout Description
1887 Params <SIZE>: tiny|scriptsize|footnotesize|small|normal|large|larger|
1888 \begin_inset Newline newline
1889 \end_inset
1890
1891 largest|huge|giant|increase|decrease|default
1892 \end_layout
1893
1894 \begin_layout Subsection*
1895 LFUN_TEXTSTYLE_APPLY
1896 \end_layout
1897 \begin_layout Description
1898 Action Toggle user-defined (=last-time used) text style.
1899 \end_layout
1900 \begin_layout Description
1901 Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically trigerred when using Text Style dialog.
1902 \end_layout
1903 \begin_layout Description
1904 Syntax textstyle-apply
1905 \end_layout
1906 \begin_layout Description
1907 Origin leeming, 12 Mar 2003
1908 \end_layout
1909
1910 \begin_layout Subsection*
1911 LFUN_TEXTSTYLE_UPDATE
1912 \end_layout
1913 \begin_layout Description
1914 Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APPLY.
1915 \end_layout
1916 \begin_layout Description
1917 Syntax textstyle-update <FONT_INFO>
1918 \end_layout
1919 \begin_layout Description
1920 Params <FONT_INFO>: specifies font atributes, e.g. family, series, shape, size, emph, noun, underbar, number, color, language, toggleall.
1921 \begin_inset Newline newline
1922 \end_inset
1923
1924 Use lyx -dbg action for exact syntax of text-style dialog parameters.
1925 \end_layout
1926 \begin_layout Description
1927 Origin leeming, 12 Mar 2003
1928 \end_layout
1929
1930 \begin_layout Subsection*
1931 LFUN_SCREEN_FONT_UPDATE
1932 \end_layout
1933 \begin_layout Description
1934 Action Update fonts and its metrics.
1935 \end_layout
1936 \begin_layout Description
1937 Notion Automatically called after zoom, dpi, font names, or norm change.
1938 \end_layout
1939 \begin_layout Description
1940 Syntax screen-font-update
1941 \end_layout
1942 \begin_layout Description
1943 Origin ARRae, 13 Aug 2000
1944 \end_layout
1945
1946 \begin_layout Subsection*
1947 LFUN_FONT_STATE
1948 \end_layout
1949 \begin_layout Description
1950 Action Returns the info about the current font.
1951 \end_layout
1952 \begin_layout Description
1953 Syntax font-state
1954 \end_layout
1955
1956 \begin_layout Subsection*
1957 LFUN_CITATION_INSERT
1958 \end_layout
1959 \begin_layout Description
1960 Action Inserts citation from loaded citation database.
1961 \end_layout
1962 \begin_layout Description
1963 Syntax citation-insert [<KEY>[|<TEXT_BEFORE>]]
1964 \end_layout
1965 \begin_layout Description
1966 Params <KEY>: Citation (shortcut listed in available citations).
1967 \begin_inset Newline newline
1968 \end_inset
1969
1970 <TEXT_BEFORE>: text which should appear before citation.
1971 \end_layout
1972 \begin_layout Description
1973 Origin AAS, 97-02-23
1974 \end_layout
1975
1976 \begin_layout Subsection*
1977 LFUN_BIBTEX_DATABASE_ADD
1978 \end_layout
1979 \begin_layout Description
1980 Action Adds database, which will be used for bibtex citations.
1981 \end_layout
1982 \begin_layout Description
1983 Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor postion.
1984 \end_layout
1985 \begin_layout Description
1986 Syntax bibtex-database-add <DATABASE-NAME>
1987 \end_layout
1988 \begin_layout Description
1989 Origin Ale, 30 May 1997
1990 \end_layout
1991
1992 \begin_layout Subsection*
1993 LFUN_BIBTEX_DATABASE_DEL
1994 \end_layout
1995 \begin_layout Description
1996 Action Adds database, which will be used for bibtex citations.
1997 \end_layout
1998 \begin_layout Description
1999 Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor postion.
2000 \end_layout
2001 \begin_layout Description
2002 Syntax bibtex-database-del <DATABASE-NAME>
2003 \end_layout
2004 \begin_layout Description
2005 Origin Ale, 30 May 1997
2006 \end_layout
2007
2008 \begin_layout Subsection*
2009 LFUN_LAYOUT
2010 \end_layout
2011 \begin_layout Description
2012 Action Sets the layout (that is, environment) for the current paragraph.
2013 \end_layout
2014 \begin_layout Description
2015 Syntax layout <LAYOUT>
2016 \end_layout
2017 \begin_layout Description
2018 Params <LAYOUT>: the layout to use
2019 \end_layout
2020
2021 \begin_layout Subsection*
2022 LFUN_LAYOUT_PARAGRAPH
2023 \end_layout
2024 \begin_layout Description
2025 Action Launches the paragraph settings dialog.
2026 \end_layout
2027 \begin_layout Description
2028 Syntax layout-paragraph
2029 \end_layout
2030
2031 \begin_layout Subsection*
2032 LFUN_LAYOUT_TABULAR
2033 \end_layout
2034 \begin_layout Description
2035 Action Launches the tabular settings dialog.
2036 \end_layout
2037 \begin_layout Description
2038 Syntax layout-tabular
2039 \end_layout
2040 \begin_layout Description
2041 Origin Jug, 31 Jul 2000
2042 \end_layout
2043
2044 \begin_layout Subsection*
2045 LFUN_DROP_LAYOUTS_CHOICE
2046 \end_layout
2047 \begin_layout Description
2048 Action Displays list of layout choices.
2049 \end_layout
2050 \begin_layout Description
2051 Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox allowing for choice of layout.
2052 \end_layout
2053 \begin_layout Description
2054 Syntax drop-layouts-choice
2055 \end_layout
2056
2057 \begin_layout Subsection*
2058 LFUN_LAYOUT_MODULES_CLEAR
2059 \end_layout
2060 \begin_layout Description
2061 Action Clears the module list.
2062 \end_layout
2063 \begin_layout Description
2064 Notion Clears the list of included modules for the current buffer.
2065 \end_layout
2066 \begin_layout Description
2067 Syntax layout-modules-clear
2068 \end_layout
2069 \begin_layout Description
2070 Origin rgh, 25 August 2007
2071 \end_layout
2072
2073 \begin_layout Subsection*
2074 LFUN_LAYOUT_MODULE_ADD
2075 \end_layout
2076 \begin_layout Description
2077 Action Adds a module.
2078 \end_layout
2079 \begin_layout Description
2080 Notion Adds a module to the list of included modules for the current buffer.
2081 \end_layout
2082 \begin_layout Description
2083 Syntax layout-module-add <MODULE>
2084 \end_layout
2085 \begin_layout Description
2086 Params <MODULE>: the module to be added
2087 \end_layout
2088 \begin_layout Description
2089 Origin rgh, 25 August 2007
2090 \end_layout
2091
2092 \begin_layout Subsection*
2093 LFUN_LAYOUT_RELOAD
2094 \end_layout
2095 \begin_layout Description
2096 Action Reloads layout information.
2097 \end_layout
2098 \begin_layout Description
2099 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.
2100 \end_layout
2101 \begin_layout Description
2102 Syntax layout-reload
2103 \end_layout
2104 \begin_layout Description
2105 Origin rgh, 3 September 2007
2106 \end_layout
2107
2108 \begin_layout Subsection*
2109 LFUN_TEXTCLASS_APPLY
2110 \end_layout
2111 \begin_layout Description
2112 Action Sets the text class for the current buffer.
2113 \end_layout
2114 \begin_layout Description
2115 Syntax textclass-apply <TEXTCLASS>
2116 \end_layout
2117 \begin_layout Description
2118 Params <TEXTCLASS>: the textclass to set. Note that this must be the filename, minus the ".layout" extension.
2119 \end_layout
2120
2121 \begin_layout Subsection*
2122 LFUN_TEXTCLASS_LOAD
2123 \end_layout
2124 \begin_layout Description
2125 Action Loads information for a textclass from disk.
2126 \end_layout
2127 \begin_layout Description
2128 Syntax textclass-load <TEXTCLASS>
2129 \end_layout
2130 \begin_layout Description
2131 Params <TEXTCLASS>: the textclass to load. Note that this must be the filename, minus the ".layout" extension.
2132 \end_layout
2133
2134 \begin_layout Subsection*
2135 LFUN_MARK_OFF
2136 \end_layout
2137 \begin_layout Description
2138 Action Disable selecting of text-region.
2139 \end_layout
2140 \begin_layout Description
2141 Syntax mark-off
2142 \end_layout
2143
2144 \begin_layout Subsection*
2145 LFUN_MARK_ON
2146 \end_layout
2147 \begin_layout Description
2148 Action Enable selecting of text-region.
2149 \end_layout
2150 \begin_layout Description
2151 Notion After enabling you can simply move arrow keys to get selected region.
2152 \end_layout
2153 \begin_layout Description
2154 Syntax mark-on
2155 \end_layout
2156
2157 \begin_layout Subsection*
2158 LFUN_MARK_TOGGLE
2159 \end_layout
2160 \begin_layout Description
2161 Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
2162 \end_layout
2163 \begin_layout Description
2164 Syntax mark-toggle
2165 \end_layout
2166 \begin_layout Description
2167 Origin Andre, May 5 2006
2168 \end_layout
2169
2170 \begin_layout Subsection*
2171 LFUN_MATH_DELIM
2172 \end_layout
2173 \begin_layout Description
2174 Action Inserts math delimiters (e.g. parentheses, brackets) enclosing expression.
2175 \end_layout
2176 \begin_layout Description
2177 Syntax math-delim [<LEFT>] [<RIGHT>]
2178 \end_layout
2179 \begin_layout Description
2180 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.
2181 \end_layout
2182 \begin_layout Description
2183 Sample math-delim { rangle
2184 \end_layout
2185 \begin_layout Description
2186 Origin Alejandro, 18 Jun 1996
2187 \end_layout
2188
2189 \begin_layout Subsection*
2190 LFUN_MATH_BIGDELIM
2191 \end_layout
2192 \begin_layout Description
2193 Action Inserts math fixed size delimiters (e.g. parentheses, brackets) enclosing expression.
2194 \end_layout
2195 \begin_layout Description
2196 Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
2197 \end_layout
2198 \begin_layout Description
2199 Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
2200 \begin_inset Newline newline
2201 \end_inset
2202
2203 <L/RDELIM>: TeX code for delimiter. See Delimiter dialog for delimiters to be used.
2204 \end_layout
2205 \begin_layout Description
2206 Sample math-bigdelim "Bigl" "
2207 \backslash
2208 Downarrow" "Bigr" "
2209 \backslash
2210 }"
2211 \end_layout
2212 \begin_layout Description
2213 Origin Enrico & Georg, 7 May 2006
2214 \end_layout
2215
2216 \begin_layout Subsection*
2217 LFUN_MATH_DISPLAY
2218 \end_layout
2219 \begin_layout Description
2220 Action Creates a new displayed equation in text mode. Toggles inlined/display formula in math mode.
2221 \end_layout
2222 \begin_layout Description
2223 Syntax math-display [<ARG>]
2224 \end_layout
2225 \begin_layout Description
2226 Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating new equation from the text mode.
2227 \end_layout
2228 \begin_layout Description
2229 Origin Alejandro, 18 Jun 1996
2230 \end_layout
2231
2232 \begin_layout Subsection*
2233 LFUN_MATH_INSERT
2234 \end_layout
2235 \begin_layout Description
2236 Action Inserts math objects and symbols.
2237 \end_layout
2238 \begin_layout Description
2239 Notion When <ARG> is a _single_ math inset with more than one cell (such as "x_y^z" or "
2240 \backslash
2241 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 
2242 \backslash
2243 frac{x}{y}" replaces "abc" with "
2244 \backslash
2245 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.
2246 \end_layout
2247 \begin_layout Description
2248 Syntax math-insert <ARG>
2249 \end_layout
2250 \begin_layout Description
2251 Params <ARG>: Symbol or LaTeX code to be inserted.
2252 \end_layout
2253
2254 \begin_layout Subsection*
2255 LFUN_MATH_SUBSCRIPT
2256 \end_layout
2257 \begin_layout Description
2258 Action Enters subscript expression in math expression.
2259 \end_layout
2260 \begin_layout Description
2261 Syntax math-subscript
2262 \end_layout
2263 \begin_layout Description
2264 Origin vermeer, 12 Dec 2001
2265 \end_layout
2266
2267 \begin_layout Subsection*
2268 LFUN_MATH_SUPERSCRIPT
2269 \end_layout
2270 \begin_layout Description
2271 Action Enters subscript expression in math expression.
2272 \end_layout
2273 \begin_layout Description
2274 Syntax math-superscript
2275 \end_layout
2276 \begin_layout Description
2277 Origin vermeer, 12 Dec 2001
2278 \end_layout
2279
2280 \begin_layout Subsection*
2281 LFUN_MATH_LIMITS
2282 \end_layout
2283 \begin_layout Description
2284 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.
2285 \end_layout
2286 \begin_layout Description
2287 Notion Put the cursor before the symbol with the limits and then invoke math-limits.
2288 \end_layout
2289 \begin_layout Description
2290 Syntax math-limits [<STATE>]
2291 \end_layout
2292 \begin_layout Description
2293 Params <STATE>: limits|nolimits
2294 \end_layout
2295
2296 \begin_layout Subsection*
2297 LFUN_MATH_MACRO
2298 \end_layout
2299 \begin_layout Description
2300 Action Inserts a math macro definition at the cursor position in the text.
2301 \end_layout
2302 \begin_layout Description
2303 Syntax math-macro <NAME> [<NARGS>] [def]
2304 \end_layout
2305 \begin_layout Description
2306 Params <NAME>: The name of the macro, e.g. "mymacro".
2307 \begin_inset Newline newline
2308 \end_inset
2309
2310 <NARGS>: The number of parameters of the macro. Default is 0. "def": Has no effect anymore, just for compatibility with former LyX versions.
2311 \end_layout
2312 \begin_layout Description
2313 Origin ale, 10 May 1997;  sts, 21 Dec 2007
2314 \end_layout
2315
2316 \begin_layout Subsection*
2317 LFUN_MATH_MUTATE
2318 \end_layout
2319 \begin_layout Description
2320 Action Mutates the type of math inset to the newly selected one.
2321 \end_layout
2322 \begin_layout Description
2323 Syntax math-mutate <TYPE>
2324 \end_layout
2325 \begin_layout Description
2326 Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat| multline|gather|flalign
2327 \end_layout
2328 \begin_layout Description
2329 Origin Andre, 23 May 2001
2330 \end_layout
2331
2332 \begin_layout Subsection*
2333 LFUN_MATH_SPACE
2334 \end_layout
2335 \begin_layout Description
2336 Action Inserts space into math expression.
2337 \end_layout
2338 \begin_layout Description
2339 Notion Use spacebar after entering this space to change type of space.
2340 \end_layout
2341 \begin_layout Description
2342 Syntax math-space [<TYPE>] [<LEN>]
2343 \end_layout
2344 \begin_layout Description
2345 Params <TYPE>: negative spaces: !|negthinspace|negmedspace|negthickspace
2346 \begin_inset Newline newline
2347 \end_inset
2348
2349 positive spaces: ,|thinspace|:|medspace|;|thickspace|enskip|quad|qquad
2350 \begin_inset Newline newline
2351 \end_inset
2352
2353 custom space: hspace
2354 \begin_inset Newline newline
2355 \end_inset
2356
2357 "," used by default.
2358 \begin_inset Newline newline
2359 \end_inset
2360
2361 Note that ! is equivalent to negthinspace, , = thinspace, : = medspace, and ; = thickspace.
2362 \begin_inset Newline newline
2363 \end_inset
2364
2365 <LEN>: length for custom spaces (hspace)
2366 \end_layout
2367 \begin_layout Description
2368 Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
2369 \end_layout
2370
2371 \begin_layout Subsection*
2372 LFUN_MATH_MATRIX
2373 \end_layout
2374 \begin_layout Description
2375 Action Inserts a matrix.
2376 \end_layout
2377 \begin_layout Description
2378 Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
2379 \end_layout
2380 \begin_layout Description
2381 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).
2382 \end_layout
2383 \begin_layout Description
2384 Sample math-matrix 3 3 bccc
2385 \end_layout
2386
2387 \begin_layout Subsection*
2388 LFUN_MATH_AMS_MATRIX
2389 \end_layout
2390 \begin_layout Description
2391 Action Inserts a matrix.
2392 \end_layout
2393 \begin_layout Description
2394 Syntax math-matrix <COLS> <ROWS> [<DECORATION>]
2395 \end_layout
2396 \begin_layout Description
2397 Params <DECORATION>: Decoration determines the LaTeX name of the matrix that should be created.
2398 \end_layout
2399 \begin_layout Description
2400 Sample math-ams-matrix 3 3 bmatrix
2401 \end_layout
2402
2403 \begin_layout Subsection*
2404 LFUN_MATH_MODE
2405 \end_layout
2406 \begin_layout Description
2407 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.
2408 \end_layout
2409 \begin_layout Description
2410 Notion If there is some selected text, it puts the text inside created math box.
2411 \end_layout
2412 \begin_layout Description
2413 Syntax math-mode [on|<ARG>]
2414 \end_layout
2415 \begin_layout Description
2416 Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT .
2417 \begin_inset Newline newline
2418 \end_inset
2419
2420 "on": allow only entering of math mode from text mode.
2421 \end_layout
2422 \begin_layout Description
2423 Origin Alejandro, 4 Jun 1996
2424 \end_layout
2425
2426 \begin_layout Subsection*
2427 LFUN_REGEXP_MODE
2428 \end_layout
2429 \begin_layout Description
2430 Action Enters regexp mode (i.e., puts regexp insets on the current cursor position). Used by the advanced search dialog.
2431 \end_layout
2432 \begin_layout Description
2433 Notion If there is any selected text, then it is moved inside the created regexp inset.
2434 \end_layout
2435 \begin_layout Description
2436 Syntax regexp-mode [<ARG>]
2437 \end_layout
2438 \begin_layout Description
2439 Params <ARG>: eventual argument (regular expression).
2440 \end_layout
2441 \begin_layout Description
2442 Origin Tommaso, 4 Oct 2008
2443 \end_layout
2444
2445 \begin_layout Subsection*
2446 LFUN_MATH_NUMBER_LINE_TOGGLE
2447 \end_layout
2448 \begin_layout Description
2449 Action Toggles numbering of the current formula line.
2450 \end_layout
2451 \begin_layout Description
2452 Notion Must be in display formula mode.
2453 \end_layout
2454 \begin_layout Description
2455 Syntax math-number-line-toggle
2456 \end_layout
2457 \begin_layout Description
2458 Origin Alejandro, 18 Jun 1996
2459 \end_layout
2460
2461 \begin_layout Subsection*
2462 LFUN_MATH_NUMBER_TOGGLE
2463 \end_layout
2464 \begin_layout Description
2465 Action Toggles numbering/labeling of the current formula.
2466 \end_layout
2467 \begin_layout Description
2468 Notion Must be in display formula mode.
2469 \end_layout
2470 \begin_layout Description
2471 Syntax math-number-toggle
2472 \end_layout
2473 \begin_layout Description
2474 Origin Alejandro, 4 Jun 1996
2475 \end_layout
2476
2477 \begin_layout Subsection*
2478 LFUN_MATH_EXTERN
2479 \end_layout
2480 \begin_layout Description
2481 Action Calls external program and passes the current expression/equation as an argument for the calculation in the format appropriate to the given language.
2482 \end_layout
2483 \begin_layout Description
2484 Notion Selection can be used to determine the input for the external program.
2485 \end_layout
2486 \begin_layout Description
2487 Syntax math-extern <LANG> [<COMMAND>]
2488 \end_layout
2489 \begin_layout Description
2490 Params <LANG>: octave|maxima|maple|mathematica|script
2491 \begin_inset Newline newline
2492 \end_inset
2493
2494 where "script" stands fot the external script (normalized expression will be passed)
2495 \end_layout
2496 \begin_layout Description
2497 Sample math-extern maple simplify
2498 \end_layout
2499 \begin_layout Description
2500 Origin Andre, 24 Apr 2001
2501 \end_layout
2502
2503 \begin_layout Subsection*
2504 LFUN_MATH_SIZE
2505 \end_layout
2506 \begin_layout Description
2507 Action Changes arbitrarily the size used by math fonts inside a context.
2508 \end_layout
2509 \begin_layout Description
2510 Notion Provides an interface to the LaTeX math mode font size commands.
2511 \end_layout
2512 \begin_layout Description
2513 Syntax math-size <STYLE>
2514 \end_layout
2515 \begin_layout Description
2516 Params <STYLE>: 
2517 \backslash
2518 displaystyle|
2519 \backslash
2520 textstyle|
2521 \backslash
2522 scriptstyle|
2523 \backslash
2524 scriptscriptstyle
2525 \end_layout
2526 \begin_layout Description
2527 Origin Alejandro, 15 Aug 1996; sanda, 14 Jun 2008
2528 \end_layout
2529
2530 \begin_layout Subsection*
2531 LFUN_MATH_FONT_STYLE
2532 \end_layout
2533 \begin_layout Description
2534 Action Changes the text style used in math.
2535 \end_layout
2536 \begin_layout Description
2537 Syntax math-font-style <STYLE>
2538 \end_layout
2539 \begin_layout Description
2540 Params <STYLE>: mathnormal|mathcal|mathfrak|mathrm|mathsf|mathbf |textnormal|textrm|textsf|texttt|textbf|textmd|textit |textsc|textsl|textup
2541 \end_layout
2542 \begin_layout Description
2543 Origin vfr, 9 jan 2009
2544 \end_layout
2545
2546 \begin_layout Subsection*
2547 LFUN_MATH_MACRO_UNFOLD
2548 \end_layout
2549 \begin_layout Description
2550 Action Unfold a Math Macro.
2551 \end_layout
2552 \begin_layout Description
2553 Notion Unfold the Math Macro the cursor is in, i.e. display it as 
2554 \backslash
2555 foo.
2556 \end_layout
2557 \begin_layout Description
2558 Syntax math-macro-unfold
2559 \end_layout
2560 \begin_layout Description
2561 Origin sts, 06 January 2008
2562 \end_layout
2563
2564 \begin_layout Subsection*
2565 LFUN_MATH_MACRO_FOLD
2566 \end_layout
2567 \begin_layout Description
2568 Action Fold a Math Macro.
2569 \end_layout
2570 \begin_layout Description
2571 Notion Fold the Math Macro the cursor is in if it was unfolded, i.e. displayed as 
2572 \backslash
2573 foo before.
2574 \end_layout
2575 \begin_layout Description
2576 Syntax math-macro-fold
2577 \end_layout
2578 \begin_layout Description
2579 Origin sts, 06 January 2008
2580 \end_layout
2581
2582 \begin_layout Subsection*
2583 LFUN_MATH_MACRO_ADD_PARAM
2584 \end_layout
2585 \begin_layout Description
2586 Action Add a parameter.
2587 \end_layout
2588 \begin_layout Description
2589 Notion Add a parameter to a Math Macro.
2590 \end_layout
2591 \begin_layout Description
2592 Syntax math-macro-add-param <NUM>
2593 \end_layout
2594 \begin_layout Description
2595 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.
2596 \end_layout
2597 \begin_layout Description
2598 Origin sts, 06 January 2008
2599 \end_layout
2600
2601 \begin_layout Subsection*
2602 LFUN_MATH_MACRO_REMOVE_PARAM
2603 \end_layout
2604 \begin_layout Description
2605 Action Remove the last parameter.
2606 \end_layout
2607 \begin_layout Description
2608 Notion Remove the last parameter of a Math Macro and remove its value in all instances of the macro in the buffer.
2609 \end_layout
2610 \begin_layout Description
2611 Syntax math-macro-remove-param <NUM>
2612 \end_layout
2613 \begin_layout Description
2614 Params <NUM>: The number of the parameter to be deleted (1 for the first), defaults to the last one.
2615 \end_layout
2616 \begin_layout Description
2617 Origin sts, 06 January 2008
2618 \end_layout
2619
2620 \begin_layout Subsection*
2621 LFUN_MATH_MACRO_APPEND_GREEDY_PARAM
2622 \end_layout
2623 \begin_layout Description
2624 Action Append a greedy parameter.
2625 \end_layout
2626 \begin_layout Description
2627 Notion Append a greedy parameter to a Math Macro which eats the following mathed cell in every instance of the macro in the buffer.
2628 \end_layout
2629 \begin_layout Description
2630 Syntax math-macro-append-greedy-param
2631 \end_layout
2632 \begin_layout Description
2633 Origin sts, 06 January 2008
2634 \end_layout
2635
2636 \begin_layout Subsection*
2637 LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM
2638 \end_layout
2639 \begin_layout Description
2640 Action Remove a greedy parameter.
2641 \end_layout
2642 \begin_layout Description
2643 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.
2644 \end_layout
2645 \begin_layout Description
2646 Syntax math-macro-remove-greedy-param
2647 \end_layout
2648 \begin_layout Description
2649 Origin sts, 06 January 2008
2650 \end_layout
2651
2652 \begin_layout Subsection*
2653 LFUN_MATH_MACRO_MAKE_OPTIONAL
2654 \end_layout
2655 \begin_layout Description
2656 Action Make a parameter optional.
2657 \end_layout
2658 \begin_layout Description
2659 Notion Turn the first non-optional parameter of a Math Macro into an optional parameter with a default value.
2660 \end_layout
2661 \begin_layout Description
2662 Syntax math-macro-make-optional
2663 \end_layout
2664 \begin_layout Description
2665 Origin sts, 06 January 2008
2666 \end_layout
2667
2668 \begin_layout Subsection*
2669 LFUN_MATH_MACRO_MAKE_NONOPTIONAL
2670 \end_layout
2671 \begin_layout Description
2672 Action Make a parameter non-optional.
2673 \end_layout
2674 \begin_layout Description
2675 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.
2676 \end_layout
2677 \begin_layout Description
2678 Syntax math-macro-make-nonoptional
2679 \end_layout
2680 \begin_layout Description
2681 Origin sts, 06 January 2008
2682 \end_layout
2683
2684 \begin_layout Subsection*
2685 LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM
2686 \end_layout
2687 \begin_layout Description
2688 Action Add an optional parameter.
2689 \end_layout
2690 \begin_layout Description
2691 Notion Insert an optional parameter just behind the already existing optional parameters.
2692 \end_layout
2693 \begin_layout Description
2694 Syntax math-macro-add-optional-param
2695 \end_layout
2696 \begin_layout Description
2697 Origin sts, 06 January 2008
2698 \end_layout
2699
2700 \begin_layout Subsection*
2701 LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
2702 \end_layout
2703 \begin_layout Description
2704 Action Remove the last optional parameter.
2705 \end_layout
2706 \begin_layout Description
2707 Notion Remove the last optional parameter of a Math Macro and remove it in all the instances of the macro in the buffer.
2708 \end_layout
2709 \begin_layout Description
2710 Syntax math-macro-remove-optional-param
2711 \end_layout
2712 \begin_layout Description
2713 Origin sts, 06 January 2008
2714 \end_layout
2715
2716 \begin_layout Subsection*
2717 LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM
2718 \end_layout
2719 \begin_layout Description
2720 Action Add a greedy optional parameter.
2721 \end_layout
2722 \begin_layout Description
2723 Notion Add a greedy optional parameter which eats the value from the following cells in mathed which are in the [value] format.
2724 \end_layout
2725 \begin_layout Description
2726 Syntax math-macro-add-greedy-optional-param
2727 \end_layout
2728 \begin_layout Description
2729 Origin sts, 06 January 2008
2730 \end_layout
2731
2732 \begin_layout Subsection*
2733 LFUN_IN_MATHMACROTEMPLATE
2734 \end_layout
2735 \begin_layout Description
2736 Action Only active in Math Macro definition.
2737 \end_layout
2738 \begin_layout Description
2739 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.
2740 \end_layout
2741 \begin_layout Description
2742 Syntax in-mathmacrotemplate
2743 \end_layout
2744 \begin_layout Description
2745 Origin sts, 06 January 2008
2746 \end_layout
2747
2748 \begin_layout Subsection*
2749 LFUN_PARAGRAPH_MOVE_DOWN
2750 \end_layout
2751 \begin_layout Description
2752 Action Moves the current paragraph downwards in the document.
2753 \end_layout
2754 \begin_layout Description
2755 Syntax paragraph-move-down
2756 \end_layout
2757 \begin_layout Description
2758 Origin Edwin, 8 Apr 2006
2759 \end_layout
2760
2761 \begin_layout Subsection*
2762 LFUN_PARAGRAPH_MOVE_UP
2763 \end_layout
2764 \begin_layout Description
2765 Action Moves the current paragraph upwards in the document.
2766 \end_layout
2767 \begin_layout Description
2768 Syntax paragraph-move-up
2769 \end_layout
2770 \begin_layout Description
2771 Origin Edwin, 8 Apr 2006
2772 \end_layout
2773
2774 \begin_layout Subsection*
2775 LFUN_PARAGRAPH_UP
2776 \end_layout
2777 \begin_layout Description
2778 Action Move the cursor to the next paragraph (or begining of the current one) in upward direction.
2779 \end_layout
2780 \begin_layout Description
2781 Syntax paragraph-up
2782 \end_layout
2783 \begin_layout Description
2784 Origin Asger, 1 Oct 1996
2785 \end_layout
2786
2787 \begin_layout Subsection*
2788 LFUN_PARAGRAPH_UP_SELECT
2789 \end_layout
2790 \begin_layout Description
2791 Action Move the cursor and select the text to the next paragraph (or begining of the current one) in upward direction.
2792 \end_layout
2793 \begin_layout Description
2794 Syntax paragraph-up-select
2795 \end_layout
2796 \begin_layout Description
2797 Origin Asger, 1 Oct 1996
2798 \end_layout
2799
2800 \begin_layout Subsection*
2801 LFUN_PARAGRAPH_DOWN
2802 \end_layout
2803 \begin_layout Description
2804 Action Move the cursor to the next paragraph (or begining of the current one) in downward direction.
2805 \end_layout
2806 \begin_layout Description
2807 Syntax paragraph-down
2808 \end_layout
2809 \begin_layout Description
2810 Origin Asger, 1 Oct 1996
2811 \end_layout
2812
2813 \begin_layout Subsection*
2814 LFUN_PARAGRAPH_DOWN_SELECT
2815 \end_layout
2816 \begin_layout Description
2817 Action Move the cursor and select the text to the next paragraph (or begining of the current one) in downward direction.
2818 \end_layout
2819 \begin_layout Description
2820 Syntax paragraph-down-select
2821 \end_layout
2822 \begin_layout Description
2823 Origin Asger, 1 Oct 1996
2824 \end_layout
2825
2826 \begin_layout Subsection*
2827 LFUN_PARAGRAPH_GOTO
2828 \end_layout
2829 \begin_layout Description
2830 Action Jump to a paragraph given by its id number and optionally the desired position within the paragraph.
2831 \end_layout
2832 \begin_layout Description
2833 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).
2834 \end_layout
2835 \begin_layout Description
2836 Syntax paragraph-goto <PAR_ID_NUMBER> <POSITION_IN_PAR>
2837 \end_layout
2838 \begin_layout Description
2839 Params <PAR_ID_NUMBER>:  paragraph id
2840 \begin_inset Newline newline
2841 \end_inset
2842
2843 <POSITION_IN_PAR>: desired position within the paragraph
2844 \end_layout
2845 \begin_layout Description
2846 Origin Dekel, 26 Aug 2000
2847 \end_layout
2848
2849 \begin_layout Subsection*
2850 LFUN_BREAK_PARAGRAPH
2851 \end_layout
2852 \begin_layout Description
2853 Action Breaks the current paragraph at the current location.
2854 \end_layout
2855 \begin_layout Description
2856 Notion Removes the selection.
2857 \end_layout
2858 \begin_layout Description
2859 Syntax break-paragraph [<LAYOUT>]
2860 \end_layout
2861 \begin_layout Description
2862 Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to default layout) when the cursor is at the end of the line.
2863 \end_layout
2864
2865 \begin_layout Subsection*
2866 LFUN_PARAGRAPH_PARAMS
2867 \end_layout
2868 \begin_layout Description
2869 Action Change paragraph settings.
2870 \end_layout
2871 \begin_layout Description
2872 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.
2873 \end_layout
2874 \begin_layout Description
2875 Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
2876 \end_layout
2877 \begin_layout Description
2878 Params <INDENT>:  
2879 \backslash
2880 noindent|
2881 \backslash
2882 indent|
2883 \backslash
2884 indent-toggle|
2885 \backslash
2886 leftindent LENGTH
2887 \begin_inset Newline newline
2888 \end_inset
2889
2890 <SPACING>: 
2891 \backslash
2892 paragraph_spacing default|single|onehalf|double|other SIZE
2893 \begin_inset Newline newline
2894 \end_inset
2895
2896 <ALIGN>:   
2897 \backslash
2898 align block|left|right|center|default
2899 \begin_inset Newline newline
2900 \end_inset
2901
2902 <OTHERS>:  
2903 \backslash
2904 labelwidthstring WIDTH|
2905 \backslash
2906 start_of_appendix
2907 \end_layout
2908 \begin_layout Description
2909 Origin rgh, Aug 15 2007
2910 \end_layout
2911
2912 \begin_layout Subsection*
2913 LFUN_PARAGRAPH_PARAMS_APPLY
2914 \end_layout
2915 \begin_layout Description
2916 Action Change paragraph settings.
2917 \end_layout
2918 \begin_layout Description
2919 Notion Overwrite all nonspecified settings to the default ones. Use paragraph-params lfun if you don't want to overwrite others settings.
2920 \end_layout
2921 \begin_layout Description
2922 Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
2923 \end_layout
2924 \begin_layout Description
2925 Params For parameters see LFUN_PARAGRAPH_PARAMS
2926 \end_layout
2927 \begin_layout Description
2928 Origin leeming, 30 Mar 2004
2929 \end_layout
2930
2931 \begin_layout Subsection*
2932 LFUN_PARAGRAPH_UPDATE
2933 \end_layout
2934 \begin_layout Description
2935 Action Updates the values inside the paragraph dialog from the paragraph.
2936 \end_layout
2937 \begin_layout Description
2938 Notion This is internal LFUN, not to be used by users. Called internally by LFUN_DIALOG_UPDATE.
2939 \end_layout
2940 \begin_layout Description
2941 Origin leeming, 13 Mar 2003
2942 \end_layout
2943
2944 \begin_layout Subsection*
2945 LFUN_OUTLINE_UP
2946 \end_layout
2947 \begin_layout Description
2948 Action Move the current group in the upward direction in the structure of the document.
2949 \end_layout
2950 \begin_layout Description
2951 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
2952 \end_layout
2953 \begin_layout Description
2954 Syntax outline-up
2955 \end_layout
2956 \begin_layout Description
2957 Origin Vermeer, 23 Mar 2006
2958 \end_layout
2959
2960 \begin_layout Subsection*
2961 LFUN_OUTLINE_DOWN
2962 \end_layout
2963 \begin_layout Description
2964 Action Move the current group in the downward direction in the structure of the document.
2965 \end_layout
2966 \begin_layout Description
2967 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
2968 \end_layout
2969 \begin_layout Description
2970 Syntax outline-down
2971 \end_layout
2972 \begin_layout Description
2973 Origin Vermeer, 23 Mar 2006
2974 \end_layout
2975
2976 \begin_layout Subsection*
2977 LFUN_OUTLINE_IN
2978 \end_layout
2979 \begin_layout Description
2980 Action Moves the current group in the downward direction in the hierarchy of the document structure.
2981 \end_layout
2982 \begin_layout Description
2983 Notion Part -> Chapter -> Section -> etc.
2984 \end_layout
2985 \begin_layout Description
2986 Syntax outline-in
2987 \end_layout
2988 \begin_layout Description
2989 Origin Vermeer, 23 Mar 2006
2990 \end_layout
2991
2992 \begin_layout Subsection*
2993 LFUN_OUTLINE_OUT
2994 \end_layout
2995 \begin_layout Description
2996 Action Moves the current group in the upward direction in the hierarchy of the document structure.
2997 \end_layout
2998 \begin_layout Description
2999 Notion Part <- Chapter <- Section <- etc.
3000 \end_layout
3001 \begin_layout Description
3002 Syntax outline-out
3003 \end_layout
3004 \begin_layout Description
3005 Origin Vermeer, 23 Mar 2006
3006 \end_layout
3007
3008 \begin_layout Subsection*
3009 LFUN_OUTLINE_DRAGMOVE
3010 \end_layout
3011 \begin_layout Description
3012 Action Moves the document section associated with the specified heading to a specified location. Both the heading and the target paragraph are specified by the paragraph ID numbers.
3013 \end_layout
3014 \begin_layout Description
3015 Notion The heading is a paragraph with style Part/Chapter/Section/ etc. Id number of the paragraph is not the sequential number seen on the screen, but an internal number that is unique for all opened buffers (documents).
3016 \end_layout
3017 \begin_layout Description
3018 Syntax outline-dragmove <PAR_ID_SECTION> <PAR_ID_DROP_POSITION>
3019 \end_layout
3020 \begin_layout Description
3021 Params <PAR_ID_SECTION>: paragraph id of the section heading which is to be moved.
3022 \begin_inset Newline newline
3023 \end_inset
3024
3025 <PAR_ID_DROP_POSITION>: the paragraph id where the section will be moved to.
3026 \end_layout
3027 \begin_layout Description
3028 Origin Rob Oakes, 22 June 2009
3029 \end_layout
3030
3031 \begin_layout Subsection*
3032 LFUN_INSET_EDIT
3033 \end_layout
3034 \begin_layout Description
3035 Action Edit the inset at cursor with an external application, if one is attributed.
3036 \end_layout
3037 \begin_layout Description
3038 Syntax inset-edit [<INSET_PARAMS>]
3039 \end_layout
3040 \begin_layout Description
3041 Params <INSET_PARAMS>: Parameters for the inset.
3042 \begin_inset Newline newline
3043 \end_inset
3044
3045 Currently only the filename will be considered.
3046 \end_layout
3047 \begin_layout Description
3048 Origin JSpitzm, 27 Apr 2006
3049 \end_layout
3050
3051 \begin_layout Subsection*
3052 LFUN_TABULAR_INSERT
3053 \end_layout
3054 \begin_layout Description
3055 Action Inserts table into the document.
3056 \end_layout
3057 \begin_layout Description
3058 Syntax tabular-insert [<ROWS> <COLUMNS>]
3059 \end_layout
3060 \begin_layout Description
3061 Params In case no arguments are given show insert dialog.
3062 \end_layout
3063 \begin_layout Description
3064 Origin Jug, 12 Apr 2000
3065 \end_layout
3066
3067 \begin_layout Subsection*
3068 LFUN_TABULAR_FEATURE
3069 \end_layout
3070 \begin_layout Description
3071 Action Sets various features to the table/cell on the current cursor position.
3072 \end_layout
3073 \begin_layout Description
3074 Notion Various math-environment features are handled here as well, e.g. add-vline-left/right for the Grid/Array environment
3075 \end_layout
3076 \begin_layout Description
3077 Syntax tabular-feature <FEATURE> [<ARG>]
3078 \end_layout
3079 \begin_layout Description
3080 Params <FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|copy-column| toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right| align-left|align-right|align-center|align-block|valign-top|valign-bottom| valign-middle|longtabular-align-left|longtabular-align-center| longtabular-align-right|m-align-left|m-align-right|m-align-center| m-valign-top|m-valign-bottom|m-valign-middle|multicolumn|set-all-lines| unset-all-lines|set-longtabular|unset-longtabular|set-pwidth|set-mpwidth| set-rotate-tabular|unset-rotate-tabular|toggle-rotate-tabular| set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|set-usebox|set-lthead| unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot|unset-ltfoot| set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption| set-special-column|set-special-multi|set-booktabs|unset-booktabs| set-top-space|set-bottom-space|set-interline-space|set-border-lines| tabular-valign-top|tabular-valign-middle|tabular-valign-bottom
3081 \begin_inset Newline newline
3082 \end_inset
3083
3084 <ARG>: additional argument for some commands, use debug mode to explore its values.
3085 \end_layout
3086 \begin_layout Description
3087 Origin Jug, 28 Jul 2000
3088 \end_layout
3089
3090 \begin_layout Subsection*
3091 LFUN_CELL_BACKWARD
3092 \end_layout
3093 \begin_layout Description
3094 Action Moves the cursor to the previous cell inside the table.
3095 \end_layout
3096 \begin_layout Description
3097 Syntax cell-backward
3098 \end_layout
3099 \begin_layout Description
3100 Origin Jug, 22 May 2000
3101 \end_layout
3102
3103 \begin_layout Subsection*
3104 LFUN_CELL_FORWARD
3105 \end_layout
3106 \begin_layout Description
3107 Action Moves the cursor to the next cell inside the table.
3108 \end_layout
3109 \begin_layout Description
3110 Syntax cell-forward
3111 \end_layout
3112
3113 \begin_layout Subsection*
3114 LFUN_CELL_SPLIT
3115 \end_layout
3116 \begin_layout Description
3117 Action Splits cell and shifts right part to the next cell (inside the math grid).
3118 \end_layout
3119 \begin_layout Description
3120 Syntax cell-split
3121 \end_layout
3122 \begin_layout Description
3123 Origin Ale, 15 May 1997
3124 \end_layout
3125
3126 \begin_layout Subsection*
3127 LFUN_VC_REGISTER
3128 \end_layout
3129 \begin_layout Description
3130 Action Register the document as an file inside version control system (RCS, CVS).
3131 \end_layout
3132 \begin_layout Description
3133 Notion File is registered inside cvs, svn or rcs repository acording to the existence of cvs/svn/rcs entries in the document's directory.
3134 \begin_inset Newline newline
3135 \end_inset
3136
3137 See LyX Additional Features Manual (Version Control Chapter) for additional information.
3138 \end_layout
3139 \begin_layout Description
3140 Syntax vc-register
3141 \end_layout
3142 \begin_layout Description
3143 Origin Lgb, 1 Jul 1997
3144 \end_layout
3145
3146 \begin_layout Subsection*
3147 LFUN_VC_CHECK_IN
3148 \end_layout
3149 \begin_layout Description
3150 Action Checks-in/commits the changes of the registered file to the repository.
3151 \end_layout
3152 \begin_layout Description
3153 Notion In RCS case this also unlocks the file.
3154 \end_layout
3155 \begin_layout Description
3156 Syntax vc-check-in
3157 \end_layout
3158 \begin_layout Description
3159 Origin Lgb, 1 Jul 1997
3160 \end_layout
3161
3162 \begin_layout Subsection*
3163 LFUN_VC_CHECK_OUT
3164 \end_layout
3165 \begin_layout Description
3166 Action Checks-out the document for edit (and locks it for RCS).
3167 \end_layout
3168 \begin_layout Description
3169 Notion This is implemented only for RCS and SVN, not CVS.
3170 \end_layout
3171 \begin_layout Description
3172 Syntax vc-check-out
3173 \end_layout
3174 \begin_layout Description
3175 Origin Lgb, 1 Jul 1997
3176 \end_layout
3177
3178 \begin_layout Subsection*
3179 LFUN_VC_REVERT
3180 \end_layout
3181 \begin_layout Description
3182 Action Reverts the document to the last check-in/commit in VCS.
3183 \end_layout
3184 \begin_layout Description
3185 Syntax vc-revert
3186 \end_layout
3187 \begin_layout Description
3188 Origin Lgb, 1 Jul 1997
3189 \end_layout
3190
3191 \begin_layout Subsection*
3192 LFUN_VC_UNDO_LAST
3193 \end_layout
3194 \begin_layout Description
3195 Action Undo last check-in.
3196 \end_layout
3197 \begin_layout Description
3198 Notion This is currently implemented only for RCS.
3199 \end_layout
3200 \begin_layout Description
3201 Syntax vc-check-out
3202 \end_layout
3203 \begin_layout Description
3204 Origin Lgb, 1 Jul 1997
3205 \end_layout
3206
3207 \begin_layout Subsection*
3208 LFUN_VC_COMMAND
3209 \end_layout
3210 \begin_layout Description
3211 Action Executes external command. This command is intended to support additional VCS commands.
3212 \end_layout
3213 \begin_layout Description
3214 Syntax vc-command <FLAG> <PATH> <COMMAND>
3215 \end_layout
3216 \begin_layout Description
3217 Params  <FLAG>: Flags for the command can be combined together.
3218 \begin_inset Newline newline
3219 \end_inset
3220
3221 U - dUmmy - no flags
3222 \begin_inset Newline newline
3223 \end_inset
3224
3225 D - Doc - need document loaded to proceed
3226 \begin_inset Newline newline
3227 \end_inset
3228
3229 I - dIrty - mark document dirty
3230 \begin_inset Newline newline
3231 \end_inset
3232
3233 R - Reload - ensure that the document is saved and reload it after command execution
3234 \begin_inset Newline newline
3235 \end_inset
3236
3237 M - Message - ask for input string (commit message)
3238 \begin_inset Newline newline
3239 \end_inset
3240
3241 <PATH>: path where to start. $$p will be replaced by the current document path.
3242 \begin_inset Newline newline
3243 \end_inset
3244
3245 <COMMAND>: command to execute. $$i/$$p/$$m will be replaced by the current document/path/message.
3246 \end_layout
3247 \begin_layout Description
3248 Sample vc-command DR $$p "svn up"
3249 \end_layout
3250 \begin_layout Description
3251 Origin sanda, 13 Jan 2009
3252 \end_layout
3253
3254 \begin_layout Subsection*
3255 LFUN_VC_LOCKING_TOGGLE
3256 \end_layout
3257 \begin_layout Description
3258 Action Toggles the locking property of the edited file.
3259 \end_layout
3260 \begin_layout Description
3261 Notion This is currently implemented only for SVN.
3262 \end_layout
3263 \begin_layout Description
3264 Syntax vc-locking-toggle
3265 \end_layout
3266 \begin_layout Description
3267 Origin sanda, 25 Jun 2009
3268 \end_layout
3269
3270 \begin_layout Subsection*
3271 LFUN_VC_REPO_UPDATE
3272 \end_layout
3273 \begin_layout Description
3274 Action Update the local archive directory in which resides the current document with the remote repository.
3275 \end_layout
3276 \begin_layout Description
3277 Notion This is currently implemented only for SVN.
3278 \end_layout
3279 \begin_layout Description
3280 Syntax vc-repo-update
3281 \end_layout
3282 \begin_layout Description
3283 Origin sanda, 16 Oct 2009
3284 \end_layout
3285
3286 \begin_layout Subsection*
3287 LFUN_CHANGES_TRACK
3288 \end_layout
3289 \begin_layout Description
3290 Action Toggles change tracking to on/off.
3291 \end_layout
3292 \begin_layout Description
3293 Syntax changes-track
3294 \end_layout
3295 \begin_layout Description
3296 Origin levon, 1 Oct 2002
3297 \end_layout
3298
3299 \begin_layout Subsection*
3300 LFUN_CHANGES_OUTPUT
3301 \end_layout
3302 \begin_layout Description
3303 Action Toggles showing of change tracking in typesetted output.
3304 \end_layout
3305 \begin_layout Description
3306 Syntax changes-output
3307 \end_layout
3308 \begin_layout Description
3309 Origin jspitzm, 21 Jan 2005
3310 \end_layout
3311
3312 \begin_layout Subsection*
3313 LFUN_CHANGE_NEXT
3314 \end_layout
3315 \begin_layout Description
3316 Action Moves the cursor to the position of the next change of the change tracking records.
3317 \end_layout
3318 \begin_layout Description
3319 Syntax change-next
3320 \end_layout
3321 \begin_layout Description
3322 Origin schmitt, 4 Oct 2006
3323 \end_layout
3324
3325 \begin_layout Subsection*
3326 LFUN_CHANGE_PREVIOUS
3327 \end_layout
3328 \begin_layout Description
3329 Action Moves the cursor to the position of the previous change of the change tracking records.
3330 \end_layout
3331 \begin_layout Description
3332 Syntax change-previous
3333 \end_layout
3334 \begin_layout Description
3335 Origin vfr, 4 Apr 2009
3336 \end_layout
3337
3338 \begin_layout Subsection*
3339 LFUN_CHANGES_MERGE
3340 \end_layout
3341 \begin_layout Description
3342 Action Open change tracking dialog for merging and moves the cursor to the position of the next change.
3343 \end_layout
3344 \begin_layout Description
3345 Syntax changes-merge
3346 \end_layout
3347 \begin_layout Description
3348 Origin Levon, 16 Oct 2002
3349 \end_layout
3350
3351 \begin_layout Subsection*
3352 LFUN_CHANGE_ACCEPT
3353 \end_layout
3354 \begin_layout Description
3355 Action Accepts tracked change inside the selection.
3356 \end_layout
3357 \begin_layout Description
3358 Syntax change-accept
3359 \end_layout
3360 \begin_layout Description
3361 Origin Levon, 16 Oct 2002
3362 \end_layout
3363
3364 \begin_layout Subsection*
3365 LFUN_CHANGE_REJECT
3366 \end_layout
3367 \begin_layout Description
3368 Action Rejects tracked change inside the selection.
3369 \end_layout
3370 \begin_layout Description
3371 Syntax change-accept
3372 \end_layout
3373 \begin_layout Description
3374 Origin Levon, 16 Oct 2002
3375 \end_layout
3376
3377 \begin_layout Subsection*
3378 LFUN_ALL_CHANGES_ACCEPT
3379 \end_layout
3380 \begin_layout Description
3381 Action Accepts all tracked changes in the document.
3382 \end_layout
3383 \begin_layout Description
3384 Syntax all-changes-accept
3385 \end_layout
3386 \begin_layout Description
3387 Origin Levon, 16 Oct 2002
3388 \end_layout
3389
3390 \begin_layout Subsection*
3391 LFUN_ALL_CHANGES_REJECT
3392 \end_layout
3393 \begin_layout Description
3394 Action Rejects all tracked changes in the document.
3395 \end_layout
3396 \begin_layout Description
3397 Notion Reject does not work recursively; the user may have to repeat the operation.
3398 \end_layout
3399 \begin_layout Description
3400 Syntax all-changes-reject
3401 \end_layout
3402 \begin_layout Description
3403 Origin Levon, 16 Oct 2002
3404 \end_layout
3405
3406 \begin_layout Subsection*
3407 LFUN_INSET_APPLY
3408 \end_layout
3409 \begin_layout Description
3410 Action Apply data for an inset.
3411 \end_layout
3412 \begin_layout Description
3413 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.
3414 \end_layout
3415 \begin_layout Description
3416 Syntax inset-apply <ARGS>
3417 \end_layout
3418 \begin_layout Description
3419 Params See LFUN_INSET_INSERT .
3420 \end_layout
3421
3422 \begin_layout Subsection*
3423 LFUN_INSET_DISSOLVE
3424 \end_layout
3425 \begin_layout Description
3426 Action Dissolve the current inset into text.
3427 \end_layout
3428 \begin_layout Description
3429 Syntax inset-dissolve [<INSET>]
3430 \end_layout
3431 \begin_layout Description
3432 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.
3433 \begin_inset Newline newline
3434 \end_inset
3435
3436 For values see lyx::InsetLayout::lyxtype_ .
3437 \end_layout
3438 \begin_layout Description
3439 Origin JSpitz, 7 Aug 2006
3440 \end_layout
3441
3442 \begin_layout Subsection*
3443 LFUN_INSET_INSERT
3444 \end_layout
3445 \begin_layout Description
3446 Action Insert new inset (type given by the parameters).
3447 \end_layout
3448 \begin_layout Description
3449 Syntax inset-insert <INSET> <ARGS>
3450 \end_layout
3451 \begin_layout Description
3452 Params <INSET>: <bibitem|bibtex|cite|ert|listings|external|graphics| hyperlink|include|index|label|nomencl|vspace|ref|toc>
3453 \begin_inset Newline newline
3454 \end_inset
3455
3456 <ARGS>: depends on the given inset. Use "lyx -dbg action" to explore.
3457 \end_layout
3458 \begin_layout Description
3459 Sample inset-insert ref LatexCommand <Format> reference "<label name>"
3460 \backslash
3461 end_inset
3462 \begin_inset Newline newline
3463 \end_inset
3464
3465 where <label name> is the name of the referenced label and <Format> is one of the following:
3466 \begin_inset Newline newline
3467 \end_inset
3468
3469 ref -- <reference>
3470 \begin_inset Newline newline
3471 \end_inset
3472
3473 eqref -- (<reference>)
3474 \begin_inset Newline newline
3475 \end_inset
3476
3477 pageref -- <page>
3478 \begin_inset Newline newline
3479 \end_inset
3480
3481 vpageref -- on <page>
3482 \begin_inset Newline newline
3483 \end_inset
3484
3485 vref -- <reference> on <page>
3486 \begin_inset Newline newline
3487 \end_inset
3488
3489 prettyref -- Formatted reference
3490 \end_layout
3491
3492 \begin_layout Subsection*
3493 LFUN_INSET_MODIFY
3494 \end_layout
3495 \begin_layout Description
3496 Action Modify existing inset.
3497 \end_layout
3498 \begin_layout Description
3499 Notion Used for bibitem, bibtex, box, branch, command, ert, external, floats, graphics, include, label, listings, note, phantom, ref, space, tabular, vspace, wrap insets.
3500 \end_layout
3501 \begin_layout Description
3502 Syntax inset-modify <INSET> <ARGS>
3503 \end_layout
3504 \begin_layout Description
3505 Params See LFUN_INSET_INSERT for further details.
3506 \end_layout
3507
3508 \begin_layout Subsection*
3509 LFUN_NEXT_INSET_MODIFY
3510 \end_layout
3511 \begin_layout Description
3512 Action Modify the inset at cursor position, if there is one.
3513 \end_layout
3514 \begin_layout Description
3515 Notion Used for bibitem, bibtex, box, branch, command, ert, external, floats, graphics, include, label, listings, note, phantom, ref, space, tabular, vspace, wrap insets.
3516 \end_layout
3517 \begin_layout Description
3518 Syntax next-inset-modify <INSET> <ARGS>next-inset-modify changetype <TYPE>
3519 \end_layout
3520 \begin_layout Description
3521 Params See LFUN_INSET_INSERT for further details.
3522 \end_layout
3523 \begin_layout Description
3524 Origin JSpitzm, 23 Mar 2008
3525 \end_layout
3526
3527 \begin_layout Subsection*
3528 LFUN_INSET_DIALOG_UPDATE
3529 \end_layout
3530 \begin_layout Description
3531 Action Updates the values inside the dialog from the inset.
3532 \end_layout
3533 \begin_layout Description
3534 Notion This is internal LFUN, not to be used by users. Called internally by LFUN_DIALOG_UPDATE
3535 \end_layout
3536 \begin_layout Description
3537 Params <DIALOG-NAME>
3538 \end_layout
3539 \begin_layout Description
3540 Origin leeming, 25 Feb 2003
3541 \end_layout
3542
3543 \begin_layout Subsection*
3544 LFUN_INSET_SETTINGS
3545 \end_layout
3546 \begin_layout Description
3547 Action Open the inset's properties dialog.
3548 \end_layout
3549 \begin_layout Description
3550 Notion Used for bibitem, bibtex, box, branch, citation, ert, external, float, graphics, href, include, index, index_print, label, listings, note, phantom, ref, space, tabular, vspace, wrap insets.
3551 \end_layout
3552 \begin_layout Description
3553 Syntax inset-settings <INSET>
3554 \end_layout
3555 \begin_layout Description
3556 Params <INSET>: <bibitem|bibtex|box|branch|citation|ert|external|float| graphics|href|include|index|index_print|label|listings| note|phantom|ref|space|tabular|vspace|wrap>.
3557 \end_layout
3558
3559 \begin_layout Subsection*
3560 LFUN_INSET_TOGGLE
3561 \end_layout
3562 \begin_layout Description
3563 Action Toggles the collapsable inset at cursor position, or the inset we are currently in.
3564 \end_layout
3565 \begin_layout Description
3566 Syntax inset-toggle [<ARG>]
3567 \end_layout
3568 \begin_layout Description
3569 Params <ARG>: <open|close|toggle|assign>.
3570 \begin_inset Newline newline
3571 \end_inset
3572
3573 open/close/toggle are for collapsable insets. toggle is used when no argument is given.
3574 \begin_inset Newline newline
3575 \end_inset
3576
3577 assign synchronize the branch-inset with activation status of the branch. Used for global toggling when changed activation.
3578 \end_layout
3579 \begin_layout Description
3580 Origin lasgouttes, 19 Jul 2001
3581 \end_layout
3582
3583 \begin_layout Subsection*
3584 LFUN_ALL_INSETS_TOGGLE
3585 \end_layout
3586 \begin_layout Description
3587 Action Toggles (open/closes) all collapsable insets (of a given type) in the document.
3588 \end_layout
3589 \begin_layout Description
3590 Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets.
3591 \end_layout
3592 \begin_layout Description
3593 Syntax all-insets-toggle [<STATE>] [<INSET>]
3594 \end_layout
3595 \begin_layout Description
3596 Params <STATE>: <toggle|open|close|assign> default: toggle
3597 \begin_inset Newline newline
3598 \end_inset
3599
3600 <INSET>: <box|branch|ert|float|listings|note|tabular|wrap> default: all insets
3601 \end_layout
3602 \begin_layout Description
3603 Origin leeming, 30 Mar 2004
3604 \end_layout
3605
3606 \begin_layout Subsection*
3607 LFUN_INSET_FORALL
3608 \end_layout
3609 \begin_layout Description
3610 Action Apply the given commands on insets of a given name.
3611 \end_layout
3612 \begin_layout Description
3613 Notion WARNING: use at your own risks; this function gives you too many ways of shooting yourself in the foot. A typical example is inset-forall Note note-insert which starts an infinite loop. This is mitigated by the fact that the number of actions is arbitrarily limited to 10000.
3614 \end_layout
3615 \begin_layout Description
3616 Syntax inset-forall <NAME> <LFUN-COMMAND>
3617 \begin_inset Newline newline
3618 \end_inset
3619
3620 <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.
3621 \end_layout
3622 \begin_layout Description
3623 Sample Remove all index insets:
3624 \begin_inset Newline newline
3625 \end_inset
3626
3627                    inset-forall Index delete-char-forward
3628 \begin_inset Newline newline
3629 \end_inset
3630
3631 Close all Notes (also works for a particular branch, for example):
3632 \begin_inset Newline newline
3633 \end_inset
3634
3635                    inset-forall Note inset-toggle close
3636 \begin_inset Newline newline
3637 \end_inset
3638
3639 Try to put LyX in an infinite loop if there is at least a Note:
3640 \begin_inset Newline newline
3641 \end_inset
3642
3643                    inset-forall Note char-backward
3644 \end_layout
3645 \begin_layout Description
3646 Origin lasgouttes, 27 Nov 2009
3647 \end_layout
3648
3649 \begin_layout Subsection*
3650 LFUN_GRAPHICS_RELOAD
3651 \end_layout
3652 \begin_layout Description
3653 Action Reloads the image if necessary.
3654 \end_layout
3655 \begin_layout Description
3656 Syntax graphics-reload
3657 \end_layout
3658 \begin_layout Description
3659 Origin vfr, 10 Aug 2009
3660 \end_layout
3661
3662 \begin_layout Subsection*
3663 LFUN_SET_GRAPHICS_GROUP
3664 \end_layout
3665 \begin_layout Description
3666 Action Set the group for the graphics inset on the cursor position.
3667 \end_layout
3668 \begin_layout Description
3669 Syntax set-graphics-group [<GROUP>]
3670 \end_layout
3671 \begin_layout Description
3672 Params <GROUP>: Id for an existing group. In case the Id is an empty string, the graphics inset is removed from the current group.
3673 \end_layout
3674 \begin_layout Description
3675 Origin sanda, 6 May 2008
3676 \end_layout
3677
3678 \begin_layout Subsection*
3679 LFUN_FINISHED_FORWARD
3680 \end_layout
3681 \begin_layout Description
3682 Action Moves the cursor out of the current slice, going forward.
3683 \end_layout
3684 \begin_layout Description
3685 Notion Cursor movement within an inset may be different than cursor movement in the surrounding text. This action should be called automatically by the cursor movement within the inset, when movement within the inset has ceased (reached the end of the last paragraph, for example), in order to move correctly back into the surrounding text.
3686 \end_layout
3687
3688 \begin_layout Subsection*
3689 LFUN_FINISHED_BACKWARD
3690 \end_layout
3691 \begin_layout Description
3692 Action Moves the cursor out of the current slice, going backwards.
3693 \end_layout
3694 \begin_layout Description
3695 Notion See also LFUN_FINISHED_FORWARD.
3696 \end_layout
3697
3698 \begin_layout Subsection*
3699 LFUN_FINISHED_RIGHT
3700 \end_layout
3701 \begin_layout Description
3702 Action Moves the cursor out of the current slice, going right.
3703 \end_layout
3704 \begin_layout Description
3705 Notion See also LFUN_FINISHED_FORWARD
3706 \end_layout
3707
3708 \begin_layout Subsection*
3709 LFUN_FINISHED_LEFT
3710 \end_layout
3711 \begin_layout Description
3712 Action Moves the cursor out of the current slice, going left.
3713 \end_layout
3714 \begin_layout Description
3715 Notion See also LFUN_FINISHED_FORWARD.
3716 \end_layout
3717
3718 \begin_layout Subsection*
3719 LFUN_LANGUAGE
3720 \end_layout
3721 \begin_layout Description
3722 Action Set language from the current cursor position.
3723 \end_layout
3724 \begin_layout Description
3725 Syntax language <LANG>
3726 \end_layout
3727 \begin_layout Description
3728 Params <LANG>: Requested language. Look in lib/languages for the list.
3729 \end_layout
3730 \begin_layout Description
3731 Origin Dekel, 2 Mar 2000
3732 \end_layout
3733
3734 \begin_layout Subsection*
3735 LFUN_LABEL_GOTO
3736 \end_layout
3737 \begin_layout Description
3738 Action Goto a label.
3739 \end_layout
3740 \begin_layout Description
3741 Syntax label-goto [<LABEL>]
3742 \end_layout
3743 \begin_layout Description
3744 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.
3745 \end_layout
3746 \begin_layout Description
3747 Origin Ale, 6 Aug 1997
3748 \end_layout
3749
3750 \begin_layout Subsection*
3751 LFUN_LABEL_INSERT
3752 \end_layout
3753 \begin_layout Description
3754 Action Inserts label to text or displayed formula.
3755 \end_layout
3756 \begin_layout Description
3757 Syntax label-insert [<LABEL>]
3758 \end_layout
3759 \begin_layout Description
3760 Params <LABEL>: Requested label. If no label is given dialog requesting name will be opened.
3761 \end_layout
3762
3763 \begin_layout Subsection*
3764 LFUN_REFERENCE_NEXT
3765 \end_layout
3766 \begin_layout Description
3767 Action Go to the next label or cross-reference.
3768 \end_layout
3769 \begin_layout Description
3770 Syntax reference-next
3771 \end_layout
3772 \begin_layout Description
3773 Origin Dekel, 14 Jan 2001
3774 \end_layout
3775
3776 \begin_layout Subsection*
3777 LFUN_BOOKMARK_GOTO
3778 \end_layout
3779 \begin_layout Description
3780 Action Moves the cursor to the numbered bookmark, opening the file if necessary. Note that bookmarsk are saved per-session, not per file.
3781 \end_layout
3782 \begin_layout Description
3783 Notion Bookmark 0 has a special purpose. It is automatically set
3784 \begin_inset Newline newline
3785 \end_inset
3786
3787 1. to the paragraph you are currently editing
3788 \begin_inset Newline newline
3789 \end_inset
3790
3791 2. to the paragraph from where you are jumping to the last-edited position (jump-back feature)
3792 \begin_inset Newline newline
3793 \end_inset
3794
3795 3. when jumping from crossreference to the requested label by LFUN_LABEL_GOTO.
3796 \end_layout
3797 \begin_layout Description
3798 Syntax bookmark-goto <NUMBER>
3799 \end_layout
3800 \begin_layout Description
3801 Params <NUMBER>: the number of the bookmark to restore.
3802 \end_layout
3803 \begin_layout Description
3804 Origin Dekel, 27 January 2001
3805 \end_layout
3806
3807 \begin_layout Subsection*
3808 LFUN_BOOKMARK_SAVE
3809 \end_layout
3810 \begin_layout Description
3811 Action Save a bookmark.
3812 \end_layout
3813 \begin_layout Description
3814 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.
3815 \end_layout
3816 \begin_layout Description
3817 Syntax bookmark-save <NUMBER>
3818 \end_layout
3819 \begin_layout Description
3820 Params <NUMBER>: the number of the bookmark to save.
3821 \end_layout
3822 \begin_layout Description
3823 Origin Dekel, 27 January 2001
3824 \end_layout
3825
3826 \begin_layout Subsection*
3827 LFUN_BOOKMARK_CLEAR
3828 \end_layout
3829 \begin_layout Description
3830 Action Clears the list of saved bookmarks.
3831 \end_layout
3832 \begin_layout Description
3833 Syntax bookmark-clear
3834 \end_layout
3835 \begin_layout Description
3836 Origin bpeng, 31 October 2006
3837 \end_layout
3838
3839 \begin_layout Subsection*
3840 LFUN_HELP_OPEN
3841 \end_layout
3842 \begin_layout Description
3843 Action Open the given help file according to the language setting.
3844 \end_layout
3845 \begin_layout Description
3846 Syntax help-open <FILE>[.lyx]
3847 \end_layout
3848 \begin_layout Description
3849 Params <FILE>: any document from (/usr/share/)doc directory.
3850 \end_layout
3851 \begin_layout Description
3852 Origin Jug, 27 Jun 1999
3853 \end_layout
3854
3855 \begin_layout Subsection*
3856 LFUN_LYX_QUIT
3857 \end_layout
3858 \begin_layout Description
3859 Action Terminates the current LyX instance.
3860 \end_layout
3861 \begin_layout Description
3862 Notion Terminates the current LyX instance, asking whether to save modified documents, etc.
3863 \end_layout
3864 \begin_layout Description
3865 Syntax lyx-quit
3866 \end_layout
3867
3868 \begin_layout Subsection*
3869 LFUN_TOOLBAR_TOGGLE
3870 \end_layout
3871 \begin_layout Description
3872 Action Toggles visibility of a given toolbar between on/off/auto.
3873 \end_layout
3874 \begin_layout Description
3875 Notion Skipping "auto" when allowauto is false.
3876 \end_layout
3877 \begin_layout Description
3878 Syntax toolbar-toggle <NAME> [allowauto]
3879 \end_layout
3880 \begin_layout Description
3881 Params <NAME>: standard|extra|table|math|mathmacrotemplate| minibuffer|review|view/update|math_panels|vcs
3882 \end_layout
3883 \begin_layout Description
3884 Origin Edwin, 21 May 2007
3885 \end_layout
3886
3887 \begin_layout Subsection*
3888 LFUN_MENU_OPEN
3889 \end_layout
3890 \begin_layout Description
3891 Action Opens the menu given by its name.
3892 \end_layout
3893 \begin_layout Description
3894 Syntax menu-open <NAME>
3895 \end_layout
3896 \begin_layout Description
3897 Params <NAME>: menu name. See various .inc files in lib/ui for candidates.
3898 \end_layout
3899
3900 \begin_layout Subsection*
3901 LFUN_UI_TOGGLE
3902 \end_layout
3903 \begin_layout Description
3904 Action Various UI visibility-toggling actions.
3905 \end_layout
3906 \begin_layout Description
3907 Syntax ui-toggle <statusbar|menubar|scrollbar|frame|fullscreen>
3908 \end_layout
3909 \begin_layout Description
3910 Params statusbar  : Toggle visibility of the statusbar.
3911 \begin_inset Newline newline
3912 \end_inset
3913
3914 menubar    : Toggle visibility of the menubar.
3915 \begin_inset Newline newline
3916 \end_inset
3917
3918 scrollbar  : Toggle visibility of the scrollbar.
3919 \begin_inset Newline newline
3920 \end_inset
3921
3922 frame      : Toggle visibility of the frames around editing window.
3923 \begin_inset Newline newline
3924 \end_inset
3925
3926 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.
3927 \end_layout
3928 \begin_layout Description
3929 Origin sanda, 9 Feb 2007
3930 \end_layout
3931
3932 \begin_layout Subsection*
3933 LFUN_WINDOW_NEW
3934 \end_layout
3935 \begin_layout Description
3936 Action Creates new empty LyX window.
3937 \end_layout
3938 \begin_layout Description
3939 Notion Already opened documents from the previous window can be found under View menu.
3940 \end_layout
3941 \begin_layout Description
3942 Syntax window-new [<GEOMETRY>]
3943 \end_layout
3944 \begin_layout Description
3945 Params <GEOMETRY>: pass the geometry of the window. This parameter is currently accepted only on Windows platform.
3946 \end_layout
3947 \begin_layout Description
3948 Origin Abdel, 21 Oct 2006
3949 \end_layout
3950
3951 \begin_layout Subsection*
3952 LFUN_WINDOW_CLOSE
3953 \end_layout
3954 \begin_layout Description
3955 Action Closes the current LyX window.
3956 \end_layout
3957 \begin_layout Description
3958 Syntax window-close
3959 \end_layout
3960 \begin_layout Description
3961 Origin Abdel, 23 Oct 2006
3962 \end_layout
3963
3964 \begin_layout Subsection*
3965 LFUN_SPLIT_VIEW
3966 \end_layout
3967 \begin_layout Description
3968 Action Creates another split view of current buffer.
3969 \end_layout
3970 \begin_layout Description
3971 Notion All split views act in the same way indpendently.
3972 \end_layout
3973 \begin_layout Description
3974 Syntax split-view <vertical|horizontal>
3975 \end_layout
3976 \begin_layout Description
3977 Params horizontal : The work areas are laid out side by side.
3978 \begin_inset Newline newline
3979 \end_inset
3980
3981 vertical   : The work areas laid out vertically.
3982 \end_layout
3983 \begin_layout Description
3984 Origin Abdel, 20 Feb 2008
3985 \end_layout
3986
3987 \begin_layout Subsection*
3988 LFUN_CLOSE_TAB_GROUP
3989 \end_layout
3990 \begin_layout Description
3991 Action Close the current tab group.
3992 \end_layout
3993 \begin_layout Description
3994 Notion This only closes the work areas, not the buffer themselves. The still opened buffers can be visualized in another tab group.
3995 \end_layout
3996 \begin_layout Description
3997 Syntax close-tab-group
3998 \end_layout
3999 \begin_layout Description
4000 Origin Abdel, 21 Feb 2008
4001 \end_layout
4002
4003 \begin_layout Subsection*
4004 LFUN_DIALOG_SHOW
4005 \end_layout
4006 \begin_layout Description
4007 Action Shows hidden dialog or create new one for a given function/inset settings etc.
4008 \end_layout
4009 \begin_layout Description
4010 Syntax dialog-show <NAME> [<DATA>]
4011 \end_layout
4012 \begin_layout Description
4013 Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
4014 \begin_inset Newline newline
4015 \end_inset
4016
4017 compare|document|errorlist|ert|external|file|findreplace|findreplaceadv|float|
4018 \begin_inset Newline newline
4019 \end_inset
4020
4021 graphics|href|include|index|index_print|info|label|listings|log|mathdelimiter|
4022 \begin_inset Newline newline
4023 \end_inset
4024
4025 mathmatrix|mathspace|nomenclature|nomencl_print|note|paragraph|phantom|prefs|
4026 \begin_inset Newline newline
4027 \end_inset
4028
4029 print|ref|sendto|space|spellchecker|symbols|tabular|tabularcreate|
4030 \begin_inset Newline newline
4031 \end_inset
4032
4033 thesaurus|texinfo|toc|view-source|vspace|wrap|<SPECIAL>
4034 \begin_inset Newline newline
4035 \end_inset
4036
4037 <SPECIAL>: latexlog|vclog
4038 \begin_inset Newline newline
4039 \end_inset
4040
4041 <DATA>: data, usually settings for the given dialog. Use debug mode for the details.
4042 \end_layout
4043 \begin_layout Description
4044 Origin leeming, 17 Jun 2003
4045 \end_layout
4046
4047 \begin_layout Subsection*
4048 LFUN_DIALOG_SHOW_NEW_INSET
4049 \end_layout
4050 \begin_layout Description
4051 Action Shows hidden dialog or create new one for a given inset settings etc.
4052 \end_layout
4053 \begin_layout Description
4054 Notion Internally uses LFUN_DIALOG_SHOW with processed data for a given inset.
4055 \end_layout
4056 \begin_layout Description
4057 Syntax dialog-show-new-inset <NAME> [<DATA>]
4058 \end_layout
4059 \begin_layout Description
4060 Params See LFUN_DIALOG_SHOW .
4061 \end_layout
4062 \begin_layout Description
4063 Origin leeming, 25 Feb 2003
4064 \end_layout
4065
4066 \begin_layout Subsection*
4067 LFUN_DIALOG_UPDATE
4068 \end_layout
4069 \begin_layout Description
4070 Action Updates the dialog values from the inset/paragraph/document.
4071 \end_layout
4072 \begin_layout Description
4073 Syntax dialog-update <NAME>
4074 \end_layout
4075 \begin_layout Description
4076 Params <NAME>: paragraph|prefs|<INSET>
4077 \begin_inset Newline newline
4078 \end_inset
4079
4080 <INSET>: inset name
4081 \end_layout
4082 \begin_layout Description
4083 Origin leeming, 25 Feb 2003
4084 \end_layout
4085
4086 \begin_layout Subsection*
4087 LFUN_DIALOG_HIDE
4088 \end_layout
4089 \begin_layout Description
4090 Action Hides showed dialog. Counterpart to LFUN_DIALOG_SHOW .
4091 \end_layout
4092 \begin_layout Description
4093 Syntax dialog-hide <NAME>
4094 \end_layout
4095 \begin_layout Description
4096 Params See LFUN_DIALOG_SHOW .
4097 \end_layout
4098 \begin_layout Description
4099 Origin leeming, 25 Feb 2003
4100 \end_layout
4101
4102 \begin_layout Subsection*
4103 LFUN_DIALOG_TOGGLE
4104 \end_layout
4105 \begin_layout Description
4106 Action Toggles dialog between showed/hidden state.
4107 \end_layout
4108 \begin_layout Description
4109 Notion Internally uses LFUN_DIALOG_SHOW , LFUN_DIALOG_HIDE .
4110 \end_layout
4111 \begin_layout Description
4112 Syntax dialog-toggle <NAME> [<DATA>]
4113 \end_layout
4114 \begin_layout Description
4115 Params See LFUN_DIALOG_SHOW .
4116 \end_layout
4117 \begin_layout Description
4118 Origin JSpitzm, 30 Apr 2007
4119 \end_layout
4120
4121 \begin_layout Subsection*
4122 LFUN_DIALOG_DISCONNECT_INSET
4123 \end_layout
4124 \begin_layout Description
4125 Action Closes opened connection to opened inset.
4126 \end_layout
4127 \begin_layout Description
4128 Notion Connection is used for apply functions.
4129 \end_layout
4130 \begin_layout Description
4131 Syntax dialog-disconnect-inset <INSET-NAME>
4132 \end_layout
4133 \begin_layout Description
4134 Origin leeming, 25 Feb 2003
4135 \end_layout
4136
4137 \begin_layout Subsection*
4138 LFUN_MOUSE_PRESS
4139 \end_layout
4140 \begin_layout Description
4141 Action This function is called when mouse button is pressed (inside workarea). Action depends on the context.
4142 \end_layout
4143 \begin_layout Description
4144 Notion This is internal LFUN, not to be used by users.
4145 \end_layout
4146 \begin_layout Description
4147 Origin Andre, 9 Aug 2002
4148 \end_layout
4149
4150 \begin_layout Subsection*
4151 LFUN_MOUSE_DOUBLE
4152 \end_layout
4153 \begin_layout Description
4154 Action This function is called when double click on mouse button is pressed (inside workarea). Action depends on the context.
4155 \end_layout
4156 \begin_layout Description
4157 Notion This is internal LFUN, not to be used by users.
4158 \end_layout
4159 \begin_layout Description
4160 Origin Andre, 9 Aug 2002
4161 \end_layout
4162
4163 \begin_layout Subsection*
4164 LFUN_MOUSE_TRIPLE
4165 \end_layout
4166 \begin_layout Description
4167 Action This function is called when triple click on mouse button is pressed (inside workarea). Action depends on the context.
4168 \end_layout
4169 \begin_layout Description
4170 Notion This is internal LFUN, not to be used by users.
4171 \end_layout
4172 \begin_layout Description
4173 Origin Andre, 9 Aug 2002
4174 \end_layout
4175
4176 \begin_layout Subsection*
4177 LFUN_MOUSE_MOTION
4178 \end_layout
4179 \begin_layout Description
4180 Action This function is called when mouse cursor is moving over the text. Action depends on the context.
4181 \end_layout
4182 \begin_layout Description
4183 Notion This is internal LFUN, not to be used by users.
4184 \end_layout
4185 \begin_layout Description
4186 Origin Andre, 9 Aug 2002
4187 \end_layout
4188
4189 \begin_layout Subsection*
4190 LFUN_MOUSE_RELEASE
4191 \end_layout
4192 \begin_layout Description
4193 Action This function is called when mouse button is released (inside workarea). Action depends on the context.
4194 \end_layout
4195 \begin_layout Description
4196 Notion This is internal LFUN, not to be used by users.
4197 \end_layout
4198 \begin_layout Description
4199 Origin Andre, 9 Aug 2002
4200 \end_layout
4201
4202 \begin_layout Subsection*
4203 LFUN_KEYMAP_OFF
4204 \end_layout
4205 \begin_layout Description
4206 Action Turn off the loaded keyboard map.
4207 \end_layout
4208 \begin_layout Description
4209 Syntax keymap-off
4210 \end_layout
4211
4212 \begin_layout Subsection*
4213 LFUN_KEYMAP_PRIMARY
4214 \end_layout
4215 \begin_layout Description
4216 Action Turn on the primary keyboard map.
4217 \end_layout
4218 \begin_layout Description
4219 Notion Maps were widely used in past, when X-windows didn't have nowadays keyboard support. They can be still used to maintain uniform keyboard layout across the various plaforms.
4220 \begin_inset Newline newline
4221 \end_inset
4222
4223 The language is to be set in the Preferences dialog.
4224 \end_layout
4225 \begin_layout Description
4226 Syntax keymap-primary
4227 \end_layout
4228
4229 \begin_layout Subsection*
4230 LFUN_KEYMAP_SECONDARY
4231 \end_layout
4232 \begin_layout Description
4233 Action Turn on the secondary keyboard map.
4234 \end_layout
4235 \begin_layout Description
4236 Syntax keymap-secondary
4237 \end_layout
4238
4239 \begin_layout Subsection*
4240 LFUN_KEYMAP_TOGGLE
4241 \end_layout
4242 \begin_layout Description
4243 Action Toggles keyboard maps (first/second/off).
4244 \end_layout
4245 \begin_layout Description
4246 Syntax keymap-toggle
4247 \end_layout
4248 \begin_layout Description
4249 Origin leeming, 30 Mar 2004
4250 \end_layout
4251
4252 \begin_layout Subsection*
4253 LFUN_SERVER_GET_LAYOUT
4254 \end_layout
4255 \begin_layout Description
4256 Action Returns the current layout (that is environment) name on the cursor position.
4257 \end_layout
4258 \begin_layout Description
4259 Syntax server-get-layout
4260 \end_layout
4261
4262 \begin_layout Subsection*
4263 LFUN_SERVER_GET_FILENAME
4264 \end_layout
4265 \begin_layout Description
4266 Action Returns path and file name of the currently edited document.
4267 \end_layout
4268 \begin_layout Description
4269 Syntax server-get-filename
4270 \end_layout
4271
4272 \begin_layout Subsection*
4273 LFUN_SERVER_GOTO_FILE_ROW
4274 \end_layout
4275 \begin_layout Description
4276 Action Sets the cursor position based on the row number of generated TeX file.
4277 \end_layout
4278 \begin_layout Description
4279 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).
4280 \end_layout
4281 \begin_layout Description
4282 Syntax server-goto-file-row <FILE[.ext]> <ROW_NUMBER>
4283 \end_layout
4284 \begin_layout Description
4285 Params <FILE>: the filename. Environment variables are expanded in the path. In case this LFUN does not work make sure you are giving correct path to the file.
4286 \begin_inset Newline newline
4287 \end_inset
4288
4289 If the file is located inside LyX temporary directory it will be mapped back into the appropriate opened buffer (e.g. for the case of generated .tex file). .ext: extensions will be automatically replaced by .lyx. <ROW_NUMBER> The row number of the LaTeX file to which to go.
4290 \end_layout
4291 \begin_layout Description
4292 Origin Edmar, 23 Dec 1998
4293 \end_layout
4294
4295 \begin_layout Subsection*
4296 LFUN_SERVER_NOTIFY
4297 \end_layout
4298 \begin_layout Description
4299 Action Sends notify message about the last key-sequence to client.
4300 \end_layout
4301 \begin_layout Description
4302 Notion This can be used to grab last key-sequence used inside the LyX window. See also Debug extensions section in Additional features manual.
4303 \end_layout
4304 \begin_layout Description
4305 Syntax server-notify
4306 \end_layout
4307
4308 \begin_layout Subsection*
4309 LFUN_SERVER_SET_XY
4310 \end_layout
4311 \begin_layout Description
4312 Action Sets the cursor position based on the editing area coordinates (similar as clicking on that point with left mouse button).
4313 \end_layout
4314 \begin_layout Description
4315 Syntax server-set-xy <X> <Y>
4316 \end_layout
4317
4318 \begin_layout Subsection*
4319 LFUN_SERVER_GET_XY
4320 \end_layout
4321 \begin_layout Description
4322 Action Returns the coordinates of cursor position in the editing area.
4323 \end_layout
4324 \begin_layout Description
4325 Syntax server-get-xy
4326 \end_layout
4327
4328 \begin_layout Subsection*
4329 LFUN_BUILD_PROGRAM
4330 \end_layout
4331 \begin_layout Description
4332 Action Generates the code (literate programming).
4333 \end_layout
4334 \begin_layout Description
4335 Notion Latex file with extension 
4336 \backslash
4337 literate_extension is generated. Then LyX invokes 
4338 \backslash
4339 build_command (with a default of``make'') to generate the code and 
4340 \backslash
4341 build_error_filter to process the compilation error messages.
4342 \begin_inset Newline newline
4343 \end_inset
4344
4345 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:
4346 \begin_inset Newline newline
4347 \end_inset
4348
4349
4350 \backslash
4351 build_command "my_script my_arguments"
4352 \begin_inset Newline newline
4353 \end_inset
4354
4355 The 
4356 \backslash
4357 build_error_filter differs from the 
4358 \backslash
4359 literate_error_filter only in that the former will identify error messages from your compiler.
4360 \end_layout
4361 \begin_layout Description
4362 Syntax build-program
4363 \end_layout
4364
4365 \begin_layout Subsection*
4366 LFUN_BUFFER_AUTO_SAVE
4367 \end_layout
4368 \begin_layout Description
4369 Action Saves the current buffer to a temporary file.
4370 \end_layout
4371 \begin_layout Description
4372 Notion Saves the current buffer to a file named "#filename#". This LFUN is called automatically by LyX, to "autosave" the current buffer.
4373 \end_layout
4374 \begin_layout Description
4375 Syntax buffer-auto-save
4376 \end_layout
4377
4378 \begin_layout Subsection*
4379 LFUN_BUFFER_CHILD_OPEN
4380 \end_layout
4381 \begin_layout Description
4382 Action Loads the given child document.
4383 \end_layout
4384 \begin_layout Description
4385 Notion The current document is treated as a parent.
4386 \end_layout
4387 \begin_layout Description
4388 Syntax buffer-child-open <FILE>
4389 \end_layout
4390 \begin_layout Description
4391 Params <FILE>: Filename of the child. The directory of the parent is assumed by default.
4392 \end_layout
4393 \begin_layout Description
4394 Origin Ale, 28 May 1997
4395 \end_layout
4396
4397 \begin_layout Subsection*
4398 LFUN_BUFFER_CHKTEX
4399 \end_layout
4400 \begin_layout Description
4401 Action Runs chktex for the current document.
4402 \end_layout
4403 \begin_layout Description
4404 Syntax buffer-chktex
4405 \end_layout
4406 \begin_layout Description
4407 Origin Asger, 30 Oct 1997
4408 \end_layout
4409
4410 \begin_layout Subsection*
4411 LFUN_BUFFER_TOGGLE_COMPRESSION
4412 \end_layout
4413 \begin_layout Description
4414 Action Toggles compression of the current document on/off.
4415 \end_layout
4416 \begin_layout Description
4417 Syntax buffer-toggle-compression
4418 \end_layout
4419 \begin_layout Description
4420 Origin bpeng, 27 Apr 2006
4421 \end_layout
4422
4423 \begin_layout Subsection*
4424 LFUN_BUFFER_CLOSE
4425 \end_layout
4426 \begin_layout Description
4427 Action Closes the current buffer.
4428 \end_layout
4429 \begin_layout Description
4430 Notion Closes the current buffer, asking whether to save it, etc, if the buffer has been modified.
4431 \end_layout
4432 \begin_layout Description
4433 Syntax buffer-close
4434 \end_layout
4435
4436 \begin_layout Subsection*
4437 LFUN_BUFFER_CLOSE_ALL
4438 \end_layout
4439 \begin_layout Description
4440 Action Closes all buffers.
4441 \end_layout
4442 \begin_layout Description
4443 Notion Closes all buffers, asking whether to save it, etc, if a buffer has been modified.
4444 \end_layout
4445 \begin_layout Description
4446 Syntax buffer-close-all
4447 \end_layout
4448
4449 \begin_layout Subsection*
4450 LFUN_BUFFER_EXPORT
4451 \end_layout
4452 \begin_layout Description
4453 Action Exports the current buffer (document) to the given format.
4454 \end_layout
4455 \begin_layout Description
4456 Syntax buffer-export <FORMAT>
4457 \end_layout
4458 \begin_layout Description
4459 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.
4460 \begin_inset Newline newline
4461 \end_inset
4462
4463 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.
4464 \end_layout
4465 \begin_layout Description
4466 Origin Lgb, 29 Jul 1997
4467 \end_layout
4468
4469 \begin_layout Subsection*
4470 LFUN_BUFFER_EXPORT_CUSTOM
4471 \end_layout
4472 \begin_layout Description
4473 Action Exports the current buffer (document) from the given format using the given command on it.
4474 \end_layout
4475 \begin_layout Description
4476 Syntax buffer-export-custom <FORMAT> <COMMAND>
4477 \end_layout
4478 \begin_layout Description
4479 Params <FORMAT> format to start from (LyX will care to produce such intermediate file).
4480 \begin_inset Newline newline
4481 \end_inset
4482
4483 <COMMAND> this command will be launched on the file. Note that you can use "$$FName" string to qualify the intermediate file.
4484 \end_layout
4485 \begin_layout Description
4486 Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
4487 \end_layout
4488 \begin_layout Description
4489 Origin leeming, 27 Mar 2004
4490 \end_layout
4491
4492 \begin_layout Subsection*
4493 LFUN_BUFFER_PRINT
4494 \end_layout
4495 \begin_layout Description
4496 Action Prints the current document.
4497 \end_layout
4498 \begin_layout Description
4499 Notion Many settings can be given via the preferences dialog.
4500 \end_layout
4501 \begin_layout Description
4502 Syntax buffer-print <TARGET> <TARGET-NAME> <COMMAND>
4503 \end_layout
4504 \begin_layout Description
4505 Params <TARGET> is either "printer" or "file".
4506 \begin_inset Newline newline
4507 \end_inset
4508
4509 <TARGER-NAME> is either "default" or file name or printer name.
4510 \begin_inset Newline newline
4511 \end_inset
4512
4513 <COMMAND> command ensuring the printing job.
4514 \end_layout
4515 \begin_layout Description
4516 Sample buffer-print file "/trash/newfile1.ps" "dvips"
4517 \end_layout
4518 \begin_layout Description
4519 Origin leeming, 28 Mar 2004
4520 \end_layout
4521
4522 \begin_layout Subsection*
4523 LFUN_BUFFER_IMPORT
4524 \end_layout
4525 \begin_layout Description
4526 Action Import a given file as a lyx document.
4527 \end_layout
4528 \begin_layout Description
4529 Notion File can be imported iff lyx file format is (transitively) reachable via defined convertors in preferences. Look into File->Import menu to get an idea of the currently active import formats.
4530 \end_layout
4531 \begin_layout Description
4532 Syntax buffer-import <FORMAT> [<FILE>]
4533 \end_layout
4534 \begin_layout Description
4535 Origin Asger, 24 Jul 1998
4536 \end_layout
4537
4538 \begin_layout Subsection*
4539 LFUN_BUFFER_NEW
4540 \end_layout
4541 \begin_layout Description
4542 Action Creates a new buffer (that is, document).
4543 \end_layout
4544 \begin_layout Description
4545 Notion Implicit path can be set in Preferences dialog.
4546 \end_layout
4547 \begin_layout Description
4548 Syntax buffer-new [<FILE>]
4549 \end_layout
4550 \begin_layout Description
4551 Params <FILE>: filename of created file with absolute path.
4552 \end_layout
4553
4554 \begin_layout Subsection*
4555 LFUN_BUFFER_NEW_TEMPLATE
4556 \end_layout
4557 \begin_layout Description
4558 Action Creates a new buffer (that is, document) from a template.
4559 \end_layout
4560 \begin_layout Description
4561 Notion Path for new files and templates can be set in Preferences dialog. Template will be asked for via Open-dialog.
4562 \end_layout
4563 \begin_layout Description
4564 Syntax buffer-new-template [<FILE>]
4565 \end_layout
4566 \begin_layout Description
4567 Params <FILE>: filename of created file with absolute path.
4568 \end_layout
4569
4570 \begin_layout Subsection*
4571 LFUN_BUFFER_RELOAD
4572 \end_layout
4573 \begin_layout Description
4574 Action Reverts opened document.
4575 \end_layout
4576 \begin_layout Description
4577 Syntax buffer-reload
4578 \end_layout
4579 \begin_layout Description
4580 Origin Asger, 2 Feb 1997
4581 \end_layout
4582
4583 \begin_layout Subsection*
4584 LFUN_BUFFER_SWITCH
4585 \end_layout
4586 \begin_layout Description
4587 Action Switch to the given buffer.
4588 \end_layout
4589 \begin_layout Description
4590 Notion This is useful also in case you need simultaneously more views of the edited document in different LyX windows.
4591 \end_layout
4592 \begin_layout Description
4593 Syntax buffer-new-template <BUFFER>
4594 \end_layout
4595 \begin_layout Description
4596 Params <BUFFER>: already opened document which is to be shown.
4597 \end_layout
4598
4599 \begin_layout Subsection*
4600 LFUN_BUFFER_TOGGLE_READ_ONLY
4601 \end_layout
4602 \begin_layout Description
4603 Action Toggle editing mode of the current document between read/write and read-only.
4604 \end_layout
4605 \begin_layout Description
4606 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.
4607 \end_layout
4608 \begin_layout Description
4609 Syntax buffer-toggle-read-only
4610 \end_layout
4611 \begin_layout Description
4612 Origin Lgb, 27 May 1997
4613 \end_layout
4614
4615 \begin_layout Subsection*
4616 LFUN_BUFFER_VIEW
4617 \end_layout
4618 \begin_layout Description
4619 Action Displays current buffer in chosen format.
4620 \end_layout
4621 \begin_layout Description
4622 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.
4623 \end_layout
4624 \begin_layout Description
4625 Syntax buffer-view [<FORMAT>]
4626 \end_layout
4627 \begin_layout Description
4628 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.
4629 \end_layout
4630
4631 \begin_layout Subsection*
4632 LFUN_BUFFER_UPDATE
4633 \end_layout
4634 \begin_layout Description
4635 Action Exports the current document and put the result into the temporary directory.
4636 \end_layout
4637 \begin_layout Description
4638 Notion In case you are already viewing the exported document (see LFUN_BUFFER_VIEW) the output will be rewriten - updated. This is useful in case your viewer is able to detect such changes (e.g. ghostview for postscript).
4639 \end_layout
4640 \begin_layout Description
4641 Syntax buffer-update [<FORMAT>]
4642 \end_layout
4643 \begin_layout Description
4644 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.
4645 \end_layout
4646 \begin_layout Description
4647 Origin Dekel, 5 Aug 2000
4648 \end_layout
4649
4650 \begin_layout Subsection*
4651 LFUN_BUFFER_WRITE
4652 \end_layout
4653 \begin_layout Description
4654 Action Saves the current buffer.
4655 \end_layout
4656 \begin_layout Description
4657 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.
4658 \end_layout
4659 \begin_layout Description
4660 Syntax buffer-write
4661 \end_layout
4662
4663 \begin_layout Subsection*
4664 LFUN_BUFFER_WRITE_AS
4665 \end_layout
4666 \begin_layout Description
4667 Action Rename and save current buffer.
4668 \end_layout
4669 \begin_layout Description
4670 Syntax buffer-write-as <FILENAME>
4671 \end_layout
4672 \begin_layout Description
4673 Params <FILENAME>: New name of the buffer/file. A relative path is with respect to the original location of the buffer/file.
4674 \end_layout
4675
4676 \begin_layout Subsection*
4677 LFUN_BUFFER_WRITE_ALL
4678 \end_layout
4679 \begin_layout Description
4680 Action Save all changed documents.
4681 \end_layout
4682 \begin_layout Description
4683 Syntax buffer-write-all
4684 \end_layout
4685 \begin_layout Description
4686 Origin rgh, gpothier 6 Aug 2007
4687 \end_layout
4688
4689 \begin_layout Subsection*
4690 LFUN_BUFFER_NEXT
4691 \end_layout
4692 \begin_layout Description
4693 Action Switch to the next opened document.
4694 \end_layout
4695 \begin_layout Description
4696 Notion Note that this does not necessarily mean next in tabbar (for full list see View menu).
4697 \end_layout
4698 \begin_layout Description
4699 Syntax buffer-next
4700 \end_layout
4701
4702 \begin_layout Subsection*
4703 LFUN_BUFFER_PREVIOUS
4704 \end_layout
4705 \begin_layout Description
4706 Action Switch to the previous opened document.
4707 \end_layout
4708 \begin_layout Description
4709 Syntax buffer-previous
4710 \end_layout
4711
4712 \begin_layout Subsection*
4713 LFUN_MASTER_BUFFER_UPDATE
4714 \end_layout
4715 \begin_layout Description
4716 Action When run from a child document, this updates (exports) document built from the master buffer, if available.
4717 \end_layout
4718 \begin_layout Description
4719 Syntax master-buffer-update [<FORMAT>]
4720 \end_layout
4721 \begin_layout Description
4722 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.
4723 \end_layout
4724 \begin_layout Description
4725 Origin Tommaso, 20 Sep 2007
4726 \end_layout
4727
4728 \begin_layout Subsection*
4729 LFUN_MASTER_BUFFER_VIEW
4730 \end_layout
4731 \begin_layout Description
4732 Action When run from a child document, this command shows a preview built from the master buffer, if available.
4733 \end_layout
4734 \begin_layout Description
4735 Syntax master-buffer-view [<FORMAT>]
4736 \end_layout
4737 \begin_layout Description
4738 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.
4739 \end_layout
4740 \begin_layout Description
4741 Origin Tommaso, 20 Sep 2007
4742 \end_layout
4743
4744 \begin_layout Subsection*
4745 LFUN_BUFFER_LANGUAGE
4746 \end_layout
4747 \begin_layout Description
4748 Action Set language of the current document.
4749 \end_layout
4750 \begin_layout Description
4751 Syntax buffer-language <LANG>
4752 \end_layout
4753 \begin_layout Description
4754 Params <LANG>: language name. See lib/languages for list.
4755 \end_layout
4756 \begin_layout Description
4757 Origin leeming, 30 Mar 2004
4758 \end_layout
4759
4760 \begin_layout Subsection*
4761 LFUN_BUFFER_SAVE_AS_DEFAULT
4762 \end_layout
4763 \begin_layout Description
4764 Action Save the current document settings as default.
4765 \end_layout
4766 \begin_layout Description
4767 Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
4768 \end_layout
4769 \begin_layout Description
4770 Syntax buffer-save-as-default [<ARGS>]
4771 \end_layout
4772 \begin_layout Description
4773 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
4774 \end_layout
4775 \begin_layout Description
4776 Origin leeming, 30 Mar 2004
4777 \end_layout
4778
4779 \begin_layout Subsection*
4780 LFUN_BUFFER_PARAMS_APPLY
4781 \end_layout
4782 \begin_layout Description
4783 Action Apply the given settings to the current document.
4784 \end_layout
4785 \begin_layout Description
4786 Syntax buffer-params-apply [<ARGS>]
4787 \end_layout
4788 \begin_layout Description
4789 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
4790 \end_layout
4791 \begin_layout Description
4792 Origin leeming, 30 Mar 2004
4793 \end_layout
4794
4795 \begin_layout Subsection*
4796 LFUN_FILE_INSERT
4797 \end_layout
4798 \begin_layout Description
4799 Action Inserts another LyX file.
4800 \end_layout
4801 \begin_layout Description
4802 Syntax file-insert [<FILE>]
4803 \end_layout
4804 \begin_layout Description
4805 Params <FILE>: Filename to be inserted.
4806 \end_layout
4807
4808 \begin_layout Subsection*
4809 LFUN_FILE_INSERT_PLAINTEXT
4810 \end_layout
4811 \begin_layout Description
4812 Action Inserts plain text file.
4813 \end_layout
4814 \begin_layout Description
4815 Syntax file-insert-plaintext [<FILE>]
4816 \end_layout
4817 \begin_layout Description
4818 Params <FILE>: Filename to be inserted.
4819 \end_layout
4820 \begin_layout Description
4821 Origin CFO-G, 19 Nov 1997
4822 \end_layout
4823
4824 \begin_layout Subsection*
4825 LFUN_FILE_INSERT_PLAINTEXT_PARA
4826 \end_layout
4827 \begin_layout Description
4828 Action Inserts plain text file as paragraph (i.e. join lines).
4829 \end_layout
4830 \begin_layout Description
4831 Syntax file-insert-plaintext-para [<FILE>]
4832 \end_layout
4833 \begin_layout Description
4834 Params <FILE>: Filename to be inserted.
4835 \end_layout
4836 \begin_layout Description
4837 Origin Levon, 14 Feb 2001
4838 \end_layout
4839
4840 \begin_layout Subsection*
4841 LFUN_FILE_OPEN
4842 \end_layout
4843 \begin_layout Description
4844 Action Open LyX document.
4845 \end_layout
4846 \begin_layout Description
4847 Syntax file-open [<FILE>]
4848 \end_layout
4849 \begin_layout Description
4850 Params <FILE>: Filename to be opened.
4851 \end_layout
4852
4853 \begin_layout Subsection*
4854 LFUN_CALL
4855 \end_layout
4856 \begin_layout Description
4857 Action Executes a command defined in a .def file.
4858 \end_layout
4859 \begin_layout Description
4860 Notion The definitions are by default read from lib/commands/default.def.
4861 \begin_inset Newline newline
4862 \end_inset
4863
4864 A .def file allows to define a command with 
4865 \backslash
4866 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). 
4867 \backslash
4868 def_file "FileName" allows to include another .def file.
4869 \begin_inset Newline newline
4870 \end_inset
4871
4872 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.
4873 \end_layout
4874 \begin_layout Description
4875 Syntax call <NAME>
4876 \end_layout
4877 \begin_layout Description
4878 Params <NAME>: Name of the command that must be called.
4879 \end_layout
4880 \begin_layout Description
4881 Origin broider, 2 Oct 2007
4882 \end_layout
4883
4884 \begin_layout Subsection*
4885 LFUN_META_PREFIX
4886 \end_layout
4887 \begin_layout Description
4888 Action Simulate halting Meta key (Alt key on PCs).
4889 \end_layout
4890 \begin_layout Description
4891 Notion Used for buffer editation not for GUI control.
4892 \end_layout
4893 \begin_layout Description
4894 Syntax meta-prefix
4895 \end_layout
4896
4897 \begin_layout Subsection*
4898 LFUN_CANCEL
4899 \end_layout
4900 \begin_layout Description
4901 Action Cancels sequence prepared by LFUN_META_PREFIX .
4902 \end_layout
4903 \begin_layout Description
4904 Syntax cancel
4905 \end_layout
4906
4907 \begin_layout Subsection*
4908 LFUN_COMMAND_EXECUTE
4909 \end_layout
4910 \begin_layout Description
4911 Action Switches the focus to the minibuffer so that the user can type in there. If necessary, it opens the minibuffer toolbar.
4912 \end_layout
4913 \begin_layout Description
4914 Notion Usually bound to M-x shortcut.
4915 \end_layout
4916 \begin_layout Description
4917 Syntax command-execute
4918 \end_layout
4919
4920 \begin_layout Subsection*
4921 LFUN_COMMAND_PREFIX
4922 \end_layout
4923 \begin_layout Description
4924 Action Return the current key sequence and available options as a string.
4925 \end_layout
4926 \begin_layout Description
4927 Notion No options are added if no current map exists.
4928 \begin_inset Newline newline
4929 \end_inset
4930
4931 This is probably usable only with connection to lyxserver.
4932 \end_layout
4933 \begin_layout Description
4934 Syntax command-prefix
4935 \end_layout
4936
4937 \begin_layout Subsection*
4938 LFUN_COMMAND_SEQUENCE
4939 \end_layout
4940 \begin_layout Description
4941 Action Run more commands (LFUN and its parameters) in a sequence.
4942 \end_layout
4943 \begin_layout Description
4944 Syntax command-sequence <CMDS>
4945 \end_layout
4946 \begin_layout Description
4947 Params <CMDS>: Sequence of commands separated by semicolons.
4948 \end_layout
4949 \begin_layout Description
4950 Sample command-sequence cut; ert-insert; self-insert 
4951 \backslash
4952 ; paste; self-insert {}; inset-toggle;
4953 \end_layout
4954 \begin_layout Description
4955 Origin Andre, 11 Nov 1999
4956 \end_layout
4957
4958 \begin_layout Subsection*
4959 LFUN_COMMAND_ALTERNATIVES
4960 \end_layout
4961 \begin_layout Description
4962 Action Runs the first listed command that is enabled.
4963 \end_layout
4964 \begin_layout Description
4965 Notion This can be used to bind multiple functions to a single key, and then which one is used will depend upon the context.
4966 \end_layout
4967 \begin_layout Description
4968 Syntax command-alternatives <CMDS>
4969 \end_layout
4970 \begin_layout Description
4971 Params <CMDS>: Sequence of commands separated by semicolons.
4972 \end_layout
4973 \begin_layout Description
4974 Sample command-alternatives completion-accept;cell-forward
4975 \end_layout
4976 \begin_layout Description
4977 Origin rgh, 24 September 2008
4978 \end_layout
4979
4980 \begin_layout Subsection*
4981 LFUN_MESSAGE
4982 \end_layout
4983 \begin_layout Description
4984 Action Shows message in statusbar (for script purposes).
4985 \end_layout
4986 \begin_layout Description
4987 Syntax message <STRING>
4988 \end_layout
4989 \begin_layout Description
4990 Origin Lgb, 8 Apr 2001
4991 \end_layout
4992
4993 \begin_layout Subsection*
4994 LFUN_DEBUG_LEVEL_SET
4995 \end_layout
4996 \begin_layout Description
4997 Action Set debug output level.
4998 \end_layout
4999 \begin_layout Description
5000 Syntax debug-level-set <LEVEL>
5001 \end_layout
5002 \begin_layout Description
5003 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.
5004 \end_layout
5005 \begin_layout Description
5006 Origin sanda, 28 Dec 2009
5007 \end_layout
5008
5009 \begin_layout Subsection*
5010 LFUN_PREFERENCES_SAVE
5011 \end_layout
5012 \begin_layout Description
5013 Action Save user preferences.
5014 \end_layout
5015 \begin_layout Description
5016 Syntax preferences-save
5017 \end_layout
5018 \begin_layout Description
5019 Origin Lgb, 27 Nov 1999
5020 \end_layout
5021
5022 \begin_layout Subsection*
5023 LFUN_RECONFIGURE
5024 \end_layout
5025 \begin_layout Description
5026 Action Reconfigure the automatic settings.
5027 \end_layout
5028 \begin_layout Description
5029 Syntax reconfigure
5030 \end_layout
5031 \begin_layout Description
5032 Origin Asger, 14 Feb 1997
5033 \end_layout
5034
5035 \begin_layout Subsection*
5036 LFUN_LYXRC_APPLY
5037 \end_layout
5038 \begin_layout Description
5039 Action Apply the given settings to user preferences.
5040 \end_layout
5041 \begin_layout Description
5042 Syntax lyxrc-apply <SETTINGS>
5043 \end_layout
5044 \begin_layout Description
5045 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.
5046 \end_layout
5047
5048 \begin_layout Subsection*
5049 LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE
5050 \end_layout
5051 \begin_layout Description
5052 Action Determine whether keep cursor inside the editing window regardless the scrollbar movement.
5053 \end_layout
5054 \begin_layout Description
5055 Syntax toggle-cursor-follows-scrollbar
5056 \end_layout
5057 \begin_layout Description
5058 Origin ARRae, 2 Dec 1997
5059 \end_layout
5060
5061 \begin_layout Subsection*
5062 LFUN_SET_COLOR
5063 \end_layout
5064 \begin_layout Description
5065 Action Set the given LyX color to the color defined by the X11 name given.
5066 \end_layout
5067 \begin_layout Description
5068 Notion A new color entry is created if the color is unknown. Color names can be stored as a part of user settings.
5069 \end_layout
5070 \begin_layout Description
5071 Syntax set-color <LYX_NAME> <X11_NAME>
5072 \end_layout
5073 \begin_layout Description
5074 Origin SLior, 11 Jun 2000
5075 \end_layout
5076
5077 \begin_layout Subsection*
5078 LFUN_STATISTICS
5079 \end_layout
5080 \begin_layout Description
5081 Action Count the statistics (number of words and characters) in the document or in the given selection.
5082 \end_layout
5083 \begin_layout Description
5084 Notion Note that this function gives the number of words/chars written, not the number of characters which will be typeset.
5085 \end_layout
5086 \begin_layout Description
5087 Syntax statistics
5088 \end_layout
5089 \begin_layout Description
5090 Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
5091 \end_layout
5092
5093 \begin_layout Subsection*
5094 LFUN_COMPLETION_INLINE
5095 \end_layout
5096 \begin_layout Description
5097 Action Show the inline completion at the cursor position.
5098 \end_layout
5099 \begin_layout Description
5100 Syntax completion-inline
5101 \end_layout
5102 \begin_layout Description
5103 Origin sts, Feb 19 2008
5104 \end_layout
5105
5106 \begin_layout Subsection*
5107 LFUN_COMPLETION_POPUP
5108 \end_layout
5109 \begin_layout Description
5110 Action Show the completion popup at the cursor position.
5111 \end_layout
5112 \begin_layout Description
5113 Syntax completion-popup
5114 \end_layout
5115 \begin_layout Description
5116 Origin sts, Feb 19 2008
5117 \end_layout
5118
5119 \begin_layout Subsection*
5120 LFUN_COMPLETION_COMPLETE
5121 \end_layout
5122 \begin_layout Description
5123 Action Try to complete the word or command at the cursor position.
5124 \end_layout
5125 \begin_layout Description
5126 Syntax complete
5127 \end_layout
5128 \begin_layout Description
5129 Origin sts, Feb 19 2008
5130 \end_layout
5131
5132 \begin_layout Subsection*
5133 LFUN_COMPLETION_CANCEL
5134 \end_layout
5135 \begin_layout Description
5136 Action Try to cancel completion, either the popup or the inline completion.
5137 \end_layout
5138 \begin_layout Description
5139 Syntax completion-cancel
5140 \end_layout
5141 \begin_layout Description
5142 Origin sts, Sep 07 2008
5143 \end_layout
5144
5145 \begin_layout Subsection*
5146 LFUN_COMPLETION_ACCEPT
5147 \end_layout
5148 \begin_layout Description
5149 Action Accept suggested completion.
5150 \end_layout
5151 \begin_layout Description
5152 Syntax completion-accept
5153 \end_layout
5154 \begin_layout Description
5155 Origin sanda, Sep 08 2008
5156 \end_layout
5157
5158 \begin_layout Subsection*
5159 LFUN_BRANCH_ADD
5160 \end_layout
5161 \begin_layout Description
5162 Action Add a branch to the buffer's BranchList.
5163 \end_layout
5164 \begin_layout Description
5165 Syntax branch-add <BRANCH>
5166 \end_layout
5167 \begin_layout Description
5168 Params <BRANCH>: Name of the branch to add
5169 \end_layout
5170 \begin_layout Description
5171 Origin spitz, 7 Jul 2009
5172 \end_layout
5173
5174 \begin_layout Subsection*
5175 LFUN_BRANCH_ACTIVATE
5176 \end_layout
5177 \begin_layout Description
5178 Action Activate the branch.
5179 \end_layout
5180 \begin_layout Description
5181 Syntax branch-activate <BRANCH>
5182 \end_layout
5183 \begin_layout Description
5184 Params <BRANCH>: The branch to activate
5185 \end_layout
5186 \begin_layout Description
5187 Sample lyx -x "branch-activate answers" -e pdf2 finalexam.lyx
5188 \begin_inset Newline newline
5189 \end_inset
5190
5191 could be used to export a pdf with the answers branch included without one's having to open LyX and activate the branch manually.
5192 \end_layout
5193 \begin_layout Description
5194 Origin rgh, 27 May 2008
5195 \end_layout
5196
5197 \begin_layout Subsection*
5198 LFUN_BRANCH_DEACTIVATE
5199 \end_layout
5200 \begin_layout Description
5201 Action De-activate the branch.
5202 \end_layout
5203 \begin_layout Description
5204 Syntax branch-deactivate <BRANCH>
5205 \end_layout
5206 \begin_layout Description
5207 Params <BRANCH>: The branch to deactivate
5208 \end_layout
5209 \begin_layout Description
5210 Origin rgh, 27 May 2008
5211 \end_layout
5212
5213 \begin_layout Subsection*
5214 LFUN_BRANCHES_RENAME
5215 \end_layout
5216 \begin_layout Description
5217 Action Rename all branches of a given name in a document.
5218 \end_layout
5219 \begin_layout Description
5220 Syntax branches-rename <OLDNAME> <NEWNAME>
5221 \end_layout
5222 \begin_layout Description
5223 Params <OLDNAME>: Current name of the branch to be renamed <NEWNAME>: New name of the branch
5224 \end_layout
5225 \begin_layout Description
5226 Origin spitz, 9 Jul 2009
5227 \end_layout
5228
5229 \begin_layout Subsection*
5230 LFUN_BRANCH_ADD_INSERT
5231 \end_layout
5232 \begin_layout Description
5233 Action Create new branch and directly put the branch inset into the document.
5234 \end_layout
5235 \begin_layout Description
5236 Syntax branch-add-insert [<NAME>]
5237 \end_layout
5238 \begin_layout Description
5239 Params <NAME>: Branch name. If it is not specified, you will be asked.
5240 \end_layout
5241 \begin_layout Description
5242 Origin sanda, 10 Jul 2009
5243 \end_layout
5244
5245 \begin_layout Subsection*
5246 LFUN_LABEL_COPY_AS_REF
5247 \end_layout
5248 \begin_layout Description
5249 Action Copies the label at the cursor as a cross-reference to be pasted elsewhere.
5250 \end_layout
5251 \begin_layout Description
5252 Syntax copy-label-as-reference <LABEL>
5253 \end_layout
5254 \begin_layout Description
5255 Params <LABEL>: The label to copy (for multi-line math)
5256 \end_layout
5257 \begin_layout Description
5258 Origin sts, 16 Nov 2008
5259 \end_layout
5260
5261 \begin_layout Subsection*
5262 LFUN_LABEL_INSERT_AS_REF
5263 \end_layout
5264 \begin_layout Description
5265 Action Inserts the label as a cross-reference at the position of the cursor.
5266 \end_layout
5267 \begin_layout Description
5268 Syntax label-insert-as-reference
5269 \end_layout
5270 \begin_layout Description
5271 Origin vfr, 7 Apr 2009
5272 \end_layout
5273
5274 \begin_layout Subsection*
5275 LFUN_BUFFER_ZOOM_IN
5276 \end_layout
5277 \begin_layout Description
5278 Action Increases the zoom of the screen fonts.
5279 \end_layout
5280 \begin_layout Description
5281 Syntax buffer-zoom-in [<ZOOM>]
5282 \end_layout
5283 \begin_layout Description
5284 Params <ZOOM>: The zoom in %, the default is 20.
5285 \end_layout
5286 \begin_layout Description
5287 Origin vfr, 30 Mar 2009
5288 \end_layout
5289
5290 \begin_layout Subsection*
5291 LFUN_BUFFER_ZOOM_OUT
5292 \end_layout
5293 \begin_layout Description
5294 Action Decreases the zoom of the screen fonts.
5295 \end_layout
5296 \begin_layout Description
5297 Syntax buffer-zoom-out [<ZOOM>]
5298 \end_layout
5299 \begin_layout Description
5300 Params <ZOOM>: The zoom in %, the default is 20.
5301 \end_layout
5302 \begin_layout Description
5303 Origin vfr, 30 Mar 2009
5304 \end_layout
5305
5306 \end_body
5307 \end_document