summaryrefslogtreecommitdiff
path: root/texmf-dist/source/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-06-09 11:35:09 +0900
committerNorbert Preining <norbert@preining.info>2019-06-09 11:35:09 +0900
commit98a5ebd42698f1d75480d559708e349e28832ff6 (patch)
treed1f438f8480b96a7a68ce131d80fe62bec2fe79f /texmf-dist/source/latex
parentacb02d19dc81a67401c0daa7e622398a1d252d3c (diff)
eqexam
Diffstat (limited to 'texmf-dist/source/latex')
-rw-r--r--texmf-dist/source/latex/eqexam/eqexam.dtx15
1 files changed, 12 insertions, 3 deletions
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 @@
%</copyright>
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{eqexam}
-%<package> [2018/12/13 v5.1.3 An Exam Construction Package (dps)]
-%<package>\def\eqexamdefReq{2018/12/13}
+%<package> [2019/01/31 v5.1.4 An Exam Construction Package (dps)]
+%<package>\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