The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 4818b3e68a15f76e7d5b4b63d5dd552837abaa36
Author: Juergen Spitzmueller <[email protected]>
Date:   Fri Dec 21 16:42:55 2012 +0100

    Add (overlay-aware) beamer bold inset

diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout
index 30d79e2..7016137 100644
--- a/lib/layouts/beamer.layout
+++ b/lib/layouts/beamer.layout
@@ -1325,9 +1325,27 @@ End
 # CHARSTYLES
 #
 
+
+InsetLayout Flex:Bold
+  LyXType          charstyle
+  LabelString      Bold
+  LatexType        command
+  LatexName        textbf
+  Font
+    Series         bold
+  EndFont
+  Argument 1
+    LabelString    "Action"
+    MenuString     "Action Specifications|S"
+    Tooltip        "Specify the overlay settings (see beamer manual)"
+    LeftDelim      <
+    RightDelim     >
+  EndArgument
+End
+
 InsetLayout Flex:Emphasize
   LyXType          charstyle
-  LabelString      Emphasize
+  LabelString      Emph.
   LatexType        command
   LatexName        emph
   Font
@@ -1373,7 +1391,6 @@ InsetLayout Flex:Structure
     Tooltip        "Specify the overlay settings (see beamer manual)"
     LeftDelim      <
     RightDelim     >
-    AutoInsert     1
   EndArgument
 End
 
@@ -1445,6 +1462,7 @@ InsetLayout Flex:Invisible
     Tooltip        "Specify the overlay settings (see beamer manual)"
     LeftDelim      <
     RightDelim     >
+    AutoInsert     1
   EndArgument
 End
 
diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py
index 2e3ba47..db7e391 100644
--- a/lib/lyx2lyx/lyx_2_1.py
+++ b/lib/lyx2lyx/lyx_2_1.py
@@ -2483,9 +2483,10 @@ def revert_beamerflex(document):
     if document.textclass not in beamer_classes:
         return
 
-    new_flexes = {"Emphasize" : "\\emph", "Only" : "\\only", "Uncover" : 
"\\uncover",
-                  "Visible" : "\\visible", "Invisible" : "\\invisible",
-                  "Alternative" : "\\alt", "Beamer_Note" : "\\note"}
+    new_flexes = {"Bold" : "\\textbf", "Emphasize" : "\\emph", "Only" : 
"\\only",
+                  "Uncover" : "\\uncover", "Visible" : "\\visible",
+                  "Invisible" : "\\invisible", "Alternative" : "\\alt",
+                  "Beamer_Note" : "\\note"}
     old_flexes = {"Alert" : "\\alert", "Structure" : "\\structure"}
     rx = re.compile(r'^\\begin_inset Flex (.+)$')
 

-----------------------------------------------------------------------

Summary of changes:
 lib/layouts/beamer.layout |   22 ++++++++++++++++++++--
 lib/lyx2lyx/lyx_2_1.py    |    7 ++++---
 2 files changed, 24 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to