commit 0b6390c8c8195f94f66891f6922a53fcd878f6a9
Author: Juergen Spitzmueller <[email protected]>
Date: Sat Aug 22 18:44:38 2026 +0200
Fix starred theorem caption building (#13356)
---
lib/layouts/theorems-starred.inc | 13 +++++++++++++
status.25x | 2 ++
2 files changed, 15 insertions(+)
diff --git a/lib/layouts/theorems-starred.inc b/lib/layouts/theorems-starred.inc
index 3c40f0c588..ab9e748628 100644
--- a/lib/layouts/theorems-starred.inc
+++ b/lib/layouts/theorems-starred.inc
@@ -62,6 +62,7 @@ Style Theorem*
TheoremName thm*
TheoremCounter none
TheoremLaTeXName theoremname
+ TheoremCrossRefName Theorem
BabelPreamble
\addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
EndBabelPreamble
@@ -81,6 +82,7 @@ Style Corollary*
TheoremName cor*
TheoremCounter none
TheoremLaTeXName corollaryname
+ TheoremCrossRefName Corollary
BabelPreamble
\addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
EndBabelPreamble
@@ -99,6 +101,7 @@ Style Lemma*
TheoremName lem*
TheoremCounter none
TheoremLaTeXName lemmaname
+ TheoremCrossRefName Lemma
BabelPreamble
\addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
EndBabelPreamble
@@ -117,6 +120,7 @@ Style Proposition*
TheoremName prop*
TheoremCounter none
TheoremLaTeXName propositionname
+ TheoremCrossRefName Proposition
BabelPreamble
\addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
EndBabelPreamble
@@ -135,6 +139,7 @@ Style Conjecture*
TheoremName conjecture*
TheoremCounter none
TheoremLaTeXName conjecturename
+ TheoremCrossRefName Conjecture
BabelPreamble
\addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
EndBabelPreamble
@@ -153,6 +158,7 @@ Style Fact*
TheoremName fact*
TheoremCounter none
TheoremLaTeXName factname
+ TheoremCrossRefName Fact
BabelPreamble
\addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
EndBabelPreamble
@@ -180,6 +186,7 @@ Style Definition*
TheoremStyle definition
TheoremCounter none
TheoremLaTeXName definitionname
+ TheoremCrossRefName Definition
BabelPreamble
\addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
EndBabelPreamble
@@ -199,6 +206,7 @@ Style Example*
TheoremStyle definition
TheoremCounter none
TheoremLaTeXName examplename
+ TheoremCrossRefName Example
BabelPreamble
\addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
EndBabelPreamble
@@ -216,6 +224,7 @@ Style Problem*
TheoremStyle definition
TheoremCounter none
TheoremLaTeXName problemname
+ TheoremCrossRefName Problem
BabelPreamble
\addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
EndBabelPreamble
@@ -235,6 +244,7 @@ Style Exercise*
TheoremStyle definition
TheoremCounter none
TheoremLaTeXName exercisename
+ TheoremCrossRefName Exercise
BabelPreamble
\addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
EndBabelPreamble
@@ -254,6 +264,7 @@ Style Solution*
TheoremStyle definition
TheoremCounter none
TheoremLaTeXName solutionname
+ TheoremCrossRefName Solution
BabelPreamble
\addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
EndBabelPreamble
@@ -281,6 +292,7 @@ Style Remark*
TheoremStyle remark
TheoremCounter none
TheoremLaTeXName remarkname
+ TheoremCrossRefName Remark
BabelPreamble
\addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
EndBabelPreamble
@@ -300,6 +312,7 @@ Style Claim*
TheoremStyle remark
TheoremCounter none
TheoremLaTeXName claimname
+ TheoremCrossRefName Claim
BabelPreamble
\addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
EndBabelPreamble
diff --git a/status.25x b/status.25x
index 184ba9a63c..2a620aeaa4 100644
--- a/status.25x
+++ b/status.25x
@@ -48,6 +48,8 @@ What's new
* DOCUMENT INPUT/OUTPUT
+- Fix captions of starred theorems (bug 13356).
+
* USER INTERFACE
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs