]> git.lyx.org Git - lyx.git/commitdiff
Update LFUNs.lyx to current format
authorGeorg Baum <baum@lyx.org>
Wed, 11 Nov 2015 20:48:20 +0000 (21:48 +0100)
committerGeorg Baum <baum@lyx.org>
Wed, 11 Nov 2015 20:48:20 +0000 (21:48 +0100)
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.

development/tools/gen_lfuns.py
lib/doc/LFUNs.lyx

index f4dfb43b8061b1e9b145122618269d2c4f5962a0..d087b93944f592985e9757a960ff944147666c5f 100755 (executable)
@@ -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
index 36ab9017558df57f30b272844f900423716b6ce2..d1b95c07031d82074184de396ca519b359daed2b 100644 (file)
@@ -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