texlive[46961] Master/texmf-dist: esami (14mar18)

commits+karl at tug.org commits+karl at tug.org
Wed Mar 14 22:10:31 CET 2018


Revision: 46961
          http://tug.org/svn/texlive?view=revision&revision=46961
Author:   karl
Date:     2018-03-14 22:10:31 +0100 (Wed, 14 Mar 2018)
Log Message:
-----------
esami (14mar18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/esami/README
    trunk/Master/texmf-dist/doc/latex/esami/VERSION
    trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.pdf
    trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.tex
    trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.pdf
    trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.tex
    trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.tex
    trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA.pdf
    trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA.tex
    trunk/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg
    trunk/Master/texmf-dist/tex/latex/esami/esami.sty

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/esami/doc/examples/aperto1.tex
    trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA.sol.tex

Modified: trunk/Master/texmf-dist/doc/latex/esami/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esami/README	2018-03-14 17:43:23 UTC (rev 46960)
+++ trunk/Master/texmf-dist/doc/latex/esami/README	2018-03-14 21:10:31 UTC (rev 46961)
@@ -1,6 +1,6 @@
-The esami package v. 2.3
+The esami package v. 2.4
           For generation of texts and solutions  of exams in LaTeX
-2017/09/18
+2018/02/10
 
 File:       README
 Author:    Grazia Messineo and Salvatore Vassallo
@@ -14,7 +14,7 @@
 of each group are randomly scrambled across the exam and variants of each exercise are chosen
 randomly from a file which contains them all and.
 
-Copyright:  (C) 2008--2017 Grazia Messineo & Salvatore Vassallo
+Copyright:  (C) 2008--2018 Grazia Messineo & Salvatore Vassallo
 Licence:    LPPL
 
 FILES IN DISTRIBUTION

Modified: trunk/Master/texmf-dist/doc/latex/esami/VERSION
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esami/VERSION	2018-03-14 17:43:23 UTC (rev 46960)
+++ trunk/Master/texmf-dist/doc/latex/esami/VERSION	2018-03-14 21:10:31 UTC (rev 46961)
@@ -1 +1 @@
-VERSION 2.3 DATE=September 18, 2017
+VERSION 2.4 DATE=February 10, 2018

Modified: trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.tex	2018-03-14 17:43:23 UTC (rev 46960)
+++ trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.tex	2018-03-14 21:10:31 UTC (rev 46961)
@@ -13,7 +13,6 @@
 \usepackage{hologo}
 %\usepackage{textcomp}
 \usepackage{lmodern}
-%\usepackage{comandi}
 \usepackage[utf8]{inputenc}
 \usepackage[english]{babel}
 \usepackage{graphicx}
@@ -76,7 +75,7 @@
 \changes{Versione 2.1}{2016/07/25}{Modified \texttt{es-german.lng} and \texttt{es-spanish.lng} for an error  in the input of the solutions. The command \texttt{randestrai} has been introduced. The command \texttt{FPsignpol} has been introduced. The control on the total points of the exercises has been introduced.  Removed the incompatibility between the command  \texttt{fillin} and the commands  \texttt{sempli} and \texttt{semplix}.}
 \changes{Version 2.2}{2017/07/01}{Introduced the possibility to have two different seeds for the choice of exercises (\cmd{\semeex}) and for the permutations and choice of the parameters (\cmd{\seme}): by default, they are equal. Slightly modified the command \cmd{\estrai} so that it is possible to use it to extract parameters from a list. Documentation integrated.}
 \changes{Version 2.3}{2017/09/18}{Corrected a misprint in the code.}
-
+\changes{Version 2.4}{2018/02/10}{Documentation corrected. }
 %\IndexPrologue{\section*{Index} Numbers written in italic refer to the page where the item is described; underlined numebers refer to the line of code in which the item is described; other references are to the line of code where the item is used.}
 \GlossaryPrologue{\section*{Changelog}}
 \def\MacroFont{\fontencoding\encodingdefault
@@ -722,16 +721,16 @@
 	\item {\color{blue}{\cmd{\FPsignpol}\marg{expression}}}:\DescribeMacro{\FPsignpol}\ gives the value of  ``expression'' with its sign: it is useful, for example, if ``expression'' is the coefficient of a polynomial. This macro has been contributed by Hjalmar Basile. \nuovo{vers. 2.1}
 	      \begin{esempio}
 
-		      Se  $a$ vale $2$ e $b$ vale $-1$
+		      If  $a$ is $2$ and $b$ is $-1$
 
 		      \begin{tabular}{lr}
-			      \verb|$x^2\FPsignpol{2}{a+4*b}x-2$| & $x^2-2x-2$
+			      \verb|$x^2\FPsignpol{a+4*b}{x}-2$| & $x^2-2x-2$
 		      \end{tabular}
 
-		      Se  $a$ vale $2$ e $b$ vale $1$
+		      If  $a$ is $2$ and $b$ is $1$
 
 		      \begin{tabular}{lr}
-			      \verb|$x^2\FPsignpol{2}{a+4*b}x-2$| & $x^2+6x-2$
+			      \verb|$x^2\FPsignpol{a+4*b}{x}-2$| & $x^2+6x-2$
 		      \end{tabular}
 	      \end{esempio}
 \end{itemize}
@@ -784,8 +783,9 @@
 	\item[Version 1.1 (2013/12/09)] Inserted the dependance on the package \texttt{environ} to remove some errors in the \LaTeX\ compilation. Removed the dependance on the package \texttt{icomma} in the italian localization file es-italian.lng because of the introduction of new features in the package \texttt{babel} for the Italian langaguage (macro \texttt{IntelligentComma}).
 	\item[Version 2.0 (2015/02/25)] Eliminated the dependance on \pkgname{pstricks}. Modified the use of \emph{fill-in} questions. Inserted the possibility to extract more than one variant from a file. Now it is possible to view the solutions in tests. Modified the visualization of decimal places in command  \cmd{\FPsv}. Modified the definition of \cmd{\FPval} to allow the use of decimal places. Modified the algorithm of choice of a variant of an exercise, now completely deterministic. Added the command \cmd{\Acapo}. Added the serbian localization (latin alphabet).  The compilation produces a new file with the list of the chosen exercises.
 	\item[Versione 2.1 (2016/07/25)] Modified \texttt{es-german.lng} and \texttt{es-spanish.lng} for an error in the input of the solutions. Introduced the macro \texttt{randestrai}. Introduced the macro \texttt{FPsignpol}. Introduced a control on the total points of the exercises. Solved the incompatibility with \pkgname{babel} for the Spanish language. Removed the incompatibility between the command  \cmd{\fillin} and the commands  \cmd{\sempli} and \cmd{\semplix}.
-	\item[Version 2.2 (2017/07/01)]Introduced the possibility to have two different seeds for the choice of exercises (\cmd{\semeex}) and for the permutations and choice of the parameters (\cmd{\seme}): by default, they are equal. Slightly modified the command \cmd{\estrai} so that it is possible to use it to extract parameters from a list. Documentation integrated.
-	\item[Version 2.3 (2017/09/18)]Corrected a misprint in the code.
+	\item[Version 2.2 (2017/07/01)] Introduced the possibility to have two different seeds for the choice of exercises (\cmd{\semeex}) and for the permutations and choice of the parameters (\cmd{\seme}): by default, they are equal. Slightly modified the command \cmd{\estrai} so that it is possible to use it to extract parameters from a list. Documentation integrated.
+	\item[Version 2.3 (2017/09/18)] Corrected a misprint in the code.
+\item[Version 2.4 (2018/02/10)] Documentation corrected. 
 \end{description}
 
 \bibliographystyle{plain}

Modified: trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.tex	2018-03-14 17:43:23 UTC (rev 46960)
+++ trunk/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.tex	2018-03-14 21:10:31 UTC (rev 46961)
@@ -75,6 +75,8 @@
 \changes{Versione 2.1}{2016/04/11}{Modificato \texttt{es-german.lng} e \texttt{es-spanish.lng} per errore nell'input delle soluzioni. Introdotto il comando \texttt{randestrai}. Introdotto il comando \texttt{FPsignpol}. Introdotto controllo punteggio totale degli esercizi. Rimossa l'incompatibilità tra il comando  \texttt{fillin} e i comandi  \texttt{sempli} e  \texttt{semplix}.}
 \changes{Versione 2.2}{2017/07/01}{Introdotta la possibilità di avere due semi diversi per la scelta degli esercizi (\cmd{\semeex}) e per le permutazioni e scelta dei parametri (\cmd{\seme}): di default sono uguali. Leggermente modificato il comando \cmd{\estrai} così da poter essere usato per estrarre parametri numerici da una lista. Integrata la documentazione.}
 \changes{Versione 2.3}{2017/09/18}{Corretto un errore di battitura nel codice.}
+\changes{Versione 2.4}{2018/02/10}{Corretta la documentazione .}
+
 %\IndexPrologue{\section*{Indice} I numeri scritti in italico rimandano alla pagina dove è descritto l'item; i numeri sottolineati rimandano alla riga di codice in cui l'item è descritto; le altre referenze sono alla riga di codice dove l'item è usato.}
 \GlossaryPrologue{\section*{Changelog}}
 \def\MacroFont{\fontencoding\encodingdefault
@@ -722,19 +724,19 @@
 		      \end{tabular}
 	      \end{esempio}
 	\item {\color{blue}{\cmd{\RandS}}}:\DescribeMacro{\RandS}\ serve per attribuire un segno casuale ($+$ o $-$) ad un numero. Il comando è simile a quello del pacchetto \pkgname{rangen}.
-	\item {\color{blue}{\cmd{\FPsignpol}\marg{espressione}}}:\DescribeMacro{\FPsignpol}\ restituisce il valore di ``espressione'' con il suo segno: è utile, ad esempio, se espressione è il coefficiente di un polinomio (contributo di Hjalmar Basile). \nuovo{vers. 2.1}
+	\item {\color{blue}{\cmd{\FPsignpol}\marg{espressione1}\marg{espressione2}}}:\DescribeMacro{\FPsignpol}\ restituisce il valore di ``espressione1''  con il suo segno moltiplicato per ``espressione2'': è utile, ad esempio, se ``espressione1'' è il coefficiente di un polinomio. Se ``espressione2'' è vuoto il comando restituisce il valore di ``espressione1'' con il suo segno (contributo di Hjalmar Basile). \nuovo{vers. 2.1}
 	      \begin{esempio}
 
 		      Se  $a$ vale $2$ e $b$ vale $-1$
 
 		      \begin{tabular}{lr}
-			      \verb|$x^2\FPsignpol{2}{a+4*b}x-2$| & $x^2-2x-2$
+			      \verb|$x^2\FPsignpol{a+4*b}{x}-2$| & $x^2-2x-2$
 		      \end{tabular}
 
 		      Se  $a$ vale $2$ e $b$ vale $1$
 
 		      \begin{tabular}{lr}
-			      \verb|$x^2\FPsignpol{2}{a+4*b}x-2$| & $x^2+6x-2$
+			      \verb|$x^2\FPsignpol{a+4*b}{x}-2$| & $x^2+6x-2$
 		      \end{tabular}
 	      \end{esempio}
 \end{itemize}
@@ -785,8 +787,9 @@
 	\item[Versione 1.1 (2013/12/09)] Reinserita la dipendenza dal pacchetto \pkgname{environ} per eliminare alcuni errori nella compilazione con \Hologo{LaTeX}. Eliminata la dipendenza dal pacchetto \pkgname{icomma} nel file di localizzazione es-italian.lng a seguito dell'introduzione di nuove funzionalità nel pacchetto \pkgname{babel} per la lingua italiana (comando \cmd{\IntelligentComma}).
 	\item[Versione 2.0 (2015/02/25)] Eliminata la dipendenza da \pkgname{pstricks}. Modificato l'inserimento di domande di tipo \emph{fill-in}. Inserita la possibilità di estrarre più esercizi da un solo file. Ora è possibile visualizzare le risposte nei test. Modificata la visualizzazione dei decimali nel comando \cmd{\FPsv}. Modificata la definizione di \cmd{\FPval} in modo da avere cifre decimali. Modificato l'algoritmo di scelta della variante di un esercizio in modo completamente deterministico. Aggiunto il comando \cmd{\Acapo}. Aggiunta la localizzazione serba (alfabeto latino). Ora la compilazione produce un nuovo file con la lista degli esercizi scelti.
 	\item[Versione 2.1 (2016/07/25)] Modificato \texttt{es-german.lng} e \texttt{es-spanish.lng} per errore nell'input delle soluzioni. Introdotto il comando \texttt{randestrai}. Introdotto il comando \texttt{FPsignpol}. Introdotto controllo punteggio totale degli esercizi. Risolta l'incompatibilità con \pkgname{babel} per la lingua spagnola.  Rimossa l'incompatibilità tra il comando  \cmd{\fillin} e i comandi  \cmd{\sempli} e  \cmd{\semplix}.
-	\item[Versione 2.2 (2017/07/01)] {Introdotta la possibilità di avere due semi diversi per la scelta degli esercizi (\cmd{\semeex}) e per le permutazioni e scelta dei parametri (\cmd{\seme}): di default sono uguali. Leggermente modificato il comando \cmd{\estrai} così da poter essere usato per estrarre parametri numerici da una lista. Integrata la documentazione.}
-	\item[Versione 2.3 (2017/09/18)]Corretto un errore di battitura nel codice.
+	\item[Versione 2.2 (2017/07/01)] Introdotta la possibilità di avere due semi diversi per la scelta degli esercizi (\cmd{\semeex}) e per le permutazioni e scelta dei parametri (\cmd{\seme}): di default sono uguali. Leggermente modificato il comando \cmd{\estrai} così da poter essere usato per estrarre parametri numerici da una lista. Integrata la documentazione.
+	\item[Versione 2.3 (2017/09/18)] Corretto un errore di battitura nel codice.
+	\item[Versione 2.4 (2018/02/10)] Corretta la documentazione .
 
 \end{description}
 

Deleted: trunk/Master/texmf-dist/doc/latex/esami/doc/examples/aperto1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esami/doc/examples/aperto1.tex	2018-03-14 17:43:23 UTC (rev 46960)
+++ trunk/Master/texmf-dist/doc/latex/esami/doc/examples/aperto1.tex	2018-03-14 21:10:31 UTC (rev 46961)
@@ -1 +0,0 @@
-\defitem{\gdef\problabel{e:10-file:problem1} \gdef\probnumber{q:i} }

Modified: trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.tex	2018-03-14 17:43:23 UTC (rev 46960)
+++ trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.tex	2018-03-14 21:10:31 UTC (rev 46961)
@@ -91,7 +91,6 @@
 test4,
 test9,
 test5-fillin,
-prova-colombia
 }
 %%% all the problems of a file
 \selectallproblems[random]{test11}

Modified: trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA.pdf
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA.sol.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA.sol.tex	2018-03-14 17:43:23 UTC (rev 46960)
+++ trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA.sol.tex	2018-03-14 21:10:31 UTC (rev 46961)
@@ -1,22 +0,0 @@
-\begin{minipage}{.33\textwidth}{\large\textbf{Soluzione\ Versione\ n. 1}}
-\begin{enumerate}
- \item\ref{e:1-file:test2-q:iii}
- \item\ref{e:1-file:test2-q:i}
- \item\ref{e:1-file:test2-q:ii}
- \item\ref{e:1-file:test3-q:ii}
- \item\ref{e:1-file:test3-q:i}
- \item\ref{e:1-file:test9-q:i}
- \item\ref{e:1-file:test14-q:i}
- \item\ref{e:1-file:test4-q:i}
-\item \makeatletter \input{qftest5-fillinqiie1.parametri}\makeatother
- \FPsv [2]{b/k}
-\item \makeatletter \input{qfprova-colombiaqie1.parametri}\makeatother
-$\di $
- \item\ref{e:1-file:test11-q:i}
- \item\ref{e:1-file:test11-q:ii}
-\par\end{enumerate}\vspace{3ex}
-\begin{enumerate}
- \item\ref{e:1-file:test12-q:i}
- \item\ref{e:1-file:test13-q:ii}
-\par\end{enumerate}\vspace{3ex}
-\end{minipage}

Modified: trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA.tex	2018-03-14 17:43:23 UTC (rev 46960)
+++ trunk/Master/texmf-dist/doc/latex/esami/doc/examples/testA.tex	2018-03-14 21:10:31 UTC (rev 46961)
@@ -62,7 +62,7 @@
 \section*{Part One}
 
 
-\begin{test}[18]
+\begin{test}[15]
 \begin{questions}
 %\ifluatex
 %\esercizi{
@@ -91,7 +91,6 @@
 test4,
 test9,
 test5-fillin,
-prova-colombia
 }
 %%% all the problems of a file
 \selectallproblems[random]{test11}

Modified: trunk/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg
===================================================================
--- trunk/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg	2018-03-14 17:43:23 UTC (rev 46960)
+++ trunk/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg	2018-03-14 21:10:31 UTC (rev 46961)
@@ -1,11 +1,11 @@
 %% Package `esami' to use with LaTeX 2e
-%%  Copyright (C) 2008-2016  G. Messineo e S. Vassallo
+%%  Copyright (C) 2008-2018  G. Messineo e S. Vassallo
 %%
 %% This is file `esami-xyz.cfg',
 %%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% esami-xyz.cfg,             2016-07-27                %%
-%% Copyright (C) 2008-2016 G. Messineo e S. Vassallo    %%
+%% esami-xyz.cfg,             2018-02-10                %%
+%% Copyright (C) 2008-2018 G. Messineo e S. Vassallo    %%
 %%                                                      %%
 %% This program can be redistributed and/or modified    %%
 %% under the terms of the LaTeX Project Public License  %%
@@ -16,8 +16,6 @@
 
 %%% other packages
 \AtEndOfPackage{
-\usepackage{ifxetex}%%NUOVO
-\usepackage{ifluatex}%%%NUOVO
 \usepackage{amsmath}
 %========================================================%
 %    Some shortcuts and Italian maths                    %
@@ -145,10 +143,7 @@
 
 %%% THIS CODE IS TO CHECK the total score of exercises
 
-\ifluatex
-\else
-\ifxetex
-\else
+
 \AtEndOfPackage{
 \newdimen\punteggio %% NEW 2016/04/11 to check the total score of exercises
 \setlength{\punteggio}{0pt}
@@ -167,9 +162,8 @@
  \global\punteggio=0pt%
  }
  }
-\fi
-\fi
 
+
 %%%% %%%%% HERE I GET RID OF THE MINIPAGE IN MULTIPLE CHOICE QUESTIONS
 %\AtEndOfPackage{
 %\renewcommand{\selectrandomly}[1]{%

Modified: trunk/Master/texmf-dist/tex/latex/esami/esami.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/esami/esami.sty	2018-03-14 17:43:23 UTC (rev 46960)
+++ trunk/Master/texmf-dist/tex/latex/esami/esami.sty	2018-03-14 21:10:31 UTC (rev 46961)
@@ -2,8 +2,8 @@
 %% This is file `esami.sty',
 %%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% esami.sty package,             2017-09-18            %%
-%% Copyright (C) 2008-2017  G. Messineo e S. Vassallo   %%
+%% esami.sty package,             2018-02-10            %%
+%% Copyright (C) 2008-2018  G. Messineo e S. Vassallo   %%
 %%                                                      %%
 %% This program can be redistributed and/or modified    %%
 %% under the terms of the LaTeX Project Public License  %%
@@ -39,10 +39,12 @@
 % Version 2.3
 % 2017/09/18
 %Corrected a misprint in the code
+% Version 2.4
+% 2018/02/10
+% Documentation corrected.
 
-
 \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{esami}
-    [2017/09/18 v2.3 An Exam Construction Package]
+    [2018/02/10 v2.4 An Exam Construction Package]
 
 % +=============================+
 % |         THE OPTIONS         |
@@ -950,7 +952,7 @@
 \or%%% 3 variants
 \def\j at n{\ifcase\restotrentasei\or 3\or 2\or 1\or 2\or 1\or 3\or 1\or 3\or 2\or 3\or 1\or 2\or 1\or 2\or 3\or 2\or 3\or 1\or 3\or 2\or 1\or 2\or 1\or 3\or 1\or 3\or 2\or 3\or 1\or 2\or 1\or 2\or 3\or 2\or 3\or 1\fi}%
 \or%%% 4 variants
-\def\j at n{\ifcase\restotrentasei\or 3\or 4\or 1\or 2\or 1\or 2\or 3\or 4\or 3\or 1\or 4\or 2\or 4\or 2\or 3\or 1\or 2\or 3\or 1\or 4\or 1\or 4\or 2\or 3\or 3\or 2\or 1\or 4\or 2\or 3\or 4\or 1\or 4\or 3\or 2\or 1\fi}%
+\def\j at n{\ifcase\restotrentasei\or 3\or 4\or 1\or 2\or 1\or 2\or 3\or 4\or 3\or 1\or 4\or 2\or 4\or 2\or 3\or 1\or 2\or 3\or 1\or 4\or 2\or 3\or 4\or 1\or 3\or 2\or 1\or 4\or 1\or 4\or 2\or 3\or 4\or 3\or 2\or 1\fi}%
 \or%%% 5 variants
 \def\j at n{\ifcase\restotrentasei\or 5\or 1\or 2\or 3\or 4\or 5\or 2\or 3\or 5\or 1\or 4\or 3\or 1\or 4\or 2\or 5\or 4\or 2\or 3\or 5\or 1\or 5\or 1\or 4\or 2\or 3\or 1\or 3\or 5\or 4\or 2\or 3\or 4\or 5\or 2\or 1\fi}%
 \or%%% 6 variants



More information about the tex-live-commits mailing list