| 1 |
-------------------------------------------------------------------------- |
| 2 |
|
| 3 |
XSIM -- eXercise Sheets IMproved |
| 4 |
|
| 5 |
-------------------------------------------------------------------------- |
| 6 |
Clemens Niederberger |
| 7 |
Web: https://github.com/cgnieder/xsim |
| 8 |
E-Mail: [email protected] |
| 9 |
-------------------------------------------------------------------------- |
| 10 |
Copyright 2017--2022 Clemens Niederberger |
| 11 |
|
| 12 |
This work may be distributed and/or modified under the |
| 13 |
conditions of the LaTeX Project Public License, either version 1.3c |
| 14 |
of this license or (at your option) any later version. |
| 15 |
The latest version of this license is in |
| 16 |
http://www.latex-project.org/lppl.txt |
| 17 |
and version 1.3c or later is part of all distributions of LaTeX |
| 18 |
version 2008/05/04 or later. |
| 19 |
|
| 20 |
This work has the LPPL maintenance status `maintained'. |
| 21 |
|
| 22 |
The Current Maintainer of this work is Clemens Niederberger. |
| 23 |
-------------------------------------------------------------------------- |
| 24 |
|
| 25 |
HISTORY: |
| 26 |
|
| 27 |
v0.0 2017/02/09 - start with coding the first ideas |
| 28 |
v0.1 2017/03/19 - first draft which actually seems to do everything as |
| 29 |
planned |
| 30 |
v0.2 2017/03/21 - bugfix in the verbwrite module |
| 31 |
- add `use!' and `print!' properties |
| 32 |
- add the concepts of `noupdate' and `boolean' properties |
| 33 |
v0.4 2017/03/24 - \IfExerciseBooleanPropertyTF |
| 34 |
- \GetExercisePropertyTF, \PropertyValue |
| 35 |
- \printallsolutions |
| 36 |
- \UseExerciseTemplate |
| 37 |
- bug fix in solution environments: now get printed again |
| 38 |
when option `print=true' is used |
| 39 |
- bug fix to the translations of the solution list headings: |
| 40 |
exercise name instead of exercise type is now printed |
| 41 |
- \AddtoExerciseTypeGoal, \AddtoExerciseGoal |
| 42 |
\AddtoExerciseTypeGoalPrint, \AddtoExerciseGoalPrint, |
| 43 |
\ExerciseGoalValuePrint |
| 44 |
- \addpoints, \addbonus, \points, \printgoal |
| 45 |
v0.5 2017/03/30 - add style file mechanism |
| 46 |
- make solution print conditions `section' and `chapter' |
| 47 |
combinable |
| 48 |
v0.5a 2017/04/15 - fix wrong translation of the `default-heading' |
| 49 |
v0.5b 2017/04/16 - add \SetExerciseProperty |
| 50 |
v0.6 2017/04/27 - official interface for grade distributions |
| 51 |
- refine hook management (environment module) |
| 52 |
v0.6a 2017/04/28 - refine \blank command, add documentation for said command |
| 53 |
v0.7 2017/05/09 - \xsim_list_length:n |
| 54 |
- new boolean property `used' |
| 55 |
- when an exercise is collected the counter isn't stepped |
| 56 |
but only when the exercise is inserted for the first |
| 57 |
time; when this happens the new property `used' is set to |
| 58 |
`true' |
| 59 |
- make setting boolean properties case insensitive |
| 60 |
- add missing pieces to manual (eg `page' property...) |
| 61 |
- \TotalExerciseGoals and \TotalExerciseTypeGoals |
| 62 |
- \XSIMifchapterTF |
| 63 |
- \xsim_if_goal_sum:nnnTF and friends, |
| 64 |
\IfExerciseTypeGoalsSumTF and \IfExerciseGoalsSumTF |
| 65 |
- some more hints in the manual regarding collections |
| 66 |
v0.8 2017/05/18 - bug fix in \xsim_set_property:nnnn |
| 67 |
- random exercise lists from collections |
| 68 |
- \xsim_collection_count:n |
| 69 |
- \GetExerciseIdForProperty and \GetExerciseTypeForProperty |
| 70 |
for unique properties |
| 71 |
- set property `print=false' during collection and only to |
| 72 |
true when the corresponding exercises actually are |
| 73 |
printed |
| 74 |
- do not insert \par at the beginning and end of exercises |
| 75 |
and solutions; this should be left to the templates! |
| 76 |
- new option `print-collection/print' which allows to |
| 77 |
choose between exercises, solutions, and both to be |
| 78 |
printed |
| 79 |
- new parameter `solution-counter' in order to avoid |
| 80 |
possible conflicts with existing counters |
| 81 |
v0.8a 2017/05/19 - \IfPrintSolutionTF |
| 82 |
v0.8b 2017/05/23 - use \printgoal in default environment template |
| 83 |
- \xsim_print_goal:nnn now expands input to a number |
| 84 |
v0.9 2017/06/20 - \xsimstyle's behaviour now matches the description in |
| 85 |
the manual |
| 86 |
- add style file `layouts' which at the moment provides the |
| 87 |
two exercise templates `runin' and `margin' |
| 88 |
- \printforexercises , \xsim_print_type_code:nnnnn |
| 89 |
- \IfExerciseParameterSetTF |
| 90 |
- \GetExerciseParameterTF |
| 91 |
- change syntax of \SetExerciseProperty |
| 92 |
- \SetExpandedExerciseProperty |
| 93 |
- \ExerciseSetProperty, \ExerciseSetExpandedProperty |
| 94 |
- property `sectioning' |
| 95 |
- \IfExistSolutionTF |
| 96 |
v0.10 2017/09/19 - \xsim_input:nnn |
| 97 |
- \GetExerciseBody |
| 98 |
- option `blank/fill' |
| 99 |
- bug fix in \xsim_start_collection:nn |
| 100 |
- added further examples to package |
| 101 |
- new option `file-extension' |
| 102 |
v0.10a 2017/10/01 - bug fix: grading table options can now be set with |
| 103 |
\xsimsetup (issue 15) |
| 104 |
v0.11 2018/02/12 - change name requirement for style files in order to |
| 105 |
prevent possible name clashes with module files |
| 106 |
- fix bug in \SetExerciseProperty and |
| 107 |
\SetExpandedExerciseProperty |
| 108 |
- fix bug when xsimverb is used standalone (issue 21) |
| 109 |
- add option `split-aux-lists' (issue 18) |
| 110 |
- \IfExerciseTagSetTF and \IfExerciseTopicSetTF |
| 111 |
- introduce a \xsim_if_<tagging>_value:nTF for each tag |
| 112 |
kind |
| 113 |
- \ProvideExerciseTagging |
| 114 |
v0.12 2019/09/30 - add parameter versions for the plural forms of exercise |
| 115 |
and solution names |
| 116 |
- bug fixes (issues 37, 39, 43, 47) |
| 117 |
v0.13 2019/10/06 - experimental package option `no-files' |
| 118 |
v0.14 2019/10/13 - new exercise parameters `exercise-heading' and |
| 119 |
`solution-heading' |
| 120 |
- new options `exercise/heading' and `solution/heading' as |
| 121 |
interface for setting the new parameters |
| 122 |
- new command \GetExerciseHeadingF for using the new |
| 123 |
parameters in environment templates |
| 124 |
- change the environment template `default' to use the new |
| 125 |
\GetExerciseHeadingF and output a \par at the end |
| 126 |
- make argument of \xsimsetup long |
| 127 |
- new template `minimal' |
| 128 |
- new option `load-style' |
| 129 |
- new example `texwelt-23968' (long and short solutions) |
| 130 |
v0.14a 2019/10/19 - fix \xsim_if_exercise_exist:nnTF to obey the `no-files' |
| 131 |
option |
| 132 |
v0.15 2019/11/02 - use own auxiliary file per default and add option |
| 133 |
`use-aux' |
| 134 |
v0.16 2019/11/10 - fix issue due to usage of own auxiliary file |
| 135 |
- \XSIMatbegindocument and \XSIMatenddocument |
| 136 |
- \xprintexercise, \xprintsolution, \xsimprint, \xsimxprint |
| 137 |
2019/12/29 - bugfix in `xsimverb' |
| 138 |
v0.16a 2020/01/16 - adapt to renaming of string case changing functions |
| 139 |
v0.17 2020/02/21 - prefer lazy boolean evaluation if possible |
| 140 |
- remove spurious \par at the beginning of typeset |
| 141 |
exercises |
| 142 |
- add `blank' option, implements issue #31 |
| 143 |
- add `solution' property, implements issue #33 |
| 144 |
- fix issue #27 |
| 145 |
- implement issue #2 |
| 146 |
- don't allow package options to be set with \xsimsetup |
| 147 |
v0.18 2020/02/23 - fix issue #56 |
| 148 |
- change \printexercise and \printsolution to accept a |
| 149 |
clist of either ids or IDs (or mixed) |
| 150 |
- new templates in the `layouts' style |
| 151 |
v0.19 2020/03/16 - improve performance |
| 152 |
- only set \ExerciseID and \ExerciseType locally to ensure |
| 153 |
correct values when exercises (of different types) are |
| 154 |
nested |
| 155 |
- new load-time option `debug' - only for development |
| 156 |
v0.19a 2020/03/19 - fix missing-variant-bug introduced with the last update |
| 157 |
v0.19b 2020/04/04 - fix bug in new attribute mechanism which was a problem |
| 158 |
when `no-files` has been used |
| 159 |
v0.20 2021/01/31 - switch to one sty file per package |
| 160 |
- use LaTeX's new hooks |
| 161 |
- declare undeclared variables |
| 162 |
- new exercise setup mechanism which clearly determines the |
| 163 |
difference between definition, usage, and printing of an |
| 164 |
exercise; this also solves the problem with added goals |
| 165 |
in the exercise body in a collection |
| 166 |
- re-write collection mechanism: |
| 167 |
* changes the behaviour of \collectexercises but doesn't |
| 168 |
require external files any more and more importantly |
| 169 |
doesn't require inputting files several times for |
| 170 |
multiple collections |
| 171 |
* drop \collectexercisestype |
| 172 |
* new \(de)activatecollection |
| 173 |
* new options `collect' and `<type>/collect' |
| 174 |
- small improvements in performance |
| 175 |
- new parameters `within' and `the-counter' |
| 176 |
- make `no-files' the default |
| 177 |
- new examples |
| 178 |
- various small fixes |
| 179 |
v0.20a 2021/02/01 - re-add missing `layouts' style |
| 180 |
- add example texsx-549540 |
| 181 |
v0.20b 2021/02/02 - fix issue #78 |
| 182 |
v0.20c 2021/02/03 - fix issue #80 |
| 183 |
- add missing test in \xsim_if_exist:nnnTF |
| 184 |
v0.21 2022/02/12 - make \__xsim_set_file_signature:nnn public |
| 185 |
- make \l__xsim_file_path_and_name_tl, \l__xsim_file_name_tl |
| 186 |
and \l__xsim_file_path_tl public |
| 187 |
- introduce XSIMsetfilebeginX and XSIMsetfileendX (xsimverb) |
| 188 |
- reduce comment line in automated comments in exercise and |
| 189 |
solution files |
| 190 |
- add option <tag>/use-unmatched |
| 191 |
- document option `blank/fill' |
| 192 |
- add counter foreach type and collection that holds the |
| 193 |
number of exercises of a type in a collection |
| 194 |
- fix issue #90 |
| 195 |
- correct file hooks |
| 196 |
- implement issue #88 |
| 197 |
- fix issue #96 |
| 198 |
- `use!' and `print!' had gone lost. Add them back in. |
| 199 |
- add new options `match-all'/`match-any' for the collection |
| 200 |
conditions. Resolves issue #94. |
| 201 |
- new \ForEachUsedExerciseByOrder, used in the table |
| 202 |
templates which resolves issue #85 |