From 6c0fed440c27ba0d6856feeb1000320320cf8a96 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 30 Sep 2019 21:52:46 +0000
Subject: xsim (30sep19)

git-svn-id: svn://tug.org/texlive/trunk@52232 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/xsim/xsim.exercises.code.tex | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

(limited to 'Master/texmf-dist/tex/latex/xsim/xsim.exercises.code.tex')

diff --git a/Master/texmf-dist/tex/latex/xsim/xsim.exercises.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.exercises.code.tex
index a269fe2c5d0..98cebe3eb34 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.exercises.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/xsim.exercises.code.tex
@@ -8,7 +8,7 @@
 % Web:    https://github.com/cgnieder/xsim
 % E-Mail: contact@mychemistry.eu
 % ----------------------------------------------------------------------------
-% Copyright 2017--2018 Clemens Niederberger
+% Copyright 2017--2019 Clemens Niederberger
 % 
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -317,6 +317,16 @@
         \xsim_set_parameter:nnx {#1} {number}
           { number of \xsim_get_parameter:nn {#1} {exercise-env} s }
         \xsim_check_mandatory_parameters:n {#1}
+        \xsim_if_parameter_set:nnF {#1} {exercises-name}
+          {
+            \xsim_set_parameters:nn {#1}
+              { exercises-name =  \xsim_get_parameter:nn {#1} {exercise-name} s }
+          }
+        \xsim_if_parameter_set:nnF {#1} {solutions-name}
+          {
+            \xsim_set_parameters:nn {#1}
+              { solutions-name =  \xsim_get_parameter:nn {#1} {solution-name} s }
+          }
         \xsim_if_parameter_set:nnF {#1} {counter}
           {
             \xsim_set_parameters:nx {#1}
-- 
cgit v1.2.3

