[LyX/master] Move definition

Juergen Spitzmueller spitz at lyx.org
Tue Feb 24 07:15:40 UTC 2026


commit 1f9bacc61ffdc6d7c4618d3b9c4f271dd704a5c3
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Tue Feb 24 08:15:08 2026 +0100

    Move definition
    
    Abstract is defunct in book. Addresses make check warning
---
 lib/layouts/jlreq-article.layout | 16 ++++++++++++++++
 lib/layouts/jlreq-common.inc     | 16 ----------------
 lib/layouts/jlreq-report.layout  | 16 ++++++++++++++++
 3 files changed, 32 insertions(+), 16 deletions(-)

diff --git a/lib/layouts/jlreq-article.layout b/lib/layouts/jlreq-article.layout
index 2e6d9ba891..49b2b3f566 100644
--- a/lib/layouts/jlreq-article.layout
+++ b/lib/layouts/jlreq-article.layout
@@ -17,5 +17,21 @@ Input article.layout
 # Input common settings for jlreq layouts
 Input jlreq-common.inc
 
+Style Abstract_over_Columns
+	CopyStyle            Abstract
+	InTitle              1
+	LabelString          "Abstract"
+	Category             FrontMatter
+	LatexType            Command
+	LatexName            jlreqabstract
+	Preamble
+		\newcommand{\jlreqabstract}[1]{%
+		\begin{abstract}%
+		#1%
+		\end{abstract}%
+		}
+	EndPreamble
+End
+
 NoStyle Chapter
 NoStyle Chapter*
diff --git a/lib/layouts/jlreq-common.inc b/lib/layouts/jlreq-common.inc
index 6f54ea9ecf..047157e0c8 100644
--- a/lib/layouts/jlreq-common.inc
+++ b/lib/layouts/jlreq-common.inc
@@ -92,22 +92,6 @@ Style Subsubsection*
 	EndArgument
 End
 
-Style Abstract_over_Columns
-	CopyStyle            Abstract
-	InTitle              1
-	LabelString          "Abstract"
-	Category             FrontMatter
-	LatexType            Command
-	LatexName            jlreqabstract
-	Preamble
-		\newcommand{\jlreqabstract}[1]{%
-		\begin{abstract}%
-		#1%
-		\end{abstract}%
-		}
-	EndPreamble
-End
-
 Style JLReq_Setup
 	InPreamble           1
 	LatexType            Command
diff --git a/lib/layouts/jlreq-report.layout b/lib/layouts/jlreq-report.layout
index c287feb00a..ad53d8a6aa 100644
--- a/lib/layouts/jlreq-report.layout
+++ b/lib/layouts/jlreq-report.layout
@@ -17,6 +17,22 @@ Input report.layout
 # Input common settings for jlreq layouts
 Input jlreq-common.inc
 
+Style Abstract_over_Columns
+	CopyStyle            Abstract
+	InTitle              1
+	LabelString          "Abstract"
+	Category             FrontMatter
+	LatexType            Command
+	LatexName            jlreqabstract
+	Preamble
+		\newcommand{\jlreqabstract}[1]{%
+		\begin{abstract}%
+		#1%
+		\end{abstract}%
+		}
+	EndPreamble
+End
+
 ClassOptions
 	Other	report
 End


More information about the lyx-cvs mailing list