From 3df1dc48dcf0b31ba27b2fffae1a0a1915ec4a11 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 5 Apr 2013 23:11:50 +0000 Subject: exsheets (5apr13) git-svn-id: svn://tug.org/texlive/trunk@29685 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/exsheets/README | 6 +++--- .../texmf-dist/doc/latex/exsheets/exsheets_en.pdf | Bin 678239 -> 686568 bytes .../texmf-dist/doc/latex/exsheets/exsheets_en.tex | 23 +++++++++++---------- .../doc/latex/exsheets/grading-table.pdf | Bin 26483 -> 26483 bytes Master/texmf-dist/tex/latex/exsheets/exsheets.sty | 12 ++++++++--- Master/texmf-dist/tex/latex/exsheets/tasks.sty | 6 +++--- .../texmf-dist/tex/latex/exsheets/translations.sty | 6 +++--- 7 files changed, 30 insertions(+), 23 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/exsheets/README b/Master/texmf-dist/doc/latex/exsheets/README index 180c9f30362..8bf29bafce0 100644 --- a/Master/texmf-dist/doc/latex/exsheets/README +++ b/Master/texmf-dist/doc/latex/exsheets/README @@ -1,14 +1,14 @@ -------------------------------------------------------------------------- -EXSHEETS v0.8 - 2013/03/10 +EXSHEETS v0.8a - 2013/04/04 bundled packages: the EXSHEETS package Yet another package for the creation of exercise sheets -the TRANSLATIONS package v0.8 +the TRANSLATIONS package v0.8a a simple translator the CNTFORMATS package v0.4 A different way to read counters. -the TASKS package v0.7 +the TASKS package v0.8a Horizontal columned lists. All mentioned packages are described in exsheets_en.pdf diff --git a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf index 6cdfb667e84..fe8fc148d19 100644 Binary files a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf and b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf differ diff --git a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex index 82ecb068e62..dc93fd78468 100644 --- a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex +++ b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex @@ -70,6 +70,7 @@ \edef\cntfmtsversion{\@cntfmts@version} \edef\tasksversion{v\@tasks@version} \makeatother +\usepackage{libertinehologopatch} \cnpkgusecolorscheme{friendly} \usepackage[biblatex]{embrac}[2012/06/29] @@ -152,21 +153,21 @@ } \usepackage{filecontents} -\begin{filecontents}{\jobname.ist} +\usepackage{imakeidx} +\begin{filecontents*}{\jobname.ist} heading_prefix "{\\bfseries " heading_suffix "\\hfil}\\nopagebreak\n" headings_flag 1 - delim_0 "\\dotfill " - delim_1 "\\dotfill " - delim_2 "\\dotfill " - delim_r "\\textendash" + delim_0 "\\dotfill\\hyperpage{" + delim_1 "\\dotfill\\hyperpage{" + delim_2 "\\dotfill\\hyperpage{" + delim_r "}\\textendash\\hyperpage{" + delim_t "}" suffix_2p "\\nohyperpage{\\,f.}" suffix_3p "\\nohyperpage{\\,ff.}" -\end{filecontents} - -\usepackage{imakeidx} -% \indexsetup{level=\section*} -\makeindex[intoc,options={-sl \jobname.ist}] +\end{filecontents*} +\indexsetup{othercode=\footnotesize} +\makeindex[options={-s \jobname.ist},intoc,columns=3] \usepackage{csquotes} \usepackage[backend=biber]{biblatex} @@ -1083,7 +1084,7 @@ which means you can do the same introducing your own dividing concepts. For example you could decide you want to group your questions according to their difficulty. You could place the following line in your preamble: \begin{beispiel}[code only] - \DeclareQuestionSubdivision{difficulty}{difficulties} + \DeclareQuestionClass{difficulty}{difficulties} \end{beispiel} This would define an option \key{use-difficulties} analogous to \key{use-classes} and \key{use-topics}. It would also define an option \key{difficulty} for the diff --git a/Master/texmf-dist/doc/latex/exsheets/grading-table.pdf b/Master/texmf-dist/doc/latex/exsheets/grading-table.pdf index 86ea1acd847..50a466af818 100644 Binary files a/Master/texmf-dist/doc/latex/exsheets/grading-table.pdf and b/Master/texmf-dist/doc/latex/exsheets/grading-table.pdf differ diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets.sty b/Master/texmf-dist/tex/latex/exsheets/exsheets.sty index e4b2856baf5..cc2b91f14d2 100644 --- a/Master/texmf-dist/tex/latex/exsheets/exsheets.sty +++ b/Master/texmf-dist/tex/latex/exsheets/exsheets.sty @@ -31,8 +31,8 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % ---------------------------------------------------------------------------- -\def\exsheets@date{2013/03/10} -\def\exsheets@version{0.8} +\def\exsheets@date{2013/04/04} +\def\exsheets@version{0.8a} \RequirePackage { expl3 , xparse } \ProvidesExplPackage @@ -2381,6 +2381,7 @@ \DeclareTranslation { Croatian } { exsheets-exercise-name } { Primjer } \DeclareTranslation { Hungarian } { exsheets-exercise-name } { Gyakorol } \DeclareTranslation { Danish } { exsheets-exercise-name } { \O{}velse } + \DeclareTranslation { Portuges } { exsheets-exercise-name } { Exerc\'\i cio } % translation for the question \DeclareTranslationFallback { exsheets-question-name } { Question } \DeclareTranslation { English } { exsheets-question-name } { Question } @@ -2395,6 +2396,7 @@ \DeclareTranslation { Croatian } { exsheets-question-name } { Zadatak } \DeclareTranslation { Hungarian } { exsheets-question-name } { Feladat } \DeclareTranslation { Danish } { exsheets-question-name } { Opgave } + \DeclareTranslation { Portuges } { exsheets-question-name } { Quest\~ao } % translation for the solutions \DeclareTranslationFallback { exsheets-solution-name } { Solution } \DeclareTranslation { English } { exsheets-solution-name } { Solution } @@ -2409,6 +2411,7 @@ \DeclareTranslation { Croatian } { exsheets-solution-name } { Rje\v{s}enje } \DeclareTranslation { Hungarian } { exsheets-solution-name } { Megold\'{a}s } \DeclareTranslation { Danish } { exsheets-solution-name } { Opl\o{}sning } + \DeclareTranslation { Portuges } { exsheets-solution-name } { Solu\c c\~ao } % the actual translating \tl_set:Nn \l__exsheets_exsheets_name_tl { \GetTranslation { exsheets-exercise-name } } @@ -2527,7 +2530,7 @@ HISTORY: 2013/01/21 v0.7a - added option `auto-label' and questions key `label', also added question properties `ref' and `pageref' 2013/02/17 v0.7b - bug fix: question selection by ID now works again -2013/03/?? v0.8 - \prop_length => \exsheets_prop_count +2013/03/10 v0.8 - \prop_length => \exsheets_prop_count - define unexpandable internal commands protected - translations basic dictionaries for English, German, French and Spanish @@ -2544,6 +2547,9 @@ HISTORY: - \includequestions[random=] now obeys class as done with \SetupExSheets{use-topics={foo,bar}} - new macro \questionsincludedlast +2013/04/04 v0.8a - translations: bug fix in \DeclareDictTranslation + - exsheets: added Portuguese translations + - tasks: corrected \seq_length:N => \seq_count:N %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % TODO: diff --git a/Master/texmf-dist/tex/latex/exsheets/tasks.sty b/Master/texmf-dist/tex/latex/exsheets/tasks.sty index 88b613d7dbd..14981e67db8 100644 --- a/Master/texmf-dist/tex/latex/exsheets/tasks.sty +++ b/Master/texmf-dist/tex/latex/exsheets/tasks.sty @@ -28,8 +28,8 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % -------------------------------------------------------------------------- -\def\@tasks@date{2013/01/20} -\def\@tasks@version{0.7} +\def\@tasks@date{2013/04/04} +\def\@tasks@version{0.8a} \RequirePackage { expl3 , xparse , l3keys2e } \ProvidesExplPackage @@ -109,7 +109,7 @@ \tl_if_blank:VF \l__tasks_tmpa_tl { \tl_show:N \l__tasks_tmpa_tl \@noitemerr } \int_set:Nn \l__tasks_total_items_int - { \seq_length:N \l__tasks_seq } + { \seq_count:N \l__tasks_seq } \UseInstance { tasks } { #1 } { \l__tasks_total_items_int } { #2 } diff --git a/Master/texmf-dist/tex/latex/exsheets/translations.sty b/Master/texmf-dist/tex/latex/exsheets/translations.sty index aef8ad16d6f..03cf81c8169 100644 --- a/Master/texmf-dist/tex/latex/exsheets/translations.sty +++ b/Master/texmf-dist/tex/latex/exsheets/translations.sty @@ -29,8 +29,8 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % -------------------------------------------------------------------------- -\def\@trnslt@date{2013/03/10} -\def\@trnslt@version{v0.8} +\def\@trnslt@date{2013/04/04} +\def\@trnslt@version{v0.8a} \ProvidesPackage{translations}[\@trnslt@date\space \@trnslt@version\space a simple translator] \RequirePackage{etoolbox} @@ -274,7 +274,7 @@ % \@trnslt@dictionary@language \newrobustcmd*\DeclareDictTranslation[2]{% - \@trnslt@declare@translation{#1}{\@trnslt@dictionary@language}{#2}} + \@trnslt@declare@translation{#1}{\@trnslt@dictionary@lang}{#2}} \@onlypreamble\DeclareDictTranslation % -------------------------------------------------------------------------- -- cgit v1.2.3