summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex')
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex
index a30c44a76fc..824da2241ea 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex
@@ -58,6 +58,7 @@
}
\DeclareExerciseProperty {section-value}
\DeclareExerciseProperty {section}
+\DeclareExerciseProperty {sectioning}
% those are additional and wouldn't *need* to be present except for
% pre-defined templates which make use of them:
@@ -183,9 +184,9 @@
\marginpar
{
\IfInsideSolutionF { \rule {1.2cm} {1pt} \slash }
- \PropertyValue
+ \printgoal {\PropertyValue}
\GetExercisePropertyT {bonus-points}
- { \nobreakspace ( + \PropertyValue ) }
+ { \nobreakspace ( + \printgoal {\PropertyValue} ) }
\nobreakspace\XSIMtranslate {point-abbr}
}
}
@@ -427,4 +428,4 @@
}
% ----------------------------------------------------------------------------
-\tex_endinput:D
+\file_input_stop: