From: Georg Baum Date: Wed, 11 Nov 2015 20:48:20 +0000 (+0100) Subject: Update LFUNs.lyx to current format X-Git-Tag: 2.2.0alpha1~25 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=392f63fa0f2d0e8aecb012a0ca15283613bed82d;p=lyx.git Update LFUNs.lyx to current format gen_lfuns.py does now produce the current file format, and and LFUNs.lyx was re-created with the updated script. There is one difference if you compare this version of LFUNs.lyx with the old version updated by lyx2lyx: All occurences of LyX, TeX etc. in the lfun descriptions are no longer output as logos. I do consider this as a feature, since the old version did also output the TeX part of BibTeX as a logo, as well as places where the names were part of some syntax, e.g. lyx::LyXRC::LyXRCTags. --- diff --git a/development/tools/gen_lfuns.py b/development/tools/gen_lfuns.py index f4dfb43b80..d087b93944 100755 --- a/development/tools/gen_lfuns.py +++ b/development/tools/gen_lfuns.py @@ -43,9 +43,10 @@ ID_DICT = dict(name=LFUN_NAME_ID, action=LFUN_ACTION_ID, notion=LFUN_NOTION_ID, syntax=LFUN_SYNTAX_ID, params=LFUN_PARAMS_ID, sample=LFUN_SAMPLE_ID, origin=LFUN_ORIGIN_ID) LFUNS_HEADER = """# gen_lfuns.py generated this file. For more info see http://www.lyx.org/ -\\lyxformat 474 +\\lyxformat 501 \\begin_document \\begin_header +\\origin /systemlyxdir/doc/ \\textclass article \\begin_preamble \\renewcommand{\\descriptionlabel}[1]{\\hspace\\labelsep\\upshape\\bfseries #1:} @@ -69,16 +70,16 @@ End \\language_package default \\inputencoding auto \\fontencoding global -\\font_roman default -\\font_sans default -\\font_typewriter default -\\font_math auto +\\font_roman "default" "default" +\\font_sans "default" "default" +\\font_typewriter "default" "default" +\\font_math "auto" "auto" \\font_default_family default \\use_non_tex_fonts false \\font_sc false \\font_osf false -\\font_sf_scale 100 -\\font_tt_scale 100 +\\font_sf_scale 100 100 +\\font_tt_scale 100 100 \\graphics default \\default_output_format default \\output_sync 0 @@ -134,11 +135,13 @@ End \\begin_body \\begin_layout Title -LyX Functions (LFUNs) +\\SpecialChar LyX + Functions (LFUNs) \\end_layout \\begin_layout Author -The LyX Team +The \\SpecialChar LyX + Team \\end_layout \\begin_layout Date""" + "\n" + str(date.today()) + """ @@ -160,15 +163,17 @@ LyX Functions \\end_inset (abbreviated LFUNs). - These are commands that are used to make LyX perform specific actions. - LyX itself uses these functions internally, and every internal action is + These are commands that are used to make \\SpecialChar LyX + perform specific actions. + \\SpecialChar LyX + itself uses these functions internally, and every internal action is bound to an LFUN. \\end_layout \\begin_layout Standard LFUNs are also used in the files that define keyboard shortcuts, menu or toolbar items. - So if you want to change\\SpecialChar \\slash{} + So if you want to change\\SpecialChar breakableslash customize the user interface, you need to deal with LFUNs. Furthermore, external programs can use LFUNs to communicate with and @@ -179,7 +184,8 @@ remote-control \\begin_inset Quotes erd \\end_inset - LyX. + \\SpecialChar LyX + . Finally, you can also issue LFUNs directly via the so called mini-buffer which can be opened via \\begin_inset Info diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx index 36ab901755..d1b95c0703 100644 --- a/lib/doc/LFUNs.lyx +++ b/lib/doc/LFUNs.lyx @@ -1,7 +1,8 @@ # gen_lfuns.py generated this file. For more info see http://www.lyx.org/ -\lyxformat 474 +\lyxformat 501 \begin_document \begin_header +\origin /systemlyxdir/doc/ \textclass article \begin_preamble \renewcommand{\descriptionlabel}[1]{\hspace\labelsep\upshape\bfseries #1:} @@ -25,16 +26,16 @@ End \language_package default \inputencoding auto \fontencoding global -\font_roman default -\font_sans default -\font_typewriter default -\font_math auto +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false -\font_sf_scale 100 -\font_tt_scale 100 +\font_sf_scale 100 100 +\font_tt_scale 100 100 \graphics default \default_output_format default \output_sync 0 @@ -90,15 +91,17 @@ End \begin_body \begin_layout Title -LyX Functions (LFUNs) +\SpecialChar LyX + Functions (LFUNs) \end_layout \begin_layout Author -The LyX Team +The \SpecialChar LyX + Team \end_layout \begin_layout Date -2015-05-28 +2015-11-11 \end_layout \begin_layout Section* @@ -115,15 +118,17 @@ LyX Functions \end_inset (abbreviated LFUNs). - These are commands that are used to make LyX perform specific actions. - LyX itself uses these functions internally, and every internal action is + These are commands that are used to make \SpecialChar LyX + perform specific actions. + \SpecialChar LyX + itself uses these functions internally, and every internal action is bound to an LFUN. \end_layout \begin_layout Standard LFUNs are also used in the files that define keyboard shortcuts, menu or toolbar items. - So if you want to change\SpecialChar \slash{} + So if you want to change\SpecialChar breakableslash customize the user interface, you need to deal with LFUNs. Furthermore, external programs can use LFUNs to communicate with and @@ -134,7 +139,8 @@ remote-control \begin_inset Quotes erd \end_inset - LyX. + \SpecialChar LyX + . Finally, you can also issue LFUNs directly via the so called mini-buffer which can be opened via \begin_inset Info @@ -641,6 +647,16 @@ Action Adds an ogonek accent to the next character typed. Syntax accent-ogonek \end_layout +\begin_layout Subsection* +accent-perispomeni +\end_layout +\begin_layout Description +Action Adds a perispomeni (Greek circumflex) over the next character typed. +\end_layout +\begin_layout Description +Syntax accent-perispomeni +\end_layout + \begin_layout Subsection* accent-tie \end_layout