From e98d5dc25eeecb2f30d84b21c064e5fe4264ac52 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 25 Dec 2019 15:31:44 +0900 Subject: acrotex update --- texmf-dist/doc/latex/acrotex/README.md | 5 +- texmf-dist/doc/latex/acrotex/aeb_man.pdf | Bin 1362922 -> 1362881 bytes texmf-dist/doc/latex/acrotex/aeb_man.tex | 53 +- texmf-dist/doc/latex/acrotex/eformman.pdf | Bin 995308 -> 989403 bytes texmf-dist/doc/latex/acrotex/eformman.tex | 4 +- texmf-dist/doc/latex/acrotex/examples/README.md | 2 +- texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf | Bin 355970 -> 250926 bytes texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf | Bin 319897 -> 320860 bytes texmf-dist/doc/latex/acrotex/examples/webeqtst.pdf | Bin 489546 -> 491490 bytes texmf-dist/doc/latex/acrotex/install_jsfiles.pdf | Bin 236764 -> 237391 bytes texmf-dist/source/latex/acrotex/acrotex.ins | 2 +- texmf-dist/source/latex/acrotex/eforms.dtx | 34 +- texmf-dist/source/latex/acrotex/exerquiz.dtx | 670 ++++++++++++--------- texmf-dist/source/latex/acrotex/exerquiz.ins | 2 +- texmf-dist/source/latex/acrotex/insdljs.dtx | 45 +- texmf-dist/source/latex/acrotex/web.dtx | 82 ++- texmf-dist/tex/latex/acrotex/aeb-comment.sty | 6 +- texmf-dist/tex/latex/acrotex/aebdocfmt.def | 9 +- texmf-dist/tex/latex/acrotex/aebjs.def | 343 +++++------ texmf-dist/tex/latex/acrotex/aebrandom.def | 2 +- texmf-dist/tex/latex/acrotex/aebsumrytbls.def | 2 +- texmf-dist/tex/latex/acrotex/eforms.sty | 8 +- texmf-dist/tex/latex/acrotex/eqexam.def | 29 +- texmf-dist/tex/latex/acrotex/eqtr.def | 4 +- texmf-dist/tex/latex/acrotex/exerquiz.sty | 256 ++++---- texmf-dist/tex/latex/acrotex/insdljs.sty | 12 +- texmf-dist/tex/latex/acrotex/template.def | 6 +- texmf-dist/tex/latex/acrotex/web.cfg | 3 + texmf-dist/tex/latex/acrotex/web.sty | 54 +- 29 files changed, 973 insertions(+), 660 deletions(-) diff --git a/texmf-dist/doc/latex/acrotex/README.md b/texmf-dist/doc/latex/acrotex/README.md index 8e149839..2ea307d3 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: 2019-08-13 +Dated: 2019-12-17 AeB contains the following: @@ -19,6 +19,9 @@ AeB contains the following: 6) Documentation for AeB (AcroTeX eDucatation Bundle) and eForms (including insdljs and dljslib). +What's New (2019-12-17) Defined \InputExrSolnsLevel and \InputQzSolnsLevel to +make it easy to change the section-type for the solution pages. + What's New (2019-08-13) Use \protect when formatting a enhanced preview value. Other minor changes and bug fixes. diff --git a/texmf-dist/doc/latex/acrotex/aeb_man.pdf b/texmf-dist/doc/latex/acrotex/aeb_man.pdf index 794013af..280a4bc0 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 679358f2..032ec52e 100644 --- a/texmf-dist/doc/latex/acrotex/aeb_man.tex +++ b/texmf-dist/doc/latex/acrotex/aeb_man.tex @@ -232,10 +232,10 @@ \university{{\AcroT} Software Development Team} \email{dpstory@acrotex.net} \versionLabel{Dated:} -\version{2019/08/13} +\version{2019/12/17} \copyrightyears{1999-\the\year} \nocopyright -\prepared{2019/08/13} +\prepared{2019/12/17} \revisionLabel{Distribution Dated:} \copyrightStatus{True} @@ -3585,7 +3585,7 @@ The {\Web} package has several commands for customizing the \cs{part} and The appearance of the part title can be controlled by \cs{formatPartTitle}. -\settowidth{\aebdimen}{\cs{customSubsubsecHead\darg{\anglemeta{tex\_code}}}} +\settowidth{\aebdimen}{\ttfamily\cs{customSubsubsecHead\darg{\anglemeta{tex\_code}}}} \begin{dCmd}[commandchars=!()]{\aebdimen+2\fboxsep+2\fboxrule} \formatPartTitle{!anglemeta(tex_code)} \noPartNumbers @@ -4704,7 +4704,7 @@ the questions when the questions are in tabular form.\endredpoint website for examples. -\subsubsection{Moving the Solution Set} +\subsubsection{Inputting the Solution Set} The solution set, by default, comes last in the file. You can move its positioning by including the command @@ -4713,6 +4713,20 @@ exercise. You'll note that I have moved the solutions in this file \emph{before} the \nameref{references} section, as indicated, for example, by its position in the table of contents. +By default, the exercise solutions are brought into the document as a +\cs{section*} titled \cs{exsectitle}. The default settings can be changed +with the \cs{InputExrSolnsLevel} command : +\settowidth{\aebdimen}{\ttfamily\string\InputExrSolnsLevel*[\ameta{label}]\darg{\ameta{level}}}% +\begin{dCmd}[commandchars=!()]{\aebdimen+2\fboxsep+2\fboxrule} +\InputExrSolnsLevel*[!ameta(label)]{!ameta(level)} +\end{dCmd} +\smallskip\noindent +where, \ameta{level} is the section-level (usually \texttt{section} or +\texttt{chapter}); if the \texttt*-option is specified, then the solutions +are placed in a starred-section (\cs{section*} or \cs{chapter*}). If +\ameta{label} is specified, then \cs{label\darg{\ameta{label}}} is placed +just after the section title. The default is \cs{InputExrSolnsLevel*\darg{section}}. + \subsubsection{Grouping the solutions at end}\label{ss:grpEx} Historically, solutions to exercises appearing at the end of the file @@ -4723,7 +4737,6 @@ You can now declare \cs{makeExSolnsLocalOn} or \cs{makeExSolnsLocalOff} anywhere in the document to turn on grouping for all exercises that follow, or to turn off this feature again. The default is \cs{makeExSolnsLocalOff}. - \subsection{Redesigning the \texorpdfstring{\protect\texttt{exercise}}{exercise} Environment}\label{sss:redesignex} @@ -5688,15 +5701,29 @@ transparent, keep it that way. this command can be redefined as desired. See the source file \texttt{exerquiz.dtx}. Also see the definition of \Com{bottomOfAnsfStack}. -\subsubsection{Moving the Solution Set} +\subsubsection{Inputting the Solution Set} + +The solution set, by default, comes last in the file. You can move its +positioning by including the command \cs{includequizsolutions} at any point +\emph{after} the last quiz (created by the \texttt{shortquiz} and +\texttt{quiz} environments). You'll note that I have moved the solutions in +this file before the \nameref{references} section, as indicated, for example, +by its position in the table of contents. + +By default, the quiz solutions are brought into the document as a +\cs{section*} titled \cs{sqslsectitle}. The default settings can be changed +with the \cs{InputQzSolnsLevel} command: +\settowidth{\aebdimen}{\ttfamily\string\InputQzSolnsLevel*[\ameta{label}]\darg{\ameta{level}}}% +\begin{dCmd}[commandchars=!()]{\aebdimen+2\fboxsep+2\fboxrule} +\InputQzSolnsLevel*[!ameta(label)]{!ameta(level)} +\end{dCmd} +\smallskip\noindent +where, \ameta{level} is the section-level (usually \texttt{section} or +\texttt{chapter}); if the \texttt*-option is specified, then the solutions +are placed in a starred-section (\cs{section*} or \cs{chapter*}). If +\ameta{label} is specified, then \cs{label\darg{\ameta{label}}} is placed +just after the section title. The default is \cs{InputQzSolnsLevel*\darg{section}}. -The solution set, by default, comes last in the file. You can move -its positioning by including the command \cs{includequizsolutions} -at any point \emph{after} the last quiz (created by the \texttt{shortquiz} and \texttt{quiz} environments). You'll note -that I -have moved the solutions in this file before the -\nameref{references} section, as indicated, for example, by its -position in the table of contents. \subsubsection{Grouping the solutions at end}\label{ss:grpQzs} diff --git a/texmf-dist/doc/latex/acrotex/eformman.pdf b/texmf-dist/doc/latex/acrotex/eformman.pdf index c3532cfb..88525c5b 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 ecfbb3d8..fe52261c 100644 --- a/texmf-dist/doc/latex/acrotex/eformman.tex +++ b/texmf-dist/doc/latex/acrotex/eformman.tex @@ -80,8 +80,8 @@ email={dpstory@acrotex.net}, subject={Documentation for the eforms and insdljs packages}, talksite={\url{www.acrotex.net}}, - version={2.0}, - prepared={2019/08/06}, + version={2019/12/17}, + prepared={2019/12/17}, preparedLabel={Distribution Dated:}, keywords={LaTeX, hyperref, PDF, exercises, quizzes}, copyrightStatus=True, diff --git a/texmf-dist/doc/latex/acrotex/examples/README.md b/texmf-dist/doc/latex/acrotex/examples/README.md index d56ccff2..4157ef8c 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 -2019/05/21 +2019/12/17 diff --git a/texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf b/texmf-dist/doc/latex/acrotex/examples/jquiztst.pdf index d000d0dd..9ca2b2ab 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/jtxttst.pdf b/texmf-dist/doc/latex/acrotex/examples/jtxttst.pdf index 298a75f3..8638f825 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 17f62734..98a1033a 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/install_jsfiles.pdf b/texmf-dist/doc/latex/acrotex/install_jsfiles.pdf index 221ba16f..7b2d3fab 100644 Binary files a/texmf-dist/doc/latex/acrotex/install_jsfiles.pdf and b/texmf-dist/doc/latex/acrotex/install_jsfiles.pdf differ diff --git a/texmf-dist/source/latex/acrotex/acrotex.ins b/texmf-dist/source/latex/acrotex/acrotex.ins index 3afd02ab..84304311 100644 --- a/texmf-dist/source/latex/acrotex/acrotex.ins +++ b/texmf-dist/source/latex/acrotex/acrotex.ins @@ -57,7 +57,7 @@ \generate{% \file{exerquiz.sty}{\from{exerquiz.dtx}{copyright,package}} \file{aebjs.def}{\from{exerquiz.dtx}{copyright,aebjs}} -% \file{eqexam.def}{\from{exerquiz.dtx}{eqexam}} + \file{eqexam.def}{\from{exerquiz.dtx}{eqexam}} \file{aebrandom.def}{\from{exerquiz.dtx}{copyright,randomize}} \file{aebsumrytbls.def}{\from{exerquiz.dtx}{copyright,sumrytbls}} \file{usemcfi.def}{\from{exerquiz.dtx}{copyright,mcfi}} diff --git a/texmf-dist/source/latex/acrotex/eforms.dtx b/texmf-dist/source/latex/acrotex/eforms.dtx index d3e63f29..7133e60f 100644 --- a/texmf-dist/source/latex/acrotex/eforms.dtx +++ b/texmf-dist/source/latex/acrotex/eforms.dtx @@ -16,7 +16,7 @@ % %\NeedsTeXFormat{LaTeX2e} %\ProvidesPackage{eforms} -% [2019/06/14 v2.3 Provides general eforms support (dps)] +% [2019/10/23 v2.3.2 Provides general eforms support (dps)] %<*driver> \documentclass{ltxdoc} \usepackage[colorlinks,hyperindex=false]{hyperref}[2012/10/12] @@ -415,6 +415,30 @@ %\end{itemize} % \normalcolor % +% \subsection{Some utility commands} +% The following two commands were created as a convenience to changing the definition of certain +% JavaScript actions. Use \cs{efsave} to save the original definition of the action, then redefine the action, +% the later, restore the JS action to its original definition.\par\medskip\noindent +% \DescribeMacro{\efsave}\hskip-\marginparsep\texttt{\meta{\cs{cmd1}}\cs{as}\meta{\cs{cmd2}}} +% \cs{let}s \meta{\cs{cmd2}} to \meta{\cs{cmd1}} (that is, saves \meta{\cs{cmd1}} `as' \meta{\cs{cmd2}}). +% Arguments may contain \texttt{@}. +% \changes{v2.3.1}{2019/10/14}{Define \string\cs{efsave} and \string\cs{efrestore}} +% \begin{macrocode} +\def\efsave{\bgroup\let\as\relax\makeatletter\efsavei} +\def\efsavei#1\as#2{\global\let#2#1\egroup} +% \end{macrocode} +% \leavevmode\DescribeMacro{\efrestore}\hskip-\marginparsep\texttt{\meta{\cs{cmd1}}\cs{from}\meta{\cs{cmd2}}} +% \cs{let}s \meta{\cs{cmd1}} to \meta{\cs{cmd2}} (that is, restores \meta{\cs{cmd1}} `from' \meta{\cs{cmd2}}). +% Arguments may contain \texttt{@}. +% \begin{macrocode} +\def\efrestore{\bgroup\let\from\relax\makeatletter\efrestorei} +\def\efrestorei#1\from#2{\global\let#1#2\egroup} +% \end{macrocode} +% For example, expanding |\efsave\x\as\y| (eg, |\let\y\x|), the definition of the macro |\y| +% has the same definition as |\x| does. Now |\x| is free to be redefined. Later in the document, +% we can say |\efrestore\x\from\y| (eg, |\let\x\y|). Now the +% definition of |\x| has its original definition (at the time when it was saved). +% % \subsection{Process Key-Value Pairs: Main Macro}\label{procArgs} % % The following macro, \cs{processAppArgs}, is due in part to @@ -1156,7 +1180,7 @@ % expansion within first argument of \string\cs{tops} within \string\cs{@eqV}} % \begin{macrocode} \let\x\protect - \let\protect\noexpand@iii\edef\pmpvV{#1}% + \let\protect\noexpand@iii \edef\pmpvV{#1}\let\protect\x % \end{macrocode} % There is a problem with detecting unicode, if the author wants to use unicode, @@ -3195,10 +3219,10 @@ \eq@Check@driver}{\checkBoxDefaults\every@CheckBox}}} % \end{macrocode} % \end{macro} -% \subsubsection{Radio Button}\label{radiobutton} +% \subsubsection{Radio Buttons}\label{radiobutton} % The basic command for creating radio button fields. As of the version dated 2019/06/14, % radio button code was re-written so they operate in certain non-conforming PDF readers. The old code, -% which has proven to be reliable for many years. The old code +% which has proven to be reliable for many years, % is available when \DescribeMacro\useNewRadiosOff\cmd{\useNewRadiosOff} is expanded. This is the default. % % When \DescribeMacro\useNewRadiosOn\cmd{\useNewRadiosOn} is expanded, the new code for radio buttons is used. @@ -3957,7 +3981,7 @@ % \end{macrocode} % Set the color of the link text. Ignored if the colorlinks option of hyperref % has not been taken. The value of \texttt{linktxtcolor}\IndexKey{linktxtcolor} is a named color. For example, -% \texttt{linkcolor=red}. The default is |\@linkcolor| from hyperref. This default +% \texttt{linktxtcolor=red}. The default is |\@linkcolor| from hyperref. This default % can be changed by redefining |\@linkcolor|, or be redefining |\defaultlinkcolor|. % If |linktxtcolor={}| (an empty argument), or simply \texttt{linktxtcolor}, no color is applied to the text. % \begin{macrocode} diff --git a/texmf-dist/source/latex/acrotex/exerquiz.dtx b/texmf-dist/source/latex/acrotex/exerquiz.dtx index b2f61b78..275fffcb 100644 --- a/texmf-dist/source/latex/acrotex/exerquiz.dtx +++ b/texmf-dist/source/latex/acrotex/exerquiz.dtx @@ -21,15 +21,15 @@ %\ProvidesFile{eqexam.def} %\ProvidesFile{aebrandom.def} %\ProvidesFile{aebsumrytbls.def} -%