From 0e4e0e68edf53514b53187573df205d317fe36e9 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Thu, 9 Jan 2020 19:22:34 +0900
Subject: acrotex update

---
 texmf-dist/tex/latex/acrotex/aebrandom.def | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'texmf-dist/tex/latex/acrotex/aebrandom.def')

diff --git a/texmf-dist/tex/latex/acrotex/aebrandom.def b/texmf-dist/tex/latex/acrotex/aebrandom.def
index 5e53a8e3..2906805a 100644
--- a/texmf-dist/tex/latex/acrotex/aebrandom.def
+++ b/texmf-dist/tex/latex/acrotex/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}%
-- 
cgit v1.2.3

