[LyX/2.5.x] Construct theorem name definitions from the layout info

Juergen Spitzmueller <[email protected]> Sat, 02 May 2026 16:31:20 +0000
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit 29804cd6fba98b9d573a3ac324ece90f6173063d
Author: Juergen Spitzmueller <[email protected]>
Date:   Sat May 2 14:39:46 2026 +0200

    Construct theorem name definitions from the layout info
    
    No need for manual LangPreamble code.
    
    This now also is output before those macros are used (#13307)
    
    (cherry picked from commit 448ce641f8498fc20e5a91d9a08a68ef13e7ba5d)

 lib/layouts/theorems-ams-bytype.inc                | 39 --------------
 lib/layouts/theorems-ams-chap-bytype.inc           | 39 --------------
 lib/layouts/theorems-ams-extended-bytype.module    | 60 ----------------------
 .../theorems-ams-extended-chap-bytype.module       | 60 ----------------------
 lib/layouts/theorems-ams-extended.module           | 60 ----------------------
 lib/layouts/theorems-ams.inc                       | 39 --------------
 lib/layouts/theorems-bytype.inc                    | 39 --------------
 lib/layouts/theorems-named.module                  |  6 +--
 lib/layouts/theorems-starred.inc                   | 39 --------------
 lib/layouts/theorems.inc                           | 39 --------------
 src/LaTeXFeatures.cpp                              |  8 +++
 src/LaTeXFeatures.h                                |  1 +
 status.25x                                         |  2 +
 13 files changed, 14 insertions(+), 417 deletions(-)
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs