Debian Codegraph @

texmf-dist/tex/generic/tex4ht/theorem.4ht

raw
1 % xy.4ht (2026-01-18-07:06), generated from tex4ht-4ht.tex
2 % Copyright 2003-2009 Eitan M. Gurari
3 % Copyright 2009-2026 TeX Users Group
4 %
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3c of this license or (at your option) any
8 % later version. The latest version of this license is in
9 % https://www.latex-project.org/lppl.txt
10 % and version 1.3c or later is part of all distributions
11 % of LaTeX version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status "maintained".
14 %
15 % The Current Maintainer of this work
16 % is the TeX4ht Project <https://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.
20 \immediate\write-1{version 2026-01-18-07:06}
21
22 \let\theo:@thm=\@thm
23 \def\@thm#1#2{%
24 % this code leads to missing closing tags for the theorem, so I am removing it
25 % \expandafter\ifx \csname end#1\endcsname\@endtheorem \else
26 %\expandafter\let \csname end#1\endcsname\@endtheorem
27 % \fi
28 \aftergroup\c:newtheorem%
29 \theo:@thm{#1}{#2}%
30 }
31
32 \Hinput{theorem}
33 \endinput
34