summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/stex/source/hwexam.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/stex/source/hwexam.dtx')
-rw-r--r--macros/latex/contrib/stex/source/hwexam.dtx28
1 files changed, 4 insertions, 24 deletions
diff --git a/macros/latex/contrib/stex/source/hwexam.dtx b/macros/latex/contrib/stex/source/hwexam.dtx
index 003d8a3d87..783c8c2382 100644
--- a/macros/latex/contrib/stex/source/hwexam.dtx
+++ b/macros/latex/contrib/stex/source/hwexam.dtx
@@ -41,7 +41,7 @@
%
% \begin{macrocode}
%<*package>
-\ProvidesExplPackage{hwexam}{2023/03/19}{3.3.0}{homework assignments and exams}
+\ProvidesExplPackage{hwexam}{2023/10/13}{3.4.0}{homework assignments and exams}
\RequirePackage{l3keys2e}
\keys_define:nn {hwexam / pkg}{
@@ -63,7 +63,7 @@
\ExplSyntaxOn\makeatletter
\input{hwexam-english.ldf}
\ltx@ifpackageloaded{babel}{
- \clist_set:Nx \l_tmpa_clist {\bbl@loaded}
+ \clist_set:Nx \l_tmpa_clist {\exp_args:No \tl_to_str:n \bbl@loaded}
\exp_args:NNx \clist_if_in:NnT \l_tmpa_clist {\detokenize{ngerman}}{
\input{hwexam-ngerman.ldf}
}
@@ -130,10 +130,10 @@
}\par\smallskip
\textbf{
\tl_if_empty:NF \l_stex_key_given_tl {
- \hwexam@kw@given:~\l_stex_key_given_tl\quad
+ \hwexam@kw@given :~\l_stex_key_given_tl\quad
}
\tl_if_empty:NF \l_stex_key_due_tl {
- \hwexam@kw@due:~\l_stex_key_due_tl\quad
+ \hwexam@kw@due :~\l_stex_key_due_tl\quad
}
}
\end{center}
@@ -246,26 +246,6 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\testemptypage}
-% \begin{macrocode}
-\newcommand\testemptypage[1][]{%
- \bool_if:NT \c__problems_test_bool {\ \vfill\begin{center}\hwexam@kw@testemptypage\end{center}\eject}
-}
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\testspace}
-% \begin{macrocode}
-\newcommand\testspace[1]{\bool_if:NT \c__problems_test_bool {\vspace*{#1}}}
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\testnewpage}
-% \begin{macrocode}
-\newcommand\testnewpage{\bool_if:NT \c__problems_test_bool {\newpage}}
-% \end{macrocode}
-% \end{macro}
-%
%
% \begin{macrocode}
%</package>