diff options
author | Karl Berry <karl@freefriends.org> | 2013-01-07 22:29:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-01-07 22:29:56 +0000 |
commit | df84dac3a029b2a89061bd8ea322e33b2e64879f (patch) | |
tree | 619a0b2f8988a7560604c806f1be4cdd600371f2 /Master/texmf-dist/tex/latex/exsheets | |
parent | 4a2a6724d694baa3be57fc73675da454d0b5dbd7 (diff) |
exsheets (7jan13)
git-svn-id: svn://tug.org/texlive/trunk@28760 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/exsheets')
5 files changed, 16 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets.sty b/Master/texmf-dist/tex/latex/exsheets/exsheets.sty index d6dc571d378..7c939d9de03 100644 --- a/Master/texmf-dist/tex/latex/exsheets/exsheets.sty +++ b/Master/texmf-dist/tex/latex/exsheets/exsheets.sty @@ -8,7 +8,7 @@ % Web: https://bitbucket.org/cgnieder/exsheets/ % E-Mail: contact@mychemistry.eu % ---------------------------------------------------------------------------- -% Copyright 2011-2012 Clemens Niederberger +% Copyright 2011-2013 Clemens Niederberger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -31,8 +31,8 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % ---------------------------------------------------------------------------- -\def\exsheets@date{2012/12/23} -\def\exsheets@version{0.6a} +\def\exsheets@date{2013/01/06} +\def\exsheets@version{0.6b} \RequirePackage { expl3 , xparse } \ProvidesExplPackage @@ -1356,8 +1356,8 @@ { \cs_new:Npn \prop_length:N #1 { - \prop_length:NN #1 \l__exsheets_tmpa_int - \int_use:N \l__exsheets_tmpa_int + \prop_length:NN #1 \l_tmpa_int + \int_use:N \l_tmpa_int } } @@ -1384,6 +1384,11 @@ { \bool_set_true:N \l__exsheets_questions_deactivate_bool \file_input_if_exist:n { ##1 } + \prop_length:NN + \g__exsheets_selected_questions_prop + \l__exsheets_tmpa_int + \int_gsub:Nn \g__exsheets_questions_id_int + { \l__exsheets_tmpa_int } \bool_if:NT \l__exsheets_questions_debug_bool { \colorbox { exsheetsdebugcolor } @@ -1437,7 +1442,6 @@ \cs_new:Npn \__exsheets_select_question_by_id:n #1 { -% \clist_show:N \l__exsheets_include_id_clist \clist_if_in:NnTF \l__exsheets_include_id_clist { #1 } @@ -1445,6 +1449,7 @@ { \bool_gset_false:N \g__exsheets_questions_use_bool } } +% TODO: don't select questions whose topics or classes aren't chosen \cs_new:Npn \__exsheets_select_question_random:n #1 { \bool_if:NT \l__exsheets_include_random_bool @@ -2359,7 +2364,7 @@ HISTORY: translations 2012/12/23 v0.6a - bug fix: labels and items of {tasks} weren't joined at their baselines - +2013/01/06 v0.6b - bug fix: ID counting fixed in \includequestions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % TODO: diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.cfg b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.cfg index 5d195010c8b..bb60744ab98 100644 --- a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.cfg +++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.cfg @@ -8,7 +8,7 @@ % Web: https://bitbucket.org/cgnieder/exsheets/ % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2011-2012 Clemens Niederberger +% Copyright 2011-2013 Clemens Niederberger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def index 7c1637de0a5..f81c8e4344d 100644 --- a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def +++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def @@ -8,7 +8,7 @@ % Web: https://bitbucket.org/cgnieder/exsheets/ % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2011-2012 Clemens Niederberger +% Copyright 2011-2013 Clemens Niederberger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.cfg b/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.cfg index 54de030795b..b99fdda993f 100644 --- a/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.cfg +++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.cfg @@ -8,7 +8,7 @@ % Web: https://bitbucket.org/cgnieder/exsheets/ % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2011-2012 Clemens Niederberger +% Copyright 2011-2013 Clemens Niederberger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.def b/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.def index e5f9faf8311..facab8e6553 100644 --- a/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.def +++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.def @@ -8,7 +8,7 @@ % Web: https://bitbucket.org/cgnieder/exsheets/ % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2011-2012 Clemens Niederberger +% Copyright 2011-2013 Clemens Niederberger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 |