From 09e64b171ac3cfbbcb84978f1d9f78e731379c9b Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 3 Jun 2014 09:16:25 -0400 Subject: [PATCH] Resolved shorthand map problems for \question with mmode confusion --- raterspec/question.sty | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/raterspec/question.sty b/raterspec/question.sty index 465e5bc..7d3f8bd 100644 --- a/raterspec/question.sty +++ b/raterspec/question.sty @@ -55,16 +55,17 @@ \vskip-0.5\baselineskip \@margin@sig \begingroup - \def\@mapsto{#3}% - \ifx\@mapsto\empty + \def\@@qid{#2}% + \def\@@mapid{#3}% + \def\@@dash{-}% + \ifx\@@mapid\empty \May not map to any rater input parameter.% \else + \ifx\@@mapid\@@dash% + \let\@@mapid\@@qid + \fi \Shall map to rater input parameter - \if\@mapsto-% - \paramref{#2}% - \else - \paramref{#3}% - \fi.% + \expandafter\paramref\expandafter{\@@mapid}.% \fi \endgroup \space Input value \shall be \csname @qtypedesc@#4\endcsname\space