From 6a52c1c26fb3564261e4be684b0f198501f94e2a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 15 Jun 2021 14:32:14 +0900 Subject: acrotex --- texmf-dist/doc/latex/acrotex/README.md | 7 +- texmf-dist/doc/latex/acrotex/aeb_man.pdf | Bin 2255476 -> 2259587 bytes texmf-dist/doc/latex/acrotex/aeb_man.tex | 71 ++++++++++++--------- texmf-dist/doc/latex/acrotex/eformman.pdf | Bin 999995 -> 1000084 bytes texmf-dist/doc/latex/acrotex/eformman.tex | 2 +- texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf | Bin 126756 -> 358366 bytes texmf-dist/doc/latex/acrotex/examples/jquiztst.tex | 26 ++++---- texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf | Bin 320860 -> 320578 bytes texmf-dist/doc/latex/acrotex/examples/webeqtst.pdf | Bin 331712 -> 497831 bytes texmf-dist/doc/latex/acrotex/examples/webeqtst.tex | 6 +- 10 files changed, 64 insertions(+), 48 deletions(-) (limited to 'texmf-dist/doc/latex') diff --git a/texmf-dist/doc/latex/acrotex/README.md b/texmf-dist/doc/latex/acrotex/README.md index e64297bc..0b8915e7 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 (AeB) Author: D. P. Story -Dated: 2021-05-15 +Dated: 2021-05-29 AeB contains the following: @@ -19,6 +19,11 @@ AeB contains the following: 6) Documentation for AeB (AcroTeX eDucatation Bundle) and eforms (including insdljs and dljslib). +What's New (2021-05-29) + exerquiz: Internal changes to Begin Quiz and End Quiz actions to + support eq-pin2corr package. Exerquiz now tracks duplication quiz names. + Shift-Begin Quiz now clears the quiz without initializing it. + What's New (2021-05-15) exerquiz: Some bug fixes. Defined the new insertAt key of the \bChoices command. See diff --git a/texmf-dist/doc/latex/acrotex/aeb_man.pdf b/texmf-dist/doc/latex/acrotex/aeb_man.pdf index 1e187364..d107b43e 100644 Binary files a/texmf-dist/doc/latex/acrotex/aeb_man.pdf and b/texmf-dist/doc/latex/acrotex/aeb_man.pdf differ diff --git a/texmf-dist/doc/latex/acrotex/aeb_man.tex b/texmf-dist/doc/latex/acrotex/aeb_man.tex index 0969156c..9276c3cf 100644 --- a/texmf-dist/doc/latex/acrotex/aeb_man.tex +++ b/texmf-dist/doc/latex/acrotex/aeb_man.tex @@ -243,10 +243,10 @@ \university{{\AcroT} Software Development Team} \email{dpstory@acrotex.net} \versionLabel{Dated:} -\version{2021/05/15} +\version{2021/05/29} \copyrightyears{1999-\the\year} \nocopyright -\prepared{2021/05/15} +\prepared{2021/05/29} \revisionLabel{Distribution Dated:} \copyrightStatus{True} @@ -4030,7 +4030,7 @@ this option. \textsf{pdftex} does not (normally) produce a dvi file. %\subsection{The \texttt{nodljs} Option}\label{sss:nodljs} -\subsection{Options passed through to the \tops{\protect\pkg}{}{insdljs} package} +\subsection{Options passed through to the \tops{\protect\pkg}{}{insdljs} package}\label{ss:passthru} The following options are passed through to \pkg{insdljs}: \opt{nodljs}, \opt{exercisesonly} (same as \opt{nodljs}), \opt{execJS}, and \opt{usealtadobe}. @@ -6166,7 +6166,7 @@ Prior to the short quiz below, the following command was executed \sqTurnOffAlerts %\sqCorrections \everysqRadioButton{\BC{.690 .769 .871}\BG{.941 1 .941}} -\begin{shortquiz*}[KublaKhan3] +\begin{shortquiz*}[KublaKhan4] Was it in Xanadu did Kubla Kahn a stately pleasure dome decree? \begin{answers}{4} \Ans1 True & \Ans0 False @@ -6526,15 +6526,22 @@ page~\pageref{sss:exampltextfield}. In addition to the options listed in the section \ref{sq:opts}, page \pageref*{sq:opts}, the following is designed for quizzes. -\subsubsection{The option -\tops{\protect\texttt{noquiz\-solutions}}{noquizsolutions}}\label{sss:noquizsolutions} +\subsubsection{The +\tops{\protect\texttt{noquizsolutions}}{noquizsolutions} option}\label{sss:noquizsolutions} -For online quizzing, where results are stored in some way (database, -e-mail, text file) the presence of the solutions in the same file as the -questions is a breach in security of the quiz. Using the -\texttt{noquizsolutions} removes the solutions to a \texttt{quiz} and -\texttt{shortquiz} from the document under construction. +For online quizzing, where results are stored in some way (database, e-mail, +text file) the presence of the solutions in the same file as the questions is +a breach in security of the quiz. Using the \texttt{noquizsolutions} removes +the solutions to a \texttt{quiz} and \texttt{shortquiz} from the document +under construction. In the case of \env{quiz} environments, any +\cs{CorrAnsButton} command placed in the quiz \emph{is not typeset} into the document. +\subsubsection{The +\tops{\protect\texttt{allowanswers}}{allowanswers} option}\label{sss:allowanswers} + +This option is effective only when the \texttt{noquizsolutions} option is +also taken. When present in the option list, any \cs{CorrAnsButton} command +\emph{is typeset} into the document. \subsection{The \texttt{answers} Environment}\label{answersQuiz} @@ -6551,22 +6558,21 @@ is \newtopic The \anglemeta{dest}, an optional argument, is a name used to create a hypertext jump to the solution; it has two forms: \texttt{[\meta{named\_dest}]}, an explicit -``named destination.''; and the \texttt{*}-form, \textsf{exerquiz} automatically -generates the name. Use \meta{named\_dest} when you want to refer to a solution -in another part of the document; otherwise, use \texttt{*}, for convenience. - -If either the \texttt{[\meta{named\_dest}]} or \texttt{*} is used, a -\texttt{solution} environment should follow. - -\newtopic The \meta{num\_cols} is the number of columns to -typeset the answers in. When \meta{num\_cols} is 1, the answers are set -in a list environment; otherwise, a tabular environment is used. In the latter case, -the usual table syntax is used. (Use \texttt{\&} to separate columns, and \verb!\\! to -terminate a row.) - -\newtopic The \cs{Ans} command has one required argument, a 1 to mark that this -answer is a correct answer, and a 0 to mark that this answer is not true. \cs{Ans} -also has an optional argument to pass partial points rewarded for a wrong answer. +``named destination.''; and the star-form (\texttt{*}), \pkg{exerquiz} +automatically generates the name. Use \meta{named\_dest} when you want to +refer to a solution in another part of the document; otherwise, use +\texttt{*}, for convenience. If either the \texttt{[\meta{named\_dest}]} or +\texttt{*} is used, a \texttt{solution} environment should follow. + +\newtopic The \meta{num\_cols} argument is the number of columns to +typeset the answers in. When \meta{num\_cols} is 1, the answers are set in a +list environment; otherwise, a tabular environment is used. In the latter +case, the usual table syntax is used: use \texttt{\&} to separate columns, +and \verb!\\! to terminate a row. + +\newtopic The \cs{Ans} command has one required argument, a 1 to mark the choice +as correct, and a 0 to mark it as incorrect. \cs{Ans} also has an optional +argument to pass partial points rewarded for a wrong answer. \newtopic This environment is illustrated extensively in this section. See also the \texttt{manswers} environment, \Nameref{manswersQuiz}, for posting questions with multiple @@ -6781,7 +6787,7 @@ restores the next multiple choice/selection question back to the default determi by the quiz environment (\texttt{quiz} versus \texttt{quiz*}), or as set by the \cs{quiztype} command. -\subsubsection{The BeginQuiz and EndQuiz Form Buttons}\label{sss:FormButton} +\subsubsection{The \tops{\protect\uif}{}{Begin Quiz} and \tops{\protect\uif}{}{End Quiz} Form Buttons}\label{sss:FormButton} The default setup the \texttt{quiz} environment is to have hypertext links for the `Begin Quiz' and `End Quiz'. You can also @@ -6791,6 +6797,9 @@ Prior to your quiz, use the following code, if desired. \useBeginQuizButton \useEndQuizButton \end{Verbatim} +Clicking the \uif{Begin Quiz} button clears all fields in the quiz and initializes it for the user +to respond to each question. Shift-clicking the \uif{Begin Quiz} button clears all fields, but does not +initialize the quiz. \useBeginQuizButton\useEndQuizButton %\makeatletter @@ -6825,8 +6834,10 @@ is 100\%. \noindent The commands \cs{useBeginQuizButton} and \cs{useEndQuizButton} each have an optional argument that can be used to modify the appearance of the buttons. -\begin{Verbatim}[xleftmargin=\amtIndent] +\begin{Verbatim}[xleftmargin=\amtIndent,commandchars=!()] \useBeginQuizButton[\textColor{0 0 1}] +!makebox[0pt](!textsf(or)!hskip!amtIndent) +\useBeginQuizButton[\textColor{blue}] %!textsf( if xcolor package is loaded) \end{Verbatim} \noindent would create a `Begin Quiz' button with blue text for the button label. @@ -11602,7 +11613,7 @@ Sameshima)\\ used with \pkg{web}\\ \hyperref[sss:preview]{preview} & shows the outline of all form fields in the dvi previewer \\ -\hyperref[sss:nodljs]{nodljs} & turns off the insertion of DLJS \\ +\hyperref[ss:passthru]{nodljs} & turns off the insertion of DLJS \\ %\hyperref[sss:acrobativ]{acrobativ} & equivalent to \texttt{nodljs}\\ \hyperref[sss:noquizzes]{exercisesonly} & if document has only exercises, no doc level JS needed\\ %\hyperref[sss:debug]{debug} & this option is passed on to the \texttt{insdljs} package\\ diff --git a/texmf-dist/doc/latex/acrotex/eformman.pdf b/texmf-dist/doc/latex/acrotex/eformman.pdf index ef8900e6..e34de8e6 100644 Binary files a/texmf-dist/doc/latex/acrotex/eformman.pdf and b/texmf-dist/doc/latex/acrotex/eformman.pdf differ diff --git a/texmf-dist/doc/latex/acrotex/eformman.tex b/texmf-dist/doc/latex/acrotex/eformman.tex index bc472205..de094e14 100644 --- a/texmf-dist/doc/latex/acrotex/eformman.tex +++ b/texmf-dist/doc/latex/acrotex/eformman.tex @@ -82,7 +82,7 @@ subject={Documentation for the eforms and insdljs packages}, talksite={\url{www.acrotex.net}}, version={2.0}, - prepared={2021/05/15}, + prepared={2021/05/29}, preparedLabel={Distribution Dated:}, keywords={LaTeX, hyperref, PDF, exercises, quizzes}, copyrightStatus=True, diff --git a/texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf b/texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf index 7d18e4eb..39f0d58d 100644 Binary files a/texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf and b/texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf differ diff --git a/texmf-dist/doc/latex/acrotex/examples/jquiztst.tex b/texmf-dist/doc/latex/acrotex/examples/jquiztst.tex index eba2884d..2ed93b31 100644 --- a/texmf-dist/doc/latex/acrotex/examples/jquiztst.tex +++ b/texmf-dist/doc/latex/acrotex/examples/jquiztst.tex @@ -25,7 +25,7 @@ Department of Mathematics} % Uncomment the lines below to create buttons % for "Begin Quiz", "End Quiz" instead of links -%\useBeginQuizButton[\textColor{blue}] +\useBeginQuizButton[\textColor{blue}] \useEndQuizButton[\textColor{blue}] % Uncomment this line to require the student @@ -126,19 +126,19 @@ of $x$ is expected will, no doubt, result in missed problem. For fill-in questions, if the document author so wishes, answers and (optionally) solutions can be provided. The author provides -an ``Ans'' button. This button is visible for a \texttt{shortquiz} +an `\textsf{Ans}' button. This button is visible for a \texttt{shortquiz} and hidden for a \texttt{quiz}. -For a \texttt{shortquiz}, the ``Ans'' button can be clicked at +For a \texttt{shortquiz}, the `\textsf{Ans}' button can be clicked at anytime. In the case of a \texttt{quiz}, after a \texttt{quiz} has -been completed, the hidden ``Ans'' buttons appear. Click on the +been completed, the hidden `\textsf{Ans}' buttons appear. Click the button to get an answer to the problem. -Concerning solutions. If the ``Ans'' button has a green boundary, +Concerning solutions. If the `\textsf{Ans}' button has a green boundary, that means that question has a solution. Performing a -\texttt{Shift-Click} on the ``Ans'' button causes the viewer to +\textsf{Shift-Clicking} the `\textsf{Ans}' button causes the viewer to jump to the solution. For multiple choice questions, the boundary -for the correct answer is colored green as well. Click on the +for the correct answer is colored green as well. \textsf{Click} the answer field to jump to the solution. Solutions to a \texttt{quiz} can be protected from prying eyes @@ -150,9 +150,9 @@ brief discussion. \noindent\textcolor{blue}{\textbf{Example:}} Consider the following sample question. Practice by typing in the answer: -\js{2*x^3*(x^4+1)^(-1/2)}. +\js{2*x^3*(x^4+1)^(-1/2)}. -You can also type \js{2x^3(x^4+1)^(-1/2)} since the +You can also type \js{2x^3(x^4+1)^(-1/2)} since the \texttt{ImplMulti} option is taken with the \textsf{dljslib} package. \medskip @@ -187,9 +187,9 @@ operator, try modifying the answer using \js{sqrt}. %response using the correct syntax. Problem \#2 illustrates how to define a problem with a variable -other than the default $x$. Click on the ``Ans'' button to get -answers, shift-click on ``Ans'' buttons that have a green boundary -to get a solution. +other than the default $x$. \textsf{Click} the `\textsf{Ans}' button to get the +answer, \textsf{shift-click} the `\textsf{Ans}' button that have a green boundary +to get the solution. \begin{shortquiz*}[answer] Answer each of the following. Passing is 100\%. @@ -241,7 +241,7 @@ and is protected by the \texttt{\string\NoPeeking} command. First, browse the solutions at the end of the file, when you encounter a solution protected by \texttt{\string\NoPeeking}, see what happens. -Click on the ``Ans'' button to get answers, shift-click on ``Ans'' +Click on the `\textsf{Ans}' button to get answers, shift-click on `\textsf{Ans}' buttons that have a green boundary to get a solution. \NoPeeking % or put in preamble diff --git a/texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf b/texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf index 8638f825..9af5055e 100644 Binary files a/texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf and b/texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf differ diff --git a/texmf-dist/doc/latex/acrotex/examples/webeqtst.pdf b/texmf-dist/doc/latex/acrotex/examples/webeqtst.pdf index 9007fa24..bffc715f 100644 Binary files a/texmf-dist/doc/latex/acrotex/examples/webeqtst.pdf and b/texmf-dist/doc/latex/acrotex/examples/webeqtst.pdf differ diff --git a/texmf-dist/doc/latex/acrotex/examples/webeqtst.tex b/texmf-dist/doc/latex/acrotex/examples/webeqtst.tex index 7f3e8c7f..2e3c59b9 100644 --- a/texmf-dist/doc/latex/acrotex/examples/webeqtst.tex +++ b/texmf-dist/doc/latex/acrotex/examples/webeqtst.tex @@ -456,8 +456,8 @@ is 100\%. \CA{TeX} % Button text \RC{Users} % rollover text \AC{Group} % pushed text - \DA{/TiRo 10 Tf 0 0 1 rg} % times roman, 10 pt, blue text - \W{1}\S{I} % border width 1, inset button + \DA{/TiRo 10 Tf 0 0 1 rg} % times roman, 10 pt, blue text + \W{1}\S{I} % border width 1, inset button ]{qzTeXc} \section{Objective-Style Questions} @@ -465,7 +465,7 @@ is 100\%. It is possible to pose objective-style questions (fill-in-the-blank). The demo file for this style question is called \href{http://www.math.uakron.edu/~dpstory/acrotex/examples/html/jquiztst.pdf}{jquiztst.pdf} -(relative link: \href{jquiztst.pdf}{jquiztst.pdf}). Click on the link to +(relative link: \href{jquiztst.pdf}{jquiztst.pdf}). Click the link to review this demo file. \end{document} -- cgit v1.2.3