From c14c208cebda8d3661b39bd83d9ccdfc0309caec Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 25 Dec 2019 15:30:36 +0900 Subject: eqexam update --- texmf-dist/source/latex/eqexam/eqexam.dtx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'texmf-dist/source') diff --git a/texmf-dist/source/latex/eqexam/eqexam.dtx b/texmf-dist/source/latex/eqexam/eqexam.dtx index 026a881b..4cd0cede 100644 --- a/texmf-dist/source/latex/eqexam/eqexam.dtx +++ b/texmf-dist/source/latex/eqexam/eqexam.dtx @@ -16,8 +16,8 @@ % %\NeedsTeXFormat{LaTeX2e} %\ProvidesPackage{eqexam} -% [2019/10/29 v5.1.6 An Exam Construction Package (dps)] -%\def\eqexamdefReq{2019/02/11} +% [2019/12/17 v5.1.7 An Exam Construction Package (dps)] +%\def\eqexamdefReq{2019/12/17} %<*driver> \documentclass{ltxdoc} \GlossaryPrologue{\section{{Change History}}}% @@ -8541,10 +8541,17 @@ \long\def\gobbletoEndEXt#1\endeqEXt{\@gobbletwo} \def\eqExtArg{\theeqquestionnoi} % \end{macrocode} +%When creating a book, we can manually create a chapter and insert the solutions, +%of we can automatically have it done. The manual method is the default, emit +%\DescribeMacro\autoInsSolns\cs{autoInsSolns} in the preamble to have the solutions +%inserted automatically. Use \cs{InputExrSolnsLevel} to tune the section level (\texttt{eqexam.def}). +%\changes{v5.1.7}{2019/12/17}{Added \cs{autoInsSolns}} % \begin{macrocode} \if\load@exerquiz\eqe@NO\DoNotFitItIn\fi \let\fillInFormatDefault\@empty -\def\exerSolnsHeadnToc{} +\def\fbInsSolnsStyle{\def\exerSolnsHeadnToc{}} +\def\autoInsSolns{\let\fbInsSolnsStyle\relax} +\AtBeginDocument{\fbInsSolnsStyle} \renewcommand{\exerSolnInput}{% \global\let\webnewpage\relax \ifsolutionsonly\else\immediate\closeout\ex@solns\fi -- cgit v1.2.3