diff options
author | Norbert Preining <norbert@preining.info> | 2020-01-09 03:01:07 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-01-09 03:01:07 +0000 |
commit | 6ffc3e21c28ac83a308bf93982e8842d177dd23e (patch) | |
tree | 7e8b4d97bb1007e30decb7b64af7e746056daa4e /macros/latex/contrib/eqexam/aebrandom.def | |
parent | 1b3f15203efd63cdab3fb47f37ff5f6c10558477 (diff) |
CTAN sync 202001090301
Diffstat (limited to 'macros/latex/contrib/eqexam/aebrandom.def')
-rw-r--r-- | macros/latex/contrib/eqexam/aebrandom.def | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macros/latex/contrib/eqexam/aebrandom.def b/macros/latex/contrib/eqexam/aebrandom.def index 5e53a8e3dd..2906805a5c 100644 --- a/macros/latex/contrib/eqexam/aebrandom.def +++ b/macros/latex/contrib/eqexam/aebrandom.def @@ -8,7 +8,7 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Exerquiz.sty package, %% -%% Copyright (C) 1999-2019 D. P. Story %% +%% Copyright (C) 1999-2020 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/12/17 v8.5.5 % + [2020/01/01 v8.5.8 % Exerquiz support for randomization (dps)] \@ifundefined{nextrandom}{\input{random.tex}}{} \def\nextrandom{\begingroup @@ -89,11 +89,11 @@ } \def\aeb@randomizeChoices#1{% \setrannum{\aeb@ranChoice}{1}{#1} - \count0=0 \aeb@hold=\expandafter{\@temphold}\def\@temphold{}% + \eqtmpcnta\z@\aeb@hold=\expandafter{\@temphold}\def\@temphold{}% \expandafter\@tfor\expandafter \@temp\expandafter:\expandafter=\the\aeb@hold \do {% - \advance\count0by1 - \ifnum\count0=\aeb@ranChoice + \advance\eqtmpcnta\@ne + \ifnum\eqtmpcnta=\aeb@ranChoice\relax \aeb@hold=\expandafter\expandafter\expandafter {\expandafter\@tempholdrandom\@temp}% \edef\@tempholdrandom{\the\aeb@hold}% |