From f92f53d585a9446d79efb958d1bfaeab93ec744a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 22 Jul 2023 20:19:50 +0000 Subject: esami (22jul23) git-svn-id: svn://tug.org/texlive/trunk@67707 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/esami/README | 38 +++--- Master/texmf-dist/doc/latex/esami/VERSION | 2 +- .../doc/latex/esami/doc/esami-doc-en.pdf | Bin 480874 -> 483307 bytes .../doc/latex/esami/doc/esami-doc-en.tex | 11 +- .../doc/latex/esami/doc/esami-doc-it.pdf | Bin 488964 -> 492308 bytes .../doc/latex/esami/doc/esami-doc-it.tex | 16 +-- Master/texmf-dist/doc/latex/esami/doc/esami.bib | 7 ++ .../latex/esami/doc/examples/problem4-fillin.tex | 2 +- .../doc/examples/qftest5-fillinqiie1.parametri.tex | 4 + .../doc/examples/qftest5-fillinqiie2.parametri.tex | 4 + .../doc/examples/qftest5-fillinqiie3.parametri.tex | 4 + .../doc/examples/qftest5-fillinqiie4.parametri.tex | 4 + .../doc/latex/esami/doc/examples/test5-fillin.tex | 2 +- .../esami/doc/examples/testA-pdflatex-sol.pdf | Bin 0 -> 186860 bytes .../esami/doc/examples/testA-pdflatex-sol.tex | 123 ++++++++++++++++++ .../latex/esami/doc/examples/testA-pdflatex.pdf | Bin 0 -> 153114 bytes .../latex/esami/doc/examples/testA-pdflatex.tex | 122 ++++++++++++++++++ .../doc/latex/esami/doc/examples/testA-sol.pdf | Bin 257725 -> 0 bytes .../doc/latex/esami/doc/examples/testA-sol.tex | 138 --------------------- .../esami/doc/examples/testA-xetex-sol.sol.tex | 84 ------------- .../doc/latex/esami/doc/examples/testA.pdf | Bin 217098 -> 0 bytes .../doc/latex/esami/doc/examples/testA.tex | 137 -------------------- Master/texmf-dist/doc/latex/esami/esami-xyz.cfg | 6 +- 23 files changed, 310 insertions(+), 394 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie1.parametri.tex create mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie2.parametri.tex create mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie3.parametri.tex create mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie4.parametri.tex create mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex-sol.pdf create mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex-sol.tex create mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex.pdf create mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex.tex delete mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.pdf delete mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.tex delete mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/testA-xetex-sol.sol.tex delete mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/testA.pdf delete mode 100644 Master/texmf-dist/doc/latex/esami/doc/examples/testA.tex (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/esami/README b/Master/texmf-dist/doc/latex/esami/README index c81c86eb439..22f183f8d82 100644 --- a/Master/texmf-dist/doc/latex/esami/README +++ b/Master/texmf-dist/doc/latex/esami/README @@ -1,6 +1,6 @@ -The esami package v. 2.7 +The esami package v. 2.8 For generation of texts and solutions of exams in LaTeX -2022/01/11 +2023/07/21 File: README Author: Grazia Messineo and Salvatore Vassallo @@ -14,7 +14,7 @@ varying in random order, with closed or open answer, matching, problems, and so 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--2022 Grazia Messineo & Salvatore Vassallo +Copyright: (C) 2008--2023 Grazia Messineo & Salvatore Vassallo Licence: LPPL FILES IN DISTRIBUTION @@ -23,16 +23,16 @@ FILES IN DISTRIBUTION BASE DISTRIBUTION: VERSION - README This file. - esami.sty The main file + README This file. + esami.sty The main file esami-xyz.cfg A template of configuration file - es-*.lng Localisation files + es-*.lng Localisation files DOCUMENTATION: esami-doc-en.pdf User manual in English - esami-doc-it.pdf User manual in Italian - esami-doc-*.tex Sources for documentation + esami-doc-it.pdf User manual in Italian + esami-doc-*.tex Sources for documentation esami.bib Source for references EXAMPLES: @@ -57,23 +57,25 @@ FILES IN DISTRIBUTION Exercises with open answers problem1.tex - problem2.tex + problem2.tex problem2-tabella.tex problem3-matching.tex problem4-fillin.tex Examples of an exam (and solutions) built using above exercises using pdflatex, xelatex and lualatex - testA.pdf - testA.tex + testA-luatex.pdf testA-luatex-sol.pdf - testA-luatex.pdf - testA-sol.pdf - testA-sol.tex - testA-xetex-sol.pdf + testA-luatex-sol.tex + testA-luatex.tex + testA-pdflatex.pdf + testA-pdflatex-sol.pdf + testA-pdflatex-sol.tex + testA-pdflatex.tex testA-xetex.pdf - testA.pdf - testA.tex - testA-sol.loe + testA-xetex-sol.pdf + testA-xetex-sol.tex + testA-xetex.tex + BASIC INSTALLATION ==================== diff --git a/Master/texmf-dist/doc/latex/esami/VERSION b/Master/texmf-dist/doc/latex/esami/VERSION index d312737d7ee..64fbb8d2f3d 100644 --- a/Master/texmf-dist/doc/latex/esami/VERSION +++ b/Master/texmf-dist/doc/latex/esami/VERSION @@ -1 +1 @@ -VERSION 2.7 DATE=January 11, 2022 +VERSION 2.8 DATE=July 17, 2023 diff --git a/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.pdf b/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.pdf index d7dddc90ab3..d2d96db33a1 100644 Binary files a/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.pdf and b/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.pdf differ diff --git a/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.tex b/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.tex index 05788c147f5..44da55a4815 100644 --- a/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.tex +++ b/Master/texmf-dist/doc/latex/esami/doc/esami-doc-en.tex @@ -80,7 +80,7 @@ \changes{Version 2.5}{2018/05/06}{Corrected a misprint in the code. Improved the selection of random exercises.} \changes{Version 2.6}{2021/10/11}{Improved the spacing in \cmd{\FPsignpol}. Corrected the code to avoid some spourios spaces. } \changes{Version 2.7}{2022/01/11}{Improved the spacing in \cmd{\sempli} and \cmd{\FPsignpol}. Corrected a misprint in the code.} - +\changes{Versione 2.8}{2023/07/21}{Documentation modified to solve a problem with the Spanish Language.} %\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 @@ -89,8 +89,8 @@ \fontshape\updefault \footnotesize} \GetFileInfo{esami.sty} -\def\fileversion{versione 2.7} -\def\filedate{2022/01/11} +\def\fileversion{versione 2.8} +\def\filedate{2023/07/21} \title{Package esami\thanks{This document @@ -770,6 +770,8 @@ The elements of the list must be comma separated. The package has localisations in Italian (the default), UK English, US English, French, Spanish (thanks to Maria Hernandez Cifre), German (thanks to Kerstin von Kirschhausen), Serbian with latin alphabet (thanks to Dusko Latas), Greek (thanks to Sotiris Hasapis). Using greek language (and maybe other non latin localisations) it's necessary to load the packages \pkgname{fontenc}, \pkgname{inputenc} e \pkgname{babel} before the package \pkgname{esami}\footnote{The option \optname{greek} requires at this moment the option \optname{iso-8859-7} for the package \pkgname{inputenc}}. In this file one can also load some language dependent packages, such as \pkgname{numprint}, \pkgname{geometry}, etc. and there are the definitions of the commands \cmd{\shortdate} and \cmd{\longdate} to write the date. \textcolor[rgb]{1.00,0.00,0.00}{\textbf{N.B.:} There is an known incompatibility between the package \pkgname{babel} for the French language (which is not necessary for the localization) and the package \pkgname{fp}: to manage this incompatibility, one can use the macro \cmd{\shorthandoff\{:\}} immediately after \cmd{\begin\{document\}}.} + +The \pkgname{babel} package for the Spanish language makes a lot of characters active and this causes many incompatibilities (for instance in the \pkgname{iffthen} package it is not possible to make number confrontations, sidely used in the \pkgname{esami}) package. To solve this problem, you can use the \optname{spanish} option when loading the article class, load the \pkgname{babel} package with the option \optname{spanish} and at least one among the options \optname{es-minimal, es-sloppy} (for a complete list of the options and the possible incompatibilities, see the doc of the \pkgname{babel-spanish} package\cite{babel-spanish}. \subsection{The configuration file}\label{sec:cfg} The configuration file \texttt{esami-xyz.cfg} contains various definitions, i.e. the header (command \cmd{\testa}), the footer, the format for the solution file, the page style, the instructions for the exam. \subsection{The \texttt{master} and \texttt{master-sol} files} @@ -794,8 +796,9 @@ Inside this file you should use only one command, \cmd{\def \textbackslash eserc \item[Version 2.3 (2017/09/18)] Corrected a misprint in the code. \item[Version 2.4 (2018/02/10)] Documentation corrected. \item[Version 2.5 (2018/05/06)] Corrected a misprint in the code. Improved the selection of random exercises. - \item[Version 2.6 (2021/10/11)] Improved the spacing in \cmd{\FPsignpol}. Corrected the code to avoid some spourios spaces. + \item[Version 2.6 (2021/10/11)] Improved the spacing in \cmd{\FPsignpol}. Corrected the code to avoid some spourios spaces. \item[Version 2.7 (2021/10/11)] Improved the spacing in \cmd{\sempli} and \cmd{\FPsignpol}. Corrected a misprint in the code +\item[Versione 2.8 (2023/07/21)] Documentation modified to solve a problem with the spanish language. \end{description} \bibliographystyle{plain} diff --git a/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.pdf b/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.pdf index b706c809d3f..c4c9c5f20e7 100644 Binary files a/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.pdf and b/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.pdf differ diff --git a/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.tex b/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.tex index 3ac7495edbd..0a2b92414f3 100644 --- a/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.tex +++ b/Master/texmf-dist/doc/latex/esami/doc/esami-doc-it.tex @@ -74,11 +74,11 @@ \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 .} +\changes{Versione 2.4}{2018/02/10}{Corretta la documentazione.} \changes{Versione 2.5}{2018/05/06}{Corretto un errore di battitura nel codice. Migliorata la scelta aleatoria degli esercizi.} \changes{Versione 2.6}{2021/10/11}{Migliorata la spaziatura in \cmd{\FPsignpol}. Corretto il codice per eliminare alcuni spazi spuri.} \changes{Versione 2.7}{2022/01/11}{Migliorata la spaziatura in \cmd{\sempli} e \cmd{\FPsignpol}. Corretto un errore nel codice} - +\changes{Versione 2.8}{2023/07/21}{Modificata la documentazione per risolvere un problema con la lingua spagnola.} %\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 @@ -87,8 +87,8 @@ \fontshape\updefault \footnotesize} \GetFileInfo{esami.sty} -\def\fileversion{versione 2.7} -\def\filedate{2022/01/11} +\def\fileversion{versione 2.8} +\def\filedate{2023/07/17} \title{Il pacchetto esami\thanks{Questo documento @@ -771,7 +771,9 @@ Gli elementi della lista devono essere separati da virgole. \section{I file ausiliari} \subsection{Il file di localizzazione}\label{sec:lng} Al momento sono presenti le localizzazioni in italiano (default), inglese (UK), inglese (US), francese, spagnolo (contributo di Maria Hernandez Cifre), tedesco (contributo di Kerstin von Kirschhausen), serbo con alfabeto latino (contributo di Dusko Latas), greco (contributo di Sotiris Hasapis). Usando la lingua greca (e forse altre localizzazioni in caratteri non latini) è necessario caricare i pacchetti \pkgname{fontenc}, \pkgname{inputenc} e \pkgname{babel} prima del caricamento del pacchetto \pkgname{esami}\footnote{L'opzione \optname{greek} prevede al momento l'utilizzo dell'opzione \optname{iso-8859-7} per il pacchetto \pkgname{inputenc}}. In questo file possono venire caricati anche alcuni pacchetti dipendenti dalla localizzazione, quali \pkgname{numprint}, \pkgname{geometry}, ecc. e vengono definiti i comandi \cmd{\shortdate} e \cmd{\longdate} per esprimere la data. -\textcolor[rgb]{1.00,0.00,0.00}{\textbf{N.B.:} È nota un'incompatibilità tra il pacchetto \pkgname{babel} per la lingua francese (che non è comunque necessario per la localizzazione) e il pacchetto \pkgname{fp}: per ovviare a tale incompatibilità è sufficiente usare il comando \cmd{\shorthandoff\{:\}} subito dopo \cmd{\begin\{document\}}.} + +\textcolor[rgb]{1.00,0.00,0.00}{\textbf{N.B.:} È nota un'incompatibilità tra il pacchetto \pkgname{babel} per la lingua francese (che non è comunque necessario per la localizzazione) e il pacchetto \pkgname{fp}: per ovviare a tale incompatibilità è sufficiente usare il comando \cmd{\shorthandoff\{:\}} subito dopo \cmd{\begin\{document\}}.\\[2mm] +Il pacchetto \pkgname{babel} per la lingua spagnola rende attivi molti caratteri e questo provoca notevoli incompatibilità (ad esempio nel pacchetto \pkgname{iffthen} non è possibile fare il confronto tra numeri, ampiamente utilizzato nel pacchetto \pkgname{esami}). Per ovviare a tale problema è sufficiente non usare l'opzione \optname{spanish} quando si carica la classe article, caricare il pacchetto \pkgname{babel} con l'opzione \optname{spanish} e almeno con le opzioni \optname{es-minimal, es-sloppy} (per un elenco completo delle opzioni e dei problemi che possono insorgere si veda la documentazione del pacchetto \pkgname{babel-spanish}\cite{babel-spanish}.} \subsection{Il file di configurazione}\label{sec:cfg} Il file di configurazione \texttt{esami-xyz.cfg} contiene varie definizioni tra cui la testata (comando \cmd{\testa}), il piè di pagina, la formattazione della stringa delle soluzioni, lo stile di pagina, le istruzioni per l'esame. \subsection{I file \texttt{master} e \texttt{master-sol}} @@ -793,11 +795,11 @@ Al suo interno si deve usare un solo comando, \cmd{\def \textbackslash esercizio \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.4 (2018/02/10)] Corretta la documentazione . + \item[Versione 2.4 (2018/02/10)] Corretta la documentazione. \item[Versione 2.5 (2018/05/06)] Corretto un errore di battitura nel codice. Migliorata la scelta aleatoria degli esercizi. \item[Versione 2.6 (2021/10/11)] Migliorata la spaziatura in \cmd{\FPsignpol}. Corretto il codice per eliminare alcuni spazi spuri. \item[Versione 2.7 (2022/01/11)] Migliorata la spaziatura in \cmd{\sempli} e \cmd{\FPsignpol}. Corretto un errore nel codice - + \item[Versione 2.8 (2023/07/21)] Modificata la documentazione per risolvere un problema con la lingua spagnola. \end{description} diff --git a/Master/texmf-dist/doc/latex/esami/doc/esami.bib b/Master/texmf-dist/doc/latex/esami/doc/esami.bib index 5ca60ecc078..42daa3133bb 100644 --- a/Master/texmf-dist/doc/latex/esami/doc/esami.bib +++ b/Master/texmf-dist/doc/latex/esami/doc/esami.bib @@ -1,5 +1,12 @@ % Encoding: UTF-8 +@MISC{babel-spanish, + author = {Javier Bezos}, + title = {Estilo spanish para el sistema babel.}, + howpublished = {\url{CTAN:/macros/latex/contrib/babel-contrib/spanish}}, + year = {2021} +} + @MISC{examdesign, author = {Jason Alexander}, title = {The package \pkgname{examdesign}}, diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/problem4-fillin.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/problem4-fillin.tex index 6ddbeb1f866..b958cd821ad 100644 --- a/Master/texmf-dist/doc/latex/esami/doc/examples/problem4-fillin.tex +++ b/Master/texmf-dist/doc/latex/esami/doc/examples/problem4-fillin.tex @@ -22,4 +22,4 @@ If $A=\left\{a,b,c,d,\a,\c,\k\right\}$ and $B=\left\{c,a,\c,1,\b\right\}$ then \ $ A\cap B=$\fillin[u]{4cm}{$\left\{a,c,\c\right\}$} \\ $A\setminus B$=\fillin{60pt}{$\left\{b,d,\k\right\}$} \end{problem} - } \ No newline at end of file + } diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie1.parametri.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie1.parametri.tex new file mode 100644 index 00000000000..107265dbc49 --- /dev/null +++ b/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie1.parametri.tex @@ -0,0 +1,4 @@ +\FPeval{a}{round(12:0)} +\FPeval{b}{round(13:0)} +\FPeval{c}{round(3:0)} +\FPeval{k}{round(4:0)} diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie2.parametri.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie2.parametri.tex new file mode 100644 index 00000000000..e736caa6a08 --- /dev/null +++ b/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie2.parametri.tex @@ -0,0 +1,4 @@ +\FPeval{a}{round(14:0)} +\FPeval{b}{round(15:0)} +\FPeval{c}{round(2:0)} +\FPeval{k}{round(5:0)} diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie3.parametri.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie3.parametri.tex new file mode 100644 index 00000000000..98ef5100988 --- /dev/null +++ b/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie3.parametri.tex @@ -0,0 +1,4 @@ +\FPeval{a}{round(12:0)} +\FPeval{b}{round(15:0)} +\FPeval{c}{round(2:0)} +\FPeval{k}{round(4:0)} diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie4.parametri.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie4.parametri.tex new file mode 100644 index 00000000000..ab468d8a752 --- /dev/null +++ b/Master/texmf-dist/doc/latex/esami/doc/examples/qftest5-fillinqiie4.parametri.tex @@ -0,0 +1,4 @@ +\FPeval{a}{round(13:0)} +\FPeval{b}{round(14:0)} +\FPeval{c}{round(2:0)} +\FPeval{k}{round(4:0)} diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/test5-fillin.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/test5-fillin.tex index 14fcc410e45..adb06c3c68f 100644 --- a/Master/texmf-dist/doc/latex/esami/doc/examples/test5-fillin.tex +++ b/Master/texmf-dist/doc/latex/esami/doc/examples/test5-fillin.tex @@ -23,4 +23,4 @@ $$ \b:\k= \fillin[b]{3cm}{ \FPsv[2]{b/k}}$$ Evaluate with two exact decimals -$$ \a:\c= \fillin[b]{3cm}{ \FPsv[2]{a/c}}$$ } \ No newline at end of file +$$ \a:\c= \fillin[b]{3cm}{ \FPsv[2]{a/c}}$$ } diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex-sol.pdf b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex-sol.pdf new file mode 100644 index 00000000000..de49c0d47df Binary files /dev/null and b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex-sol.pdf differ diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex-sol.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex-sol.tex new file mode 100644 index 00000000000..0bffb54fdc1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex-sol.tex @@ -0,0 +1,123 @@ +\documentclass[a4paper,italian]{article} + + +\usepackage[shuffle,xyz,pointsonright,solutions,quizsolutions,twocolumns]{esami}%%%%% TEMA + +% +=============================+ +% | DEFINITIONS | +% +=============================+ + +\def\examname{The name of the exam} +\def\numcompiti{4}%%% The number of the versions +\date{2023/07/14}%%% THE DATE IN THE FORMAT YYYY/M/D or D/M/YYYY +\def\Data{\longdate}%%% or \shortdate: the date in the heading +%\def\cartella{pop}%%% The folder where are the exercises: by default the current folder% +%\def\Acapo{\newpage} +\usepackage{babel} + +\renewcommand{\checkpoints}{ } % So we don't check if the total points of an exercise is correct + +\begin{document} +\testversioni +\pagestyle{esame} + +\whiledo{\thevers<\numcompiti}{\stepvers +% +=============================+ +% | THE SEED | +% +=============================+ + +%\FPeval\seme{round((\thenomefile+(3*\thevers)):0)} +%%% OR SOME OTHER LIKE +\FPeval\seme{round(\thenomefile*(\thevers)+1-trunc(\thenomefile*(\thevers)/(2^31-1):0)*(2^31-1):0)} +%\FPeval\seme{round(1+abs(\thenomefile/(\thevers)+sin(\thevers)*(\thevers)^(2)):0)} +%\FPeval\semeex{round(\thenomefile+1-trunc(\thenomefile/(2^31-1):0)*(2^31-1):0)} +\randomi=\seme + +\permuta +% +=============================+ +% | STUFF DEFINED IN CFG FILE | +% +=============================+ + +\testa%%% the heading +\istruzionii%%% some instructions + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\section*{Part One} + + +\begin{test}[15] + \textsc{some exercises from 2 files} + + +\begin{questions} +%\ifluatex +%\esercizi{ +%test14, +%test1, +%test4, +%test9 +%} +%\else\ifxetex +%\esercizi{ +%test14, +%test1, +%test4, +%test9 +%} +%\else + + + +\begin{esdb}{mydb} %% some exercises from 2 files + \selectrandomlyn{3}{test2} + \selectrandomlyn{2}{test3} + \end{esdb} + +\esercizi{ +test14, +test1, +test4, +test9, +test5-fillin +} + +\textsc{All the problems of a file} + + +\selectallproblems[random]{test11} +%\fi\fi + +\end{questions} + +\textsc{Some other questions}\\[5mm] + + +\begin{questions} %% a new set of questions +\esercizi{test12, +test13 +} +\end{questions} +\end{test} + +\newpage +\section*{Part two} +\istruzioniii%%% Some other instructions + +\esercizi{problem1} +\newpage +An example of matching question. + +\esercizi{problem3-matching} + +\newpage +An example of ``tabella'' question. + +\esercizi{problem2-tabella} +\closevers +\newpage % + % +\setcounter{page}{1} %%% dvi +} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex.pdf b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex.pdf new file mode 100644 index 00000000000..152d2ca5e32 Binary files /dev/null and b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex.pdf differ diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex.tex new file mode 100644 index 00000000000..e97d43f2e04 --- /dev/null +++ b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-pdflatex.tex @@ -0,0 +1,122 @@ +\documentclass[a4paper,italian]{article} + +\usepackage[shuffle,xyz,pointsonright,nosolutions,noquizsolutions,twocolumns]{esami} + +% +=============================+ +% | DEFINITIONS | +% +=============================+ + +\def\examname{The name of the exam} +\def\numcompiti{4}%%% The number of the versions +\date{2022/01/22}%%% THE DATE IN THE FORMAT YYYY/M/D or D/M/YYYY +\def\Data{\longdate}%%% or \shortdate: the date in the heading +%\def\cartella{pop}%%% The folder where are the exercises: by default the current folder% +%\def\Acapo{\newpage} +\usepackage{babel} + +\renewcommand{\checkpoints}{ } % So we don't check if the total points of an exercise is correct + +\begin{document} +\testversioni +\pagestyle{esame} + +\whiledo{\thevers<\numcompiti}{\stepvers +% +=============================+ +% | THE SEED | +% +=============================+ + +%\FPeval\seme{round((\thenomefile+(3*\thevers)):0)} +%%% OR SOME OTHER LIKE +\FPeval\seme{round(\thenomefile*(\thevers)+1-trunc(\thenomefile*(\thevers)/(2^31-1):0)*(2^31-1):0)} +%\FPeval\seme{round(1+abs(\thenomefile/(\thevers)+sin(\thevers)*(\thevers)^(2)):0)} +%\FPeval\semeex{round(\thenomefile+1-trunc(\thenomefile/(2^31-1):0)*(2^31-1):0)} +\randomi=\seme + +\permuta +% +=============================+ +% | STUFF DEFINED IN CFG FILE | +% +=============================+ + +\testa%%% the heading +\istruzionii%%% some instructions + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\section*{Part One} + + +\begin{test}[15] + \textsc{some exercises from 2 files} + + +\begin{questions} +%\ifluatex +%\esercizi{ +%test14, +%test1, +%test4, +%test9 +%} +%\else\ifxetex +%\esercizi{ +%test14, +%test1, +%test4, +%test9 +%} +%\else + + + +\begin{esdb}{mydb} %% some exercises from 2 files + \selectrandomlyn{3}{test2} + \selectrandomlyn{2}{test3} + \end{esdb} + +\esercizi{ +test14, +test1, +test4, +test9, +test5-fillin +} + +\textsc{All the problems of a file} + + +\selectallproblems[random]{test11} +%\fi\fi + +\end{questions} + +\textsc{Some other questions}\\[5mm] + + +\begin{questions} %% a new set of questions +\esercizi{test12, +test13 +} +\end{questions} +\end{test} + +\newpage +\section*{Part two} +\istruzioniii%%% Some other instructions + +\esercizi{problem1} +\newpage +An example of matching question. + +\esercizi{problem3-matching} + +\newpage +An example of ``tabella'' question. + +\esercizi{problem2-tabella} +\closevers +\newpage % + % +\setcounter{page}{1} %%% dvi +} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.pdf b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.pdf deleted file mode 100644 index 634f2950b0b..00000000000 Binary files a/Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.tex deleted file mode 100644 index 53022389105..00000000000 --- a/Master/texmf-dist/doc/latex/esami/doc/examples/testA-sol.tex +++ /dev/null @@ -1,138 +0,0 @@ -\documentclass[a4paper,italian]{article} -\usepackage{ifxetex}%%NUOVO -\usepackage{ifluatex}%%%NUOVO - -%\usepackage[shuffle,xyz,pointsonright,nosolutions,noquizsolutions,twocolumns]{esami}%%%%% TEMA -\ifluatex - \usepackage{luatextra} % also loads fixltx2e, fontspec, xunicode - \usepackage[utf8]{luainputenc} -\else\ifxetex - \usepackage{fixltx2e} - \usepackage{fontspec} - \XeTeXinputencoding utf8 -\else - \usepackage{fixltx2e} - \usepackage[T1]{fontenc} - \usepackage[utf8]{inputenc} - \usepackage{lmodern,textcomp} -\fi\fi -\usepackage[shuffle,xyz,pointsonright,solutions,quizsolutions,twocolumns]{esami}%%%%% TEMA - -% +=============================+ -% | DEFINITIONS | -% +=============================+ - -\def\examname{The name of the exam} -\def\numcompiti{4}%%% The number of the versions -\date{2022/01/22}%%% THE DATE IN THE FORMAT YYYY/M/D or D/M/YYYY -\def\Data{\longdate}%%% or \shortdate: the date in the heading -%\def\cartella{pop}%%% The folder where are the exercises: by default the current folder% -%\def\Acapo{\newpage} -\usepackage{babel} - -\renewcommand{\checkpoints}{ } % So we don't check if the total points of an exercise is correct - -\begin{document} -\testversioni -\pagestyle{esame} - -\whiledo{\thevers<\numcompiti}{\stepvers -% +=============================+ -% | THE SEED | -% +=============================+ - -%\FPeval\seme{round((\thenomefile+(3*\thevers)):0)} -%%% OR SOME OTHER LIKE -\FPeval\seme{round(\thenomefile*(\thevers)+1-trunc(\thenomefile*(\thevers)/(2^31-1):0)*(2^31-1):0)} -%\FPeval\seme{round(1+abs(\thenomefile/(\thevers)+sin(\thevers)*(\thevers)^(2)):0)} -%\FPeval\semeex{round(\thenomefile+1-trunc(\thenomefile/(2^31-1):0)*(2^31-1):0)} -\randomi=\seme - -\permuta -% +=============================+ -% | STUFF DEFINED IN CFG FILE | -% +=============================+ - -\testa%%% the heading -\istruzionii%%% some instructions - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\section*{Part One} - - -\begin{test}[15] - \textsc{some exercises from 2 files} - - -\begin{questions} -%\ifluatex -%\esercizi{ -%test14, -%test1, -%test4, -%test9 -%} -%\else\ifxetex -%\esercizi{ -%test14, -%test1, -%test4, -%test9 -%} -%\else - - - -\begin{esdb}{mydb} %% some exercises from 2 files - \selectrandomlyn{3}{test2} - \selectrandomlyn{2}{test3} - \end{esdb} - -\esercizi{ -test14, -test1, -test4, -test9, -test5-fillin -} - -\textsc{All the problems of a file} - - -\selectallproblems[random]{test11} -%\fi\fi - -\end{questions} - -\textsc{Some other questions}\\[5mm] - - -\begin{questions} %% a new set of questions -\esercizi{test12, -test13 -} -\end{questions} -\end{test} - -\newpage -\section*{Part two} -\istruzioniii%%% Some other instructions - -\esercizi{problem1} -\newpage -An example of matching question. - -\esercizi{problem3-matching} - -\newpage -An example of ``tabella'' question. - -\esercizi{problem2-tabella} -\closevers -\newpage % - % -\setcounter{page}{1} %%% dvi -} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/testA-xetex-sol.sol.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/testA-xetex-sol.sol.tex deleted file mode 100644 index 00cc5e002ca..00000000000 --- a/Master/texmf-dist/doc/latex/esami/doc/examples/testA-xetex-sol.sol.tex +++ /dev/null @@ -1,84 +0,0 @@ -\begin{minipage}{.33\textwidth}{\large\textbf{Soluzione\ Versione\ n. 1}} -\begin{enumerate} -\item\ref{e:1-file:test2-q:i} -\item\ref{e:1-file:test3-q:ii} -\item\ref{e:1-file:test2-q:ii} -\item\ref{e:1-file:test2-q:iii} -\item\ref{e:1-file:test3-q:i} -\item\ref{e:1-file:test1-q:i} -\item\ref{e:1-file:test9-q:ii} -\item\ref{e:1-file:test14-q:i} -\item\ref{e:1-file:test4-q:v} -\item \makeatletter \input{qftest5-fillinqiie1.parametri}\makeatother - \FPsv [2]{b/k} -\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} -\begin{minipage}{.33\textwidth}{\large\textbf{Soluzione\ Versione\ n. 2}} -\begin{enumerate} -\item\ref{e:2-file:test2-q:iii} -\item\ref{e:2-file:test3-q:i} -\item\ref{e:2-file:test2-q:ii} -\item\ref{e:2-file:test3-q:iv} -\item\ref{e:2-file:test2-q:i} -\item\ref{e:2-file:test1-q:ii} -\item \makeatletter \input{qftest5-fillinqiie2.parametri}\makeatother - \FPsv [2]{a/c} -\item\ref{e:2-file:test9-q:iii} -\item\ref{e:2-file:test14-q:i} -\item\ref{e:2-file:test4-q:ii} -\item\ref{e:2-file:test11-q:i} -\item\ref{e:2-file:test11-q:ii} -\par\end{enumerate}\vspace{3ex} -\begin{enumerate} -\item\ref{e:2-file:test13-q:iii} -\item\ref{e:2-file:test12-q:iii} -\par\end{enumerate}\vspace{3ex} -\end{minipage} -\begin{minipage}{.33\textwidth}{\large\textbf{Soluzione\ Versione\ n. 3}} -\begin{enumerate} -\item\ref{e:3-file:test2-q:iii} -\item\ref{e:3-file:test3-q:i} -\item\ref{e:3-file:test2-q:i} -\item\ref{e:3-file:test3-q:ii} -\item\ref{e:3-file:test2-q:ii} -\item\ref{e:3-file:test14-q:i} -\item \makeatletter \input{qftest5-fillinqiie3.parametri}\makeatother - \FPsv [2]{b/k} -\item\ref{e:3-file:test4-q:iii} -\item\ref{e:3-file:test1-q:i} -\item\ref{e:3-file:test9-q:iv} -\item\ref{e:3-file:test11-q:i} -\item\ref{e:3-file:test11-q:ii} -\par\end{enumerate}\vspace{3ex} -\begin{enumerate} -\item\ref{e:3-file:test12-q:i} -\item\ref{e:3-file:test13-q:iv} -\par\end{enumerate}\vspace{3ex} -\end{minipage} -\begin{minipage}{.33\textwidth}{\large\textbf{Soluzione\ Versione\ n. 4}} -\begin{enumerate} -\item\ref{e:4-file:test2-q:ii} -\item\ref{e:4-file:test2-q:i} -\item\ref{e:4-file:test3-q:i} -\item\ref{e:4-file:test3-q:ii} -\item\ref{e:4-file:test2-q:iii} -\item\ref{e:4-file:test4-q:v} -\item\ref{e:4-file:test9-q:iii} -\item\ref{e:4-file:test1-q:ii} -\item\ref{e:4-file:test14-q:i} -\item \makeatletter \input{qftest5-fillinqiie4.parametri}\makeatother - \FPsv [2]{a/c} -\item\ref{e:4-file:test11-q:i} -\item\ref{e:4-file:test11-q:ii} -\par\end{enumerate}\vspace{3ex} -\begin{enumerate} -\item\ref{e:4-file:test13-q:iii} -\item\ref{e:4-file:test12-q:iii} -\par\end{enumerate}\vspace{3ex} -\end{minipage} diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/testA.pdf b/Master/texmf-dist/doc/latex/esami/doc/examples/testA.pdf deleted file mode 100644 index 78f7234f837..00000000000 Binary files a/Master/texmf-dist/doc/latex/esami/doc/examples/testA.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/testA.tex b/Master/texmf-dist/doc/latex/esami/doc/examples/testA.tex deleted file mode 100644 index 0a443d7518e..00000000000 --- a/Master/texmf-dist/doc/latex/esami/doc/examples/testA.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[a4paper,italian]{article} -\usepackage{ifxetex} -\usepackage{ifluatex} - -\ifluatex - \usepackage{luatextra} % also loads fixltx2e, fontspec, xunicode - \usepackage[utf8]{luainputenc} -\else\ifxetex - \usepackage{fixltx2e} - \usepackage{fontspec} - \XeTeXinputencoding utf8 -\else - \usepackage{fixltx2e} - \usepackage[T1]{fontenc} - \usepackage[utf8]{inputenc} - \usepackage{lmodern,textcomp} -\fi\fi -\usepackage[shuffle,xyz,pointsonright,nosolutions,noquizsolutions,twocolumns]{esami} - -% +=============================+ -% | DEFINITIONS | -% +=============================+ - -\def\examname{The name of the exam} -\def\numcompiti{4}%%% The number of the versions -\date{2022/01/22}%%% THE DATE IN THE FORMAT YYYY/M/D or D/M/YYYY -\def\Data{\longdate}%%% or \shortdate: the date in the heading -%\def\cartella{pop}%%% The folder where are the exercises: by default the current folder% -%\def\Acapo{\newpage} -\usepackage{babel} - -\renewcommand{\checkpoints}{ } % So we don't check if the total points of an exercise is correct - -\begin{document} -\testversioni -\pagestyle{esame} - -\whiledo{\thevers<\numcompiti}{\stepvers -% +=============================+ -% | THE SEED | -% +=============================+ - -%\FPeval\seme{round((\thenomefile+(3*\thevers)):0)} -%%% OR SOME OTHER LIKE -\FPeval\seme{round(\thenomefile*(\thevers)+1-trunc(\thenomefile*(\thevers)/(2^31-1):0)*(2^31-1):0)} -%\FPeval\seme{round(1+abs(\thenomefile/(\thevers)+sin(\thevers)*(\thevers)^(2)):0)} -%\FPeval\semeex{round(\thenomefile+1-trunc(\thenomefile/(2^31-1):0)*(2^31-1):0)} -\randomi=\seme - -\permuta -% +=============================+ -% | STUFF DEFINED IN CFG FILE | -% +=============================+ - -\testa%%% the heading -\istruzionii%%% some instructions - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\section*{Part One} - - -\begin{test}[15] - \textsc{some exercises from 2 files} - - -\begin{questions} -%\ifluatex -%\esercizi{ -%test14, -%test1, -%test4, -%test9 -%} -%\else\ifxetex -%\esercizi{ -%test14, -%test1, -%test4, -%test9 -%} -%\else - - - -\begin{esdb}{mydb} %% some exercises from 2 files - \selectrandomlyn{3}{test2} - \selectrandomlyn{2}{test3} - \end{esdb} - -\esercizi{ -test14, -test1, -test4, -test9, -test5-fillin -} - -\textsc{All the problems of a file} - - -\selectallproblems[random]{test11} -%\fi\fi - -\end{questions} - -\textsc{Some other questions}\\[5mm] - - -\begin{questions} %% a new set of questions -\esercizi{test12, -test13 -} -\end{questions} -\end{test} - -\newpage -\section*{Part two} -\istruzioniii%%% Some other instructions - -\esercizi{problem1} -\newpage -An example of matching question. - -\esercizi{problem3-matching} - -\newpage -An example of ``tabella'' question. - -\esercizi{problem2-tabella} -\closevers -\newpage % - % -\setcounter{page}{1} %%% dvi -} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg b/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg index 13484158d25..b4c46047134 100644 --- a/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg +++ b/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg @@ -1,11 +1,11 @@ %% Package `esami' to use with LaTeX 2e -%% Copyright (C) 2008-2022 G. Messineo e S. Vassallo +%% Copyright (C) 2008-2023 G. Messineo e S. Vassallo %% %% This is file `esami-xyz.cfg', %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% esami-xyz.cfg, 2022-01-11 %% -%% Copyright (C) 2008-2022 G. Messineo e S. Vassallo %% +%% esami-xyz.cfg, 2023-07-21 %% +%% Copyright (C) 2008-2023 G. Messineo e S. Vassallo %% %% %% %% This program can be redistributed and/or modified %% %% under the terms of the LaTeX Project Public License %% -- cgit v1.2.3