From a979a969ee8a924408ebeb767035b9e4f48f7efa Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 1 Feb 2021 13:14:30 +0900
Subject: acrotex (2021-02-01)

---
 texmf-dist/tex/latex/acrotex/usemcfi.def | 55 ++++++++++++++++----------------
 1 file changed, 27 insertions(+), 28 deletions(-)

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

diff --git a/texmf-dist/tex/latex/acrotex/usemcfi.def b/texmf-dist/tex/latex/acrotex/usemcfi.def
index f2e70208..1ccdee4c 100644
--- a/texmf-dist/tex/latex/acrotex/usemcfi.def
+++ b/texmf-dist/tex/latex/acrotex/usemcfi.def
@@ -17,41 +17,40 @@
 %% macros/latex/base/lppl.txt; either version 1 of the  %%
 %% License, or (at your option) any later version.      %%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bMCFI{%
-    \withinMCFItrue
-    \ifx\qRadionActionsHook\@empty
-        \let\qRadionActionsHook@SAVE\@empty
-        \def\qRadionActionsHook{\jsR
-        qRadioButtonMCFI(\Ans@choice,"\currQuiz",\thequestionno);}\else
-        \let\qRadionActionsHook@SAVE\qRadionActionsHook
-        \def\qRadionActionsHook{\qRadionActionsHook@SAVE\jsR
-        qRadioButtonMCFI(\Ans@choice,"\currQuiz",\thequestionno);}\fi
-    \ifx\every@RespBoxMath\@empty
-        \let\every@RespBoxMath@SAVE\@empty
-        \def\every@RespBoxMath{%
-        \AddAAKeystroke{mcfiKeyStroke("\currQuiz",\thequestionno);}}%
-    \else
-        \let\every@RespBoxMath@SAVE\every@RespBoxMath
-        \expandafter\def\expandafter\every@RespBoxMath\expandafter{%
-        \every@RespBoxMath@SAVE
-        \AddAAKeystroke{mcfiKeyStroke("\currQuiz",\thequestionno);}}%
-    \fi
+\def\bMCFI{\withinMCFItrue
+  \ifx\qRadionActionsHook\@empty
+    \let\qRadionActionsHook@SAVE\@empty
+    \def\qRadionActionsHook{\jsR
+    qRadioButtonMCFI(\Ans@choice,"\currQuiz",\thequestionno);}\else
+    \let\qRadionActionsHook@SAVE\qRadionActionsHook
+    \def\qRadionActionsHook{\qRadionActionsHook@SAVE\jsR
+    qRadioButtonMCFI(\Ans@choice,"\currQuiz",\thequestionno);}\fi
+  \ifx\every@RespBoxMath\@empty
+    \let\every@RespBoxMath@SAVE\@empty
+    \def\every@RespBoxMath{%
+    \AddAAKeystroke{mcfiKeyStroke("\currQuiz",\thequestionno);}}%
+  \else
+    \let\every@RespBoxMath@SAVE\every@RespBoxMath
+    \expandafter\def\expandafter\every@RespBoxMath\expandafter
+    {\every@RespBoxMath@SAVE
+    \AddAAKeystroke{mcfiKeyStroke("\currQuiz",\thequestionno);}}%
+  \fi
 }
 \def\eMCFI{%
-    \ifx\qRadionActionsHook@SAVE\@empty
-        \let\qRadionActionsHook\@empty\else
-        \let\qRadionActionsHook\qRadionActionsHook@SAVE\fi
-    \ifx\every@RespBoxMath@SAVE\@empty
-        \let\every@RespBoxMath\@empty\else
-        \let\every@RespBoxMath\every@RespBoxMath@SAVE\fi
-    \withinMCFIfalse
+  \ifx\qRadionActionsHook@SAVE\@empty
+    \let\qRadionActionsHook\@empty\else
+    \let\qRadionActionsHook\qRadionActionsHook@SAVE\fi
+  \ifx\every@RespBoxMath@SAVE\@empty
+    \let\every@RespBoxMath\@empty\else
+    \let\every@RespBoxMath\every@RespBoxMath@SAVE\fi
+  \withinMCFIfalse
 }
 \def\eqNA{-43252452452}
 \@ifundefined{text}{\let\MCFIMarkup@BOX\mbox}{\let\MCFIMarkup@BOX\text}
 \newcommand\mcfiMarkupfmt{\cgBdry
-    ${}^{\MCFIMarkup@BOX{\aeb@creditmarkup}}$}
+  ${}^{\MCFIMarkup@BOX{\aeb@creditmarkup}}$}
 \def\mcfiMarkup{\addtocounter{questionno}{-1}\mcfiMarkupfmt
-    \stepcounter{questionno}}
+  \stepcounter{questionno}}
 \newcommand{\clickChkBxMCFI}{"Click the check box preceding this
     math input field to enter text."}
 \begin{insDLJS}{mcf}{Eq: Supports MCFI-type questions}
-- 
cgit v1.2.3

