commit a91d1ebe820fe7ace78ec83ae159b6597e6be96c Author: Juergen Spitzmueller <sp...@lyx.org> Date: Thu Jul 20 16:26:17 2023 +0200
Forgot these --- development/FORMAT | 2 +- lib/layouts/linguistics.module | 13 +++++++++++++ lib/lyx2lyx/lyx_2_4.py | 2 ++ 3 files changed, 16 insertions(+), 1 deletions(-) diff --git a/development/FORMAT b/development/FORMAT index 2b0d293..56cd436 100644 --- a/development/FORMAT +++ b/development/FORMAT @@ -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 <for...@lyx.org> * Format incremented to 616: Do not output LaTeX for a macro if the LaTeX part is empty diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module index 4c04255..a5379da 100644 --- a/lib/layouts/linguistics.module +++ b/lib/layouts/linguistics.module @@ -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 # diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py index dd092e9..33bf92c 100644 --- a/lib/lyx2lyx/lyx_2_4.py +++ b/lib/lyx2lyx/lyx_2_4.py @@ -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") ## -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs