summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/esami
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-20 22:37:18 +0000
committerKarl Berry <karl@freefriends.org>2017-09-20 22:37:18 +0000
commitd9a254cf07ee23e20a7b959d2983f7260cb05d14 (patch)
treed239ef5d8642d3185c127292010548ddb58cb65f /Master/texmf-dist/tex/latex/esami
parent2abea9e8c684ddce6f36df1f34a26373096139e2 (diff)
esami (20sep17)
git-svn-id: svn://tug.org/texlive/trunk@45359 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/esami')
-rw-r--r--Master/texmf-dist/tex/latex/esami/esami.sty22
1 files changed, 14 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/esami/esami.sty b/Master/texmf-dist/tex/latex/esami/esami.sty
index 61b17698d51..4e1f358583e 100644
--- a/Master/texmf-dist/tex/latex/esami/esami.sty
+++ b/Master/texmf-dist/tex/latex/esami/esami.sty
@@ -2,7 +2,7 @@
%% This is file `esami.sty',
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% esami.sty package, 2017-07-01 %%
+%% esami.sty package, 2017-09-18 %%
%% Copyright (C) 2008-2017 G. Messineo e S. Vassallo %%
%% %%
%% This program can be redistributed and/or modified %%
@@ -32,11 +32,17 @@
%Modified es-german.lng and es-spanish.lng for an error in the input of the solutions. Introduced the macro randestrai.
%Introduced the macro FPsignpol. Introduced a control on the total points of the exercises. Solved the incompatibility
%with babel for the Spanish language. Removed the incompatibility between the command \fillin and the commands \sempli and \semplix.
+% Version 2.2
% 2017/07/01
-%Introduced the possibility to have two different seeds for exercises choice and for scrambling. Sligtly modified teh command \estrai so that can be used to extract parameters from a list. Improved the documentation.
+%Introduced the possibility to have two different seeds for exercises choice and for scrambling. Sligtly modified the command \estrai so that can be used
+%to extract parameters from a list. Improved the documentation.
+% Version 2.3
+% 2017/09/18
+%Corrected a misprint in the code
+
\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{esami}
- [2017/07/01 v2.2 An Exam Construction Package]
+ [2017/09/18 v2.3 An Exam Construction Package]
% +=============================+
% | THE OPTIONS |
@@ -1908,11 +1914,6 @@
\advance\tmp@cntb by -#1
\loop
\expandafter\edef\csname #3\romannumeral\tmp@cntb\endcsname{#3\romannumeral\tmp@cntb}%
-\ifes@fillin%
-\ifes@solutions
-\immediate\write\parametri{\string\def\expandafter\unexpanded\expandafter{\csname #3\romannumeral\beg@al\endcsname}{\csname al@f\romannumeral\tmpalf \endcsname}}%
-\fi%
-\fi
\advance\tmp@cntb by-1
\ifnum\tmp@cntb>0
\repeat
@@ -1926,6 +1927,11 @@
\advance\tmp@cntb by -#1
\loop
\expandafter\edef\csname #3\romannumeral\tmp@cntb\endcsname{\csname tmp@out\romannumeral\tmp@cntb\endcsname}%
+ \ifes@fillin%
+\ifes@solutions
+\immediate\write\parametri{\string\def\expandafter\unexpanded\expandafter{\csname #3\romannumeral\tmp@cntb\endcsname}{\csname tmp@out\romannumeral\tmp@cntb\endcsname}}%
+\fi%
+\fi
\advance\tmp@cntb by-1
\ifnum\tmp@cntb>0
\repeat