commit 7dafabce55d8ff9b4b6c7f7b8fb6abc3f0ab1c2b Author: Juergen Spitzmueller <sp...@lyx.org> Date: Fri Aug 22 08:22:39 2025 +0200
Sync linguistic examples with equations These share the same counter by default (which has not been reflected in the workarea yet) --- lib/layouts/linguistics.module | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module index 782d76ecca..3757efddd0 100644 --- a/lib/layouts/linguistics.module +++ b/lib/layouts/linguistics.module @@ -17,15 +17,16 @@ Format 110 Counter examplei GuiName "Numbered Example (Multiline)" Within chapter - LabelString "(\arabic{examplei})" - PrettyFormat "(\arabic{examplei})" + LabelString "(\arabic{equation})" + PrettyFormat "(\arabic{equation})" + StepOtherCounter equation End Counter subexamplei GuiName Subexample Within examplei - LabelString "\theexamplei (\alph{subexamplei})" - PrettyFormat "\theexamplei (\alph{subexamplei})" + LabelString "(\arabic{equation}) (\alph{subexamplei})" + PrettyFormat "(\arabic{equation}) (\alph{subexamplei})" End # -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs