From: Uwe Stöhr Date: Sat, 9 Feb 2013 01:50:54 +0000 (+0100) Subject: elsarticle.layout: force plain layout for some flex insets X-Git-Tag: 2.1.0beta1~773 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f3c407e7b9f57ee913fef68fb6d4229f0c5ec2e8;p=features.git 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 812f210afc..45774d72d6 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