diff options
author | Mike Gerwitz <gerwitzm@lovullo.com> | 2014-06-03 09:16:25 -0400 |
---|---|---|
committer | Mike Gerwitz <gerwitzm@lovullo.com> | 2014-06-03 09:16:25 -0400 |
commit | 09e64b171ac3cfbbcb84978f1d9f78e731379c9b (patch) | |
tree | 4e8cd4ad52520e61369fbbd4f75267378f1ef816 /raterspec | |
parent | 4e03ed702318ab5ffce5a732aab6209ce2e9011e (diff) | |
download | lvspec-09e64b171ac3cfbbcb84978f1d9f78e731379c9b.tar.gz lvspec-09e64b171ac3cfbbcb84978f1d9f78e731379c9b.tar.bz2 lvspec-09e64b171ac3cfbbcb84978f1d9f78e731379c9b.zip |
Resolved shorthand map problems for \question with mmode confusion
Diffstat (limited to 'raterspec')
-rw-r--r-- | raterspec/question.sty | 15 |
1 files 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 |