1 # gen_lfuns.py generated this file. For more info see http://www.lyx.org/
7 \renewcommand{\descriptionlabel}[1]{\hspace\labelsep\upshape\bfseries #1:}
8 \renewenvironment{description}{\list{}{%
9 \setlength{\itemsep}{-2pt}
10 \advance\leftmargini6\p@ \itemindent-12\p@
11 \labelwidth\z@ \let\makelabel\descriptionlabel}%
16 \use_default_options false
17 \maintain_unincluded_children false
19 \language_package default
24 \font_typewriter default
26 \font_default_family default
27 \use_non_tex_fonts false
33 \default_output_format default
35 \bibtex_command default
36 \index_command default
37 \paperfontsize default
42 \use_package amsmath 1
43 \use_package amssymb 1
46 \use_package mathdots 0
47 \use_package mathtools 0
49 \use_package stackrel 0
50 \use_package stmaryrd 0
51 \use_package undertilde 0
53 \cite_engine_type default
57 \paperorientation portrait
71 \paragraph_separation indent
72 \paragraph_indentation default
73 \quotes_language english
76 \paperpagestyle default
77 \tracking_changes false
98 \begin_layout Standard
102 \begin_layout Plain Layout
112 \begin_inset VSpace 1cm
117 \begin_layout Subsection*
120 \begin_layout Description
121 Action Adds an acute accent to the next character typed.
123 \begin_layout Description
127 \begin_layout Subsection*
130 \begin_layout Description
131 Action Adds a breve accent to the next character typed.
133 \begin_layout Description
137 \begin_layout Subsection*
140 \begin_layout Description
141 Action Adds a caron to the next character typed.
143 \begin_layout Description
147 \begin_layout Subsection*
150 \begin_layout Description
151 Action Adds a cedilla to the next character typed.
153 \begin_layout Description
154 Syntax accent-cedilla
157 \begin_layout Subsection*
160 \begin_layout Description
161 Action Adds a circle accent to the next character typed.
163 \begin_layout Description
167 \begin_layout Subsection*
168 LFUN_ACCENT_CIRCUMFLEX
170 \begin_layout Description
171 Action Adds a circumflex to the next character typed.
173 \begin_layout Description
174 Syntax accent-circumflex
177 \begin_layout Subsection*
180 \begin_layout Description
181 Action Adds a dot accent to the next character typed.
183 \begin_layout Description
187 \begin_layout Subsection*
190 \begin_layout Description
191 Action Adds a grave accent to the next character typed.
193 \begin_layout Description
197 \begin_layout Subsection*
198 LFUN_ACCENT_HUNGARIAN_UMLAUT
200 \begin_layout Description
201 Action Adds a Hungarian umlaut to the next character typed.
203 \begin_layout Description
207 \begin_layout Subsection*
210 \begin_layout Description
211 Action Adds a macron to the next character typed.
213 \begin_layout Description
217 \begin_layout Subsection*
220 \begin_layout Description
221 Action Adds an ogonek accent to the next character typed.
223 \begin_layout Description
227 \begin_layout Subsection*
230 \begin_layout Description
231 Action Adds a tie over the next two character typed.
233 \begin_layout Description
234 Notion The following char will finish the tie.
236 \begin_layout Description
240 \begin_layout Subsection*
243 \begin_layout Description
244 Action Adds a tilde over the next character typed.
246 \begin_layout Description
250 \begin_layout Subsection*
253 \begin_layout Description
254 Action Adds an umlaut over the next character typed.
256 \begin_layout Description
260 \begin_layout Subsection*
263 \begin_layout Description
264 Action Adds a bar under the next character typed.
266 \begin_layout Description
267 Syntax accent-underbar
270 \begin_layout Subsection*
273 \begin_layout Description
274 Action Adds a dot under the next character typed.
276 \begin_layout Description
277 Syntax accent-underdot
280 \begin_layout Subsection*
281 LFUN_ALL_CHANGES_ACCEPT
283 \begin_layout Description
284 Action Accepts all tracked changes in the document.
286 \begin_layout Description
287 Syntax all-changes-accept
289 \begin_layout Description
290 Origin Levon, 16 Oct 2002
293 \begin_layout Subsection*
294 LFUN_ALL_CHANGES_REJECT
296 \begin_layout Description
297 Action Rejects all tracked changes in the document.
299 \begin_layout Description
300 Notion Reject does not work recursively; the user may have to repeat the operation.
302 \begin_layout Description
303 Syntax all-changes-reject
305 \begin_layout Description
306 Origin Levon, 16 Oct 2002
309 \begin_layout Subsection*
312 \begin_layout Description
313 Action Start (or remove) Appendix on the given cursor position.
315 \begin_layout Description
318 \begin_layout Description
319 Origin ettrich, 5 May 1998
322 \begin_layout Subsection*
325 \begin_layout Description
326 Action Inserts an argument (short title) inset.
328 \begin_layout Description
329 Syntax argument-insert <argument nr>
331 \begin_layout Description
332 Params <argument nr>: see layout declarations
334 \begin_layout Description
335 Origin vermeer, 12 Aug 2002
338 \begin_layout Subsection*
339 LFUN_BIBTEX_DATABASE_ADD
341 \begin_layout Description
342 Action Adds database, which will be used for bibtex citations.
344 \begin_layout Description
345 Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor position.
347 \begin_layout Description
348 Syntax bibtex-database-add <DATABASE-NAME>
350 \begin_layout Description
351 Origin Ale, 30 May 1997
354 \begin_layout Subsection*
355 LFUN_BIBTEX_DATABASE_DEL
357 \begin_layout Description
358 Action Adds database, which will be used for bibtex citations.
360 \begin_layout Description
361 Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor position.
363 \begin_layout Description
364 Syntax bibtex-database-del <DATABASE-NAME>
366 \begin_layout Description
367 Origin Ale, 30 May 1997
370 \begin_layout Subsection*
373 \begin_layout Description
374 Action Clears the list of saved bookmarks.
376 \begin_layout Description
377 Syntax bookmark-clear
379 \begin_layout Description
380 Origin bpeng, 31 October 2006
383 \begin_layout Subsection*
386 \begin_layout Description
387 Action Moves the cursor to the numbered bookmark, opening the file if necessary. Note that bookmarks are saved per-session, not per file.
389 \begin_layout Description
390 Notion Bookmark 0 has a special purpose. It is automatically set
391 \begin_inset Newline newline
394 1. to the paragraph you are currently editing
395 \begin_inset Newline newline
398 2. to the paragraph from where you are jumping to the last-edited position (jump-back feature)
399 \begin_inset Newline newline
402 3. when jumping from crossreference to the requested label by LFUN_LABEL_GOTO.
404 \begin_layout Description
405 Syntax bookmark-goto <NUMBER>
407 \begin_layout Description
408 Params <NUMBER>: the number of the bookmark to restore.
410 \begin_layout Description
411 Origin Dekel, 27 January 2001
414 \begin_layout Subsection*
417 \begin_layout Description
418 Action Save a bookmark.
420 \begin_layout Description
421 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.
423 \begin_layout Description
424 Syntax bookmark-save <NUMBER>
426 \begin_layout Description
427 Params <NUMBER>: the number of the bookmark to save.
429 \begin_layout Description
430 Origin Dekel, 27 January 2001
433 \begin_layout Subsection*
436 \begin_layout Description
437 Action Inserts Box inset.
439 \begin_layout Description
440 Syntax box-insert [<TYPE>]
442 \begin_layout Description
443 Params <TYPE>: Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox
444 \begin_inset Newline newline
447 Framed is the default one.
449 \begin_layout Description
450 Origin vermeer, 7 Oct 2003
453 \begin_layout Subsection*
456 \begin_layout Description
457 Action Rename all branches of a given name in a document.
459 \begin_layout Description
460 Syntax branches-rename <OLDNAME> <NEWNAME>
462 \begin_layout Description
463 Params <OLDNAME>: Current name of the branch to be renamed <NEWNAME>: New name of the branch
465 \begin_layout Description
466 Origin spitz, 9 Jul 2009
469 \begin_layout Subsection*
472 \begin_layout Description
473 Action Activate the branch.
475 \begin_layout Description
476 Syntax branch-activate <BRANCH>
478 \begin_layout Description
479 Params <BRANCH>: The branch to activate
481 \begin_layout Description
482 Sample lyx -x "branch-activate answers" -e pdf2 finalexam.lyx
483 \begin_inset Newline newline
486 could be used to export a pdf with the answers branch included without one's having to open LyX and activate the branch manually.
488 \begin_layout Description
489 Origin rgh, 27 May 2008
492 \begin_layout Subsection*
495 \begin_layout Description
496 Action Add a branch to the buffer's BranchList.
498 \begin_layout Description
499 Syntax branch-add <BRANCH>
501 \begin_layout Description
502 Params <BRANCH>: Name of the branch to add
504 \begin_layout Description
505 Origin spitz, 7 Jul 2009
508 \begin_layout Subsection*
509 LFUN_BRANCH_ADD_INSERT
511 \begin_layout Description
512 Action Create new branch and directly put the branch inset into the document.
514 \begin_layout Description
515 Syntax branch-add-insert [<NAME>]
517 \begin_layout Description
518 Params <NAME>: Branch name. If it is not specified, you will be asked.
520 \begin_layout Description
521 Origin sanda, 10 Jul 2009
524 \begin_layout Subsection*
525 LFUN_BRANCH_DEACTIVATE
527 \begin_layout Description
528 Action De-activate the branch.
530 \begin_layout Description
531 Syntax branch-deactivate <BRANCH>
533 \begin_layout Description
534 Params <BRANCH>: The branch to deactivate
536 \begin_layout Description
537 Origin rgh, 27 May 2008
540 \begin_layout Subsection*
543 \begin_layout Description
544 Action Inserts branch inset.
546 \begin_layout Description
547 Syntax branch-insert <BRANCH-NAME>
549 \begin_layout Description
550 Origin vermeer, 17 Aug 2003
553 \begin_layout Subsection*
554 LFUN_BRANCH_MASTER_ACTIVATE
556 \begin_layout Description
557 Action Activate the branch in the master buffer.
559 \begin_layout Description
560 Syntax branch-master-activate <BRANCH>
562 \begin_layout Description
563 Params <BRANCH>: The branch to activate
565 \begin_layout Description
566 Sample lyx -x "branch-activate answers" -e pdf2 finalexam.lyx
567 \begin_inset Newline newline
570 could be used to export a pdf with the answers branch included without one's having to open LyX and activate the branch manually.
572 \begin_layout Description
573 Origin spitz, 30 Sep 2012
576 \begin_layout Subsection*
577 LFUN_BRANCH_MASTER_DEACTIVATE
579 \begin_layout Description
580 Action De-activate the branch in the master buffer.
582 \begin_layout Description
583 Syntax branch-master-deactivate <BRANCH>
585 \begin_layout Description
586 Params <BRANCH>: The branch to deactivate
588 \begin_layout Description
589 Origin spitz, 30 Sep 2012
592 \begin_layout Subsection*
593 LFUN_BUFFER_AUTO_SAVE
595 \begin_layout Description
596 Action Saves the current buffer to a temporary file.
598 \begin_layout Description
599 Notion Saves the current buffer to a file named "#filename#". This LFUN is called automatically by LyX, to "autosave" the current buffer.
601 \begin_layout Description
602 Syntax buffer-auto-save
605 \begin_layout Subsection*
608 \begin_layout Description
609 Action Move the cursor to the beginning of the document.
611 \begin_layout Description
615 \begin_layout Subsection*
616 LFUN_BUFFER_BEGIN_SELECT
618 \begin_layout Description
619 Action Move the cursor to the beginning of the document adding the traversed text to the selection.
621 \begin_layout Description
622 Syntax buffer-begin-select
625 \begin_layout Subsection*
626 LFUN_BUFFER_CHILD_OPEN
628 \begin_layout Description
629 Action Loads the given child document.
631 \begin_layout Description
632 Notion The current document is treated as a parent.
634 \begin_layout Description
635 Syntax buffer-child-open <FILE>
637 \begin_layout Description
638 Params <FILE>: Filename of the child. The directory of the parent is assumed by default.
640 \begin_layout Description
641 Origin Ale, 28 May 1997
644 \begin_layout Subsection*
647 \begin_layout Description
648 Action Runs chktex for the current document.
650 \begin_layout Description
653 \begin_layout Description
654 Origin Asger, 30 Oct 1997
657 \begin_layout Subsection*
660 \begin_layout Description
661 Action Closes the current buffer.
663 \begin_layout Description
664 Notion Closes the current buffer, asking whether to save it, etc, if the buffer has been modified.
666 \begin_layout Description
670 \begin_layout Subsection*
671 LFUN_BUFFER_CLOSE_ALL
673 \begin_layout Description
674 Action Closes all buffers.
676 \begin_layout Description
677 Notion Closes all buffers, asking whether to save it, etc, if a buffer has been modified.
679 \begin_layout Description
680 Syntax buffer-close-all
683 \begin_layout Subsection*
686 \begin_layout Description
687 Action Move the cursor to the end of the document.
689 \begin_layout Description
693 \begin_layout Subsection*
694 LFUN_BUFFER_END_SELECT
696 \begin_layout Description
697 Action Move the cursor to the end of the document adding the traversed text to the selection.
699 \begin_layout Description
700 Syntax buffer-end-select
703 \begin_layout Subsection*
706 \begin_layout Description
707 Action Exports the current buffer (document) to the given format.
709 \begin_layout Description
710 Syntax buffer-export <FORMAT> [<DEST>]
712 \begin_layout Description
713 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.
714 \begin_inset Newline newline
717 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. <DEST> If present, this argument provides the export destination filename. Its containing folder will also be the destination folder, where all the needed external files will be copied.
719 \begin_layout Description
720 Origin Lgb, 29 Jul 1997
723 \begin_layout Subsection*
724 LFUN_BUFFER_EXPORT_AS
726 \begin_layout Description
727 Action Opens a dialog for exporting the current buffer.
729 \begin_layout Description
730 Syntax buffer-export-as [<FORMAT>]
732 \begin_layout Description
733 Params <FORMAT> is the export format initially selected in the dialog. You can pass any of the formats which you can find in Tools->Preferences->File formats->Format, provided it has the "document" flag set. If no format is specified the dialog will start with the default output format of the current document.
735 \begin_layout Description
736 Sample buffer-export-as pdf2
738 \begin_layout Description
739 Origin tommaso, 6 Oct 2011
742 \begin_layout Subsection*
743 LFUN_BUFFER_EXPORT_CUSTOM
745 \begin_layout Description
746 Action Exports the current buffer (document) from the given format using the given command on it.
748 \begin_layout Description
749 Syntax buffer-export-custom <FORMAT> <COMMAND>
751 \begin_layout Description
752 Params <FORMAT> format to start from (LyX will care to produce such intermediate file).
753 \begin_inset Newline newline
756 <COMMAND> this command will be launched on the file. Note that you can use "$$FName" string to qualify the intermediate file.
758 \begin_layout Description
759 Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
761 \begin_layout Description
762 Origin leeming, 27 Mar 2004
765 \begin_layout Subsection*
768 \begin_layout Description
769 Action Applies a command to all non-hidden buffers.
771 \begin_layout Description
772 Notion a buffer is `hidden' if it is internally open in LyX, but not visible in any window.
774 \begin_layout Description
775 Syntax buffer-forall <LFUN-COMMAND>
777 \begin_layout Description
778 Params <LFUN-COMMAND>: The command to be applied to the buffers.
780 \begin_layout Description
781 Sample Close all Notes in buffers:
782 \begin_inset Newline newline
785 buffer-forall inset-forall Note inset-toggle close
786 \begin_inset Newline newline
789 Toggle change tracking on buffers:
790 \begin_inset Newline newline
793 buffer-forall changes-track
794 \begin_inset Newline newline
797 Toggle read-only for buffers:
798 \begin_inset Newline newline
801 buffer-forall buffer-toggle-read-only
802 \begin_inset Newline newline
805 Show statistics for individual buffers:
806 \begin_inset Newline newline
809 buffer-forall statistics
810 \begin_inset Newline newline
813 Activate the branch named "Solutions" in buffers:
814 \begin_inset Newline newline
817 buffer-forall branch-activate Solutions
818 \begin_inset Newline newline
821 Export buffers to PDF (pdflatex):
822 \begin_inset Newline newline
825 buffer-forall buffer-export pdf2
826 \begin_inset Newline newline
831 \begin_layout Description
832 Origin scottkostyshak, 20 Jul 2012
835 \begin_layout Subsection*
838 \begin_layout Description
839 Action Import a given file as a lyx document.
841 \begin_layout Description
842 Notion File can be imported iff lyx file format is (transitively) reachable via defined converters in preferences. Look in the File->Import menu to get an idea of the currently active import formats.
844 \begin_layout Description
845 Syntax buffer-import <FORMAT> [<FILE>]
847 \begin_layout Description
848 Origin Asger, 24 Jul 1998
851 \begin_layout Subsection*
854 \begin_layout Description
855 Action Set language of the current document.
857 \begin_layout Description
858 Syntax buffer-language <LANG>
860 \begin_layout Description
861 Params <LANG>: language name. See lib/languages for list.
863 \begin_layout Description
864 Origin leeming, 30 Mar 2004
867 \begin_layout Subsection*
870 \begin_layout Description
871 Action Creates a new buffer (that is, document) and switches to it.
873 \begin_layout Description
874 Notion Implicit path can be set in Preferences dialog.
876 \begin_layout Description
877 Syntax buffer-new [<FILE>]
879 \begin_layout Description
880 Params <FILE>: filename of created file with absolute path.
883 \begin_layout Subsection*
884 LFUN_BUFFER_NEW_TEMPLATE
886 \begin_layout Description
887 Action Creates a new buffer (that is, document) from a template.
889 \begin_layout Description
890 Notion Path for new files and templates can be set in Preferences dialog. Template will be asked for via Open-dialog.
892 \begin_layout Description
893 Syntax buffer-new-template [<FILE>]
895 \begin_layout Description
896 Params <FILE>: filename of created file with absolute path.
899 \begin_layout Subsection*
902 \begin_layout Description
903 Action Switch to the next opened document.
905 \begin_layout Description
906 Notion Note that this does not necessarily mean next in tabbar (for full list see View menu).
908 \begin_layout Description
912 \begin_layout Subsection*
913 LFUN_BUFFER_PARAMS_APPLY
915 \begin_layout Description
916 Action Apply the given settings to the current document.
918 \begin_layout Description
919 Syntax buffer-params-apply [<ARGS>]
921 \begin_layout Description
922 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
924 \begin_layout Description
925 Origin leeming, 30 Mar 2004
928 \begin_layout Subsection*
931 \begin_layout Description
932 Action Switch to the previous opened document.
934 \begin_layout Description
935 Syntax buffer-previous
938 \begin_layout Subsection*
941 \begin_layout Description
942 Action Prints the current document.
944 \begin_layout Description
945 Notion Many settings can be given via the preferences dialog.
947 \begin_layout Description
948 Syntax buffer-print <TARGET> <TARGET-NAME> <COMMAND>
950 \begin_layout Description
951 Params <TARGET> is either "printer" or "file".
952 \begin_inset Newline newline
955 <TARGER-NAME> is either "default" or file name or printer name.
956 \begin_inset Newline newline
959 <COMMAND> command ensuring the printing job.
961 \begin_layout Description
962 Sample buffer-print file "/trash/newfile1.ps" "dvips"
964 \begin_layout Description
965 Origin leeming, 28 Mar 2004
968 \begin_layout Subsection*
971 \begin_layout Description
972 Action Reverts opened document.
974 \begin_layout Description
977 \begin_layout Description
978 Origin Asger, 2 Feb 1997
981 \begin_layout Subsection*
982 LFUN_BUFFER_SAVE_AS_DEFAULT
984 \begin_layout Description
985 Action Save the current document settings as default.
987 \begin_layout Description
988 Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
990 \begin_layout Description
991 Syntax buffer-save-as-default [<ARGS>]
993 \begin_layout Description
994 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
996 \begin_layout Description
997 Origin leeming, 30 Mar 2004
1000 \begin_layout Subsection*
1003 \begin_layout Description
1004 Action Display and switch to the given buffer.
1006 \begin_layout Description
1007 Syntax buffer-switch <BUFFER>
1009 \begin_layout Description
1010 Params <BUFFER>: path and filename of already opened (but possibly hidden) document which is to be shown.
1013 \begin_layout Subsection*
1014 LFUN_BUFFER_TOGGLE_COMPRESSION
1016 \begin_layout Description
1017 Action Toggles compression of the current document on/off.
1019 \begin_layout Description
1020 Syntax buffer-toggle-compression
1022 \begin_layout Description
1023 Origin bpeng, 27 Apr 2006
1026 \begin_layout Subsection*
1027 LFUN_BUFFER_TOGGLE_OUTPUT_SYNC
1029 \begin_layout Description
1030 Action Toggles including of resources for forward/reverse search of the given document.
1032 \begin_layout Description
1033 Notion When toggled on, SyncTeX is invoked for PDF, while srcltx package is used for DVI. Custom LaTeX macro can be defined in preferences.
1035 \begin_layout Description
1036 Syntax buffer-toggle-output-sync
1038 \begin_layout Description
1039 Origin sanda, 25 May 2010
1042 \begin_layout Subsection*
1043 LFUN_BUFFER_TOGGLE_READ_ONLY
1045 \begin_layout Description
1046 Action Toggle editing mode of the current document between read/write and read-only.
1048 \begin_layout Description
1049 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.
1051 \begin_layout Description
1052 Syntax buffer-toggle-read-only
1054 \begin_layout Description
1055 Origin Lgb, 27 May 1997
1058 \begin_layout Subsection*
1061 \begin_layout Description
1062 Action Exports the current document and put the result into the temporary directory.
1064 \begin_layout Description
1065 Notion In case you are already viewing the exported document (see LFUN_BUFFER_VIEW) the output will be rewritten - updated. This is useful in case your viewer is able to detect such changes (e.g. ghostview for postscript).
1067 \begin_layout Description
1068 Syntax buffer-update [<FORMAT>]
1070 \begin_layout Description
1071 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.
1073 \begin_layout Description
1074 Origin Dekel, 5 Aug 2000
1077 \begin_layout Subsection*
1080 \begin_layout Description
1081 Action Displays current buffer in chosen format.
1083 \begin_layout Description
1084 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.
1086 \begin_layout Description
1087 Syntax buffer-view [<FORMAT>]
1089 \begin_layout Description
1090 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.
1093 \begin_layout Subsection*
1096 \begin_layout Description
1097 Action Saves the current buffer.
1099 \begin_layout Description
1100 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.
1102 \begin_layout Description
1106 \begin_layout Subsection*
1107 LFUN_BUFFER_WRITE_ALL
1109 \begin_layout Description
1110 Action Save all changed documents.
1112 \begin_layout Description
1113 Syntax buffer-write-all
1115 \begin_layout Description
1116 Origin rgh, gpothier 6 Aug 2007
1119 \begin_layout Subsection*
1120 LFUN_BUFFER_WRITE_AS
1122 \begin_layout Description
1123 Action Rename and save current buffer.
1125 \begin_layout Description
1126 Syntax buffer-write-as <FILENAME>
1128 \begin_layout Description
1129 Params <FILENAME>: New name of the buffer/file. A relative path is with respect to the original location of the buffer/file.
1132 \begin_layout Subsection*
1135 \begin_layout Description
1136 Action Increases the zoom of the screen fonts.
1138 \begin_layout Description
1139 Syntax buffer-zoom-in [<ZOOM>]
1141 \begin_layout Description
1142 Params <ZOOM>: The zoom in %, the default is 20.
1144 \begin_layout Description
1145 Origin vfr, 30 Mar 2009
1148 \begin_layout Subsection*
1149 LFUN_BUFFER_ZOOM_OUT
1151 \begin_layout Description
1152 Action Decreases the zoom of the screen fonts.
1154 \begin_layout Description
1155 Syntax buffer-zoom-out [<ZOOM>]
1157 \begin_layout Description
1158 Params <ZOOM>: The zoom in %, the default is 20.
1160 \begin_layout Description
1161 Origin vfr, 30 Mar 2009
1164 \begin_layout Subsection*
1167 \begin_layout Description
1168 Action Generates the code (literate programming).
1170 \begin_layout Description
1171 Notion Latex file with extension
1173 literate_extension is generated. Then LyX invokes
1175 build_command (with a default of ``make'') to generate the code and
1177 build_error_filter to process the compilation error messages.
1178 \begin_inset Newline newline
1181 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:
1182 \begin_inset Newline newline
1187 build_command "my_script my_arguments"
1188 \begin_inset Newline newline
1193 build_error_filter differs from the
1195 literate_error_filter only in that the former will identify error messages from your compiler.
1197 \begin_layout Description
1198 Syntax build-program
1201 \begin_layout Subsection*
1204 \begin_layout Description
1205 Action Executes a command defined in a .def file.
1207 \begin_layout Description
1208 Notion The definitions are by default read from lib/commands/default.def.
1209 \begin_inset Newline newline
1212 A .def file allows to define a command with
1214 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).
1216 def_file "FileName" allows to include another .def file.
1217 \begin_inset Newline newline
1220 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.
1222 \begin_layout Description
1225 \begin_layout Description
1226 Params <NAME>: Name of the command that must be called.
1228 \begin_layout Description
1229 Origin broider, 2 Oct 2007
1232 \begin_layout Subsection*
1235 \begin_layout Description
1236 Action Cancels sequence prepared by LFUN_META_PREFIX .
1238 \begin_layout Description
1242 \begin_layout Subsection*
1245 \begin_layout Description
1246 Action Inserts a caption inset.
1248 \begin_layout Description
1249 Syntax caption-insert
1251 \begin_layout Description
1252 Origin Lgb, 18 Jul 2000
1255 \begin_layout Subsection*
1258 \begin_layout Description
1259 Action Moves the cursor to the previous cell inside the table.
1261 \begin_layout Description
1262 Syntax cell-backward
1264 \begin_layout Description
1265 Origin Jug, 22 May 2000
1268 \begin_layout Subsection*
1271 \begin_layout Description
1272 Action Moves the cursor to the next cell inside the table.
1274 \begin_layout Description
1278 \begin_layout Subsection*
1281 \begin_layout Description
1282 Action Splits cell and shifts right part to the next cell (inside the math grid).
1284 \begin_layout Description
1287 \begin_layout Description
1288 Origin Ale, 15 May 1997
1291 \begin_layout Subsection*
1294 \begin_layout Description
1295 Action Open change tracking dialog for merging and moves the cursor to the position of the next change.
1297 \begin_layout Description
1298 Syntax changes-merge
1300 \begin_layout Description
1301 Origin Levon, 16 Oct 2002
1304 \begin_layout Subsection*
1307 \begin_layout Description
1308 Action Toggles showing of change tracking in typesetted output.
1310 \begin_layout Description
1311 Syntax changes-output
1313 \begin_layout Description
1314 Origin jspitzm, 21 Jan 2005
1317 \begin_layout Subsection*
1320 \begin_layout Description
1321 Action Toggles change tracking to on/off.
1323 \begin_layout Description
1324 Syntax changes-track
1326 \begin_layout Description
1327 Origin levon, 1 Oct 2002
1330 \begin_layout Subsection*
1333 \begin_layout Description
1334 Action Accepts tracked change inside the selection.
1336 \begin_layout Description
1337 Syntax change-accept
1339 \begin_layout Description
1340 Origin Levon, 16 Oct 2002
1343 \begin_layout Subsection*
1346 \begin_layout Description
1347 Action Moves the cursor to the position of the next change of the change tracking records.
1349 \begin_layout Description
1352 \begin_layout Description
1353 Origin schmitt, 4 Oct 2006
1356 \begin_layout Subsection*
1357 LFUN_CHANGE_PREVIOUS
1359 \begin_layout Description
1360 Action Moves the cursor to the position of the previous change of the change tracking records.
1362 \begin_layout Description
1363 Syntax change-previous
1365 \begin_layout Description
1366 Origin vfr, 4 Apr 2009
1369 \begin_layout Subsection*
1372 \begin_layout Description
1373 Action Rejects tracked change inside the selection.
1375 \begin_layout Description
1376 Syntax change-reject
1378 \begin_layout Description
1379 Origin Levon, 16 Oct 2002
1382 \begin_layout Subsection*
1383 LFUN_CHARS_TRANSPOSE
1385 \begin_layout Description
1386 Action Transposes the character at the cursor with the one before it.
1388 \begin_layout Description
1389 Syntax chars-transpose
1391 \begin_layout Description
1392 Origin Lgb, 25 Apr 2001
1395 \begin_layout Subsection*
1398 \begin_layout Description
1399 Action Moves the cursor one position logically backwards.
1401 \begin_layout Description
1402 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.
1404 \begin_layout Description
1405 Syntax char-backward
1408 \begin_layout Subsection*
1409 LFUN_CHAR_BACKWARD_SELECT
1411 \begin_layout Description
1412 Action Moves the cursor one position logically backwards, adding traversed position to the selection.
1414 \begin_layout Description
1415 Notion See also LFUN_CHAR_BACKWARD.
1417 \begin_layout Description
1418 Syntax char-backward-select
1421 \begin_layout Subsection*
1422 LFUN_CHAR_DELETE_BACKWARD
1424 \begin_layout Description
1425 Action Deletes one character in the backward direction (usually the "BackSpace" key).
1427 \begin_layout Description
1428 Syntax char-delete-backward
1431 \begin_layout Subsection*
1432 LFUN_CHAR_DELETE_FORWARD
1434 \begin_layout Description
1435 Action Deletes one character in the backward direction (usually the "Delete" key).
1437 \begin_layout Description
1438 Syntax char-delete-forward
1441 \begin_layout Subsection*
1444 \begin_layout Description
1445 Action Moves the cursor one position logically forward.
1447 \begin_layout Description
1448 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.
1450 \begin_layout Description
1454 \begin_layout Subsection*
1455 LFUN_CHAR_FORWARD_SELECT
1457 \begin_layout Description
1458 Action Moves the cursor one position logically forward, adding traversed position to the selection.
1460 \begin_layout Description
1461 Notion See also LFUN_CHAR_FORWARD.
1463 \begin_layout Description
1464 Syntax char-forward-select
1467 \begin_layout Subsection*
1470 \begin_layout Description
1471 Action Moves the cursor one position "to the left".
1473 \begin_layout Description
1474 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.
1476 \begin_layout Description
1480 \begin_layout Subsection*
1481 LFUN_CHAR_LEFT_SELECT
1483 \begin_layout Description
1484 Action Moves the cursor one position "to the left", adding traversed position to the selection.
1486 \begin_layout Description
1487 Notion See also LFUN_CHAR_LEFT for exact details of the movement.
1489 \begin_layout Description
1490 Syntax char-left-select
1493 \begin_layout Subsection*
1496 \begin_layout Description
1497 Action Moves the cursor one position "to the right".
1499 \begin_layout Description
1500 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.
1502 \begin_layout Description
1506 \begin_layout Subsection*
1507 LFUN_CHAR_RIGHT_SELECT
1509 \begin_layout Description
1510 Action Moves the cursor one position "to the right", adding traversed position to the selection.
1512 \begin_layout Description
1513 Notion See also LFUN_CHAR_RIGHT for exact details of the movement.
1515 \begin_layout Description
1516 Syntax char-right-select
1519 \begin_layout Subsection*
1520 LFUN_CITATION_INSERT
1522 \begin_layout Description
1523 Action Inserts citation from loaded citation database.
1525 \begin_layout Description
1526 Syntax citation-insert [<KEY>[|<TEXT_BEFORE>]]
1528 \begin_layout Description
1529 Params <KEY>: Citation (shortcut listed in available citations).
1530 \begin_inset Newline newline
1533 <TEXT_BEFORE>: text which should appear before citation.
1535 \begin_layout Description
1536 Origin AAS, 97-02-23
1539 \begin_layout Subsection*
1540 LFUN_CLIPBOARD_PASTE
1542 \begin_layout Description
1543 Action Pastes text from the active clipboard (retains formatting if the clipboard contains formatted text). Pastes plain text if plain text is on the clipboard, but tries to interpret it in special ways for certain insets, e.g. converting csv data to rows and colums if tha paste happens in a tabular inset.
1545 \begin_layout Description
1546 Notion Historically, LFUN_CLIPBOARD_PASTE was introduced as a counterpart of LFUN_PRIMARY_SELECTION_PASTE: It behaved exactly the same, but the source is the clipboard, not the selection.
1548 \begin_layout Description
1549 Syntax clipboard-paste [<ARG>]
1551 \begin_layout Description
1552 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
1554 \begin_layout Description
1555 Origin Georg, 10 Jul 2006
1558 \begin_layout Subsection*
1559 LFUN_CLIPBOARD_PASTE_SIMPLE
1561 \begin_layout Description
1562 Action Pastes plain text from the active clipboard even if formatted LyX content is in the clipboard. Pastes plain text if plain text is on the clipboard, without trying to interpret it in special ways for certain insets, e.g. converting csv data to rows and colums if the paste happens in a tabular inset.
1564 \begin_layout Description
1565 Syntax clipboard-paste-simple [<ARG>]
1567 \begin_layout Description
1568 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
1571 \begin_layout Subsection*
1572 LFUN_COMMAND_ALTERNATIVES
1574 \begin_layout Description
1575 Action Runs the first listed command that is enabled.
1577 \begin_layout Description
1578 Notion This can be used to bind multiple functions to a single key, and then which one is used will depend upon the context.
1580 \begin_layout Description
1581 Syntax command-alternatives <CMDS>
1583 \begin_layout Description
1584 Params <CMDS>: Sequence of commands separated by semicolons.
1586 \begin_layout Description
1587 Sample command-alternatives completion-accept;cell-forward
1589 \begin_layout Description
1590 Origin rgh, 24 September 2008
1593 \begin_layout Subsection*
1594 LFUN_COMMAND_EXECUTE
1596 \begin_layout Description
1597 Action Switches the focus to the minibuffer so that the user can type in there. If necessary, it opens the minibuffer toolbar.
1599 \begin_layout Description
1600 Notion Usually bound to M-x shortcut.
1602 \begin_layout Description
1603 Syntax command-execute
1606 \begin_layout Subsection*
1609 \begin_layout Description
1610 Action Return the current key sequence and available options as a string.
1612 \begin_layout Description
1613 Notion No options are added if no current map exists.
1614 \begin_inset Newline newline
1617 This is probably usable only with connection to lyxserver.
1619 \begin_layout Description
1620 Syntax command-prefix
1623 \begin_layout Subsection*
1624 LFUN_COMMAND_SEQUENCE
1626 \begin_layout Description
1627 Action Run more commands (LFUN and its parameters) in a sequence.
1629 \begin_layout Description
1630 Syntax command-sequence <CMDS>
1632 \begin_layout Description
1633 Params <CMDS>: Sequence of commands separated by semicolons.
1635 \begin_layout Description
1636 Sample command-sequence cut; ert-insert; self-insert
1638 ; paste; self-insert {}; inset-toggle;
1640 \begin_layout Description
1641 Origin Andre, 11 Nov 1999
1644 \begin_layout Subsection*
1645 LFUN_COMPLETION_ACCEPT
1647 \begin_layout Description
1648 Action Accept suggested completion.
1650 \begin_layout Description
1651 Syntax completion-accept
1653 \begin_layout Description
1654 Origin sanda, Sep 08 2008
1657 \begin_layout Subsection*
1658 LFUN_COMPLETION_CANCEL
1660 \begin_layout Description
1661 Action Try to cancel completion, either the popup or the inline completion.
1663 \begin_layout Description
1664 Syntax completion-cancel
1666 \begin_layout Description
1667 Origin sts, Sep 07 2008
1670 \begin_layout Subsection*
1671 LFUN_COMPLETION_COMPLETE
1673 \begin_layout Description
1674 Action Try to complete the word or command at the cursor position.
1676 \begin_layout Description
1679 \begin_layout Description
1680 Origin sts, Feb 19 2008
1683 \begin_layout Subsection*
1684 LFUN_COMPLETION_INLINE
1686 \begin_layout Description
1687 Action Show the inline completion at the cursor position.
1689 \begin_layout Description
1690 Syntax completion-inline
1692 \begin_layout Description
1693 Origin sts, Feb 19 2008
1696 \begin_layout Subsection*
1697 LFUN_COMPLETION_POPUP
1699 \begin_layout Description
1700 Action Show the completion popup at the cursor position.
1702 \begin_layout Description
1703 Syntax completion-popup
1705 \begin_layout Description
1706 Origin sts, Feb 19 2008
1709 \begin_layout Subsection*
1712 \begin_layout Description
1713 Action Copies the current selection to the clipboard.
1715 \begin_layout Description
1719 \begin_layout Subsection*
1720 LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE
1722 \begin_layout Description
1723 Action Determine whether to keep cursor inside the editing window regardless of the scrollbar movement.
1725 \begin_layout Description
1726 Syntax toggle-cursor-follows-scrollbar
1728 \begin_layout Description
1729 Origin ARRae, 2 Dec 1997
1732 \begin_layout Subsection*
1735 \begin_layout Description
1736 Action Cuts to the clipboard.
1738 \begin_layout Description
1742 \begin_layout Subsection*
1745 \begin_layout Description
1746 Action Inserts the current date.
1748 \begin_layout Description
1749 Syntax date-insert [<ARG>]
1751 \begin_layout Description
1752 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.
1754 \begin_layout Description
1755 Origin jdblair, 31 Jan 2000
1758 \begin_layout Subsection*
1759 LFUN_DEBUG_LEVEL_SET
1761 \begin_layout Description
1762 Action Set debug output level.
1764 \begin_layout Description
1765 Syntax debug-level-set <LEVEL>
1767 \begin_layout Description
1768 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.
1770 \begin_layout Description
1771 Origin sanda, 28 Dec 2009
1774 \begin_layout Subsection*
1775 LFUN_DEPTH_DECREMENT
1777 \begin_layout Description
1778 Action Decrease the nesting depth of the (selected) paragraph(s) inside lists.
1780 \begin_layout Description
1781 Syntax depth-decrement
1784 \begin_layout Subsection*
1785 LFUN_DEPTH_INCREMENT
1787 \begin_layout Description
1788 Action Increase the nesting depth of the (selected) paragraph(s) inside lists.
1790 \begin_layout Description
1791 Syntax depth-increment
1794 \begin_layout Subsection*
1795 LFUN_DIALOG_DISCONNECT_INSET
1797 \begin_layout Description
1798 Action Closes opened connection to opened inset.
1800 \begin_layout Description
1801 Notion Connection is used for apply functions.
1803 \begin_layout Description
1804 Syntax dialog-disconnect-inset <INSET-NAME>
1806 \begin_layout Description
1807 Origin leeming, 25 Feb 2003
1810 \begin_layout Subsection*
1813 \begin_layout Description
1814 Action Hides showed dialog. Counterpart to LFUN_DIALOG_SHOW .
1816 \begin_layout Description
1817 Syntax dialog-hide <NAME>
1819 \begin_layout Description
1820 Params See LFUN_DIALOG_SHOW .
1822 \begin_layout Description
1823 Origin leeming, 25 Feb 2003
1826 \begin_layout Subsection*
1829 \begin_layout Description
1830 Action Shows hidden dialog or creates new one for a given function/inset settings etc.
1832 \begin_layout Description
1833 Syntax dialog-show <NAME> [<DATA>]
1835 \begin_layout Description
1836 Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
1837 \begin_inset Newline newline
1840 compare|document|errorlist|ert|external|file|findreplace|findreplaceadv|float|
1841 \begin_inset Newline newline
1844 graphics|href|include|index|index_print|info|label|line|listings|log|mathdelimiter|
1845 \begin_inset Newline newline
1848 mathmatrix|mathspace|nomenclature|nomencl_print|note|paragraph|phantom|prefs|
1849 \begin_inset Newline newline
1852 print|ref|sendto|space|spellchecker|symbols|tabular|tabularcreate|
1853 \begin_inset Newline newline
1856 thesaurus|texinfo|toc|view-source|vspace|wrap|<SPECIAL>
1857 \begin_inset Newline newline
1860 <SPECIAL>: latexlog|vclog
1861 \begin_inset Newline newline
1864 <DATA>: data, usually settings for the given dialog. Use debug mode for the details.
1866 \begin_layout Description
1867 Origin leeming, 17 Jun 2003
1870 \begin_layout Subsection*
1871 LFUN_DIALOG_SHOW_NEW_INSET
1873 \begin_layout Description
1874 Action Shows hidden dialog or create new one for a given inset settings etc.
1876 \begin_layout Description
1877 Notion Internally uses LFUN_DIALOG_SHOW with processed data for a given inset.
1879 \begin_layout Description
1880 Syntax dialog-show-new-inset <NAME> [<DATA>]
1882 \begin_layout Description
1883 Params See LFUN_DIALOG_SHOW .
1885 \begin_layout Description
1886 Origin leeming, 25 Feb 2003
1889 \begin_layout Subsection*
1892 \begin_layout Description
1893 Action Toggles dialog between showed/hidden state.
1895 \begin_layout Description
1896 Notion Internally uses LFUN_DIALOG_SHOW , LFUN_DIALOG_HIDE .
1898 \begin_layout Description
1899 Syntax dialog-toggle <NAME> [<DATA>]
1901 \begin_layout Description
1902 Params See LFUN_DIALOG_SHOW .
1904 \begin_layout Description
1905 Origin JSpitzm, 30 Apr 2007
1908 \begin_layout Subsection*
1911 \begin_layout Description
1912 Action Updates the dialog values from the inset/paragraph/document.
1914 \begin_layout Description
1915 Syntax dialog-update <NAME>
1917 \begin_layout Description
1918 Params <NAME>: paragraph|prefs|<INSET>
1919 \begin_inset Newline newline
1924 \begin_layout Description
1925 Origin leeming, 25 Feb 2003
1928 \begin_layout Subsection*
1931 \begin_layout Description
1932 Action Moves the cursor one line in downward direction.
1934 \begin_layout Description
1938 \begin_layout Subsection*
1941 \begin_layout Description
1942 Action Moves the cursor one line in downward direction adding the current position to the selection.
1944 \begin_layout Description
1948 \begin_layout Subsection*
1949 LFUN_DROP_LAYOUTS_CHOICE
1951 \begin_layout Description
1952 Action Displays list of layout choices.
1954 \begin_layout Description
1955 Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox allowing for choice of layout.
1957 \begin_layout Description
1958 Syntax drop-layouts-choice
1961 \begin_layout Subsection*
1962 LFUN_ENVIRONMENT_SPLIT
1964 \begin_layout Description
1965 Action Splits the current environment with a Separator.
1967 \begin_layout Description
1968 Syntax environment-split [outer]
1970 \begin_layout Description
1971 Params outer: If this is given, LyX will split the outermost environment in the current nesting hierarchy.
1973 \begin_layout Description
1974 Origin spitz, 23 Dec 2012
1977 \begin_layout Subsection*
1980 \begin_layout Description
1981 Action Inserts an ERT inset.
1983 \begin_layout Description
1986 \begin_layout Description
1987 Origin Jug, 18 Feb 2000
1990 \begin_layout Subsection*
1993 \begin_layout Description
1994 Action Clears the selection. If no text is selected call LFUN_FINISHED_FORWARD. Inside math mode jumps out of the math inset.
1996 \begin_layout Description
1999 \begin_layout Description
2000 Origin Lgb, 17 May 2001
2003 \begin_layout Subsection*
2006 \begin_layout Description
2007 Action Inserts another LyX file.
2009 \begin_layout Description
2010 Syntax file-insert [<FILE>]
2012 \begin_layout Description
2013 Params <FILE>: Filename to be inserted.
2016 \begin_layout Subsection*
2017 LFUN_FILE_INSERT_PLAINTEXT
2019 \begin_layout Description
2020 Action Inserts plain text file.
2022 \begin_layout Description
2023 Syntax file-insert-plaintext [<FILE>]
2025 \begin_layout Description
2026 Params <FILE>: Filename to be inserted.
2028 \begin_layout Description
2029 Origin CFO-G, 19 Nov 1997
2032 \begin_layout Subsection*
2033 LFUN_FILE_INSERT_PLAINTEXT_PARA
2035 \begin_layout Description
2036 Action Inserts plain text file as paragraph (i.e. join lines).
2038 \begin_layout Description
2039 Syntax file-insert-plaintext-para [<FILE>]
2041 \begin_layout Description
2042 Params <FILE>: Filename to be inserted.
2044 \begin_layout Description
2045 Origin Levon, 14 Feb 2001
2048 \begin_layout Subsection*
2051 \begin_layout Description
2052 Action Open LyX document.
2054 \begin_layout Description
2055 Syntax file-open [<FILE>]
2057 \begin_layout Description
2058 Params <FILE>: Filename to be opened.
2061 \begin_layout Subsection*
2062 LFUN_FINISHED_BACKWARD
2064 \begin_layout Description
2065 Action Moves the cursor out of the current slice, going backwards.
2067 \begin_layout Description
2068 Notion See also LFUN_FINISHED_FORWARD.
2071 \begin_layout Subsection*
2072 LFUN_FINISHED_FORWARD
2074 \begin_layout Description
2075 Action Moves the cursor out of the current slice, going forward.
2077 \begin_layout Description
2078 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.
2081 \begin_layout Subsection*
2084 \begin_layout Description
2085 Action Moves the cursor out of the current slice, going left.
2087 \begin_layout Description
2088 Notion See also LFUN_FINISHED_FORWARD.
2091 \begin_layout Subsection*
2094 \begin_layout Description
2095 Action Moves the cursor out of the current slice, going right.
2097 \begin_layout Description
2098 Notion See also LFUN_FINISHED_FORWARD
2101 \begin_layout Subsection*
2104 \begin_layout Description
2105 Action Inserts CharStyle, Custom inset or XML short element.
2107 \begin_layout Description
2108 Notion Look into the Customization manual for more information about these elements.
2109 \begin_inset Newline newline
2112 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.
2113 \begin_inset Newline newline
2116 For dissolving the element see LFUN_INSET_DISSOLVE.
2118 \begin_layout Description
2119 Syntax flex-insert Name
2121 \begin_layout Description
2122 Params Name: This name must be defined either in your layout file or imported by some module. The definition is InsetLayout Name or InsetLayout <Flex:Name>. The Flex: prefix is optional.
2124 \begin_layout Description
2125 Sample flex-insert Code
2128 \begin_layout Subsection*
2131 \begin_layout Description
2132 Action Inserts a float inset.
2134 \begin_layout Description
2135 Syntax float-insert <TYPE>
2137 \begin_layout Description
2138 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
2140 \begin_layout Description
2141 Origin Lgb, 27 Jun 2000
2144 \begin_layout Subsection*
2145 LFUN_FLOAT_LIST_INSERT
2147 \begin_layout Description
2148 Action Inserts the list of floats in the document.
2150 \begin_layout Description
2151 Syntax float-list-insert <TYPE>
2153 \begin_layout Description
2154 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
2156 \begin_layout Description
2157 Origin Lgb, 3 May 2001
2160 \begin_layout Subsection*
2161 LFUN_FLOAT_WIDE_INSERT
2163 \begin_layout Description
2164 Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns.
2166 \begin_layout Description
2167 Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX.
2169 \begin_layout Description
2170 Syntax float-wide-insert <TYPE>
2172 \begin_layout Description
2173 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
2175 \begin_layout Description
2176 Origin Lgb, 31 Oct 2001
2179 \begin_layout Subsection*
2182 \begin_layout Description
2183 Action Toggles the bold font (selection-wise) using mathbf in math.
2185 \begin_layout Description
2189 \begin_layout Subsection*
2190 LFUN_FONT_BOLDSYMBOL
2192 \begin_layout Description
2193 Action Toggles the bold font (selection-wise) using boldsymbol in math.
2195 \begin_layout Description
2196 Syntax font-boldsymbol
2199 \begin_layout Subsection*
2202 \begin_layout Description
2203 Action Reverts the settings of the font to the default values (selection-wise).
2205 \begin_layout Description
2209 \begin_layout Subsection*
2212 \begin_layout Description
2213 Action Toggles the emphasis font style (selection-wise).
2215 \begin_layout Description
2219 \begin_layout Subsection*
2222 \begin_layout Description
2223 Action Toggles Fraktur family font (math-mode, selection-wise).
2225 \begin_layout Description
2228 \begin_layout Description
2229 Origin vermeer, 10 Jan 2002
2232 \begin_layout Subsection*
2235 \begin_layout Description
2236 Action Toggles Italics font shape (math-mode, selection-wise).
2238 \begin_layout Description
2241 \begin_layout Description
2242 Origin vermeer, 10 Jan 2002
2245 \begin_layout Subsection*
2248 \begin_layout Description
2249 Action Toggles Noun text style font (selection-wise).
2251 \begin_layout Description
2255 \begin_layout Subsection*
2258 \begin_layout Description
2259 Action Toggles Roman family font (selection-wise).
2261 \begin_layout Description
2265 \begin_layout Subsection*
2268 \begin_layout Description
2269 Action Toggles Sans Serif family font (selection-wise).
2271 \begin_layout Description
2275 \begin_layout Subsection*
2278 \begin_layout Description
2279 Action Sets font size according to lyx format string.
2281 \begin_layout Description
2282 Syntax font-size <SIZE>
2284 \begin_layout Description
2285 Params <SIZE>: tiny|scriptsize|footnotesize|small|normal|large|larger|
2286 \begin_inset Newline newline
2289 largest|huge|giant|increase|decrease|default
2292 \begin_layout Subsection*
2295 \begin_layout Description
2296 Action Returns the info about the current font.
2298 \begin_layout Description
2302 \begin_layout Subsection*
2305 \begin_layout Description
2306 Action Toggles strikeout (strike-through) in the font (selection-wise).
2308 \begin_layout Description
2309 Syntax font-strikeout
2311 \begin_layout Description
2312 Origin sanda, 3 May 2009
2315 \begin_layout Subsection*
2316 LFUN_FONT_TYPEWRITER
2318 \begin_layout Description
2319 Action Toggles the typewriter family font (selection-wise).
2321 \begin_layout Description
2322 Syntax font-typewriter
2325 \begin_layout Subsection*
2328 \begin_layout Description
2329 Action Toggles underline in the font (selection-wise).
2331 \begin_layout Description
2332 Syntax font-underline
2335 \begin_layout Subsection*
2338 \begin_layout Description
2339 Action Toggles double underline in the font (selection-wise).
2341 \begin_layout Description
2342 Syntax font-underunderline
2344 \begin_layout Description
2345 Origin sanda, 5 May 2009
2348 \begin_layout Subsection*
2351 \begin_layout Description
2352 Action Toggles wavy underline in the font (selection-wise).
2354 \begin_layout Description
2355 Syntax font-underwave
2357 \begin_layout Description
2358 Origin sanda, 5 May 2009
2361 \begin_layout Subsection*
2362 LFUN_FOOTNOTE_INSERT
2364 \begin_layout Description
2365 Action Inserts a footnote inset.
2367 \begin_layout Description
2368 Syntax footnote-insert
2370 \begin_layout Description
2371 Origin Jug, 7 Mar 2000
2374 \begin_layout Subsection*
2377 \begin_layout Description
2378 Action Sets the cursor position in the previewed (dvi/pdf) file based on the row number in LyX window.
2380 \begin_layout Description
2381 Notion The external program used for forward search call can be specified in LyX Output preferences. See Additional manual for details of these settings.
2383 \begin_layout Description
2384 Syntax forward-search
2386 \begin_layout Description
2387 Origin sanda, 14 Apr 2010
2390 \begin_layout Subsection*
2391 LFUN_GRAPHICS_RELOAD
2393 \begin_layout Description
2394 Action Reloads the image if necessary.
2396 \begin_layout Description
2397 Syntax graphics-reload
2399 \begin_layout Description
2400 Origin vfr, 10 Aug 2009
2403 \begin_layout Subsection*
2406 \begin_layout Description
2407 Action Open the given help file according to the language setting.
2409 \begin_layout Description
2410 Syntax help-open <FILE>[.lyx]
2412 \begin_layout Description
2413 Params <FILE>: any document from (/usr/share/)doc directory.
2415 \begin_layout Description
2416 Origin Jug, 27 Jun 1999
2419 \begin_layout Subsection*
2420 LFUN_HYPERLINK_INSERT
2422 \begin_layout Description
2423 Action Inserts hyperlinks into the document (clickable in pdf output).
2425 \begin_layout Description
2426 Notion Hyperlink target can be set via selection + hyperlink-insert function.
2428 \begin_layout Description
2429 Syntax href-insert [<TARGET>]
2431 \begin_layout Description
2432 Origin CFO-G, 21 Nov 1997
2435 \begin_layout Subsection*
2438 \begin_layout Description
2439 Action Inserts Index entry.
2441 \begin_layout Description
2442 Notion It automatically takes the word on the cursor position.
2444 \begin_layout Description
2445 Syntax index-insert [<TYPE:Name>]
2447 \begin_layout Description
2448 Params <TYPE:Name>: name of the index, if multiple indices are defined. With an empty argument, the default index is selected.
2450 \begin_layout Description
2451 Origin leeming, 3 Aug 2000
2454 \begin_layout Subsection*
2457 \begin_layout Description
2458 Action Inserts list of Index entries on a new page.
2460 \begin_layout Description
2461 Syntax index-print [<TYPE:Name>]
2463 \begin_layout Description
2464 Params <TYPE:Name>: name of the index, if multiple indices are defined. With an empty argument, the default index is selected.
2466 \begin_layout Description
2467 Origin Lgb, 27 Feb 1997
2470 \begin_layout Subsection*
2473 \begin_layout Description
2474 Action Displays shortcuts, lyxrc, package and textclass availability and menu information in a non-editable boxed InsetText.
2476 \begin_layout Description
2477 Notion Apart from lfun arguments you can use the following method:
2478 \begin_inset Newline newline
2481 1. input the type and argument of this inset, e.g. "menu paste", in the work area.
2482 \begin_inset Newline newline
2485 2. select the text and run info-insert lfun.
2487 \begin_layout Description
2488 Syntax info-insert <TYPE> <ARG>
2490 \begin_layout Description
2491 Params <TYPE>: shortcut[s]|lyxrc|lyxinfo|package|textclass|menu|buffer
2492 \begin_inset Newline newline
2495 <ARG>: argument for a given type. Look into InsetInfo.h for detailed description.
2496 \begin_inset Newline newline
2499 shortcut[s]: name of lfun (e.g math-insert
2502 \begin_inset Newline newline
2505 lyxrc: name of rc_entry (e.g. bind_file)
2506 \begin_inset Newline newline
2509 lyxinfo: "version" - used version of LyX
2510 \begin_inset Newline newline
2513 package: name of latex package (e.g. listings)
2514 \begin_inset Newline newline
2517 textclass: name of textclass (e.g. article)
2518 \begin_inset Newline newline
2521 menu: name of lfun used in menu
2522 \begin_inset Newline newline
2525 icon: icon of lfun used in toolbar
2526 \begin_inset Newline newline
2529 buffer: "name"|"path"|"class"|"vcs-tree-revision"| "vcs-revision"|"vcs-author"|"vcs-date"|"vcs-time"
2531 \begin_layout Description
2532 Sample command-sequence info-insert buffer path; info-insert buffer name
2534 \begin_layout Description
2535 Origin bpeng, 7 Oct 2007
2538 \begin_layout Subsection*
2541 \begin_layout Description
2542 Action Apply data for an inset.
2544 \begin_layout Description
2545 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.
2547 \begin_layout Description
2548 Syntax inset-apply <ARGS>
2550 \begin_layout Description
2551 Params See LFUN_INSET_INSERT .
2554 \begin_layout Subsection*
2557 \begin_layout Description
2558 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
2560 \begin_layout Description
2563 \begin_layout Description
2564 Origin lasgouttes, 16 Mar 2009
2567 \begin_layout Subsection*
2568 LFUN_INSET_BEGIN_SELECT
2570 \begin_layout Description
2571 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).
2573 \begin_layout Description
2574 Syntax inset-begin-select
2576 \begin_layout Description
2577 Origin lasgouttes, 16 Mar 2009
2580 \begin_layout Subsection*
2583 \begin_layout Description
2584 Action Copies the inset to the clipboard as a certain type.
2586 \begin_layout Description
2587 Notion Currently used only for InsetInfo where its content is copied as a text.
2589 \begin_layout Description
2590 Syntax inset-copy-as
2592 \begin_layout Description
2593 Origin vfr, 18 Apr 2010
2596 \begin_layout Subsection*
2597 LFUN_INSET_DIALOG_UPDATE
2599 \begin_layout Description
2600 Action Updates the values inside the dialog from the inset.
2602 \begin_layout Description
2603 Notion This is an internal LFUN, not to be used by users. Called internally by LFUN_DIALOG_UPDATE
2605 \begin_layout Description
2606 Params <DIALOG-NAME>
2608 \begin_layout Description
2609 Origin leeming, 25 Feb 2003
2612 \begin_layout Subsection*
2615 \begin_layout Description
2616 Action Dissolve the current inset into text.
2618 \begin_layout Description
2619 Syntax inset-dissolve [<INSET>]
2621 \begin_layout Description
2622 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.
2623 \begin_inset Newline newline
2626 For values see lyx::InsetLayout::lyxtype_ .
2628 \begin_layout Description
2629 Origin JSpitz, 7 Aug 2006
2632 \begin_layout Subsection*
2635 \begin_layout Description
2636 Action Edit the inset at cursor with an external application, if one is attributed.
2638 \begin_layout Description
2639 Syntax inset-edit [<INSET_PARAMS>]
2641 \begin_layout Description
2642 Params <INSET_PARAMS>: Parameters for the inset.
2643 \begin_inset Newline newline
2646 Currently only the filename will be considered.
2648 \begin_layout Description
2649 Origin JSpitzm, 27 Apr 2006
2652 \begin_layout Subsection*
2655 \begin_layout Description
2656 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
2658 \begin_layout Description
2661 \begin_layout Description
2662 Origin lasgouttes, 16 Mar 2009
2665 \begin_layout Subsection*
2666 LFUN_INSET_END_SELECT
2668 \begin_layout Description
2669 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).
2671 \begin_layout Description
2672 Syntax inset-end-select
2674 \begin_layout Description
2675 Origin lasgouttes, 16 Mar 2009
2678 \begin_layout Subsection*
2681 \begin_layout Description
2682 Action Apply the given commands on insets of a given name.
2684 \begin_layout Description
2685 Notion WARNING: use at your own risks; this function gives you too many ways of shooting yourself in the foot. A typical example is inset-forall Note note-insert which starts an infinite loop. This is mitigated by the fact that the number of actions is arbitrarily limited to 100000. Note also that inset-forall does not update metrics between iterations, which can lead to bugs. This has to be eventually fixed.
2687 \begin_layout Description
2688 Syntax inset-forall <NAME> <LFUN-COMMAND>
2689 \begin_inset Newline newline
2692 <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.
2694 \begin_layout Description
2695 Sample Remove all index insets:
2696 \begin_inset Newline newline
2699 inset-forall Index char-delete-forward
2700 \begin_inset Newline newline
2703 Close all Notes (also works for a particular branch, for example):
2704 \begin_inset Newline newline
2707 inset-forall Note inset-toggle close
2708 \begin_inset Newline newline
2711 Transform all yellow notes to comments
2712 \begin_inset Newline newline
2715 inset-forall Note:Note inset-modify note Note Comment
2716 \begin_inset Newline newline
2719 Try to put LyX in an infinite loop if there is at least a Note:
2720 \begin_inset Newline newline
2723 inset-forall Note char-backward
2725 \begin_layout Description
2726 Origin lasgouttes, 27 Nov 2009
2729 \begin_layout Subsection*
2732 \begin_layout Description
2733 Action Insert new inset (type given by the parameters).
2735 \begin_layout Description
2736 Syntax inset-insert <INSET> <ARGS>
2738 \begin_layout Description
2739 Params <INSET>: <bibitem|bibtex|citation|ert|listings|external|graphics|tabular|
2740 \begin_inset Newline newline
2743 hyperlink|include|index|label|line|nomencl|vspace|ref|toc|script>
2744 \begin_inset Newline newline
2747 <ARGS>: depends on the given inset. Use "lyx -dbg action" to explore.
2749 \begin_layout Description
2750 Sample inset-insert ref LatexCommand <Format> reference "<label name>"
2753 \begin_inset Newline newline
2756 where <label name> is the name of the referenced label and <Format> is one of the following:
2757 \begin_inset Newline newline
2761 \begin_inset Newline newline
2764 eqref -- (<reference>)
2765 \begin_inset Newline newline
2769 \begin_inset Newline newline
2772 vpageref -- on <page>
2773 \begin_inset Newline newline
2776 vref -- <reference> on <page>
2777 \begin_inset Newline newline
2780 formatted -- Formatted reference
2783 \begin_layout Subsection*
2786 \begin_layout Description
2787 Action Modify some properties of an inset.
2789 \begin_layout Description
2790 Notion Used for bibitem, bibtex, box, branch, command, ert, external, floats, graphics, include, index, info, label, listings, newline, newpage, nomencl, note, phantom, ref, space, tabular, vspace, wrap insets.
2792 \begin_layout Description
2793 Syntax inset-modify <INSET> <ARGS>inset-modify changetype <TYPE>inset-modify tabular <FEATURE> [<ARG>]
2795 \begin_layout Description
2796 Params Generally see LFUN_INSET_INSERT for further details.
2797 \begin_inset Newline newline
2800 In case that <INSET> is "tabular" various math-environment features are handled as well, e.g. add-vline-left/right for the Grid/Array environment.
2801 \begin_inset Newline newline
2804 <FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|
2805 \begin_inset Newline newline
2808 copy-column|move-column-right|move-column-left|move-row-down|move-row-up|
2809 \begin_inset Newline newline
2812 toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right|
2813 \begin_inset Newline newline
2816 align-left|align-right|align-center|align-block|align-decimal|set-decimal-point|
2817 \begin_inset Newline newline
2820 valign-top|valign-bottom|valign-middle|longtabular-align-left|
2821 \begin_inset Newline newline
2824 longtabular-align-center|longtabular-align-right|m-align-left|m-align-right|
2825 \begin_inset Newline newline
2828 m-align-center|m-valign-top|m-valign-bottom|m-valign-middle|multicolumn|
2829 \begin_inset Newline newline
2832 set-all-lines|unset-all-lines|set-longtabular|unset-longtabular|set-pwidth|
2833 \begin_inset Newline newline
2836 set-mpwidth|set-rotate-tabular|unset-rotate-tabular|toggle-rotate-tabular|
2837 \begin_inset Newline newline
2840 set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|set-usebox|set-lthead|
2841 \begin_inset Newline newline
2844 unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot|unset-ltfoot|
2845 \begin_inset Newline newline
2848 set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption|
2849 \begin_inset Newline newline
2852 set-special-column|set-special-multicolumn|set-special-multirow|
2853 \begin_inset Newline newline
2856 set-booktabs|unset-booktabs|set-top-space|set-bottom-space|
2857 \begin_inset Newline newline
2860 set-interline-space|set-border-lines|tabular-valign-top|
2861 \begin_inset Newline newline
2864 tabular-valign-middle|tabular-valign-bottom|set-tabular-width <ARG>: additional argument for some commands, use debug mode to explore its values.
2866 \begin_layout Description
2867 Sample inset-modify note Note Comment
2868 \begin_inset Newline newline
2871 inset-modify changetype Ovalbox
2874 \begin_layout Subsection*
2875 LFUN_INSET_SELECT_ALL
2877 \begin_layout Description
2878 Action Selects all contents of an inset.
2880 \begin_layout Description
2881 Syntax inset-select-all
2883 \begin_layout Description
2884 Origin vfr, 22 Aug 2009
2887 \begin_layout Subsection*
2890 \begin_layout Description
2891 Action Open the inset's properties dialog.
2893 \begin_layout Description
2894 Notion Used for bibitem, bibtex, box, branch, citation, ert, external, float, graphics, href, include, index, index_print, label, line, listings, note, phantom, ref, space, tabular, vspace, wrap insets.
2896 \begin_layout Description
2897 Syntax inset-settings <INSET>
2899 \begin_layout Description
2900 Params <INSET>: <bibitem|bibtex|box|branch|citation|ert|external|float|
2901 \begin_inset Newline newline
2904 graphics|href|include|index|index_print|label|line|
2905 \begin_inset Newline newline
2908 listings|note|phantom|ref|space|tabular|vspace|wrap>.
2911 \begin_layout Subsection*
2914 \begin_layout Description
2915 Action Toggles the collapsible inset at cursor position, or the inset we are currently in.
2917 \begin_layout Description
2918 Syntax inset-toggle [<ARG>]
2920 \begin_layout Description
2921 Params <ARG>: <open|close|toggle|assign>.
2922 \begin_inset Newline newline
2925 open/close/toggle are for collapsible insets. toggle is used when no argument is given.
2926 \begin_inset Newline newline
2929 assign synchronize the branch-inset with activation status of the branch. Used for global toggling when changed activation.
2931 \begin_layout Description
2932 Origin lasgouttes, 19 Jul 2001
2935 \begin_layout Subsection*
2938 \begin_layout Description
2939 Action Only active in IPA inset.
2941 \begin_layout Description
2942 Notion Dummy function which is only active in a IPA inset. It's used to toggle the IPA toolbar if the cursor moves into an IPA inset.
2944 \begin_layout Description
2947 \begin_layout Description
2948 Origin spitz, 20 May 2012
2951 \begin_layout Subsection*
2952 LFUN_IN_MATHMACROTEMPLATE
2954 \begin_layout Description
2955 Action Only active in Math Macro definition.
2957 \begin_layout Description
2958 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.
2960 \begin_layout Description
2961 Syntax in-mathmacrotemplate
2963 \begin_layout Description
2964 Origin sts, 06 January 2008
2967 \begin_layout Subsection*
2968 LFUN_IPAMACRO_INSERT
2970 \begin_layout Description
2971 Action Inserts special IPA macros into the document.
2973 \begin_layout Description
2974 Syntax ipamacro-insert <CHAR>
2976 \begin_layout Description
2977 Params <CHAR>: tone-falling, tone-rising, tone-high-rising, tone-low-rising, tone-high-rising-falling, deco bottomtiebar, deco toptiebar.
2979 \begin_layout Description
2980 Origin JSpitzm, 22 Aug 2012
2983 \begin_layout Subsection*
2986 \begin_layout Description
2987 Action Inserts an IPA inset.
2989 \begin_layout Description
2992 \begin_layout Description
2993 Origin spitz, 05 Mar 2012
2996 \begin_layout Subsection*
2999 \begin_layout Description
3000 Action Turn off the loaded keyboard map.
3002 \begin_layout Description
3006 \begin_layout Subsection*
3009 \begin_layout Description
3010 Action Turn on the primary keyboard map.
3012 \begin_layout Description
3013 Notion Maps were widely used in past, when X-windows didn't have nowadays keyboard support. They can be still used to maintain uniform keyboard layout across the various platforms.
3014 \begin_inset Newline newline
3017 The language is to be set in the Preferences dialog.
3019 \begin_layout Description
3020 Syntax keymap-primary
3023 \begin_layout Subsection*
3024 LFUN_KEYMAP_SECONDARY
3026 \begin_layout Description
3027 Action Turn on the secondary keyboard map.
3029 \begin_layout Description
3030 Syntax keymap-secondary
3033 \begin_layout Subsection*
3036 \begin_layout Description
3037 Action Toggles keyboard maps (first/second/off).
3039 \begin_layout Description
3040 Syntax keymap-toggle
3042 \begin_layout Description
3043 Origin leeming, 30 Mar 2004
3046 \begin_layout Subsection*
3047 LFUN_LABEL_COPY_AS_REF
3049 \begin_layout Description
3050 Action Copies the label at the cursor as a cross-reference to be pasted elsewhere.
3052 \begin_layout Description
3053 Syntax copy-label-as-reference <LABEL>
3055 \begin_layout Description
3056 Params <LABEL>: The label to copy (for multi-line math)
3058 \begin_layout Description
3059 Origin sts, 16 Nov 2008
3062 \begin_layout Subsection*
3065 \begin_layout Description
3066 Action Goto a label.
3068 \begin_layout Description
3069 Syntax label-goto [<LABEL>]
3071 \begin_layout Description
3072 Params <LABEL>: Requested label. If no label is given and reference is on cursor position, Bookmark 0 is saved and cursor moves to the position of referenced label.
3074 \begin_layout Description
3075 Origin Ale, 6 Aug 1997
3078 \begin_layout Subsection*
3081 \begin_layout Description
3082 Action Inserts label to text or displayed formula.
3084 \begin_layout Description
3085 Syntax label-insert [<LABEL>]
3087 \begin_layout Description
3088 Params <LABEL>: Requested label. If no label is given dialog requesting name will be opened.
3091 \begin_layout Subsection*
3092 LFUN_LABEL_INSERT_AS_REF
3094 \begin_layout Description
3095 Action Inserts the label (in ToC pane) as a cross-reference at the position of the cursor.
3097 \begin_layout Description
3098 Syntax label-insert-as-reference
3100 \begin_layout Description
3101 Origin vfr, 7 Apr 2009
3104 \begin_layout Subsection*
3107 \begin_layout Description
3108 Action Set language from the current cursor position.
3110 \begin_layout Description
3111 Syntax language <LANG> [set]
3113 \begin_layout Description
3114 Params <LANG>: Requested language. Look in lib/languages for the list. "language reset" or "language" (without param) reset to the document language. set: If used, the language will be set to the specified language. Otherwise, the language will be toggled (i.e., if the current language is LANG, switch to the document language or the default language, if LANG is the document language).
3116 \begin_layout Description
3117 Origin Dekel, 2 Mar 2000
3120 \begin_layout Subsection*
3123 \begin_layout Description
3124 Action Sets the layout (that is, environment) for the current paragraph.
3126 \begin_layout Description
3127 Syntax layout <LAYOUT>
3129 \begin_layout Description
3130 Params <LAYOUT>: the layout to use
3133 \begin_layout Subsection*
3134 LFUN_LAYOUT_MODULES_CLEAR
3136 \begin_layout Description
3137 Action Clears the module list.
3139 \begin_layout Description
3140 Notion Clears the list of included modules for the current buffer.
3142 \begin_layout Description
3143 Syntax layout-modules-clear
3145 \begin_layout Description
3146 Origin rgh, 25 August 2007
3149 \begin_layout Subsection*
3150 LFUN_LAYOUT_MODULE_ADD
3152 \begin_layout Description
3153 Action Adds a module.
3155 \begin_layout Description
3156 Notion Adds a module to the list of included modules for the current buffer.
3158 \begin_layout Description
3159 Syntax layout-module-add <MODULE>
3161 \begin_layout Description
3162 Params <MODULE>: the module to be added
3164 \begin_layout Description
3165 Origin rgh, 25 August 2007
3168 \begin_layout Subsection*
3169 LFUN_LAYOUT_PARAGRAPH
3171 \begin_layout Description
3172 Action Launches the paragraph settings dialog.
3174 \begin_layout Description
3175 Syntax layout-paragraph
3178 \begin_layout Subsection*
3181 \begin_layout Description
3182 Action Reloads layout information.
3184 \begin_layout Description
3185 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.
3187 \begin_layout Description
3188 Syntax layout-reload
3190 \begin_layout Description
3191 Origin rgh, 3 September 2007
3194 \begin_layout Subsection*
3197 \begin_layout Description
3198 Action Launches the tabular settings dialog.
3200 \begin_layout Description
3201 Syntax layout-tabular
3203 \begin_layout Description
3204 Origin Jug, 31 Jul 2000
3207 \begin_layout Subsection*
3210 \begin_layout Description
3211 Action Move the cursor to the beginning of the (screen) line.
3213 \begin_layout Description
3217 \begin_layout Subsection*
3218 LFUN_LINE_BEGIN_SELECT
3220 \begin_layout Description
3221 Action Move the cursor to the beginning of the (screen) line adding the traversed text to the selection.
3223 \begin_layout Description
3224 Syntax line-begin-select
3227 \begin_layout Subsection*
3230 \begin_layout Description
3231 Action Deletes the letters to the end of the (screen) line or deletes the selection.
3233 \begin_layout Description
3234 Syntax line-delete-forward
3237 \begin_layout Subsection*
3240 \begin_layout Description
3241 Action Move the cursor to the end of the (screen) line.
3243 \begin_layout Description
3247 \begin_layout Subsection*
3248 LFUN_LINE_END_SELECT
3250 \begin_layout Description
3251 Action Move the cursor to the end of the (screen) line adding the traversed text to the selection.
3253 \begin_layout Description
3254 Syntax line-end-select
3257 \begin_layout Subsection*
3260 \begin_layout Description
3261 Action Inserts a new listings inset.
3263 \begin_layout Description
3264 Syntax listing-insert
3266 \begin_layout Description
3267 Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
3270 \begin_layout Subsection*
3273 \begin_layout Description
3274 Action Apply the given settings to user preferences.
3276 \begin_layout Description
3277 Syntax lyxrc-apply <SETTINGS>
3279 \begin_layout Description
3280 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.
3283 \begin_layout Subsection*
3286 \begin_layout Description
3287 Action Terminates the current LyX instance.
3289 \begin_layout Description
3290 Notion Terminates the current LyX instance, asking whether to save modified documents, etc.
3292 \begin_layout Description
3296 \begin_layout Subsection*
3297 LFUN_MARGINALNOTE_INSERT
3299 \begin_layout Description
3300 Action Inserts a marginal note.
3302 \begin_layout Description
3303 Syntax marginalnote-insert
3305 \begin_layout Description
3306 Origin Lgb, 26 Jun 2000
3309 \begin_layout Subsection*
3312 \begin_layout Description
3313 Action Disable selecting of text-region.
3315 \begin_layout Description
3319 \begin_layout Subsection*
3322 \begin_layout Description
3323 Action Enable selecting of text-region.
3325 \begin_layout Description
3326 Notion After enabling you can simply move arrow keys to get selected region.
3328 \begin_layout Description
3332 \begin_layout Subsection*
3335 \begin_layout Description
3336 Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
3338 \begin_layout Description
3341 \begin_layout Description
3342 Origin Andre, May 5 2006
3345 \begin_layout Subsection*
3346 LFUN_MASTER_BUFFER_UPDATE
3348 \begin_layout Description
3349 Action Update (export) the document built from the master buffer, if the current buffer is part of a master/child document.
3351 \begin_layout Description
3352 Syntax master-buffer-update [<FORMAT>]
3354 \begin_layout Description
3355 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.
3357 \begin_layout Description
3358 Origin Tommaso, 20 Sep 2007
3361 \begin_layout Subsection*
3362 LFUN_MASTER_BUFFER_VIEW
3364 \begin_layout Description
3365 Action Show a preview built from the master buffer, if available. if the current buffer is part of a master/child document.
3367 \begin_layout Description
3368 Syntax master-buffer-view [<FORMAT>]
3370 \begin_layout Description
3371 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.
3373 \begin_layout Description
3374 Origin Tommaso, 20 Sep 2007
3377 \begin_layout Subsection*
3378 LFUN_MATH_AMS_MATRIX
3380 \begin_layout Description
3381 Action Inserts an extended matrix as provided by the amsmath package.
3383 \begin_layout Description
3384 Syntax math-matrix <COLS> <ROWS> [<DECORATION>]
3386 \begin_layout Description
3387 Params <DECORATION>: Decoration determines the LaTeX name of the matrix that should be created. Possible values include pmatrix, bmatrix, Bmatrix, vmatrix, Vmatrix and matrix. The default is 'matrix'.
3389 \begin_layout Description
3390 Sample math-ams-matrix 3 3 bmatrix
3393 \begin_layout Subsection*
3396 \begin_layout Description
3397 Action Inserts math fixed size delimiters (e.g. parentheses, brackets) enclosing expression.
3399 \begin_layout Description
3400 Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
3402 \begin_layout Description
3403 Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
3404 \begin_inset Newline newline
3407 <L/RDELIM>: TeX code for delimiter. See Delimiter dialog for delimiters to be used.
3409 \begin_layout Description
3410 Sample math-bigdelim "Bigl" "
3416 \begin_layout Description
3417 Origin Enrico & Georg, 7 May 2006
3420 \begin_layout Subsection*
3423 \begin_layout Description
3424 Action Inserts math delimiters (e.g. parentheses, brackets) enclosing expression.
3426 \begin_layout Description
3427 Syntax math-delim [<LEFT>] [<RIGHT>]
3429 \begin_layout Description
3430 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.
3432 \begin_layout Description
3433 Sample math-delim { rangle
3435 \begin_layout Description
3436 Origin Alejandro, 18 Jun 1996
3439 \begin_layout Subsection*
3442 \begin_layout Description
3443 Action Creates a new displayed equation in text mode. Toggles inlined/display formula in math mode.
3445 \begin_layout Description
3446 Syntax math-display [<ARG>]
3448 \begin_layout Description
3449 Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating new equation from the text mode.
3451 \begin_layout Description
3452 Origin Alejandro, 18 Jun 1996
3455 \begin_layout Subsection*
3458 \begin_layout Description
3459 Action Calls external program and passes the current expression/equation as an argument for the calculation in the format appropriate to the given language.
3461 \begin_layout Description
3462 Notion Selection can be used to determine the input for the external program.
3464 \begin_layout Description
3465 Syntax math-extern <LANG> [<COMMAND>]
3467 \begin_layout Description
3468 Params <LANG>: octave|maxima|maple|mathematica|script
3469 \begin_inset Newline newline
3472 where "script" stands for the external script (normalized expression will be passed)
3474 \begin_layout Description
3475 Sample math-extern maple simplify
3477 \begin_layout Description
3478 Origin Andre, 24 Apr 2001
3481 \begin_layout Subsection*
3482 LFUN_MATH_FONT_STYLE
3484 \begin_layout Description
3485 Action Changes the text style used in math.
3487 \begin_layout Description
3488 Syntax math-font-style <STYLE>
3490 \begin_layout Description
3491 Params <STYLE>: mathnormal|mathcal|mathfrak|mathrm|mathsf|mathbf|textnormal
3492 \begin_inset Newline newline
3495 |textrm|textsf|texttt|textbf|textmd|textit|textsc|textsl|textup
3497 \begin_layout Description
3498 Origin vfr, 9 jan 2009
3501 \begin_layout Subsection*
3504 \begin_layout Description
3505 Action Inserts math objects and symbols.
3507 \begin_layout Description
3508 Notion When <ARG> is a _single_ math inset with more than one cell (such as "x_y^z" or "
3510 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
3512 frac{x}{y}" replaces "abc" with "
3514 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.
3516 \begin_layout Description
3517 Syntax math-insert <ARG>
3519 \begin_layout Description
3520 Params <ARG>: Symbol or LaTeX code to be inserted.
3523 \begin_layout Subsection*
3526 \begin_layout Description
3527 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.
3529 \begin_layout Description
3530 Notion Put the cursor before the symbol with the limits and then invoke math-limits.
3532 \begin_layout Description
3533 Syntax math-limits [<STATE>]
3535 \begin_layout Description
3536 Params <STATE>: limits|nolimits
3539 \begin_layout Subsection*
3542 \begin_layout Description
3543 Action Inserts a math macro definition at the cursor position in the text.
3545 \begin_layout Description
3546 Syntax math-macro <NAME> [<NARGS>] [def]
3548 \begin_layout Description
3549 Params <NAME>: The name of the macro, e.g. "mymacro".
3550 \begin_inset Newline newline
3553 <NARGS>: The number of parameters of the macro. Default is 0. "def": Has no effect anymore, just for compatibility with former LyX versions.
3555 \begin_layout Description
3556 Origin ale, 10 May 1997; sts, 21 Dec 2007
3559 \begin_layout Subsection*
3560 LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM
3562 \begin_layout Description
3563 Action Add a greedy optional parameter.
3565 \begin_layout Description
3566 Notion Add a greedy optional parameter which eats the value from the following cells in mathed which are in the [value] format.
3568 \begin_layout Description
3569 Syntax math-macro-add-greedy-optional-param
3571 \begin_layout Description
3572 Origin sts, 06 January 2008
3575 \begin_layout Subsection*
3576 LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM
3578 \begin_layout Description
3579 Action Add an optional parameter.
3581 \begin_layout Description
3582 Notion Insert an optional parameter just behind the already existing optional parameters.
3584 \begin_layout Description
3585 Syntax math-macro-add-optional-param
3587 \begin_layout Description
3588 Origin sts, 06 January 2008
3591 \begin_layout Subsection*
3592 LFUN_MATH_MACRO_ADD_PARAM
3594 \begin_layout Description
3595 Action Add a parameter.
3597 \begin_layout Description
3598 Notion Add a parameter to a Math Macro.
3600 \begin_layout Description
3601 Syntax math-macro-add-param <NUM>
3603 \begin_layout Description
3604 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.
3606 \begin_layout Description
3607 Origin sts, 06 January 2008
3610 \begin_layout Subsection*
3611 LFUN_MATH_MACRO_APPEND_GREEDY_PARAM
3613 \begin_layout Description
3614 Action Append a greedy parameter.
3616 \begin_layout Description
3617 Notion Append a greedy parameter to a Math Macro which eats the following mathed cell in every instance of the macro in the buffer.
3619 \begin_layout Description
3620 Syntax math-macro-append-greedy-param
3622 \begin_layout Description
3623 Origin sts, 06 January 2008
3626 \begin_layout Subsection*
3627 LFUN_MATH_MACRO_FOLD
3629 \begin_layout Description
3630 Action Fold a Math Macro.
3632 \begin_layout Description
3633 Notion Fold the Math Macro the cursor is in if it was unfolded, i.e. displayed as
3637 \begin_layout Description
3638 Syntax math-macro-fold
3640 \begin_layout Description
3641 Origin sts, 06 January 2008
3644 \begin_layout Subsection*
3645 LFUN_MATH_MACRO_MAKE_NONOPTIONAL
3647 \begin_layout Description
3648 Action Make a parameter non-optional.
3650 \begin_layout Description
3651 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.
3653 \begin_layout Description
3654 Syntax math-macro-make-nonoptional
3656 \begin_layout Description
3657 Origin sts, 06 January 2008
3660 \begin_layout Subsection*
3661 LFUN_MATH_MACRO_MAKE_OPTIONAL
3663 \begin_layout Description
3664 Action Make a parameter optional.
3666 \begin_layout Description
3667 Notion Turn the first non-optional parameter of a Math Macro into an optional parameter with a default value.
3669 \begin_layout Description
3670 Syntax math-macro-make-optional
3672 \begin_layout Description
3673 Origin sts, 06 January 2008
3676 \begin_layout Subsection*
3677 LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM
3679 \begin_layout Description
3680 Action Remove a greedy parameter.
3682 \begin_layout Description
3683 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.
3685 \begin_layout Description
3686 Syntax math-macro-remove-greedy-param
3688 \begin_layout Description
3689 Origin sts, 06 January 2008
3692 \begin_layout Subsection*
3693 LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
3695 \begin_layout Description
3696 Action Remove the last optional parameter.
3698 \begin_layout Description
3699 Notion Remove the last optional parameter of a Math Macro and remove it in all the instances of the macro in the buffer.
3701 \begin_layout Description
3702 Syntax math-macro-remove-optional-param
3704 \begin_layout Description
3705 Origin sts, 06 January 2008
3708 \begin_layout Subsection*
3709 LFUN_MATH_MACRO_REMOVE_PARAM
3711 \begin_layout Description
3712 Action Remove the last parameter.
3714 \begin_layout Description
3715 Notion Remove the last parameter of a Math Macro and remove its value in all instances of the macro in the buffer.
3717 \begin_layout Description
3718 Syntax math-macro-remove-param <NUM>
3720 \begin_layout Description
3721 Params <NUM>: The number of the parameter to be deleted (1 for the first), defaults to the last one.
3723 \begin_layout Description
3724 Origin sts, 06 January 2008
3727 \begin_layout Subsection*
3728 LFUN_MATH_MACRO_UNFOLD
3730 \begin_layout Description
3731 Action Unfold a Math Macro.
3733 \begin_layout Description
3734 Notion Unfold the Math Macro the cursor is in, i.e. display it as
3738 \begin_layout Description
3739 Syntax math-macro-unfold
3741 \begin_layout Description
3742 Origin sts, 06 January 2008
3745 \begin_layout Subsection*
3748 \begin_layout Description
3749 Action Inserts a matrix.
3751 \begin_layout Description
3752 Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
3754 \begin_layout Description
3755 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).
3757 \begin_layout Description
3758 Sample math-matrix 3 3 bccc
3761 \begin_layout Subsection*
3764 \begin_layout Description
3765 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.
3767 \begin_layout Description
3768 Notion If there is some selected text, it puts the text inside created math box.
3770 \begin_layout Description
3771 Syntax math-mode [on|<ARG>]
3773 \begin_layout Description
3774 Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT .
3775 \begin_inset Newline newline
3778 "on": allow only entering of math mode from text mode.
3780 \begin_layout Description
3781 Origin Alejandro, 4 Jun 1996
3784 \begin_layout Subsection*
3787 \begin_layout Description
3788 Action Mutates the type of math inset to the newly selected one.
3790 \begin_layout Description
3791 Syntax math-mutate <TYPE>
3793 \begin_layout Description
3794 Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat| multline|gather|flalign
3796 \begin_layout Description
3797 Origin Andre, 23 May 2001
3800 \begin_layout Subsection*
3801 LFUN_MATH_NUMBER_LINE_TOGGLE
3803 \begin_layout Description
3804 Action Toggles numbering of the current formula line.
3806 \begin_layout Description
3807 Notion Must be in display formula mode.
3809 \begin_layout Description
3810 Syntax math-number-line-toggle
3812 \begin_layout Description
3813 Origin Alejandro, 18 Jun 1996
3816 \begin_layout Subsection*
3817 LFUN_MATH_NUMBER_TOGGLE
3819 \begin_layout Description
3820 Action Toggles numbering/labeling of the current formula.
3822 \begin_layout Description
3823 Notion Must be in display formula mode.
3825 \begin_layout Description
3826 Syntax math-number-toggle
3828 \begin_layout Description
3829 Origin Alejandro, 4 Jun 1996
3832 \begin_layout Subsection*
3835 \begin_layout Description
3836 Action Changes arbitrarily the size used by math fonts inside a context.
3838 \begin_layout Description
3839 Notion Provides an interface to the LaTeX math mode font size commands.
3841 \begin_layout Description
3842 Syntax math-size <STYLE>
3844 \begin_layout Description
3855 \begin_layout Description
3856 Origin Alejandro, 15 Aug 1996; sanda, 14 Jun 2008
3859 \begin_layout Subsection*
3862 \begin_layout Description
3863 Action Inserts space into math expression.
3865 \begin_layout Description
3866 Notion Use spacebar after entering this space to change type of space.
3868 \begin_layout Description
3869 Syntax math-space [<TYPE>] [<LEN>]
3871 \begin_layout Description
3872 Params <TYPE>: negative spaces: !|negthinspace|negmedspace|negthickspace
3873 \begin_inset Newline newline
3876 positive spaces: ,|thinspace|:|medspace|;|thickspace|enskip|quad|qquad
3877 \begin_inset Newline newline
3880 custom space: hspace
3881 \begin_inset Newline newline
3884 "," used by default.
3885 \begin_inset Newline newline
3888 Note that ! is equivalent to negthinspace, , = thinspace, : = medspace, and ; = thickspace.
3889 \begin_inset Newline newline
3892 <LEN>: length for custom spaces (hspace)
3894 \begin_layout Description
3895 Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
3898 \begin_layout Subsection*
3901 \begin_layout Description
3902 Action Enters subscript expression in math expression.
3904 \begin_layout Description
3905 Syntax math-subscript
3907 \begin_layout Description
3908 Origin vermeer, 12 Dec 2001
3911 \begin_layout Subsection*
3912 LFUN_MATH_SUPERSCRIPT
3914 \begin_layout Description
3915 Action Enters superscript expression in math expression.
3917 \begin_layout Description
3918 Syntax math-superscript
3920 \begin_layout Description
3921 Origin vermeer, 12 Dec 2001
3924 \begin_layout Subsection*
3927 \begin_layout Description
3928 Action Opens the menu given by its name.
3930 \begin_layout Description
3931 Syntax menu-open <NAME>
3933 \begin_layout Description
3934 Params <NAME>: menu name. See various .inc files in lib/ui for candidates.
3937 \begin_layout Subsection*
3940 \begin_layout Description
3941 Action Shows message in statusbar (for script purposes).
3943 \begin_layout Description
3944 Syntax message <STRING>
3946 \begin_layout Description
3947 Origin Lgb, 8 Apr 2001
3950 \begin_layout Subsection*
3953 \begin_layout Description
3954 Action Simulate halting Meta key (Alt key on PCs).
3956 \begin_layout Description
3957 Notion Used for buffer editation not for GUI control.
3959 \begin_layout Description
3963 \begin_layout Subsection*
3966 \begin_layout Description
3967 Action This function is called when double click on mouse button is pressed (inside workarea). Action depends on the context.
3969 \begin_layout Description
3970 Notion This is an internal LFUN, not to be used by users.
3972 \begin_layout Description
3973 Origin Andre, 9 Aug 2002
3976 \begin_layout Subsection*
3979 \begin_layout Description
3980 Action This function is called when mouse cursor is moving over the text. Action depends on the context.
3982 \begin_layout Description
3983 Notion This is an internal LFUN, not to be used by users.
3985 \begin_layout Description
3986 Origin Andre, 9 Aug 2002
3989 \begin_layout Subsection*
3992 \begin_layout Description
3993 Action This function is called when mouse button is pressed (inside workarea). Action depends on the context.
3995 \begin_layout Description
3996 Notion This is an internal LFUN, not to be used by users.
3998 \begin_layout Description
3999 Origin Andre, 9 Aug 2002
4002 \begin_layout Subsection*
4005 \begin_layout Description
4006 Action This function is called when mouse button is released (inside workarea). Action depends on the context.
4008 \begin_layout Description
4009 Notion This is an internal LFUN, not to be used by users.
4011 \begin_layout Description
4012 Origin Andre, 9 Aug 2002
4015 \begin_layout Subsection*
4018 \begin_layout Description
4019 Action This function is called when triple click on mouse button is pressed (inside workarea). Action depends on the context.
4021 \begin_layout Description
4022 Notion This is an internal LFUN, not to be used by users.
4024 \begin_layout Description
4025 Origin Andre, 9 Aug 2002
4028 \begin_layout Subsection*
4031 \begin_layout Description
4032 Action Inserts a line break or new line.
4034 \begin_layout Description
4035 Syntax newline-insert [<ARG>]
4037 \begin_layout Description
4038 Params <ARG>: <newline|linebreak> default: newline
4040 \begin_layout Description
4041 Origin JSpitzm, 25 Mar 2008
4044 \begin_layout Subsection*
4047 \begin_layout Description
4048 Action Inserts a new page.
4050 \begin_layout Description
4051 Syntax newpage-insert <ARG>
4053 \begin_layout Description
4054 Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
4056 \begin_layout Description
4057 Origin uwestoehr, 24 Nov 2007
4060 \begin_layout Subsection*
4061 LFUN_NOMENCLATURE_PRINT
4063 \begin_layout Description
4064 Action Inserts list of Nomenclature entries.
4066 \begin_layout Description
4067 Syntax nomenclature-print
4069 \begin_layout Description
4070 Origin Ugras, 4 Nov 2006
4073 \begin_layout Subsection*
4076 \begin_layout Description
4077 Action Inserts Nomenclature entry.
4079 \begin_layout Description
4080 Notion It automatically takes the word on the cursor position if no symbol is given.
4082 \begin_layout Description
4083 Syntax nomencl-insert [<SYMBOL>]
4085 \begin_layout Description
4086 Origin Ugras, 4 Nov 2006
4089 \begin_layout Subsection*
4092 \begin_layout Description
4093 Action Inserts Note on the current cursor position, move selection inside the inset.
4095 \begin_layout Description
4096 Syntax note-insert [<TYPE>]
4098 \begin_layout Description
4099 Params <TYPE>: <Note|Greyedout|Comment> default: Note
4102 \begin_layout Subsection*
4105 \begin_layout Description
4106 Action Moves the cursor to the beginning of next Note inset.
4108 \begin_layout Description
4112 \begin_layout Subsection*
4115 \begin_layout Description
4116 Action Move the current group in the downward direction in the structure of the document.
4118 \begin_layout Description
4119 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
4121 \begin_layout Description
4124 \begin_layout Description
4125 Origin Vermeer, 23 Mar 2006
4128 \begin_layout Subsection*
4131 \begin_layout Description
4132 Action Moves the current group in the downward direction in the hierarchy of the document structure.
4134 \begin_layout Description
4135 Notion Part -> Chapter -> Section -> etc.
4137 \begin_layout Description
4140 \begin_layout Description
4141 Origin Vermeer, 23 Mar 2006
4144 \begin_layout Subsection*
4147 \begin_layout Description
4148 Action Moves the current group in the upward direction in the hierarchy of the document structure.
4150 \begin_layout Description
4151 Notion Part <- Chapter <- Section <- etc.
4153 \begin_layout Description
4156 \begin_layout Description
4157 Origin Vermeer, 23 Mar 2006
4160 \begin_layout Subsection*
4163 \begin_layout Description
4164 Action Move the current group in the upward direction in the structure of the document.
4166 \begin_layout Description
4167 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
4169 \begin_layout Description
4172 \begin_layout Description
4173 Origin Vermeer, 23 Mar 2006
4176 \begin_layout Subsection*
4177 LFUN_PARAGRAPH_BREAK
4179 \begin_layout Description
4180 Action Breaks the current paragraph at the current location.
4182 \begin_layout Description
4183 Notion Removes the selection.
4185 \begin_layout Description
4186 Syntax paragraph-break [<LAYOUT>]
4188 \begin_layout Description
4189 Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to default layout) when the cursor is at the end of the line.
4192 \begin_layout Subsection*
4195 \begin_layout Description
4196 Action Move the cursor to the next paragraph (or beginning of the current one) in downward direction.
4198 \begin_layout Description
4199 Syntax paragraph-down
4201 \begin_layout Description
4202 Origin Asger, 1 Oct 1996
4205 \begin_layout Subsection*
4206 LFUN_PARAGRAPH_DOWN_SELECT
4208 \begin_layout Description
4209 Action Move the cursor and select the text to the next paragraph (or beginning of the current one) in downward direction.
4211 \begin_layout Description
4212 Syntax paragraph-down-select
4214 \begin_layout Description
4215 Origin Asger, 1 Oct 1996
4218 \begin_layout Subsection*
4221 \begin_layout Description
4222 Action Jump to a paragraph given by its id number and optionally the desired position within the paragraph.
4224 \begin_layout Description
4225 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).
4227 \begin_layout Description
4228 Syntax paragraph-goto <PAR_ID_NUMBER> <POSITION_IN_PAR>
4230 \begin_layout Description
4231 Params <PAR_ID_NUMBER>: paragraph id
4232 \begin_inset Newline newline
4235 <POSITION_IN_PAR>: desired position within the paragraph
4237 \begin_layout Description
4238 Origin Dekel, 26 Aug 2000
4241 \begin_layout Subsection*
4242 LFUN_PARAGRAPH_MOVE_DOWN
4244 \begin_layout Description
4245 Action Moves the current paragraph downwards in the document.
4247 \begin_layout Description
4248 Syntax paragraph-move-down
4250 \begin_layout Description
4251 Origin Edwin, 8 Apr 2006
4254 \begin_layout Subsection*
4255 LFUN_PARAGRAPH_MOVE_UP
4257 \begin_layout Description
4258 Action Moves the current paragraph upwards in the document.
4260 \begin_layout Description
4261 Notion Movement through the document will possibly break the paragraph-depth (e.g. itemize structure).
4263 \begin_layout Description
4264 Syntax paragraph-move-up
4266 \begin_layout Description
4267 Origin Edwin, 8 Apr 2006
4270 \begin_layout Subsection*
4271 LFUN_PARAGRAPH_PARAMS
4273 \begin_layout Description
4274 Action Change paragraph settings.
4276 \begin_layout Description
4277 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.
4279 \begin_layout Description
4280 Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
4282 \begin_layout Description
4292 \begin_inset Newline newline
4297 paragraph_spacing default|single|onehalf|double|other SIZE
4298 \begin_inset Newline newline
4303 align block|left|right|center|default
4304 \begin_inset Newline newline
4309 labelwidthstring WIDTH|
4313 \begin_layout Description
4314 Origin rgh, Aug 15 2007
4317 \begin_layout Subsection*
4318 LFUN_PARAGRAPH_PARAMS_APPLY
4320 \begin_layout Description
4321 Action Change paragraph settings.
4323 \begin_layout Description
4324 Notion Overwrite all nonspecified settings to the default ones. Use paragraph-params lfun if you don't want to overwrite others settings.
4326 \begin_layout Description
4327 Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
4329 \begin_layout Description
4330 Params For parameters see LFUN_PARAGRAPH_PARAMS
4332 \begin_layout Description
4333 Origin leeming, 30 Mar 2004
4336 \begin_layout Subsection*
4339 \begin_layout Description
4340 Action Move the cursor to the next paragraph (or beginning of the current one) in upward direction.
4342 \begin_layout Description
4345 \begin_layout Description
4346 Origin Asger, 1 Oct 1996
4349 \begin_layout Subsection*
4350 LFUN_PARAGRAPH_UPDATE
4352 \begin_layout Description
4353 Action Updates the values inside the paragraph dialog from the paragraph.
4355 \begin_layout Description
4356 Notion This is an internal LFUN, not to be used by users. Called internally by LFUN_DIALOG_UPDATE.
4358 \begin_layout Description
4359 Origin leeming, 13 Mar 2003
4362 \begin_layout Subsection*
4363 LFUN_PARAGRAPH_UP_SELECT
4365 \begin_layout Description
4366 Action Move the cursor and select the text to the next paragraph (or beginning of the current one) in upward direction.
4368 \begin_layout Description
4369 Syntax paragraph-up-select
4371 \begin_layout Description
4372 Origin Asger, 1 Oct 1996
4375 \begin_layout Subsection*
4378 \begin_layout Description
4379 Action Pastes material (text or picture) from the active clipboard.
4381 \begin_layout Description
4382 Syntax paste [<TYPE>|<NUM>]
4384 \begin_layout Description
4385 Params <TYPE>: emf|pdf|png|jpeg|linkback|wmf|latex|html
4386 \begin_inset Newline newline
4389 <NUM>: number of the selection in the internal clipboard stack to be pasted.
4392 \begin_layout Subsection*
4395 \begin_layout Description
4396 Action Inserts phantom on the current cursor position, move selection inside the inset.
4398 \begin_layout Description
4399 Syntax phantom-insert [<TYPE>]
4401 \begin_layout Description
4402 Params <TYPE>: <Phantom|HPhantom|VPhantom> default: Phantom
4404 \begin_layout Description
4405 Origin uwestoehr, 30 Jan 2009
4408 \begin_layout Subsection*
4409 LFUN_PREFERENCES_SAVE
4411 \begin_layout Description
4412 Action Save user preferences.
4414 \begin_layout Description
4415 Syntax preferences-save
4417 \begin_layout Description
4418 Origin Lgb, 27 Nov 1999
4421 \begin_layout Subsection*
4424 \begin_layout Description
4425 Action Inserts a new preview inset.
4427 \begin_layout Description
4428 Syntax preview-insert
4430 \begin_layout Description
4431 Origin vfr, 28 Mar 2010
4434 \begin_layout Subsection*
4435 LFUN_PRIMARY_SELECTION_PASTE
4437 \begin_layout Description
4438 Action Pastes the currently selected text.
4440 \begin_layout Description
4441 Notion Primary selection mechanism is linux-only thing.
4443 \begin_layout Description
4444 Syntax primary-selection-paste [<ARG>]
4446 \begin_layout Description
4447 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
4450 \begin_layout Subsection*
4453 \begin_layout Description
4454 Action Inserts quotes according to the type and quote-language preference.
4456 \begin_layout Description
4457 Notion Currently English, Swedish, German, Polish, French, Danish quotes are distinguished.
4459 \begin_layout Description
4460 Syntax quote-insert [<TYPE>]
4462 \begin_layout Description
4463 Params <TYPE>: 'single' for single quotes, otherwise double quotes will be used.
4466 \begin_layout Subsection*
4469 \begin_layout Description
4470 Action Reconfigure the automatic settings.
4472 \begin_layout Description
4475 \begin_layout Description
4476 Origin Asger, 14 Feb 1997
4479 \begin_layout Subsection*
4482 \begin_layout Description
4483 Action Redoes the last thing undone.
4485 \begin_layout Description
4489 \begin_layout Subsection*
4492 \begin_layout Description
4493 Action Go to the next label or cross-reference.
4495 \begin_layout Description
4496 Syntax reference-next
4498 \begin_layout Description
4499 Origin Dekel, 14 Jan 2001
4502 \begin_layout Subsection*
4505 \begin_layout Description
4506 Action Enters regexp mode (i.e., puts regexp insets on the current cursor position). Used by the advanced search dialog.
4508 \begin_layout Description
4509 Notion If there is any selected text, then it is moved inside the created regexp inset.
4511 \begin_layout Description
4512 Syntax regexp-mode [<ARG>]
4514 \begin_layout Description
4515 Params <ARG>: eventual argument (regular expression).
4517 \begin_layout Description
4518 Origin Tommaso, 4 Oct 2008
4521 \begin_layout Subsection*
4524 \begin_layout Description
4525 Action Repeat the given command.
4527 \begin_layout Description
4528 Syntax repeat <COUNT> <LFUN-COMMAND>
4530 \begin_layout Description
4531 Origin Andre, 27 Oct 2003
4534 \begin_layout Subsection*
4537 \begin_layout Description
4538 Action Moves the cursor one page in downward direction.
4540 \begin_layout Description
4544 \begin_layout Subsection*
4545 LFUN_SCREEN_DOWN_SELECT
4547 \begin_layout Description
4548 Action Moves the cursor one screen in downward direction adding the current position to the selection.
4550 \begin_layout Description
4551 Syntax screen-down-select
4554 \begin_layout Subsection*
4555 LFUN_SCREEN_FONT_UPDATE
4557 \begin_layout Description
4558 Action Update fonts and its metrics.
4560 \begin_layout Description
4561 Notion Automatically called after zoom, dpi, font names, or norm change.
4563 \begin_layout Description
4564 Syntax screen-font-update
4566 \begin_layout Description
4567 Origin ARRae, 13 Aug 2000
4570 \begin_layout Subsection*
4571 LFUN_SCREEN_RECENTER
4573 \begin_layout Description
4574 Action Recenters the screen on the current cursor position.
4576 \begin_layout Description
4577 Syntax screen-recenter
4580 \begin_layout Subsection*
4581 LFUN_SCREEN_SHOW_CURSOR
4583 \begin_layout Description
4584 Action Repositions the screen such that the cursor is visible.
4586 \begin_layout Description
4587 Syntax screen-show-cursor
4589 \begin_layout Description
4590 Origin vfr, 25 Mar 2009
4593 \begin_layout Subsection*
4596 \begin_layout Description
4597 Action Moves the cursor one page in upward direction.
4599 \begin_layout Description
4603 \begin_layout Subsection*
4604 LFUN_SCREEN_UP_SELECT
4606 \begin_layout Description
4607 Action Moves the cursor one page in upward direction adding the current position to the selection.
4609 \begin_layout Description
4610 Syntax screen-up-select
4613 \begin_layout Subsection*
4616 \begin_layout Description
4617 Action Inserts a subscript or superscript inset.
4619 \begin_layout Description
4620 Syntax script-insert <TYPE>
4622 \begin_layout Description
4623 Params <TYPE>: subscript|superscript
4625 \begin_layout Description
4626 Origin Georg, 23 Nov 2010
4629 \begin_layout Subsection*
4632 \begin_layout Description
4633 Action Scroll the buffer view.
4635 \begin_layout Description
4636 Notion Only scrolls the screen up or down; does not move the cursor.
4638 \begin_layout Description
4639 Syntax scroll <TYPE> <QUANTITY>
4641 \begin_layout Description
4642 Params <TYPE>: line|page
4643 \begin_inset Newline newline
4646 <QUANTITY>: up|down|<number>
4648 \begin_layout Description
4649 Origin Abdel, Dec 27 2007
4652 \begin_layout Subsection*
4655 \begin_layout Description
4656 Action Selects the whole section.
4658 \begin_layout Description
4659 Notion The cursor should be in a section heading before calling this lfun.
4661 \begin_layout Description
4662 Syntax section-select
4664 \begin_layout Description
4665 Origin vfr, 05 May 2009
4668 \begin_layout Subsection*
4669 LFUN_SELECTION_PASTE
4671 \begin_layout Description
4672 Action Pastes the internal selection text in permanent selection.
4674 \begin_layout Description
4675 Notion Created in order to have middle mouse button pasting correct (bound to command-alternatives selection-paste ; primary-selection-paste paragraph).
4677 \begin_layout Description
4678 Syntax selection-paste
4680 \begin_layout Description
4681 Origin lasgouttes, 14 Jan 2009
4684 \begin_layout Subsection*
4687 \begin_layout Description
4688 Action Inserts the given string (accordingly to the correct keymap).
4690 \begin_layout Description
4691 Notion Automatically replace the currently selected text. Depends on lyxrc settings "auto_region_delete".
4693 \begin_layout Description
4694 Syntax self-insert <STRING>
4697 \begin_layout Subsection*
4698 LFUN_SERVER_GET_FILENAME
4700 \begin_layout Description
4701 Action Returns path and file name of the currently edited document.
4703 \begin_layout Description
4704 Syntax server-get-filename
4707 \begin_layout Subsection*
4708 LFUN_SERVER_GET_LAYOUT
4710 \begin_layout Description
4711 Action Returns the current layout (that is environment) name on the cursor position.
4713 \begin_layout Description
4714 Syntax server-get-layout
4717 \begin_layout Subsection*
4720 \begin_layout Description
4721 Action Returns the coordinates of cursor position in the editing area.
4723 \begin_layout Description
4724 Syntax server-get-xy
4727 \begin_layout Subsection*
4728 LFUN_SERVER_GOTO_FILE_ROW
4730 \begin_layout Description
4731 Action Sets the cursor position in LyX based on the row number of generated TeX file.
4733 \begin_layout Description
4734 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).
4736 \begin_layout Description
4737 Syntax server-goto-file-row <FILE[.ext]> <ROW_NUMBER>
4739 \begin_layout Description
4740 Params <FILE>: the path and filename. Environment variables are expanded in the path. In case this LFUN does not work make sure you are giving correct path to the file.
4741 \begin_inset Newline newline
4744 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).
4745 \begin_inset Newline newline
4748 .ext: extensions will be automatically replaced by .lyx.
4749 \begin_inset Newline newline
4752 <ROW_NUMBER> The row number of the LaTeX file to which to go.
4754 \begin_layout Description
4755 Sample server-goto-file-row /home/user/example.lyx 41
4756 \begin_inset Newline newline
4759 server-goto-file-row /tmp/lyx_tmpdir.XM3088/lyx_tmpbuf0/example.tex 41
4761 \begin_layout Description
4762 Origin Edmar, 23 Dec 1998
4765 \begin_layout Subsection*
4768 \begin_layout Description
4769 Action Sends notify message about the last key-sequence to client.
4771 \begin_layout Description
4772 Notion This can be used to grab last key-sequence used inside the LyX window. See also Debug extensions section in Additional features manual.
4774 \begin_layout Description
4775 Syntax server-notify
4778 \begin_layout Subsection*
4781 \begin_layout Description
4782 Action Sets the cursor position based on the editing area coordinates (similar to clicking on that point with left mouse button).
4784 \begin_layout Description
4785 Syntax server-set-xy <X> <Y>
4788 \begin_layout Subsection*
4791 \begin_layout Description
4792 Action Set the given LyX color to the color defined by the X11 name given.
4794 \begin_layout Description
4795 Notion A new color entry is created if the color is unknown. Color names can be stored as a part of user settings.
4797 \begin_layout Description
4798 Syntax set-color <LYX_NAME> <X11_NAME>
4800 \begin_layout Description
4801 Origin SLior, 11 Jun 2000
4804 \begin_layout Subsection*
4805 LFUN_SET_GRAPHICS_GROUP
4807 \begin_layout Description
4808 Action Set the group for the graphics inset on the cursor position.
4810 \begin_layout Description
4811 Syntax set-graphics-group [<GROUP>]
4813 \begin_layout Description
4814 Params <GROUP>: Id for an existing group. In case the Id is an empty string, the graphics inset is removed from the current group.
4816 \begin_layout Description
4817 Origin sanda, 6 May 2008
4820 \begin_layout Subsection*
4823 \begin_layout Description
4824 Action Inserts one of horizontal space insets.
4826 \begin_layout Description
4827 Syntax space-insert <NAME> [<LEN>]
4829 \begin_layout Description
4830 Params <NAME>: normal, protected, visible, thin, quad, qquad, enspace, enskip, negthinspace, negmedspace, negthickspace, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
4831 \begin_inset Newline newline
4834 Only in math mode: med and thick.
4835 \begin_inset Newline newline
4838 <LEN>: length for custom spaces (hspace, hspace* for protected)
4840 \begin_layout Description
4841 Origin JSpitzm, 20 May 2003, Mar 17 2008
4844 \begin_layout Subsection*
4845 LFUN_SPECIALCHAR_INSERT
4847 \begin_layout Description
4848 Action Inserts various characters into the document.
4850 \begin_layout Description
4851 Syntax specialchar-insert <CHAR>
4853 \begin_layout Description
4854 Params <CHAR>: hyphenation, ligature-break, slash, nobreakdash, dots, end-of-sentence, menu-separator.
4856 \begin_layout Description
4857 Origin JSpitzm, 6 Dec 2007
4860 \begin_layout Subsection*
4863 \begin_layout Description
4864 Action Add the word under the cursor to the respective spell checker dictionary.
4866 \begin_layout Description
4867 Syntax spelling-add [<STRING>] [<LANG>]
4869 \begin_layout Description
4870 Params <WORD>: word to add <LANG>: language name (see file languages)
4872 \begin_layout Description
4873 Origin JSpitzm, 18 Jan 2010
4876 \begin_layout Subsection*
4877 LFUN_SPELLING_CONTINUOUSLY
4879 \begin_layout Description
4880 Action Toggle continuous spell checking.
4882 \begin_layout Description
4883 Syntax spelling-continuously
4885 \begin_layout Description
4886 Origin vfr, 24 March 2013
4889 \begin_layout Subsection*
4890 LFUN_SPELLING_IGNORE
4892 \begin_layout Description
4893 Action Let the spell checker ignore the word under the cursor in the current session for the given language.
4895 \begin_layout Description
4896 Syntax spelling-ignore [<WORD>] [<LANG>]
4898 \begin_layout Description
4899 Params <WORD>: word to ignore <LANG>: language name (see file languages)
4901 \begin_layout Description
4902 Origin JSpitzm, 18 Jan 2010
4905 \begin_layout Subsection*
4906 LFUN_SPELLING_REMOVE
4908 \begin_layout Description
4909 Action Remove the word under the cursor from the respective spell checker dictionary.
4911 \begin_layout Description
4912 Syntax spelling-remove [<STRING>] [<LANG>]
4914 \begin_layout Description
4915 Params <WORD>: word to remove <LANG>: language name (see file languages)
4917 \begin_layout Description
4918 Origin SWitt, 28 July 2010
4921 \begin_layout Subsection*
4924 \begin_layout Description
4925 Action Count the statistics (number of words and characters) in the document or in the given selection.
4927 \begin_layout Description
4928 Notion Note that this function gives the number of words/chars written, not the number of characters which will be typeset.
4930 \begin_layout Description
4933 \begin_layout Description
4934 Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
4937 \begin_layout Subsection*
4940 \begin_layout Description
4941 Action Inserts table into the document.
4943 \begin_layout Description
4944 Notion See LFUN_INSET_MODIFY for some more details about tabular modifications.
4946 \begin_layout Description
4947 Syntax tabular-insert [<ROWS> <COLUMNS>]
4949 \begin_layout Description
4950 Params In case no arguments are given show insert dialog.
4952 \begin_layout Description
4953 Origin Jug, 12 Apr 2000
4956 \begin_layout Subsection*
4959 \begin_layout Description
4960 Action Delete a tab or up to an equivalent amount of spaces from a listings inset.
4962 \begin_layout Description
4963 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.
4965 \begin_layout Description
4968 \begin_layout Description
4969 Origin vfr, Sep 30 2008
4972 \begin_layout Subsection*
4973 LFUN_TAB_GROUP_CLOSE
4975 \begin_layout Description
4976 Action Close the current tab group.
4978 \begin_layout Description
4979 Notion This only closes the work areas, not the buffers themselves. The still opened buffers can be visualized in another tab group.
4981 \begin_layout Description
4982 Syntax tab-group-close
4984 \begin_layout Description
4985 Origin Abdel, 21 Feb 2008
4988 \begin_layout Subsection*
4991 \begin_layout Description
4992 Action Insert a tab into a listings inset.
4994 \begin_layout Description
4995 Notion It also works on a selection.
4997 \begin_layout Description
5000 \begin_layout Description
5001 Origin vfr, Sep 30 2008
5004 \begin_layout Subsection*
5005 LFUN_TEXTCLASS_APPLY
5007 \begin_layout Description
5008 Action Sets the text class for the current buffer.
5010 \begin_layout Description
5011 Syntax textclass-apply <TEXTCLASS>
5013 \begin_layout Description
5014 Params <TEXTCLASS>: the textclass to set. Note that this must be the filename, minus the ".layout" extension.
5017 \begin_layout Subsection*
5020 \begin_layout Description
5021 Action Loads information for a textclass from disk.
5023 \begin_layout Description
5024 Syntax textclass-load <TEXTCLASS>
5026 \begin_layout Description
5027 Params <TEXTCLASS>: the textclass to load. Note that this must be the filename, minus the ".layout" extension.
5030 \begin_layout Subsection*
5031 LFUN_TEXTSTYLE_APPLY
5033 \begin_layout Description
5034 Action Toggle user-defined (=last-time used) text style.
5036 \begin_layout Description
5037 Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically triggered when using Text Style dialog.
5039 \begin_layout Description
5040 Syntax textstyle-apply
5042 \begin_layout Description
5043 Origin leeming, 12 Mar 2003
5046 \begin_layout Subsection*
5047 LFUN_TEXTSTYLE_UPDATE
5049 \begin_layout Description
5050 Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APPLY.
5052 \begin_layout Description
5053 Syntax textstyle-update <FONT_INFO>
5055 \begin_layout Description
5056 Params <FONT_INFO>: specifies font atributes, e.g. family, series, shape, size, emph, noun, underbar, number, color, language, toggleall.
5057 \begin_inset Newline newline
5060 Use lyx -dbg action for exact syntax of text-style dialog parameters.
5062 \begin_layout Description
5063 Origin leeming, 12 Mar 2003
5066 \begin_layout Subsection*
5067 LFUN_THESAURUS_ENTRY
5069 \begin_layout Description
5070 Action Look up thesaurus entries with respect to the word under the cursor.
5072 \begin_layout Description
5073 Syntax thesaurus-entry [<STRING>] [lang=<LANG>]
5075 \begin_layout Description
5076 Params <STRING>: word to look up <LANG>: language (see file languages)
5078 \begin_layout Description
5079 Origin Levon, 20 Jul 2001
5082 \begin_layout Subsection*
5085 \begin_layout Description
5086 Action Toggles visibility of a given toolbar between on/off/auto.
5088 \begin_layout Description
5089 Notion Skipping "auto" when allowauto is false.
5091 \begin_layout Description
5092 Syntax toolbar-toggle <NAME> [allowauto]
5094 \begin_layout Description
5095 Params <NAME>: standard|extra|table|math|mathmacrotemplate|
5096 \begin_inset Newline newline
5099 minibuffer|review|view/update|math_panels|vcs| view-others|update-others
5101 \begin_layout Description
5102 Origin Edwin, 21 May 2007
5105 \begin_layout Subsection*
5108 \begin_layout Description
5109 Action Various UI visibility-toggling actions.
5111 \begin_layout Description
5112 Syntax ui-toggle <statusbar|menubar|scrollbar|frame|fullscreen>
5114 \begin_layout Description
5115 Params statusbar : Toggle visibility of the statusbar.
5116 \begin_inset Newline newline
5119 menubar : Toggle visibility of the menubar.
5120 \begin_inset Newline newline
5123 scrollbar : Toggle visibility of the scrollbar.
5124 \begin_inset Newline newline
5127 frame : Toggle visibility of the frames around editing window.
5128 \begin_inset Newline newline
5131 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.
5133 \begin_layout Description
5134 Origin sanda, 9 Feb 2007
5137 \begin_layout Subsection*
5140 \begin_layout Description
5141 Action Undoes the last edit.
5143 \begin_layout Description
5147 \begin_layout Subsection*
5150 \begin_layout Description
5151 Action Inserts a single unicode character.
5153 \begin_layout Description
5154 Syntax unicode-insert <CHAR>
5156 \begin_layout Description
5157 Params <CHAR>: The character to insert, given as its code point, in hexadecimal.
5159 \begin_layout Description
5160 Sample unicode-insert 0x0100
5162 \begin_layout Description
5163 Origin Lgb, 22 Oct 2006
5166 \begin_layout Subsection*
5169 \begin_layout Description
5170 Action Moves the cursor one line in upward direction.
5172 \begin_layout Description
5176 \begin_layout Subsection*
5179 \begin_layout Description
5180 Action Moves the cursor one line in upward direction adding the current position to the selection.
5182 \begin_layout Description
5186 \begin_layout Subsection*
5189 \begin_layout Description
5190 Action Checks-in/commits the changes of the registered file to the repository.
5192 \begin_layout Description
5193 Notion In RCS case this also unlocks the file.
5195 \begin_layout Description
5198 \begin_layout Description
5199 Origin Lgb, 1 Jul 1997
5202 \begin_layout Subsection*
5205 \begin_layout Description
5206 Action Checks-out the document for edit (and locks it in some cases).
5208 \begin_layout Description
5211 \begin_layout Description
5212 Origin Lgb, 1 Jul 1997
5215 \begin_layout Subsection*
5218 \begin_layout Description
5219 Action Executes external command. This command is intended to support additional VCS commands.
5221 \begin_layout Description
5222 Syntax vc-command <FLAG> <PATH> <COMMAND>
5224 \begin_layout Description
5225 Params <FLAG>: Flags for the command can be combined together.
5226 \begin_inset Newline newline
5229 U - dUmmy - no flags
5230 \begin_inset Newline newline
5233 D - Doc - need document loaded to proceed
5234 \begin_inset Newline newline
5237 I - dIrty - mark document dirty
5238 \begin_inset Newline newline
5241 R - Reload - ensure that the document is saved and reload it after command execution
5242 \begin_inset Newline newline
5245 M - Message - ask for input string (commit message)
5246 \begin_inset Newline newline
5249 <PATH>: path where to start. $$p will be replaced by the current document path.
5250 \begin_inset Newline newline
5253 <COMMAND>: command to execute. $$i/$$p/$$m will be replaced by the current document(with absolute path)/path/message.
5255 \begin_layout Description
5256 Sample vc-command DR $$p "svn up"
5258 \begin_layout Description
5259 Origin sanda, 13 Jan 2009
5262 \begin_layout Subsection*
5265 \begin_layout Description
5266 Action Compares two revisions of the same file under version control.
5268 \begin_layout Description
5269 Syntax vc-compare [<REV1>] [<REV2>]
5271 \begin_layout Description
5272 Params Revision number either points directly to commit in history or if negative number -x it points to (last commit - x).
5273 \begin_inset Newline newline
5276 In RCS we subtract only in the last number of revision specification. Special case "0" is reserved for the last committed revision.
5277 \begin_inset Newline newline
5281 \begin_inset Newline newline
5284 <REV2>: Newer file. Used only if REV1 > 0.
5285 \begin_inset Newline newline
5288 If no parameter is given, interactive dialog will be shown.
5290 \begin_layout Description
5291 Sample Compare current document against last commit
5292 \begin_inset Newline newline
5296 \begin_inset Newline newline
5299 Compare current document against current revision - 5 commits
5300 \begin_inset Newline newline
5304 \begin_inset Newline newline
5307 Compare revisions 120 and 155
5308 \begin_inset Newline newline
5313 \begin_layout Description
5314 Origin sanda, 12 Feb 2010
5317 \begin_layout Subsection*
5320 \begin_layout Description
5321 Action Copies the document to another name.
5323 \begin_layout Description
5324 Notion Copying with revision history is only supported by SVN. For RCS and CVS it is simulated by adding the document under a new name. Disabled if uncommitted changes exist.
5326 \begin_layout Description
5327 Syntax vc-copy <FILENAME>
5329 \begin_layout Description
5330 Params <FILENAME>: New name of the document.
5331 \begin_inset Newline newline
5334 A file dialog is opened if no filename is given.
5336 \begin_layout Description
5337 Origin gb, 05 Feb 2013
5340 \begin_layout Subsection*
5341 LFUN_VC_LOCKING_TOGGLE
5343 \begin_layout Description
5344 Action Toggles the locking property of the edited file.
5346 \begin_layout Description
5347 Notion This is currently implemented only for SVN.
5349 \begin_layout Description
5350 Syntax vc-locking-toggle
5352 \begin_layout Description
5353 Origin sanda, 25 Jun 2009
5356 \begin_layout Subsection*
5359 \begin_layout Description
5360 Action Register the document as an file inside version control system.
5362 \begin_layout Description
5363 Notion File is registered inside cvs, svn or rcs repository acording to the existence of cvs/svn/rcs entries in the document's directory.
5364 \begin_inset Newline newline
5367 See LyX Additional Features Manual (Version Control Chapter) for additional information.
5369 \begin_layout Description
5372 \begin_layout Description
5373 Origin Lgb, 1 Jul 1997
5376 \begin_layout Subsection*
5379 \begin_layout Description
5380 Action Renames the document to another name.
5382 \begin_layout Description
5383 Notion Renaming with revision history is only supported by SVN. For CVS it is simulated by adding the document under a new name and deleting the old one. For RCS it is not supported. Disabled if uncommitted changes exist.
5385 \begin_layout Description
5386 Syntax vc-rename <FILENAME>
5388 \begin_layout Description
5389 Params <FILENAME>: New name of the document.
5390 \begin_inset Newline newline
5393 A file dialog is opened if no filename is given.
5395 \begin_layout Description
5396 Origin gb, 05 Feb 2013
5399 \begin_layout Subsection*
5402 \begin_layout Description
5403 Action Update the local archive directory in which resides the current document with the remote repository.
5405 \begin_layout Description
5406 Syntax vc-repo-update
5408 \begin_layout Description
5409 Origin sanda, 16 Oct 2009
5412 \begin_layout Subsection*
5415 \begin_layout Description
5416 Action Reverts the document to the last check-in/commit in VCS.
5418 \begin_layout Description
5421 \begin_layout Description
5422 Origin Lgb, 1 Jul 1997
5425 \begin_layout Subsection*
5428 \begin_layout Description
5429 Action Undo last check-in.
5431 \begin_layout Description
5432 Notion This is currently implemented only for RCS.
5434 \begin_layout Description
5437 \begin_layout Description
5438 Origin Lgb, 1 Jul 1997
5441 \begin_layout Subsection*
5444 \begin_layout Description
5445 Action Close the current document work area.
5447 \begin_layout Description
5448 Notion Close the current work area. If no other work areas are showing the buffer, then close the associated buffer as well.
5450 \begin_layout Description
5453 \begin_layout Description
5454 Origin Tommaso, 15 Sep 2012
5457 \begin_layout Subsection*
5460 \begin_layout Description
5461 Action Creates another split view of current buffer.
5463 \begin_layout Description
5464 Notion All split views act in the same way independently.
5466 \begin_layout Description
5467 Syntax view-split <vertical|horizontal>
5469 \begin_layout Description
5470 Params horizontal : The work areas are laid out side by side.
5471 \begin_inset Newline newline
5474 vertical : The work areas laid out vertically.
5476 \begin_layout Description
5477 Origin Abdel, 20 Feb 2008
5480 \begin_layout Subsection*
5483 \begin_layout Description
5484 Action Closes the current LyX window.
5486 \begin_layout Description
5489 \begin_layout Description
5490 Origin Abdel, 23 Oct 2006
5493 \begin_layout Subsection*
5496 \begin_layout Description
5497 Action Creates new empty LyX window.
5499 \begin_layout Description
5500 Notion Already opened documents from the previous window can be found under View menu.
5502 \begin_layout Description
5503 Syntax window-new [<GEOMETRY>]
5505 \begin_layout Description
5506 Params <GEOMETRY>: pass the geometry of the window. This parameter is currently accepted only on Windows platform.
5508 \begin_layout Description
5509 Origin Abdel, 21 Oct 2006
5512 \begin_layout Subsection*
5515 \begin_layout Description
5516 Action Moves the cursor to the logically previous beginning of a word.
5518 \begin_layout Description
5519 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.
5521 \begin_layout Description
5522 Syntax word-backward
5525 \begin_layout Subsection*
5526 LFUN_WORD_BACKWARD_SELECT
5528 \begin_layout Description
5529 Action Moves the cursor to the logically previous beginning of a word, adding the logically traversed text to the selection.
5531 \begin_layout Description
5532 Notion See also LFUN_WORD_BACKWARD.
5534 \begin_layout Description
5535 Syntax word-backward-select
5538 \begin_layout Subsection*
5539 LFUN_WORD_CAPITALIZE
5541 \begin_layout Description
5542 Action Capitalizes the words in the selection (i.e. the first letters) or the letter on the cursor position.
5544 \begin_layout Description
5545 Syntax word-capitalize
5548 \begin_layout Subsection*
5549 LFUN_WORD_DELETE_BACKWARD
5551 \begin_layout Description
5552 Action Deletes characters to the beginning of the word (usually the "C+BackSpace" key).
5554 \begin_layout Description
5555 Syntax word-delete-backward
5558 \begin_layout Subsection*
5559 LFUN_WORD_DELETE_FORWARD
5561 \begin_layout Description
5562 Action Deletes characters to the end of the word (usually the "C+Delete" key).
5564 \begin_layout Description
5565 Syntax word-delete-forward
5568 \begin_layout Subsection*
5571 \begin_layout Description
5572 Action Search for next occurrence of a string.
5574 \begin_layout Description
5575 Syntax word-find [<DATA>]
5577 \begin_layout Description
5578 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).
5580 \begin_layout Description
5581 Origin Andre, Jan 7 2004
5584 \begin_layout Subsection*
5587 \begin_layout Description
5588 Action Search for next occurrence of a pattern.
5590 \begin_layout Description
5591 Syntax word-findadv [<DATA>]
5593 \begin_layout Description
5594 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).
5596 \begin_layout Description
5597 Origin Tommaso, Nov 15 2007
5600 \begin_layout Subsection*
5601 LFUN_WORD_FIND_BACKWARD
5603 \begin_layout Description
5604 Action Search for a given string in backward direction.
5606 \begin_layout Description
5607 Notion Case sensitive, match words. If no argument given, last search repeated.
5609 \begin_layout Description
5610 Syntax word-find-backward [<STRING>]
5612 \begin_layout Description
5613 Origin Etienne, 20 Feb 1998
5616 \begin_layout Subsection*
5617 LFUN_WORD_FIND_FORWARD
5619 \begin_layout Description
5620 Action Search for a given string in forward direction.
5622 \begin_layout Description
5623 Notion Case sensitive, match words. If no argument given, last search repeated.
5625 \begin_layout Description
5626 Syntax word-find-forward [<STRING>]
5628 \begin_layout Description
5629 Origin Etienne, 16 Feb 1998
5632 \begin_layout Subsection*
5635 \begin_layout Description
5636 Action Moves the cursor to the logically next beginning of a word.
5638 \begin_layout Description
5639 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.
5641 \begin_layout Description
5645 \begin_layout Subsection*
5646 LFUN_WORD_FORWARD_SELECT
5648 \begin_layout Description
5649 Action Moves the cursor to the logically next beginning of a word, adding the logically traversed text to the selection.
5651 \begin_layout Description
5652 Notion See also LFUN_WORD_FORWARD.
5654 \begin_layout Description
5655 Syntax word-forward-select
5658 \begin_layout Subsection*
5661 \begin_layout Description
5662 Action Moves the cursor to the next beginning of a word "on the left".
5664 \begin_layout Description
5665 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.
5667 \begin_layout Description
5670 \begin_layout Description
5671 Origin dov, 28 Oct 2007
5674 \begin_layout Subsection*
5675 LFUN_WORD_LEFT_SELECT
5677 \begin_layout Description
5678 Action Moves the cursor to the next beginning of a word "on the left", adding *logically* traversed text to the selection.
5680 \begin_layout Description
5681 Notion See also LFUN_WORD_LEFT for exact details of the movement.
5683 \begin_layout Description
5684 Syntax word-left-select
5686 \begin_layout Description
5687 Origin dov, 28 Oct 2007
5690 \begin_layout Subsection*
5693 \begin_layout Description
5694 Action Change the words in the selection or from the cursor position to the end of word to the lower case.
5696 \begin_layout Description
5700 \begin_layout Subsection*
5703 \begin_layout Description
5704 Action Replace a string in the document.
5706 \begin_layout Description
5707 Syntax word-replace [<DATA>]
5709 \begin_layout Description
5710 Params <DATA>: data is of the form "<replace>
5711 \begin_inset Newline newline
5715 \begin_inset Newline newline
5718 <casesensitive> <matchword> <all> <forward> <findnext>"
5720 \begin_layout Description
5721 Origin Andre, Jan 7 2004
5724 \begin_layout Subsection*
5727 \begin_layout Description
5728 Action Moves the cursor to the next beginning of a word "on the right".
5730 \begin_layout Description
5731 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.
5733 \begin_layout Description
5736 \begin_layout Description
5737 Origin dov, 28 Oct 2007
5740 \begin_layout Subsection*
5741 LFUN_WORD_RIGHT_SELECT
5743 \begin_layout Description
5744 Action Moves the cursor to the next beginning of a word "on the right", adding *logically* traversed text to the selection.
5746 \begin_layout Description
5747 Notion See also LFUN_WORD_RIGHT for exact details of the movement.
5749 \begin_layout Description
5750 Syntax word-right-select
5752 \begin_layout Description
5753 Origin dov, 28 Oct 2007
5756 \begin_layout Subsection*
5759 \begin_layout Description
5760 Action Puts the word where the cursor stands into the selection.
5762 \begin_layout Description
5765 \begin_layout Description
5766 Origin Andre, 11 Sep 2002
5769 \begin_layout Subsection*
5772 \begin_layout Description
5773 Action Change the words in the selection or from the cursor position to the end of word to the upper case.
5775 \begin_layout Description
5779 \begin_layout Subsection*
5782 \begin_layout Description
5783 Action Inserts floats wrapped by the text around.
5785 \begin_layout Description
5786 Syntax wrap-insert <TYPE>
5788 \begin_layout Description
5789 Params <TYPE>: table|figure
5791 \begin_layout Description
5792 Origin Dekel, 7 Apr 2002