testfiles: done

This commit is contained in:
Maximilian Keßler 2022-02-03 15:04:57 +01:00
parent f80bd84852
commit 3c2e68f574
4 changed files with 178 additions and 160 deletions

View file

@ -11,6 +11,9 @@
\iow_open:Nn \l_my_iow { dump.txt } \iow_open:Nn \l_my_iow { dump.txt }
\DeclareHookRule { begindocument } { before } { before } { groupthm } \DeclareHookRule { begindocument } { before } { before } { groupthm }
%\cs_set_eq:NN \groupthm_cache:n \__groupthm_cache_auxfile:V
%\cs_set_eq:NN \__groupthm_cache:n \use_none:n
\AddToHook { begindocument } [ before ] \AddToHook { begindocument } [ before ]
{ {
\tl_gset:Nn \g__groupthm_lazy_auxfile_tl \tl_gset:Nn \g__groupthm_lazy_auxfile_tl

View file

@ -171,11 +171,14 @@
\csname __groupthm_define_family_options:nnnn\endcsname {variant}{!s!t+}{\IfBooleanT {#1}{\AddTheoremToGroup {star}}\IfBooleanT {#2}{\AddTheoremToGroup {dagger}}}{tiny} \csname __groupthm_define_family_options:nnnn\endcsname {variant}{!s!t+}{\IfBooleanT {#1}{\AddTheoremToGroup {star}}\IfBooleanT {#2}{\AddTheoremToGroup {dagger}}}{tiny}
\csname __groupthm_define_family_options:nnnn\endcsname {warning}{!s!t+}{\IfBooleanT {#1}{\AddTheoremToGroup {star}}\IfBooleanT {#2}{\AddTheoremToGroup {dagger}}}{tiny} \csname __groupthm_define_family_options:nnnn\endcsname {warning}{!s!t+}{\IfBooleanT {#1}{\AddTheoremToGroup {star}}\IfBooleanT {#2}{\AddTheoremToGroup {dagger}}}{tiny}
} }
\AddToHook { begindocument }
{
\exp_args:NNV \iow_now:Nn \l_my_iow \l_tmpa_tl \exp_args:NNV \iow_now:Nn \l_my_iow \l_tmpa_tl
\benchmark_once:n \benchmark_once:n
{ {
\tl_use:N \l_tmpa_tl \tl_use:N \l_tmpa_tl
} }
}
\ExplSyntaxOff \ExplSyntaxOff
\begin{document} \begin{document}

View file

@ -0,0 +1,12 @@
\documentclass{minimal}
\usepackage[cache]{groupthm}
\usepackage{fancythm}
\begin{document}
\begin{abuse}
\end{abuse}
\end{document}