From 9aded7eea7250bd1404bcd6ccff244a6be5df4de Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 2 Nov 2019 22:34:26 +0900 Subject: eqexam (Oct29) --- texmf-dist/tex/latex/eqexam/aebrandom.def | 4 ++-- texmf-dist/tex/latex/eqexam/eqexam.def | 4 ++-- texmf-dist/tex/latex/eqexam/eqexam.sty | 32 +++++++++++++++++++++---------- 3 files changed, 26 insertions(+), 14 deletions(-) (limited to 'texmf-dist/tex') diff --git a/texmf-dist/tex/latex/eqexam/aebrandom.def b/texmf-dist/tex/latex/eqexam/aebrandom.def index 66271ebd..af61be1f 100644 --- a/texmf-dist/tex/latex/eqexam/aebrandom.def +++ b/texmf-dist/tex/latex/eqexam/aebrandom.def @@ -8,7 +8,7 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Exerquiz.sty package, %% -%% Copyright (C) 1999-2018 D. P. Story %% +%% Copyright (C) 1999-2019 D. P. Story %% %% dpstory@uakron.edu %% %% %% %% This program can redistributed and/or modified under %% @@ -18,7 +18,7 @@ %% License, or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ProvidesFile{aebrandom.def} - [2019/02/11 v8.2.9 % + [2019/10/13 v8.5.3 % Exerquiz support for randomization (dps)] \@ifundefined{nextrandom}{\input{random.tex}}{} \def\nextrandom{\begingroup diff --git a/texmf-dist/tex/latex/eqexam/eqexam.def b/texmf-dist/tex/latex/eqexam/eqexam.def index 1cdf0433..0e3705d0 100644 --- a/texmf-dist/tex/latex/eqexam/eqexam.def +++ b/texmf-dist/tex/latex/eqexam/eqexam.def @@ -7,8 +7,8 @@ %% exerquiz.dtx (with options: `eqexam') %% \ProvidesFile{eqexam.def} - [2019/02/11 v8.2.9 % - Exerquiz support file for eqexam (dps)] + [2019/10/13 v8.5.3 % + 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 diff --git a/texmf-dist/tex/latex/eqexam/eqexam.sty b/texmf-dist/tex/latex/eqexam/eqexam.sty index e59c96f7..d95a5941 100644 --- a/texmf-dist/tex/latex/eqexam/eqexam.sty +++ b/texmf-dist/tex/latex/eqexam/eqexam.sty @@ -19,7 +19,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{eqexam} - [2019/01/31 v5.1.4 An Exam Construction Package (dps)] + [2019/10/29 v5.1.6 An Exam Construction Package (dps)] \def\eqexamdefReq{2019/02/11} \RequirePackage{ifpdf}[2006/02/20] \RequirePackage{ifxetex}[2006/08/21] @@ -264,6 +264,8 @@ \InputIfFileExists{eqexam\eqe@tmp@i.cfg}{}{}}% \eqe@tmp@exp } +\let\bWebCustomize\endinput +\let\eWebCustomize\relax \InputIfFileExists{web.cfg}{}{} \InputIfFileExists{eqecus.opt}{}{} \InputIfFileExists{rendition.cfg}{}{} @@ -297,7 +299,7 @@ \makeAnsEnvForSolnsAtEnd\eqTopOfSolnPage \answerkeytrue\eq@proofingtrue \eq@solutionsaftertrue\vspacewithsolnstrue - \displayworkareafalse %\withinsoldoctrue % now within \eqTopOfSolnPage + \displayworkareafalse } \newcommand{\makeAnsEnvForSolnsAtEnd}{% \let\answers\answers@sq @@ -992,8 +994,11 @@ \Ans@proofing{\eq@tmpdima}% \eq@hspanner\ignorespaces } +\@ifundefined{eq@RadioCheck@driver}{} + {\let\eq@Radio@driver\eq@RadioCheck@driver} \def\eqExam@Ans@sq@f{\if\eq@listType1\stepcounter{quizno}\else - \ifwithinsoldoc\stepcounter{quizno}\else\refstepcounter{quizno}\fi\fi + \ifwithinsoldoc\stepcounter{quizno}\else + \refstepcounter{quizno}\fi\fi \PBS\raggedright\settowidth{\eq@tmplength}{\eq@lw@f}% \eq@tmpdima=\wd\eq@tmpbox% \hangindent=\eq@tmplength\hangafter=1\relax @@ -1014,7 +1019,7 @@ \radio@@Button{\presets{\eqe@optsRadiof}}% {\fieldName}{\RadioFieldSize}% {\RadioFieldSize}{\Ans@choice\alph{quizno}}{\eq@protect\A}% - {\eq@setWidgetProps\eq@RadioCheck@driver}% + {\eq@setWidgetProps\eq@Radio@driver}% {\@@Ans@sq@f@Defaults\Ans@sq@f@Actions\every@RadioButton \every@sqRadioButton\insert@circlesymbol}% \fi @@ -1027,7 +1032,8 @@ \let\eqe@optscbl\@empty\let\eqe@optscbf\@empty \def\eqExam@Ans@ck@sq@l{\leavevmode \if\eq@listType1\stepcounter{quizno}\else - \ifwithinsoldoc\stepcounter{quizno}\else\refstepcounter{quizno}\fi\fi + \ifwithinsoldoc\stepcounter{quizno}\else + \refstepcounter{quizno}\fi\fi \PBS\raggedright\settowidth{\eq@tmplength}{\eq@lw@l}% \sbox{\eq@tmpbox}{\eq@l@l}\eq@tmpdima=\wd\eq@tmpbox \def\link@@Content{\linkContentWrapper}% @@ -1053,7 +1059,8 @@ \eq@hspanner\ignorespaces } \def\eqExam@Ans@ck@sq@f{\if\eq@listType1\stepcounter{quizno}\else - \ifwithinsoldoc\stepcounter{quizno}\else\refstepcounter{quizno}\fi\fi + \ifwithinsoldoc\stepcounter{quizno}\else + \refstepcounter{quizno}\fi\fi \PBS\raggedright\settowidth{\eq@tmplength}{\eq@lw@f}% \eq@tmpdima=\wd\eq@tmpbox% \hangindent=\eq@tmplength\hangafter=1\relax @@ -1074,7 +1081,7 @@ \mbox{\check@@Box{\presets{\eqe@optscbf}}{\fieldName}% {\RadioFieldSize}{\RadioFieldSize}% {\Ans@choice\alph{quizno}}{\eq@protect\A}% - {\eq@setWidgetProps\eq@RadioCheck@driver}% + {\eq@setWidgetProps\eq@Radio@driver}% {\@@Ans@sq@f@Defaults\Ans@sq@f@Actions\every@RadioButton \every@sqRadioButton}}% \fi @@ -3571,14 +3578,19 @@ \def\eqe@next{\fillineolNoCBMsg\fillineol@i}\fi \eqe@next}{\fillineol@i}} \newcommand{\fillineol@i}[1]{\bgroup\setbox\z@\hbox{#1}\fillineol@ii} -\newcommand\fillineol@ii[2][]{\setlength\eqetmplengthb{\linewidth-\wd\z@}% +\newcommand\fillineol@ii[2][]{% + \setlength\eqetmplengthb{\linewidth-\wd\z@}% \ifdim\eqetmplengthb<0pt\eqetmplengthb0pt\fillineolTooLongMsg\fi \unhbox\z@\fillin[#1]{\eqetmplengthb}{#2}\egroup} \newcommand\cbfillineol{\bgroup\collectboxto{\@tempboxa} {\setlength{\eqetmplengthb}{\linewidth-\wd\@tempboxa}% \ifdim\eqetmplengthb<0pt\eqetmplengthb0pt\fillineolTooLongMsg\fi - \unhbox\@tempboxa\cbfillineol@i}} -\newcommand\cbfillineol@i[2][]{\fillin[#1]{\eqetmplengthb}{#2}\egroup} + \unhbox\@tempboxa\cbfillineol@ia}} +\newcommand\cbfillineol@ia[1][]{\def\@rgi{#1}\cbfillineol@ib} +\newcommand\cbfillineol@ib{\collectboxto{\@tempboxa}% + {\cbfillineol@i[\@rgi]}} +\newcommand\cbfillineol@i[1][]{\fillin[#1]{\eqetmplengthb}% + {\unhbox\@tempboxa}\egroup} \renewcommand{\fillin}[3][]{\begingroup \expandafter\let\expandafter\ifsp\csname ifsp@expand\endcsname \setkeys{eqFillin}{boxsize,underline=true,boxed=false,% -- cgit v1.2.3