From 98a5ebd42698f1d75480d559708e349e28832ff6 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 9 Jun 2019 11:35:09 +0900 Subject: eqexam --- texmf-dist/doc/latex/eqexam/README.md | 5 ++++- texmf-dist/doc/latex/eqexam/eqexamman.pdf | Bin 624441 -> 657946 bytes texmf-dist/doc/latex/eqexam/eqexamman.tex | 32 +++++++++++++++++------------ texmf-dist/source/latex/eqexam/eqexam.dtx | 15 +++++++++++--- texmf-dist/tex/latex/eqexam/aebrandom.def | 2 +- texmf-dist/tex/latex/eqexam/eqexam.def | 10 ++++----- texmf-dist/tex/latex/eqexam/eqexam.sty | 10 +++++++-- texmf-dist/tex/latex/eqexam/flextended.def | 2 +- 8 files changed, 50 insertions(+), 26 deletions(-) diff --git a/texmf-dist/doc/latex/eqexam/README.md b/texmf-dist/doc/latex/eqexam/README.md index 325e2bd3..e9938167 100644 --- a/texmf-dist/doc/latex/eqexam/README.md +++ b/texmf-dist/doc/latex/eqexam/README.md @@ -1,5 +1,5 @@ The eqexam Package -Dated: 2018-12-13 +Dated: 2019-01-31 Author: D. P. Story eqExam is a LaTeX package for writing exams, tests, quizzes, @@ -40,6 +40,9 @@ this package are as follows: folder. See also the series of blogs at http://www.acrotex.net/blog/?tag=fortextbook +What's New (2019-01-31) Package uses aeb-comment, an older version of the comment +package. The newer version has some incompatibilities with eqexam. + What's New (2018-12-13) Changes to support the mi-solns package What's New (2018-04-15) Minor bug fixes diff --git a/texmf-dist/doc/latex/eqexam/eqexamman.pdf b/texmf-dist/doc/latex/eqexam/eqexamman.pdf index b15be4c4..328c13ee 100644 Binary files a/texmf-dist/doc/latex/eqexam/eqexamman.pdf and b/texmf-dist/doc/latex/eqexam/eqexamman.pdf differ diff --git a/texmf-dist/doc/latex/eqexam/eqexamman.tex b/texmf-dist/doc/latex/eqexam/eqexamman.tex index d1c16c01..749ddd06 100644 --- a/texmf-dist/doc/latex/eqexam/eqexamman.tex +++ b/texmf-dist/doc/latex/eqexam/eqexamman.tex @@ -150,7 +150,7 @@ part of the\texorpdfstring{\\}{ }\texorpdfstring{\AcroTeX}{AcroTeX} eDucation Bu \keywords{LaTeX, hyperref, PDF, exercises, quizzes} \university{{\AcroT} Software Development Team} \email{dpstory@acrotex.net} -\version{5.1.3, 2018/12/13} +\version{5.1.4, 2019/01/31} % 2019/01/31 v5.1.4 \copyrightyears{2005-\the\year} \renewcommand{\exsectitletext}{Solutions to exams in this manual} @@ -387,8 +387,10 @@ distribution are \emph{required}: \item \texttt{pifont}: Used when the \texttt{proofread} option is used to indicate the correct answers to multiple choice questions. -\item \texttt{comment}: Used to have optional content, useful for - developing exams for multiple sections of the same class. +\item \texttt{aeb-comment}: Used to have optional content, useful for + developing exams for multiple sections of the same class.\footnote{\pkg{aeb-comment} + is an older version of the \pkg{comment} package by Victor Eijkhout; it is distributed + with the \pkg{acrotex} package.} \item \texttt{multicol}: Used to create questions in multi-column mode. @@ -1896,7 +1898,7 @@ This is a question worth $7$ points. \end{panel} \begin{solution} This a really good solution. I hope this solution is correct or I -will be total embarrassed to no end. Even if it is wrong, maybe +will be totally embarrassed to no end. Even if it is wrong, maybe the students will appreciate my tremendous effort. You can see from the figure that the solution is obvious. \end{solution} @@ -2334,22 +2336,26 @@ of these last two options. driver needs to be specified as well, the choices are\dots \begin{description} -\item[\texttt{dvipsone}] For users of the - {Y\!{\footnotesize\&}\!Y\TeX} System, such as myself. \item[\texttt{dvips}] For users of \textsf{dvips}, the dvi-to-postscript converter. -\item[\texttt{pdftex}] For users of \textsf{pdftex} application. +% \item[\texttt{pdftex}] For users of \textsf{pdftex} application. + +% \item[\texttt{dvipdfm}] For users of \textsf{dvipdfm} application. -\item[\texttt{dvipdfm}] For users of \textsf{dvipdfm} application. +\item[\texttt{dvipsone}] For users of the + {Y\!{\footnotesize\&}\!Y\TeX} System, such as myself. -\item[\texttt{textures}] For \textsf{textures} users. (This -option is totally untested.) +%\item[\texttt{textures}] For \textsf{textures} users. (This +% option is totally untested.) \end{description} -\noindent These options are passed on to \textsf{hyperref} and to -\texttt{eforms}\footnote{A component of \AcroB.} for the proper -creation of links and form fields. +The drivers \app{pdftex}, \app{luatex}, and \app{xetex} are automatically detected and need not +be specified as a driver option. + +The driver names are passed on to \pkg{hyperref} and to +\pkg{eforms}\footnote{A component of \AcroB.} for the proper creation of +links and form fields. \subsection{Configuration Files} diff --git a/texmf-dist/source/latex/eqexam/eqexam.dtx b/texmf-dist/source/latex/eqexam/eqexam.dtx index 2f4589aa..655bc1cc 100644 --- a/texmf-dist/source/latex/eqexam/eqexam.dtx +++ b/texmf-dist/source/latex/eqexam/eqexam.dtx @@ -16,8 +16,8 @@ % %\NeedsTeXFormat{LaTeX2e} %\ProvidesPackage{eqexam} -% [2018/12/13 v5.1.3 An Exam Construction Package (dps)] -%\def\eqexamdefReq{2018/12/13} +% [2019/01/31 v5.1.4 An Exam Construction Package (dps)] +%\def\eqexamdefReq{2019/02/11} %<*driver> \documentclass{ltxdoc} \GlossaryPrologue{\section{{Change History}}}% @@ -939,8 +939,11 @@ % Bring the \texttt{comment} package in early, before \texttt{verbatim}, these two % clash a bit. % \changes{v5.1.2}{2018/12/05}{Use version 3.2 of comment style under the name of aeb-comment} +% \changes{v5.1.4}{2019/01/31}{\string\cs{let} \string\cs{comment} and \string\cs{endcomment} to \string\cs{relax} +% we use the definition of the comment environment given in \string\pkg{verbatim}.} % \begin{macrocode} \RequirePackage{aeb-comment} +%\let\comment\relax\let\endcomment\relax \def\eqe@commentChkMsg{\@ifpackageloaded{comment} {\PackageWarningNoLine{eqexam} {The comment package is incompatible with the\MessageBreak @@ -1019,6 +1022,12 @@ % Here, I input the \texttt{verbatim} package after the comment package. % \begin{macrocode} \RequirePackage{verbatim} +\@ifundefined{dlcomment}{\typeout{!! defining dlcomment}% + \let\dlcomment\comment + \let\enddlcomment\endcomment + \let\eqSavedComment\dlcomment + \let\endeqSavedComment\enddlcomment +}{} % \end{macrocode} % When constructing paper tests, I often use a multi-column format for some of % the questions, so let's require this package @@ -7020,7 +7029,7 @@ \def\eqe@flnexti{\eqSavedComment}% \ifeqe@flnosolns\ifdisplayworkarea \def\eqe@flnexti{\fl@getcontent{p\fl@CutName}}\fi\fi % dpsj21 - \gdef\eqe@flnextii{\eqSavedEndCommet}% + \gdef\eqe@flnextii{\endeqSavedComment}%dps11 \ifeqe@flnosolns\ifdisplayworkarea \gdef\eqe@flnextii{\endverbatimwrite\endgroup \ifwithinparts\ifx\istabularexer\eq@YES diff --git a/texmf-dist/tex/latex/eqexam/aebrandom.def b/texmf-dist/tex/latex/eqexam/aebrandom.def index a8b8adae..66271ebd 100644 --- a/texmf-dist/tex/latex/eqexam/aebrandom.def +++ b/texmf-dist/tex/latex/eqexam/aebrandom.def @@ -18,7 +18,7 @@ %% License, or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ProvidesFile{aebrandom.def} - [2018/12/13 v8.2.8 % + [2019/02/11 v8.2.9 % Exerquiz support for randomization (dps)] \@ifundefined{nextrandom}{\input{random.tex}}{} \def\nextrandom{\begingroup diff --git a/texmf-dist/tex/latex/eqexam/eqexam.def b/texmf-dist/tex/latex/eqexam/eqexam.def index af1947a4..1cdf0433 100644 --- a/texmf-dist/tex/latex/eqexam/eqexam.def +++ b/texmf-dist/tex/latex/eqexam/eqexam.def @@ -7,7 +7,7 @@ %% exerquiz.dtx (with options: `eqexam') %% \ProvidesFile{eqexam.def} - [2018/12/13 v8.2.8 % + [2019/02/11 v8.2.9 % Exerquiz support file for eqexam (dps)] \let\eq@YES=y \let\eq@NO=n \let\eq@One=1 \let\eq@Zero=0 @@ -515,8 +515,8 @@ \xdef\eq@startSoln{\the\pagetotal}% \eqe@debugVertSkip{\marginpar{\smash{b[\sameVspace]}}}% } -\let\eqSavedComment\comment -\let\eqSavedEndCommet\endcomment +\let\eqSavedComment\dlcomment +\let\endeqSavedComment\enddlcomment \def\setTabulrSolnEnv{% \@ifundefined{@listii@SAVE}{\global\let\@listii@SAVE\@listii}{}% \expandafter\def\expandafter\@listii\expandafter{\@listii@SAVE @@ -548,13 +548,13 @@ \if\currhideopt\eq@Hid \let\minVspacet@bs\@empty \let\procsoln\eqSavedComment - \let\endprocsoln\eqSavedEndCommet + \let\endprocsoln\endeqSavedComment \def\eq@next{\procsoln}% \else \eq@ckglobalhide \ifeq@hidesolution \let\procsoln\eqSavedComment - \let\endprocsoln\eqSavedEndCommet + \let\endprocsoln\endeqSavedComment \else \ifeq@solutionsafter\else \ifx\eq@@CommonCmd\@empty\else diff --git a/texmf-dist/tex/latex/eqexam/eqexam.sty b/texmf-dist/tex/latex/eqexam/eqexam.sty index 5c78732e..e59c96f7 100644 --- a/texmf-dist/tex/latex/eqexam/eqexam.sty +++ b/texmf-dist/tex/latex/eqexam/eqexam.sty @@ -19,8 +19,8 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{eqexam} - [2018/12/13 v5.1.3 An Exam Construction Package (dps)] -\def\eqexamdefReq{2018/12/13} + [2019/01/31 v5.1.4 An Exam Construction Package (dps)] +\def\eqexamdefReq{2019/02/11} \RequirePackage{ifpdf}[2006/02/20] \RequirePackage{ifxetex}[2006/08/21] \usepackage{xkeyval} @@ -418,6 +418,12 @@ \RequirePackage{pifont} \RequirePackage{array} \RequirePackage{verbatim} +\@ifundefined{dlcomment}{\typeout{!! defining dlcomment}% + \let\dlcomment\comment + \let\enddlcomment\endcomment + \let\eqSavedComment\dlcomment + \let\endeqSavedComment\enddlcomment +}{} \RequirePackage{multicol} \setlength\columnseprule{.4pt} \raggedcolumns\multicolsep=3pt diff --git a/texmf-dist/tex/latex/eqexam/flextended.def b/texmf-dist/tex/latex/eqexam/flextended.def index 086e4850..4cf9bf23 100644 --- a/texmf-dist/tex/latex/eqexam/flextended.def +++ b/texmf-dist/tex/latex/eqexam/flextended.def @@ -256,7 +256,7 @@ \def\eqe@flnexti{\eqSavedComment}% \ifeqe@flnosolns\ifdisplayworkarea \def\eqe@flnexti{\fl@getcontent{p\fl@CutName}}\fi\fi % dpsj21 - \gdef\eqe@flnextii{\eqSavedEndCommet}% + \gdef\eqe@flnextii{\endeqSavedComment}%dps11 \ifeqe@flnosolns\ifdisplayworkarea \gdef\eqe@flnextii{\endverbatimwrite\endgroup \ifwithinparts\ifx\istabularexer\eq@YES -- cgit v1.2.3