]> git.lyx.org Git - lyx.git/commitdiff
Forgot these
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 20 Jul 2023 14:26:17 +0000 (16:26 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 20 Jul 2023 14:26:17 +0000 (16:26 +0200)
development/FORMAT
lib/layouts/linguistics.module
lib/lyx2lyx/lyx_2_4.py

index 2b0d293f20c5e53da5c83aa52caf41b9b46fe32e..56cd4369f5999a838d9a9823f698f45c85194357 100644 (file)
@@ -14,7 +14,7 @@ changes happened in particular if possible. A good example would be
          argument structure)
        - Support new optional arguments of \digloss and \trigloss (this shifts argument
          structure)
-       - Support \expreamble and \subexpreamble macros
+       - Support \expreamble, \subexpreamble \expostamble, \subexpostamble  macros
 
 2023-06-11 Enrico Forestieri <forenr@lyx.org>
        * Format incremented to 616: Do not output LaTeX for a macro if the LaTeX part is empty
index 4c0425566263c635abd87131ba61322032f1f8ed..a5379da45e830ce31c156e130085d958795b09c3 100644 (file)
@@ -163,6 +163,19 @@ InsetLayout Flex:Subexample_Preamble
 End
 
 
+InsetLayout Flex:Example_Postamble
+       CopyStyle             Flex:Example_Preamble
+       LatexName             expostamble
+       LabelString           "Ex. Postamble"
+End
+
+InsetLayout Flex:Subexample_Postamble
+       CopyStyle             Flex:Example_Preamble
+       LatexName             subexpostamble
+       LabelString           "Subex. Postamble"
+End
+
+
 #
 # Interlinear Glosses
 #
index dd092e9778864fcaab6bfe5f6adc156651160301..33bf92c5c9f50f4c86814aaaca2c32fbb4dfee44 100644 (file)
@@ -5520,6 +5520,8 @@ def revert_expreambles(document):
 
     revert_flex_inset(document.body, "Example Preamble", "\\expreamble")
     revert_flex_inset(document.body, "Subexample Preamble", "\\subexpreamble")
+    revert_flex_inset(document.body, "Example Postamble", "\\expostamble")
+    revert_flex_inset(document.body, "Subexample Postamble", "\\subexpostamble")
 
 
 ##