The branch, master, has been updated.

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

commit f3c407e7b9f57ee913fef68fb6d4229f0c5ec2e8
Author: Uwe Stöhr <[email protected]>
Date:   Sat Feb 9 02:50:54 2013 +0100

    elsarticle.layout: force plain layout for some flex insets
    
    - This prevents LaTeX errors because some commands don't allow to include 
commands.
    - also simplified some code

diff --git a/lib/layouts/elsarticle.layout b/lib/layouts/elsarticle.layout
index 812f210..45774d7 100644
--- a/lib/layouts/elsarticle.layout
+++ b/lib/layouts/elsarticle.layout
@@ -103,6 +103,7 @@ End
 InsetLayout "Flex:Titlenotemark"
        LyxType         custom
        LatexType       command
+       ForcePlain      1
        LatexName       tnoteref
        LabelString     "Titlenote mark"
        Font
@@ -171,6 +172,7 @@ End
 InsetLayout "Flex:Authormark"
        LyxType         custom
        LatexType       command
+       ForcePlain      1
        LatexName       fnref
        LabelString     "Author mark"
        Font
@@ -202,23 +204,11 @@ End
 
 
 InsetLayout "Flex:CorAuthormark"
-       LyxType         custom
-       LatexType       command
+       CopyStyle       "Flex:Authormark"
        LatexName       corref
        LabelString     "CorAuthor mark"
-       Font
-         Color         foreground
-         Size          Small
-         Family        Roman
-         Shape         Up
-         Series        Medium
-         Misc          No_Emph
-         Misc          No_Noun
-         Misc          No_Bar
-       EndFont
        LabelFont
          Color         blue
-         Size          Small
        EndFont
 End
 

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

Summary of changes:
 lib/layouts/elsarticle.layout |   16 +++-------------
 1 files changed, 3 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to