From e98d5dc25eeecb2f30d84b21c064e5fe4264ac52 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 25 Dec 2019 15:31:44 +0900 Subject: acrotex update --- texmf-dist/tex/latex/acrotex/eqexam.def | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) (limited to 'texmf-dist/tex/latex/acrotex/eqexam.def') diff --git a/texmf-dist/tex/latex/acrotex/eqexam.def b/texmf-dist/tex/latex/acrotex/eqexam.def index 505fba81..ab303d3c 100644 --- a/texmf-dist/tex/latex/acrotex/eqexam.def +++ b/texmf-dist/tex/latex/acrotex/eqexam.def @@ -7,8 +7,8 @@ %% exerquiz.dtx (with options: `eqexam') %% \ProvidesFile{eqexam.def} - [2019/08/13 v8.3 % - Exerquiz support file for eqexam (dps)] + [2019/12/17 v8.5.5 % + Exerquiz support file for eqexam (dps)] \let\eq@YES=y \let\eq@NO=n \let\eq@One=1 \let\eq@Zero=0 \def\eq@r{r}\let\eq@f=f \let\eq@l=l @@ -1025,11 +1025,26 @@ \let\eq@solutionshook\@empty \let\priorexsectitle\@empty \let\priorexslinput\@empty -\def\exerSolnsHeadnToc{\section*{\exsectitle}% - \addcontentsline{toc}{section}{% - \@ifundefined{web@latextoc}{}{% - \ifx\web@latextoc\eq@YES\else - \protect\numberline{}\fi}\exsectitle}} +\def\InputExrSolnsLevel{\@ifstar + {\def\eq@ExrSolnsStar{*}\InputExrSolnsLevel@i} + {\let\eq@ExrSolnsStar\@empty\InputExrSolnsLevel@i}} +\newcommand{\InputExrSolnsLevel@i}[2][]{% + \def\eq@ExrSolnsLabel{#1}\def\eq@ExrSolnsLevel{#2}} +\InputExrSolnsLevel*{section} +\def\exerSolnsHeadnToc{% + \edef\eq@mkCmd{\expandafter\noexpand + \csname\eq@ExrSolnsLevel\endcsname\eq@ExrSolnsStar}% + \eq@mkCmd{\exsectitle}\if!\eq@ExrSolnsLabel!\else + \label{\eq@ExrSolnsLabel}\fi + \if\eq@ExrSolnsStar*% + \addcontentsline{toc}{\eq@ExrSolnsLevel}{% + \@ifundefined{web@latextoc}{}{% + \ifx\web@latextoc\eq@YES\else + \protect\numberline{}\fi + }\exsectitle + }% + \fi +} \@ifpackageloaded{web}{\def\eq@normallheader{\lheader{\rightmark}}} {\let\eq@normallheader\relax} \@ifpackageloaded{web}{\def\eq@defaultlheader{\lheader{\aeb@setmarks}}} -- cgit v1.2.3