summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-05-30 11:31:08 +0900
committerNorbert Preining <norbert@preining.info>2019-05-30 11:31:08 +0900
commit2aa58cecba5e8e1bbea101fe519c5456c7b117d5 (patch)
tree717975537c2f5b35e9e61c6a07a1d05f18255e23 /texmf-dist/doc/latex
parentf9418b64dd4174f02d9738397d85845a775a59e8 (diff)
acrotex update 20190530
Diffstat (limited to 'texmf-dist/doc/latex')
-rw-r--r--texmf-dist/doc/latex/acrotex/README.md6
-rw-r--r--texmf-dist/doc/latex/acrotex/aeb_man.pdfbin1356076 -> 1355808 bytes
-rw-r--r--texmf-dist/doc/latex/acrotex/aeb_man.tex156
-rw-r--r--texmf-dist/doc/latex/acrotex/eformman.pdfbin1096131 -> 1192097 bytes
-rw-r--r--texmf-dist/doc/latex/acrotex/eformman.tex201
-rw-r--r--texmf-dist/doc/latex/acrotex/examples/README.md2
-rw-r--r--texmf-dist/doc/latex/acrotex/examples/jquiztst.pdfbin307087 -> 353849 bytes
-rw-r--r--texmf-dist/doc/latex/acrotex/examples/jquiztst.tex11
-rw-r--r--texmf-dist/doc/latex/acrotex/examples/jtxttst.pdfbin113792 -> 320860 bytes
-rw-r--r--texmf-dist/doc/latex/acrotex/examples/jtxttst.tex12
-rw-r--r--texmf-dist/doc/latex/acrotex/examples/webeqtst.pdfbin192229 -> 490247 bytes
-rw-r--r--texmf-dist/doc/latex/acrotex/examples/webeqtst.tex10
12 files changed, 257 insertions, 141 deletions
diff --git a/texmf-dist/doc/latex/acrotex/README.md b/texmf-dist/doc/latex/acrotex/README.md
index 52385995..3f16d740 100644
--- a/texmf-dist/doc/latex/acrotex/README.md
+++ b/texmf-dist/doc/latex/acrotex/README.md
@@ -1,6 +1,6 @@
The AcroTeX eDucation Bundle
Author: D. P. Story
-Dated: 2018-12-13
+Dated: 2019-03-16
AeB contains the following:
@@ -19,6 +19,10 @@ AeB contains the following:
6) Documentation for AeB (AcroTeX eDucatation Bundle) and eForms
(including insdljs and dljslib).
+What's New (2019/03/16) minor bug fixes; added \bParams/\eParams command pair to pass
+arguments to JS code snippets declared within the defineJS environment. Fixed the spacing
+problem when dvips is used to compile a doc containing the defineJS environment.
+
What's New (2018/12/13) More changes in exerquiz to support mi-solns; misc. bug fixes.
What's New (2028/12/05) Some changes in exerquiz to support mi-solns. Require aeb-comment
diff --git a/texmf-dist/doc/latex/acrotex/aeb_man.pdf b/texmf-dist/doc/latex/acrotex/aeb_man.pdf
index c56c66eb..c12efd3f 100644
--- a/texmf-dist/doc/latex/acrotex/aeb_man.pdf
+++ b/texmf-dist/doc/latex/acrotex/aeb_man.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/acrotex/aeb_man.tex b/texmf-dist/doc/latex/acrotex/aeb_man.tex
index 219b214a..ffee27d3 100644
--- a/texmf-dist/doc/latex/acrotex/aeb_man.tex
+++ b/texmf-dist/doc/latex/acrotex/aeb_man.tex
@@ -1,5 +1,5 @@
%\listfiles
-\RequirePackage[!use=preview,!use=usebw]{spdef}
+\RequirePackage[!use=preview,!use=efpmca,!use=usebw]{spdef}
\documentclass{article}
%\usepackage{makeidx,showidx}
\usepackage[fleqn]{amsmath}
@@ -21,8 +21,6 @@
\DeclareInitView{layoutmag={navitab:UseOutlines}}
\xbmksetup{colors={int=red},styles={intbf}}
-
-
\newbox\aebbox
\usepackage{acroman}
@@ -168,7 +166,8 @@
\def\AcroTeX{Acro\!\TeX}
\def\HTML{HTML}\def\FDF{FDF}
\def\PDF{PDF}\def\URL{URL}
-\let\amtIndent\leftmargini
+%\let\amtIndent\leftmargini
+\edef\amtIndent{\the\parindent}
\def\bNH{\begin{NoHyper}}\def\eNH{\end{NoHyper}}
\def\nhnameref#1{\bNH\nameref{#1}\eNH}
\def\nhNameref#1{\bNH\Nameref{#1}\eNH}
@@ -233,10 +232,10 @@
\university{{\AcroT} Software Development Team}
\email{dpstory@acrotex.net}
\versionLabel{Dated:}
-\version{2018/12/13}
+\version{2019/03/16}
\copyrightyears{1999-\the\year}
\nocopyright
-\prepared{2018/12/13}
+\prepared{2019/03/16}
\revisionLabel{Distribution Dated:}
\copyrightStatus{True}
@@ -5646,14 +5645,11 @@ well for the \texttt{quiz} environment.
\begin{shortquiz*}[TestSQ]
Answer this if you can!
-\begin{answers}{2}
+\begin{answers}{2}\rowsep{3pt}
\bChoices
\Ans0\label{testsqFirst} This is a possible answer.\eAns
-
\Ans1\label{testsqSecond} Try this one (the correct one)\eAns
-
\Ans0 This is an answer.\eAns
-
\Ans0 Another alternative.\eAns
\eChoices
\end{answers}
@@ -5668,7 +5664,7 @@ Answer this if you can!
\graylettersOn
\begin{shortquiz*}[TestSQ]
Answer this if you can!
-\begin{answers}{2}
+\begin{answers}{2}\rowsep{3pt}
\bChoices
\Ans0\label{testsqFirst} This is a possible answer.\eAns
\Ans1\label{testsqSecond} Try this one (the correct one).\eAns
@@ -6259,7 +6255,7 @@ following questions.
\Ans0 none &\Ans0 one &\Ans1 two
\end{answers}
\end{questions}
-\end{quiz}\par
+\end{quiz}\vcgBdry
\ScoreField\currQuiz
%\TextField[name=qz:discr,width=3in,default=\eqScore]{}
@@ -6339,7 +6335,7 @@ following questions.
\Ans0 none &\Ans0 one &\Ans1 two
\end{answers}
\end{questions}
-\end{quiz*}
+\end{quiz*}\vcgBdry
\ScoreField{qzdiscrf}
@@ -6563,7 +6559,7 @@ answers.
\newtopic The arguments of the \cs{Ans} command is the same as
those of \cs{Ans} in the \texttt{answers} environment.
-\newtopic When the \cs{ScoreField} is used to display results, a manswers
+When the \cs{ScoreField} is used to display results, a `manswers'
question is correct if and only if all correct answers are checked, and none
of the incorrect answers are checked.
@@ -6606,22 +6602,22 @@ correction button. The correction button with
\begin{quiz}{qzdiscr1l} Using the discriminant, $b^2-4ac$,
respond to each of the following questions.
-\begin{questions}
+\begin{questions}[itemsep=0pt]
\item Is the quadratic polynomial $x^2-4x + 3$ irreducible?
-\begin{answers}4
+\begin{answers}{4}
\Ans0 Yes &\Ans1 No
\end{answers}
\item Is the quadratic polynomial $2x^2 - 4x + 3 $ irreducible?
-\begin{answers}4
+\begin{answers}{4}
\Ans1 Yes &\Ans0 No
\end{answers}
\item How many solutions does the equation $2x^2 - 3x - 2= 0$ have?
-\begin{answers}4
+\begin{answers}{4}
\Ans0 none &\Ans0 one &\Ans1 two
\end{answers}
\end{questions}
-\end{quiz}\par
-\ScoreField{qzdiscr1l}\CorrButton{qzdiscr1l}%
+\end{quiz}\quad
+\ScoreField{qzdiscr1l}\olBdry\CorrButton{qzdiscr1l}%
\medskip
%\fcolorbox{blue}{webyellow}{%
@@ -6646,9 +6642,9 @@ respond to each of the following questions.
\end{center}
\end{comment}
-\medskip
+\newtopic
A partial verbatim listing of this quiz follows:
-\begin{Verbatim}[xleftmargin=\amtIndent]
+\begin{Verbatim}[xleftmargin=\amtIndent,fontsize=\small]
\begin{quiz}{qzdiscr1l} Using the discriminant, $b^2-4ac$,
respond to each of the following questions.
\begin{questions}
@@ -6656,9 +6652,7 @@ respond to each of the following questions.
............................
............................
\end{questions}
-\end{quiz}
-
-\ScoreField{qzdiscr1l}\CorrButton{qzdiscr1l}
+\end{quiz}\quad\ScoreField{qzdiscr1l}\olBdry\CorrButton{qzdiscr1l}
\end{Verbatim}
@@ -6706,14 +6700,14 @@ respond to each of the following questions.
\Ans0 none &\Ans0 one &\Ans1 two
\end{answers}
\end{questions}
-\end{quiz*}\quad\ScoreField\currQuiz\CorrButton\currQuiz
+\end{quiz*}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz
\redpoint In the partial verbatim listing that follows, notice the field
name has been changed from \texttt{qzdiscr1l}, which is the name of the
quiz previous to his one, to \texttt{qzdiscr1f}. Different quizzes must
have unique field names.
-\begin{Verbatim}[xleftmargin=\amtIndent]
+\begin{Verbatim}[xleftmargin=\amtIndent,fontsize=\small]
\begin{quiz*}{qzdiscr1f} Using the discriminant, $b^2-4ac$,
respond to each of the following questions.
\begin{questions}
@@ -6721,7 +6715,7 @@ respond to each of the following questions.
............................
............................
\end{questions}
-\end{quiz*}\quad\ScoreField\currQuiz\CorrButton\currQuiz
+\end{quiz*}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz
\end{Verbatim}
\redpoint Notice that in this example, the \cs{ScoreField} and the
@@ -6833,7 +6827,7 @@ Yes, Donald Knuth was the creator of \TeX.
Yes, Leslie Lamport was the creator of \LaTeX.
\end{solution}
\end{questions}
-\end{quiz*}\quad\ScoreField\currQuiz\CorrButton\currQuiz
+\end{quiz*}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz
\AllowPeeking
@@ -6854,7 +6848,7 @@ Here is a partial listing of the above example.
Passing is 100\%.
\begin{questions}
\item Who created \TeX?
-\begin{answers}[knuth]4
+\begin{answers}[knuth]{4}
\Ans1 Knuth &\Ans0 Lamport &\Ans0 Carlisle &\Ans0 Rahtz
\end{answers}
\begin{solution}
@@ -6862,7 +6856,7 @@ Yes, Donald Knuth was the creator of \TeX.
\end{solution}
....
\end{questions}
-\end{quiz*}\quad\ScoreField\currQuiz\CorrButton\currQuiz
+\end{quiz*}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz
\end{Verbatim}
\redpoint Notice that in the \texttt{answers} environment, an
@@ -6947,7 +6941,7 @@ is 100\%.
\Ans0 Knuth &\Ans1 Lamport &\Ans0 Carlisle &\Ans0 Rahtz
\end{answers}
\end{questions}
-\end{quiz*}\quad\ScoreField{qzTeX}\CorrButton{qzTeX}
+\end{quiz*}\quad\ScoreField{qzTeX}\olBdry\CorrButton{qzTeX}
\noindent If desired, we can return to the defaults:
\begin{Verbatim}[xleftmargin=\amtIndent]
@@ -7094,7 +7088,7 @@ how to use the ``every'' command.${}^{\text{\fnEFormi}}$\def\fnEFormi{\thefootno
\begin{quiz*}{qzTeXc} Answer each of the following. Passing
is 100\%.
-\begin{questions}
+\begin{questions}[parsep=0pt]
\item What \TeX\ System does Thomas Esser maintain?
\begin{answers}4
\Ans0 MiK\TeX &\Ans0 cs\TeX &\Ans1 te\TeX &\Ans0 fp\TeX
@@ -7109,8 +7103,8 @@ is 100\%.
\end{answers}
\end{questions}
\end{quiz*}\quad%
-\ScoreField[\BC{0 0 1}]{qzTeXc}%
- \CorrButton[\BC{0 0 1}% blue border color
+\ScoreField[\BC{0 0 1}]{qzTeXc}\olBdry
+ \CorrButton[\BC{0 0 1}% blue border color
\CA{TeX}% Button text
\RC{Users}% rollover text
\AC{Group}% pushed text
@@ -7123,9 +7117,10 @@ is 100\%.
\noindent The new part is the customized scoring and correction button. Here
is a verbatim listing of the \cs{ScoreField} and \cs{CorrButton}
macros.
+\goodbreak
\begin{Verbatim}[xleftmargin=\amtIndent]
-\ScoreField[\BC{0 0 1}]{qz:TeXc}%
- \CorrButton[\BC{0 0 1} % blue border color
+\ScoreField[\BC{0 0 1}]{qz:TeXc}\olBdry
+ \CorrButton[\BC{0 0 1} % blue border color
\CA{TeX} % Button text
\RC{Users} % rollover text
\AC{Group} % pushed text
@@ -7181,7 +7176,7 @@ Answer each of these to the best of your ability.
The answer is false, statistics is interesting but not fun.
\end{solution}
\end{questions}
-\end{quiz}\quad\ScoreField\currQuiz\CorrButton\currQuiz
+\end{quiz}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz
\noindent The partial verbatim code for the above quiz follows:
@@ -7192,7 +7187,7 @@ Answer each of these to the best of your ability.
\begin{questions}
...
\end{questions}
-\end{quiz}\quad\ScoreField\currQuiz\CorrButton\currQuiz
+\end{quiz}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz
\end{Verbatim}
\restoreDefaultQuizHeaders
@@ -7376,17 +7371,13 @@ is 100\%.\hfill\smash{\GradeField[\rectH{30bp}\rectW{30bp}\textSize{0}]\currQuiz
\item\PTs{6} Name \emph{one} of the two people recognized as a founder of
Calculus.\\[1ex]
-\RespBoxTxt{0}{0}{4}{Isaac Newton}{Newton}{Gottfried Leibniz}{Leibniz}%
+\RespBoxTxt{0}{0}{4}{Isaac Newton}{Newton}{Gottfried Leibniz}{Leibniz}\olBdry
\CorrAnsButton{Isaac Newton or Gottfried Leibniz}
\end{questions}
-\end{quiz*}\quad\ScoreField\currQuiz\CorrButton\currQuiz
-
-\noindent
-Answers: \AnswerField\currQuiz
-
-\medskip\noindent
-Points: \PointsField\currQuiz\ Percent: \PercentField\currQuiz
+\end{quiz*}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz\hfill
+Answers: \AnswerField\currQuiz\vcgBdry[.5em]
+Points:\cgBdry[.5em]\PointsField\currQuiz\cgBdry[.5em]Percent:\cgBdry[.5em]\PercentField\currQuiz
%\exPDF{quizpts} See the sample file
%\href{\bUrl/webeq_ex.html\#quizpts}{quizpts.tex} for a more
@@ -7531,7 +7522,7 @@ Answer these questions truthfully.
\end{solution}
\end{answers}
\end{questions}
-\end{quiz}\ScoreField\currQuiz\CorrButton\currQuiz
+\end{quiz}\ScoreField\currQuiz\olBdry\CorrButton\currQuiz
\begin{flushleft}
\fcolorbox{blue}{webyellow}{\begin{minipage}{.67\linewidth}
@@ -7621,10 +7612,9 @@ question, however.
You can also pose questions that require a text answer:
\redpoint\begin{oQuestion}{exTxt2}
-Name the probability
-distribution popularly referred to as the ``bell-shaped curve''.\\
+Name the probability distribution popularly referred to as the ``bell-shaped curve''.\\[3pt]
\RespBoxTxt{0}{0}{4}{Normal}{Normal Distribution}{Gaussian}{Gaussian Distribution}
-\end{oQuestion}
+\end{oQuestion}\vcgBdry[3pt]
See \Nameref{ss:respboxtxt} for details.
@@ -7932,12 +7922,12 @@ basic command for posing this type of question is
earlier:
\begin{oQuestion}{exTxt1}
\redpoint Name the probability
-distribution popularly referred to as the ``bell-shaped curve''.\\
+distribution popularly referred to as the ``bell-shaped curve''.\\[3pt]
\mbox{\strut\RespBoxTxt{0}{0}{4}{Normal}{Normal Distribution}%
{Gaussian}{Gaussian Distribution}}
%\raisebox{-3bp}{\RespBoxTxt{0}{0}{4}{Normal}{Normal Distribution}%
%{Gaussian}{Gaussian Distribution}}
-\end{oQuestion}
+\end{oQuestion}\vcgBdry[3pt]
The underlying JavaScript compares the user's response against
acceptable alternatives, as supplied by the author of the
@@ -8120,7 +8110,7 @@ than the default variable of $x$.
\begin{oQuestion}{sine2}
\redpoint Differentiate\\[1ex]
$\dfrac d{dt} \sin^2(t) =$
-\RespBoxMath{2*sin(t)*cos(t)}(t){4}{.0001}{0}{1}\kern1bp\CorrAnsButton{2*sin(t)*cos(t)}
+\RespBoxMath{2*sin(t)*cos(t)}(t){4}{.0001}{0}{1}\cgBdry\CorrAnsButton{2*sin(t)*cos(t)}
\end{oQuestion}
\medskip\noindent
@@ -8128,7 +8118,7 @@ The listing follows:
\begin{Verbatim}[xleftmargin=\amtIndent]
\begin{oQuestion}{sine2}\\[1ex]
\redpoint Differentiate $\dfrac d{dt} \sin^2(t) =$
-\RespBoxMath{2*sin(t)*cos(t)}(t){4}{.0001}{0}{1}\kern1bp
+\RespBoxMath{2*sin(t)*cos(t)}(t){4}{.0001}{0}{1}\cgBdry
\CorrAnsButton{2*sin(t)*cos(t)}
\end{oQuestion}
\end{Verbatim}
@@ -8155,7 +8145,7 @@ to the solution.
\begin{oQuestion}{sine3}
\redpoint Differentiate\\[1ex]
$\dfrac d{dt} \sin^2(t) =$
-\RespBoxMath{2*sin(t)*cos(t)}(t)[sine3]{4}{.0001}{0}{1}\kern1bp\CorrAnsButton{2*sin(t)*cos(t)}
+\RespBoxMath{2*sin(t)*cos(t)}(t)[sine3]{4}{.0001}{0}{1}\cgBdry\CorrAnsButton{2*sin(t)*cos(t)}
\begin{solution}
\[
\frac d{dx}\sin^2(x) = 2\sin(x)\cos(x) = \sin(2x)
@@ -8206,7 +8196,7 @@ An example of this optional parameter is
\redpoint Perform the indicated operation, and enter
result into the box.\\[1ex]
$ \text{9} + \text{8} =$
-\RespBoxMath{9 + 8}{1}{.0001}{[0,1]}\kern1bp\CorrAnsButton{9 + 8}*{EvalCorrAnsButton}\kern1bp
+\RespBoxMath{9 + 8}{1}{.0001}{[0,1]}\cgBdry\CorrAnsButton{9 + 8}*{EvalCorrAnsButton}\cgBdry
\sqTallyBox
\end{oQuestion}
@@ -8217,8 +8207,8 @@ The listing follows:
\redpoint Perform the indicated operation, and enter
result into the box.\\[1ex]
$ 9 + 8 = $
-\RespBoxMath{9 + 8}{1}{.0001}{[0,1]}\kern1bp
- \CorrAnsButton{9 + 8}*{EvalCorrAnsButton}\kern1bp
+\RespBoxMath{9 + 8}{1}{.0001}{[0,1]}\cgBdry
+ \CorrAnsButton{9 + 8}*{EvalCorrAnsButton}\cgBdry
\sqTallyBox
\end{oQuestion}
\end{Verbatim}
@@ -8234,7 +8224,7 @@ For example,
\begin{oQuestion}{sine4}
\redpoint \hypertarget{exofT}{Differentiate}\\[1ex]
$\dfrac d{dx} \sin^2(x) =$
-\RespBoxMath{2*sin(x)*cos(x)}{4}{.0001}{0}{1}\kern1bp\CorrAnsButton{2*sin(x)*cos(x)}\kern1bp
+\RespBoxMath{2*sin(x)*cos(x)}{4}{.0001}{0}{1}\cgBdry\CorrAnsButton{2*sin(x)*cos(x)}\cgBdry
\sqTallyBox
\end{oQuestion}
@@ -8244,8 +8234,8 @@ The listing follows:
\begin{oQuestion}{sine4}
\redpoint Differentiate\\[1ex]
$\dfrac d{dx} \sin^2(x) =$
-\RespBoxMath{2*sin(x)*cos(x)}{4}{.0001}{0}{1}\kern1bp
-\CorrAnsButton{2*sin(x)*cos(x)}\kern1bp
+\RespBoxMath{2*sin(x)*cos(x)}{4}{.0001}{0}{1}\cgBdry
+\CorrAnsButton{2*sin(x)*cos(x)}\cgBdry
\sqTallyBox
\end{oQuestion}
\end{Verbatim}
@@ -8264,8 +8254,8 @@ insert \cs{sqClearButton}.
\begin{oQuestion}{sine5}
\redpoint Differentiate\\[1ex]
$\dfrac d{dx} \sin^2(x) =$
-\RespBoxMath{2*sin(x)*cos(x)}{4}{.0001}{0}{1}\kern1bp\CorrAnsButton{2*sin(x)*cos(x)}\kern1bp
-\sqTallyBox\kern1bp\sqClearButton
+\RespBoxMath{2*sin(x)*cos(x)}{4}{.0001}{0}{1}\kern1bp\CorrAnsButton{2*sin(x)*cos(x)}\cgBdry
+\sqTallyBox\cgBdry\sqClearButton
\end{oQuestion}
@@ -8276,8 +8266,8 @@ The listing follows:
\redpoint Differentiate\\[1ex]
$\dfrac d{dx} \sin^2(x) =$
\RespBoxMath{2*sin(x)*cos(x)}{4}{.0001}{0}{1}%
-\CorrAnsButton{2*sin(x)*cos(x)}\kern1bp
-\sqTallyBox\kern1bp\sqClearButton
+\CorrAnsButton{2*sin(x)*cos(x)}\cgBdry
+\sqTallyBox\cgBdry\sqClearButton
\end{oQuestion}
\end{Verbatim}
@@ -8409,7 +8399,7 @@ Answer each of the following. Passing is 100\%.
\item $\displaystyle\frac d{dx} \sin^2(x) =$
\RespBoxMath{2*sin(x)*cos(x)}[sinsqx]{4}{.0001}{0}{1}%
\hfill\CorrAnsButton{2*sin(x)*cos(x)}%
-\kern1bp\sqTallyBox
+\cgBdry\sqTallyBox
\begin{solution}
\[
\frac d{dx}\sin^2(x) = 2\sin(x)\cos(x) = \sin(2x)
@@ -8420,7 +8410,7 @@ Answer each of the following. Passing is 100\%.
Calculus.\vadjust{\kern3pt}\newline
\RespBoxTxt{2}{0}[newton]{5}%
{Isaac Newton}{Newton}{I. Newton}{Gottfried Leibniz}{Leibniz}\hfill
-\CorrAnsButton{Isaac Newton or Gottfried Leibniz}\kern1bp\sqTallyBox
+\CorrAnsButton{Isaac Newton or Gottfried Leibniz}\cgBdry\sqTallyBox
\end{questions}
\begin{solution}
Yes, Isaac Newton and Gottfried Leibniz are considered founders of
@@ -8535,9 +8525,8 @@ founders of Calculus.
\end{solution}
\end{questions}
-\end{quiz*}\quad\ScoreField{oQq}\CorrButton{oQq}
-
-\noindent Answers: \AnswerField{oQq}
+\end{quiz*}\quad\ScoreField{oQq}\olBdry\CorrButton{oQq}\vcgBdry
+Answers: \AnswerField{oQq}
\redpoint The buttons created by \cs{CorrAnsButton} are hidden
until the user ends the quiz (and gets scored) and clicks on the
@@ -8662,7 +8651,7 @@ Compute the following cross product:
%
\end{equation*}
\end{quiz*}\ $\underset{\text{ScoreField}}{\underbrace{\ScoreField[\DV{}\V{}\rectW{1in}]\currQuiz}}$%
- \kern1bp$\underset{\text{PointsField}}{\underbrace{\PointsField[\rectW{1in}]\currQuiz}}$\CorrButton[\CA{Correct}\AC{}\RC{}]\currQuiz
+ \cgBdry$\underset{\text{PointsField}}{\underbrace{\PointsField[\rectW{1in}]\currQuiz}}$\olBdry\CorrButton[\CA{Correct}\AC{}\RC{}]\currQuiz
\hfill Ans: \AnswerField[\rectW{.5in}]\currQuiz
\end{minipage}
@@ -8950,7 +8939,7 @@ Simplify the following radial expression by factoring out all perfect squares.
),%
postParse:\Array(\postDenyForm(/sqrt(\refac{72}|\refac{8})/)%
)%
- }]\CorrAnsButton{6sqrt(2)}\kern1bp\sqTallyBox
+ }]\CorrAnsButton{6sqrt(2)}\cgBdry\sqTallyBox
\end{equation*}
\end{questions}
\end{shortquiz}
@@ -9111,7 +9100,7 @@ Simplify the following radial expression by factoring out all perfect squares.
),%
postParse:\Array(\postDenyForm(/sqrt(\refac{72}|\refac{8})/)%
)%
- }]\CorrAnsButton{6sqrt(2)}\kern1bp\sqTallyBox
+ }]\CorrAnsButton{6sqrt(2)}\cgBdry\sqTallyBox
\end{equation*}
\end{questions}
\end{shortquiz}
@@ -11677,15 +11666,16 @@ features of the \pkg{web} and \textsf{exerquiz} packages.
\texttt{insdljs\_ex.tex} that can be used as a startup test file.
\begin{questions}
- \item (Version 2.0f) Added a command \cs{previewMiKTeX} which redefines \cs{jsR} and
- \cs{jsT} that enables, I hope, the \textsf{yap} previewer to preview
- an \textsf{AeB} document.
- \item Added the \texttt{defineJS} environment. Use this environment to
- write JavaScript for buttons and other form fields.
- \item Added the \texttt{execJS} environment. Use this environment to write
- ``discardable'' JavaScript that will execute when the newly created document is opened
- in the Acrobat Viewer. (The Acrobat Viewer, not the Reader, is required.)
- See the demo file \texttt{execjstst.tex}.
+ \item (Version 2.0f) Added a command \cs{previewMiKTeX} which redefines
+ \cs{jsR} and \cs{jsT} that enables, I hope, the \textsf{yap}
+ previewer to preview an \textsf{AeB} document.
+ \item Added the \texttt{defineJS} environment. Use this environment to
+ write JavaScript for buttons and other form fields.
+ \item Added the \texttt{execJS} environment. Use this environment to
+ write ``discardable'' JavaScript that will execute when the newly
+ created document is opened in the Acrobat Viewer. (The Acrobat
+ Viewer, not the Reader, is required.) See the demo file
+ \texttt{execjstst.tex}.
\end{questions}
\subsection{dljslib}
diff --git a/texmf-dist/doc/latex/acrotex/eformman.pdf b/texmf-dist/doc/latex/acrotex/eformman.pdf
index 815f539e..6544303a 100644
--- a/texmf-dist/doc/latex/acrotex/eformman.pdf
+++ b/texmf-dist/doc/latex/acrotex/eformman.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/acrotex/eformman.tex b/texmf-dist/doc/latex/acrotex/eformman.tex
index fc076e18..803f841d 100644
--- a/texmf-dist/doc/latex/acrotex/eformman.tex
+++ b/texmf-dist/doc/latex/acrotex/eformman.tex
@@ -10,6 +10,10 @@
\usepackage[altbullet]{lucidbry}
%\usepackage{myriadpro}
+\setlength{\marginparpush}{3pt}
+
+%\previewOn\pmcaOn
+
\usepackage{graphicx,array,longtable}
%\usepackage[usecmtt]{myriadpro}
@@ -17,7 +21,12 @@
\DeclareInitView{layoutmag={navitab:UseOutlines}}
\xbmksetup{colors={int=red},styles={intbf}}
-%\addtolength{\marginparwidth}{20pt}
+
+\def\STRUT{\rule{0pt}{14pt}}
+\def\negSTRUT{\rule[-8pt]{0pt}{0pt}}
+\def\mSTRUT{\makebox[0pt][l]{\phantom{$\frac00$}}}
+\let\vrbnormal\sffamily
+\let\uif\sffamily
%\makeatletter
@@ -70,7 +79,7 @@
subject={Documentation for the eforms and insdljs packages},
talksite={\url{www.acrotex.net}},
version={2.0},
- prepared={2018/12/05},
+ prepared={2019/03/16},
preparedLabel={Distribution Dated:},
keywords={LaTeX, hyperref, PDF, exercises, quizzes},
copyrightStatus=True,
@@ -80,7 +89,9 @@
%\revisionLabel{Distribution Dated:}
\def\AEBBook{\textsl{{Acro\!\TeX} eDucation System Tools: {\LaTeX} for interactive PDF documents}}
-\setlength{\marginparwidth}{31.25pt}
+\setlength{\marginparwidth}{62.5pt}
+%\addtolength{\marginparwidth}{6pt}
+
\renewcommand\hproportionwebtitle{.75}
\universityLayout{fontsize=Large,fontfamily=sffamily}
@@ -150,7 +161,8 @@
\def\AcroTeX{Acro\!\TeX}
\def\HTML{HTML}\def\FDF{FDF}
\def\PDF{PDF}\def\URL{URL}
-\let\amtIndent\leftmargini
+%\let\amtIndent\leftmargini
+\edef\amtIndent{\the\parindent}
\def\bNH{\begin{NoHyper}}\def\eNH{\end{NoHyper}}
\def\nhnameref#1{\bNH\nameref{#1}\eNH}
\def\nhNameref#1{\bNH\Nameref{#1}\eNH}
@@ -165,19 +177,21 @@
\newenvironment{aebQuote}
{\list{}{\leftmargin\amtIndent}%
\item\relax}{\endlist}
-\newcommand{\FmtMP}[2][0pt]{\mbox{}\marginpar{%
+\def\parboxValign{t}
+\newcommand{\FmtMP}[2][0pt]{\mbox{}\marginpar{%\raggedleft
\raisebox{.5\baselineskip+#1}{%
\expandafter\parbox\expandafter[\parboxValign]%
{\marginparwidth}{\aebbkFmtMp#2}}}}
\def\aebbkFmtMp{\kern0pt\itshape\small
- \ifusebw\color{gray}\else\color{blue}\fi
- \raggedleft\hspace{0pt}}
+ \color{blue}\raggedleft\hspace{0pt}}
\def\dps{$\mbox{$\mathfrak D$\kern-.3em\mbox{$\mathfrak P$}%
\kern-.6em \hbox{$\mathcal S$}}$}
\def\FitItIn{\eq@fititin}
\def\endredpoint{\FitItIn{{\large\ifusebw\color{black}\else\color{red}\fi$\blacktriangleleft$}}}
-\advance\marginparwidth16pt
+\def\pb{pushbutton}
+
+%\advance\marginparwidth16pt
\makeatother
@@ -408,11 +422,11 @@ or \textsf{exerquiz} package is used, \textsf{eforms} will use the driver
defined in these earlier included packages.
\newtopic A minimal document is
-\begin{Verbatim}[xleftmargin=\amtIndent]
+\begin{Verbatim}[xleftmargin=\amtIndent,commandchars={!()}]
\documentclass{article}
-\usepackage{eforms} % <-- the driver is pdftex or xetex
+\usepackage{eforms} % <--!uif( the driver is pdftex, lualatex, or xetex)
\begin{document}
- % Content containing form fields, such as...
+ %!uif( Content containing form fields, such as!dots)
Don't \pushButton[\CA{Push Me}]{myButton}{}{12bp},
I fall down easily.
\end{document}
@@ -422,17 +436,62 @@ and passes it the driver, so there is no need to specify
\textsf{hyperref}, usually. If you wish to introduce \textsf{hyperref}
yourself with specific options, place it before \textsf{eforms}.
-If you use the \textsf{exerquiz} package, \textsf{exerquiz} brings
-in the \textsf{eforms} package and passes it to the driver.
+If you use the \textsf{exerquiz} package, \textsf{exerquiz} brings in the
+\textsf{eforms} package and passes the driver to it.
\subsection{The \texttt{preview} option}
-Use the \texttt{preview} option if you use a \texttt{dvi} previewer
-to view your document. When \texttt{preview} is taken, a frame box
-is drawn around any form field created by \textsf{eforms}, making
-the position of the field visible in the previewer. This makes it
-easy to make any additional adjustments for the position of the
-field. Turn off this option when you build a PDF file.
+%Use the \texttt{preview} option if you use a \texttt{dvi} previewer
+%to view your document.
+
+When the \opt{preview} option is taken, a frame box is drawn around any form
+field created by \pkg{eforms}, making the position of the field visible in
+the DVI previewer or {\PDF} viewer. Being see to view the position on a form
+element enables you to determine whether any additional adjustments are
+needed to the position of the field. \emph{Turn off this option} when you build the
+final version of your {\PDF} file.
+
+This option was originally developed for those using a DVI previewer, it is
+also useful for those using PDF creators \app{pdflatex}, \app{xelatex}, or
+\app{lualatex}. Modern {\LaTeX} users employ quicker {\PDF} viewers such as \app{sumatraPDF} or
+\app{PDF-Exchange}; these PDF viewers do not create form appearances as \app{Adobe Reader} and \app{Acrobat}
+do; consequently, an outline of the positions of the fields is most welcome.
+
+The \texttt{preview} option just sets a switch (\cs{ifpreview}\FmtMP{\cs{ifpreview}}), which can conveniently be
+turned off and on using the commands \cs{previewOn}\FmtMP{\cs{previewOn}} and \cs{previewOff}
+within the document itself. Related to \cs{previewOn} and \cs{previewOff}\FmtMP{\cs{previewOff}} is
+the command \cs{pmcaOn}, covered in the next paragraph.
+
+\paragraph*{Poor man's captions.}\label{para:pmca}
+
+The \cs{pushButton} command of \pkg{eforms} produces a push
+button;\footnote{Push buttons are covered in Section~\ref{s:BtnFlds}, beginning on
+page~\pageref{ss:Pbs}.} a common key to use is the \cs{CA} key, the
+value of which captions the button. As a companion to \cs{previewOn},
+\pkg{eforms} defines \cs{pmcaOn}\FmtMP{\cs{pmcaOn}} and
+\cs{pmcaOff}\FmtMP{\cs{pmcaOff}}; when \cs{previewOn} is in effect,
+expanding \cs{pmcaOn} causes the value of the \cs{CA} key to be typeset into
+the {\pb} preview; for example,\bgroup\makeatletter
+\def\@PMCA{Push Me}\settowidth{\@tempdima}{\,Push Me\,}\edef\x{\the\@tempdima}%
+\def\1{\makebox[0pt][l]{\hskip\linewidth\makebox[0pt][r]
+{\previewOff\pmcaOff\pushButton[\autoCenter{n}\CA{Push Me}]{pbDemo}{}{13bp}\quad
+ \previewOn\pmcaOn\ef@Bbox{\x}{13bp}\hspace{40pt}}}}%
+\begin{Verbatim}[xleftmargin=\amtIndent,fontsize=\small,commandchars=!()]
+!1\pushButton[\CA{Push Me}]{pbDemo}{}{13bp}
+\end{Verbatim}
+The button on the left is the normal appearance of the push button after
+\app{Reader/Acrobat} has supplied its appearance, the ``button'' on the right
+is how the button would appear in \app{sumatraPDF}, for example, just after
+{\PDF} creation using \app{pdflatex}, \app{xelatex}, or \app{lualatex}, or in
+a DVI previewer after latexing.\egroup
+
+In the modern era of {\LaTeX}, it is customary by some to use
+\app{sumatraPDF} or some other {\PDF} viewer during development; however, you
+should always open your final {\PDF} (which was built with
+\cs{previewOff}\cs{pmcaOff}) in \app{Adobe Reader DC} (or in \app{Acrobat}),
+save it to obtain the correct appearances of the fields placed in the
+document.
+
\subsection{The \texttt{useui} option}
@@ -529,13 +588,13 @@ characters that have special meaning to {\LaTeX}, these are \texttt{\string~}, \
and \texttt{\&}; each of these may appear as part of a URL, or may appear in JavaScript code.
Within the first parameter, these three character can be used freely, without escaping them.
-\subsection{Button Fields}
+\subsection{Button Fields}\label{s:BtnFlds}
Buttons are form elements that the user interacts with using only a
mouse. There are three types of buttons: push buttons, check boxes
and radio buttons.
-\subsubsection{Push Buttons}
+\subsubsection{Push Buttons}\label{ss:Pbs}
The push button is a button field that has no
value, it is neither on nor off. Generally, push buttons are used
@@ -2565,7 +2624,7 @@ format={app.alert("Thank you for signing this field.");}
\part{Setting the Tab Order}
-The \hypertarget{\pkg{taborder}}{taborderPkg} package is an internal AeB package that is called by
+The \hypertarget{taborderPkg}{\pkg{taborder}} package is an internal AeB package that is called by
both the \textsf{eforms} and the \texttt{annot\_pro packages}. The
\texttt{taborder} package sets the tab order for form fields and link
annotations (when the link is created by the command \cs{setLink}, defined
@@ -3243,23 +3302,21 @@ file, but saves the contents in a token register. The contents of
the register are used in defining a macro that expands to the
verbatim listing.
-\settowidth{\aebdimen}{\ttfamily\string\begin\darg{defineJS}[\anglemeta{tex/latex\_cmds}]\darg{\meta{Cmd}}}
+\settowidth{\aebdimen}{\ttfamily\string\begin\darg{defineJS}[\ameta{chngCats}]\darg{\cs{\ameta{cmd}}}}
\begin{dCmd}[commandchars=!()]{\aebdimen+2\fboxsep+2\fboxrule}
-\begin{defineJS}[!anglemeta(tex/latex_cmds)]{!meta(Cmd)}
-...
-!anglemeta(JavaScript code)
-...
+\begin{defineJS}[!ameta(chngCats)]{\!ameta(cmd)}
+!qquad!ameta(script)
\end{defineJS}
\end{dCmd}
-\PD The \texttt{defineJS} environment takes two parameters, the
-first optional. the required parameter is the command name to be
-defined. Use the optional first parameter to modify the verbatim
-environment, as illustrated in the example below. The
-\texttt{defineJS} is a complete verbatim environment: no escape, and
-no comment characters are defined. You can use the optional
-parameter to create an escape character. You can pretty much use
-any character you wish, \emph{except} the usual one `\verb+\+',
+\PD The \texttt{defineJS} environment takes two parameters, the first
+optional. the required parameter is the command name to be defined. Use the
+optional first parameter (\ameta{chngCats}) to modify the verbatim
+environment, as illustrated in the example below. The \ameta{script} is saved
+under the command name \cs{\ameta{cmd}}. The \texttt{defineJS} is a complete
+verbatim environment: no escape, and no comment characters are defined. You
+can use the optional parameter to create an escape character; you can pretty
+much use any character you wish, \emph{except} the usual one `\verb+\+',
backslash.
\Example The following example illustrates the usage of the \texttt{defineJS} environment.
@@ -3287,11 +3344,75 @@ console.println("Exiting the button area");
\AAMouseExit{\JS{\JSAAX}}}
]{myButton}{30bp}{15bp}
\end{dCmd*}
-\newtopic The code of \cs{JSAAE} and \cs{JSAAX} are so simple, the \texttt{defineJS} environment
-was really not needed. A simple \cs{newcommand} definition would have been sufficient.
+\newtopic The code lines of \cs{JSAAE} and \cs{JSAAX} are so simple, \texttt{defineJS} environment
+was really not needed.
\newtopic See \Nameref{lengthyJS} for an additional example of the use of the \texttt{defineJS} environment.
+The \pkg{insdljs} package defines two ``silent'' versions of \env{defineJS},
+\env{@defineJS} and \env{defineJS*}.
+\settowidth{\aebdimen}{\ttfamily\string\begin\darg{@defineJS}[\ameta{chngCats}]\darg{\cs{\ameta{cmd}}}}
+\begin{dCmd}[commandchars=!()]{\aebdimen+2\fboxsep+2\fboxrule}
+\begin{@defineJS}[!ameta(chngCats)]{\!ameta(cmd)}
+!qquad!ameta(script)
+\end{@defineJS}
+!STRUT!vrbnormal !texttt(defineJS*) is a public version !texttt(@defineJS)
+!STRUT\begin{defineJS*}[!ameta(chngCats)]{\!ameta(cmd)}
+!qquad!ameta(script)
+\end{defineJS*}
+\end{dCmd}
+\medskip\noindent
+Use \env{defineJS*} in the body of the document; the command argument \cs{\ameta{cmd}} can be silently
+used and redefined in a later \env{defineJS*} environment.
+The \env{@defineJS} environment is for package authors.
+
+\paragraph*{The \texorpdfstring{{\protect\env{defineJS}}}{defineJS}-type environments with arguments.}\label{para:defineJSwArgs}
+%\index{defineJS with arguments@\env{defineJS} with arguments}
+The \env{defineJS}-type environments do not have parameters/arguments as
+normal environments (or commands) do. To enable the ability to modify the
+JavaScript code within the environment of \env{defineJS}, the command pair
+\cs{bParams}/\allowbreak\cs{eParams} is defined.
+\settowidth{\aebdimen}{\ttfamily\string\bParams\darg{\ameta{token\SUB1}}\darg{\ameta{token\SUB2}}...\darg{\ameta{token\SUB{n}}}\string\eParams}
+\begin{dCmd}[commandchars=!()]{\aebdimen+2\fboxsep+2\fboxrule}
+\bParams{!ameta(token!SUB1)}{!ameta(token!SUB2)}...{!ameta(token!SUB(n))}\eParams
+\end{dCmd}
+\medskip\noindent When you use one of the \env{defineJS} environments to define field level
+JavaScript, you can include symbolic parameters/arguments \cs{p(1)}, \cs{p(2)}, and so
+on, within the body of the environment. At the time of expansion of the
+command \cs{\ameta{cmd}}, a substitution is made: \cs{p(1)} expands to
+\ameta{token\SUB1}, \cs{p(2)} expands to \ameta{token\SUB1}, and so on. Note
+that the argument of \cs{p}, which is only locally defined, is enclosed with
+\emph{parentheses}. Before continuing with the discussion, consider the following
+example.
+\begin{Verbatim}[xleftmargin=\amtIndent,fontsize=\small,commandchars={@^\%}]
+\begin{defineJS*}[\catcode`\!=0\relax]{\myCode}
+var p1=@textbf^!p(1)%, p2=@textbf^!p(2)%;
+app.alert("p1 + p2 = " + Number(p1+p2) );
+\end{defineJS*}
+\end{Verbatim}
+Within the body of a \env{defineJS} environment, there is no escape character
+unless you change catcode of another character within the optional argument
+of the \env{defineJS} environment. In the above example, the exclamation mark
+is declared as the escape.
+\begin{Verbatim}[xleftmargin=\amtIndent,fontsize=\small,commandchars={!()}]
+\pushButton[\cmd{!textbf(\bParams{1}{16}\eParams)}
+ \A{\JS{\myCode}}]{pbfld1}{.5in}{11bp}
+\end{Verbatim}
+When this button is pressed, an alert message appears `\uif{p1 + p2 = 17}'.
+We can reuse this code later with other parameters:
+\begin{Verbatim}[xleftmargin=\amtIndent,fontsize=\small,commandchars={!()}]
+\pushButton[\cmd{!textbf(\bParams{77}{11}\eParams)}
+ \A{\JS{\myCode}}]{pbfld2}{.5in}{11bp}
+\end{Verbatim}
+Now the message is `\uif{p1 + p2 = 88}'.
+
+In both examples, the special key \cs{cmd} is used to pass the
+\cs{bParams}/\allowbreak\cs{eParams} command pair into \pkg{eforms}' parsing
+stream; this keeps the declaration local. The \hyperlink{cmd}{\cs{cmd}} key is described in
+\hyperref[supportedKVs]{Appendix~\ref*{supportedKVs}}, titled `\nameref{supportedKVs}', beginning on \pageref*{supportedKVs}; specifically,
+\cs{cmd} is listed in under the heading \textcolor{blue}{Specialized, non-PDF Spec commands}.
+
+
\newpage
%\appendix
\markright{Appendix}
@@ -3376,7 +3497,7 @@ FfRichText? & rich text (PDF 1.5) & text\\
\newpage
-\appendixsubsection{Supported Key Variables}
+\appendixsubsection{Supported Key Variables}\label{supportedKVs}
%\addcontentsline{toc}{appendixsubsection}{\protect\numberline{}Supported Key Variables}
Below is a list of the keys supported for modifying the appearance
@@ -3539,7 +3660,7 @@ Lock? & This key is used to lock fields after the signature field is
&\verb+\Lock{}+\\\hline
%-------------------------------------------------------------------
%\pagebreak
-\multicolumn{3}{l}{\color{blue}Specialized, non-PDF Spec, commands:}\\
+\multicolumn{3}{l}{\color{blue}Specialized, non-PDF Spec commands:}\\
rawPDF? & \texttt{\darg{\ameta{PDF-KVPs}}} If all else fails, you can always introduce key-value pairs
through this variable. &\verb+\rawPDF{}+\\
autoCenter? &\texttt{\darg{y|n}} There is a centering code that attempts to give a pleasant
@@ -3558,6 +3679,8 @@ symbolchoice? & \texttt{\darg{\ameta{symbol-choice}}} Use this variable to speci
be used to globally change the symbol choice as well; for
example, \verb+\symbolchoice{check}+, which is the
default value.\\
+cmd? &\texttt{\darg{\ameta{cmd-args}}} Passes its argument into the key-value parsing stream, refer
+to page~\pageref{para:defineJSwArgs} for an example.\\
linktxtcolor? & \texttt{\darg{\ameta{named-color{\upshape|empty}}}} The value of this variable is a named color and is the
color of the link text. Only recognized
in link annotations. A value of
diff --git a/texmf-dist/doc/latex/acrotex/examples/README.md b/texmf-dist/doc/latex/acrotex/examples/README.md
index 357ccb88..d56ccff2 100644
--- a/texmf-dist/doc/latex/acrotex/examples/README.md
+++ b/texmf-dist/doc/latex/acrotex/examples/README.md
@@ -24,4 +24,4 @@ The AcroTeX Blog (http://www.acrotex.net/blog/) is a great resource for all thin
AeB and PDF.
Don Story
-2016/01/29
+2019/05/21
diff --git a/texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf b/texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf
index 7a3dff6c..3f604225 100644
--- a/texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf
+++ b/texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/acrotex/examples/jquiztst.tex b/texmf-dist/doc/latex/acrotex/examples/jquiztst.tex
index b3185c1c..c1148c82 100644
--- a/texmf-dist/doc/latex/acrotex/examples/jquiztst.tex
+++ b/texmf-dist/doc/latex/acrotex/examples/jquiztst.tex
@@ -3,7 +3,6 @@
\usepackage{graphicx}
\usepackage
[tight,
-% dvips, % <- replace with any supported driver
designi,%forpaper,
navibar
]{web}
@@ -27,8 +26,6 @@ Department of Mathematics}
%\useBeginQuizButton[\textColor{blue}]
\useEndQuizButton[\textColor{blue}]
-
-
% Uncomment this line to require the student
% to answer all questions in the quiz before
% the quiz is evaluated.
@@ -49,7 +46,7 @@ Department of Mathematics}
\begin{document}
\maketitle
-%\tableofcontents
+\tableofcontents
\section{Math Fill-In Question}
@@ -163,13 +160,15 @@ Practice by typing in the answer:
\noindent$\dfrac{\text{d}}{\text{d}x} {(x^4 + 1)^{1/2}} =
\eqsanitize
\underset{\text{\rotatebox{-45}{\rlap{The Response Box}}}}
- {\underbrace{\STRUT\efKern{1bp}{0bp}\RespBoxMath{2*x^3*(x^4+1)^(-1/2)}{4}{.0001}{[1,2]}\relax\efKern{1bp}{0bp}}}\kern-1bp
+ {\underbrace{\STRUT\efKern{1bp}{0bp}
+ \RespBoxMath{2*x^3*(x^4+1)^(-1/2)}{4}{.0001}{[1,2]}\relax\efKern{1bp}{0bp}}}\kern-1bp
\underset{\text{\rotatebox{-45}{\rlap{Answer Button}}}}
{\underbrace{\STRUT\efKern{1bp}{0bp}\CorrAnsButton{2*x^3*(x^4+1)^(-1/2)}\efKern{1bp}{0bp}}}\kern-1bp
\underset{\text{\rotatebox{-45}{\rlap{Num.\ of incorrect tries}}}}
{\underbrace{\STRUT\efKern{1bp}{0bp}\sqTallyBox\relax\efKern{1bp}{0bp}}}\olBdry\efKern{-1bp}{0bp}\sqClearButton$
\end{oQuestion}
+
\vspace{5\bigskipamount}
When a correct answer is input into the response box, the color of
@@ -278,7 +277,7 @@ the power rule:
In the syntax of this document, \js{2*x*e^(x^2)}.
\end{solution}
\end{questions}
-\end{quiz}\quad\ScoreField\currQuiz\olBdry\eqButton\currQuiz
+\end{quiz}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz
\noindent
Answers: \AnswerField\currQuiz
diff --git a/texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf b/texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf
index 2d034bfd..8638f825 100644
--- a/texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf
+++ b/texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/acrotex/examples/jtxttst.tex b/texmf-dist/doc/latex/acrotex/examples/jtxttst.tex
index eb2747e4..4d78e086 100644
--- a/texmf-dist/doc/latex/acrotex/examples/jtxttst.tex
+++ b/texmf-dist/doc/latex/acrotex/examples/jtxttst.tex
@@ -152,7 +152,7 @@ Answer each of the following. Passing is 100\%.
\item Who was the first president of the United States?\par\kern3pt\noindent
\RespBoxTxt{0}{0}[geow]{4}{George Washington}{Washington}{G. Washington}{Geo. Washington}\hfill
-\CorrAnsButton{George Washington}\kern1bp\sqTallyBox
+\CorrAnsButton{George Washington}\cgBdry\sqTallyBox
\begin{solution}
Yes, George Washington was the first President of the United
States of America.
@@ -161,7 +161,7 @@ States of America.
\item Name \emph{one} of the two people recognized as a founder of
Calculus.\par\kern3pt\noindent
\RespBoxTxt{2}{0}{5}{Isaac Newton}{Newton}{I. Newton}{Gottfried Leibniz}{Leibniz}\hfill
-\CorrAnsButton{Isaac Newton or Gottfried Leibniz}\kern1bp\sqTallyBox
+\CorrAnsButton{Isaac Newton or Gottfried Leibniz}\olBdry\sqTallyBox
\item If $f$ is differentiable, then $f$ is continuous.
\begin{answers}{4}
@@ -171,17 +171,17 @@ Calculus.\par\kern3pt\noindent
\item
\dPose {4 x^{-1/2}}\RespBoxMath{-2*pow(x,-3/2)}{4}{.0001}{[1,2]}\hfill
-\CorrAnsButton{-2*x^(-3/2)}\kern1bp\sqTallyBox
+\CorrAnsButton{-2*x^(-3/2)}\olBdry\sqTallyBox
\item
$\displaystyle\int \frac 1x\,dx = $\space
\RespBoxMath{ln(abs(x))}{4}{.0001}{[1,2]}[indefCompare]\hfill
-\CorrAnsButton{ln(|x|)}\kern1bp\sqTallyBox
+\CorrAnsButton{ln(|x|)}\olBdry\sqTallyBox
\end{questions}
\end{shortquiz}
\begin{flushright}
-\sqClearButton\kern1bp\sqTallyTotal
+\sqClearButton\olBdry\sqTallyTotal
\end{flushright}
\newpage
@@ -229,7 +229,7 @@ Oh, come on now. You know that $\cos(\pi)=-1$.
\end{solution}
\end{questions}
-\end{quiz}\quad\ScoreField\currQuiz\eqButton\currQuiz
+\end{quiz}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz
\noindent
Answers: \AnswerField\currQuiz
diff --git a/texmf-dist/doc/latex/acrotex/examples/webeqtst.pdf b/texmf-dist/doc/latex/acrotex/examples/webeqtst.pdf
index f3a8c054..c3cd4090 100644
--- a/texmf-dist/doc/latex/acrotex/examples/webeqtst.pdf
+++ b/texmf-dist/doc/latex/acrotex/examples/webeqtst.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/acrotex/examples/webeqtst.tex b/texmf-dist/doc/latex/acrotex/examples/webeqtst.tex
index 0d0634ec..eb9b806a 100644
--- a/texmf-dist/doc/latex/acrotex/examples/webeqtst.tex
+++ b/texmf-dist/doc/latex/acrotex/examples/webeqtst.tex
@@ -1,7 +1,7 @@
\documentclass{article}
\usepackage{amsmath}
\usepackage[tight,designvi]{web}
-\usepackage[nosolutions]{exerquiz}
+\usepackage{exerquiz}
\title{\texorpdfstring{Acro\!\TeX}{AcroTeX} eDucation Bundle
\texorpdfstring{\\[1ex]}{:}Exercises and Quizzes}
@@ -397,7 +397,7 @@ is 100\%.
\Ans0 Knuth &\Ans1 Lamport &\Ans0 Carlisle &\Ans0 Rahtz
\end{answers}
\end{questions}
-\end{quiz}\quad\ScoreField\currQuiz\eqButton\currQuiz
+\end{quiz}\quad\ScoreField\currQuiz\CorrButton\currQuiz
\medskip
We can obtain the forms-style quiz simply by inserting an \texttt*
@@ -428,7 +428,7 @@ Yes, it was Donald Knuth who first created \TeX.
Yes, it was Leslie Lamport who first created \TeX.
\end{solution}
\end{questions}
-\end{quiz*}\quad\ScoreField\currQuiz\eqButton\currQuiz
+\end{quiz*}\quad\ScoreField\currQuiz\CorrButton\currQuiz
The ``corrections'' button can be modified to fit your needs. The quiz
below queries your knowledge of the people who maintain various freeware
@@ -452,8 +452,8 @@ is 100\%.
\end{answers}
\end{questions}
\end{quiz*}\quad
-\ScoreField{qzTeXc}%
- \eqButton[\BC{0 0 1} % blue border color
+\ScoreField{qzTeXc}\cgBdry\relax
+ \CorrButton[\BC{0 0 1} % blue border color
\CA{TeX} % Button text
\RC{Users} % rollover text
\AC{Group} % pushed text