[LyX/master] Integrate theorem definition in layout

Scott Kostyshak skostysh at lyx.org
Sat May 3 19:24:54 UTC 2025


On Fri, Apr 25, 2025 at 02:28:38PM +0000, Juergen Spitzmueller wrote:
> commit 7d5952201dfdcc464bf86a5b2d8a4f189e11bdf6
> Author: Juergen Spitzmueller <spitz at lyx.org>
> Date:   Fri Apr 25 16:23:50 2025 +0200
> 
>     Integrate theorem definition in layout
>     
>     Rather than using verbatim \newtheorem definitions in the Preamble
>     tag, introduce dedicated layout tags from which the definition
>     will be set up.
>     
>     This prevents redundant code, but more importantly, it is required
>     for support of theorems via cleveref and zref-clever. They support
>     many theorems by default, but not the way we used them (see #13176).
>     
>     Some support is implemented with this commit, some still needs to be
>     done.
>     
>     Layout format change.

Starting with this commit, the following ctest fails:

  BATCH_AMS-import

I don't know much about these BATCH tests, but from what I understand,
it has to do with the file development/batchtests/ams-import.tex. If you
import that file before this commit and view as PDF, and then do the
same with this commit, the PDFs look different.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250503/930e3e09/attachment.sig>


More information about the lyx-devel mailing list