From: Juergen Spitzmueller Date: Tue, 25 Jul 2023 11:40:23 +0000 (+0200) Subject: Implement new tags in some layouts X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7f4f9a99f06a44f210dbfa8e354d94df45969774;p=features.git Implement new tags in some layouts --- diff --git a/lib/layouts/aa.layout b/lib/layouts/aa.layout index 8b23cb5eb0..563c3faac1 100644 --- a/lib/layouts/aa.layout +++ b/lib/layouts/aa.layout @@ -18,7 +18,7 @@ # 2013-05-26 Updated for aa.cls version 8.2 -Format 101 +Format 102 Columns 2 Sides 2 SecNumDepth 3 @@ -289,6 +289,9 @@ InsetLayout "Flex:institutemark" Size Small EndFont MultiPar true + AllowedInLayouts + Author + EndAllowedInLayouts End @@ -402,7 +405,10 @@ InsetLayout Flex:Institute Font Color textlabel1 EndFont - ResetsFont true + ResetsFont true + AllowedInLayouts + Author + EndAllowedInLayouts End @@ -414,7 +420,10 @@ InsetLayout Flex:E-Mail Family Typewriter Color textlabel1 EndFont - ResetsFont true + ResetsFont true + AllowedInLayouts + Address + EndAllowedInLayouts End @@ -438,5 +447,8 @@ InsetLayout "Flex:Email" Size Small EndFont MultiPar true + AllowedInLayouts + Address + EndAllowedInLayouts End diff --git a/lib/layouts/acmart.layout b/lib/layouts/acmart.layout index 25d87e92ae..547fdf9df0 100644 --- a/lib/layouts/acmart.layout +++ b/lib/layouts/acmart.layout @@ -9,7 +9,7 @@ # Reviewed following tickets #10722 & #10723 # by Jean-Pierre Chrétien -Format 101 +Format 102 Provides amscls 1 Provides amsmath 1 @@ -247,6 +247,9 @@ InsetLayout Flex:Department LatexName department LatexType command Spellcheck 0 + AllowedInLayouts + Affiliation + EndAllowedInLayouts End InsetLayout Flex:Street_Address @@ -255,6 +258,9 @@ InsetLayout Flex:Street_Address LatexName streetaddress LatexType command Spellcheck 0 + AllowedInLayouts + Affiliation + EndAllowedInLayouts End InsetLayout Flex:City @@ -263,6 +269,9 @@ InsetLayout Flex:City LatexName city LatexType command Spellcheck 0 + AllowedInLayouts + Affiliation + EndAllowedInLayouts End InsetLayout Flex:Country @@ -271,6 +280,9 @@ InsetLayout Flex:Country LatexName country LatexType command Spellcheck 0 + AllowedInLayouts + Affiliation + EndAllowedInLayouts End InsetLayout Flex:State @@ -279,6 +291,9 @@ InsetLayout Flex:State LatexName state LatexType command Spellcheck 0 + AllowedInLayouts + Affiliation + EndAllowedInLayouts End InsetLayout Flex:Postal_Code @@ -287,6 +302,9 @@ InsetLayout Flex:Postal_Code LatexName postcode LatexType command Spellcheck 0 + AllowedInLayouts + Affiliation + EndAllowedInLayouts End Style TitleNote diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module index 63fd832f14..eafea96595 100644 --- a/lib/layouts/linguistics.module +++ b/lib/layouts/linguistics.module @@ -8,7 +8,7 @@ # Author: Jürgen Spitzmüller -Format 101 +Format 102 # # Counters @@ -154,12 +154,18 @@ InsetLayout Flex:Example_Preamble LatexName expreamble LabelString "Ex. Preamble" ResetsFont true + AllowedInLayouts + Numbered_Example_(multiline), Numbered_Examples_(consecutive) + EndAllowedInLayouts End InsetLayout Flex:Subexample_Preamble CopyStyle Flex:Example_Preamble LatexName subexpreamble LabelString "Subex. Preamble" + AllowedInLayouts + Subexample + EndAllowedInLayouts End @@ -173,6 +179,9 @@ InsetLayout Flex:Subexample_Postamble CopyStyle Flex:Example_Preamble LatexName subexpostamble LabelString "Subex. Postamble" + AllowedInLayouts + Subexample + EndAllowedInLayouts End @@ -313,6 +322,11 @@ InsetLayout Flex:GroupGlossedWords LeftDelim { RightDelim } ResetsFont true + AllowedInInsets + Flex:Interlinear_Gloss_(2_Lines), Flex:Interlinear_Gloss_(2_Lines)@post:2, + Flex:Interlinear_Gloss_(3_Lines), Flex:Interlinear_Gloss_(3_Lines)@post:2, + Flex:Interlinear_Gloss_(3_Lines)@post:4 + EndAllowedInInsets End