]> git.lyx.org Git - features.git/commitdiff
Implement new tags in some layouts
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 25 Jul 2023 11:40:23 +0000 (13:40 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 25 Jul 2023 11:40:23 +0000 (13:40 +0200)
lib/layouts/aa.layout
lib/layouts/acmart.layout
lib/layouts/linguistics.module

index 8b23cb5eb0aa0bd1229a98799927cdeef03b09dc..563c3faac163eb0784e7ab89c5e2028d6e5cb94e 100644 (file)
@@ -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
 
index 25d87e92ae70dda5d379f540df1fc20db80be6d2..547fdf9df075c4da8d8512143fa2066d54ada122 100644 (file)
@@ -9,7 +9,7 @@
 # Reviewed following tickets #10722 & #10723
 #          by Jean-Pierre Chrétien <jpc@lyx.org>
 
-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
index 63fd832f144474ed8089818b468059dca589c376..eafea9659500d8ed2293b6b81aebd40e39018f67 100644 (file)
@@ -8,7 +8,7 @@
 
 # Author: Jürgen Spitzmüller <spitz@lyx.org>
 
-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