Annotation of loncom/html/adm/help/tex/Authoring_Hint_Tags.tex, revision 1.4
1.1 bowersj2 1: \label{Authoring_Hint_Tags}
2:
1.2 vandui11 3: All of these tags must appear inside a \textbf{}response tag:
1.1 bowersj2 4:
5: \begin{itemize}
1.4 ! www 6: \item \textbf{hintgroup}\index{hintgroup}: Tag that surrounds all of a
1.1 bowersj2 7: hint.
1.4 ! www 8: \item \textbf{hintpart}\index{hintpart}: Tag to implement conditional
1.1 bowersj2 9: hints. It has a required argument \textbf{on}. When a hint tag named
10: the same as the \textbf{on} attribute evaluates to be correct, the
1.2 vandui11 11: \textbf{hintpart} will show. If no other \textbf{hintpart} is to
1.1 bowersj2 12: show then all hintparts with an \textbf{on} value set to {}``\textbf{default}''
1.2 vandui11 13: will show.
14: \item \textbf{numericalhint}\index{numericalhint}: It has all the arguments
1.1 bowersj2 15: that \textbf{numericalresponse} does, and the required attribute \textbf{name}
16: which should be set to the value of which \textbf{hintpart} will be
17: shown.
1.2 vandui11 18: \item \textbf{stringhint}\index{stringhint}: It has all the arguments that
1.1 bowersj2 19: \textbf{stringresponse} does, and the required attribute \textbf{name}
20: which should be set to the value of which hintpart will be shown.
1.2 vandui11 21: \item \textbf{formulahint}\index{formulahint}: It has all the arguments that
22: \textbf{formularesponse} does, and the required attribute \textbf{name} which
1.1 bowersj2 23: should be set to the value of which hintpart will be shown.
24: \item \textbf{optionhint}\index{optionhint}: The required attribute \textbf{name}
25: should be set to the value of which \textbf{hintpart} will be shown.
26: \item \textbf{radiobuttonhint}\index{radiobuttonhint}: The required attribute
27: \textbf{name} should be set to the value of which \textbf{hintpart}
1.4 ! www 28: will be shown, and the attribute \textbf{answer} should be at least a two element
! 29: list: first the type (\textbf{foil} or \textbf{concept}) and then
! 30: either the foil name(s) or the concept string(s), e.g., ``('foil','greaterthan','equal')'' if the condition should be triggered by the foils named ``greaterthan'' or ``equal.''
1.3 felicia 31: \item \textbf{customhint}\index{customhint}: The required attribute \textbf{name} should be set to the value of which \textbf{hintpart} will be shown. Define the hint condition within an \textbf{answer} block inside of the \textbf{customhint} block. The condition is defined like how an answer is defined in \textbf{customresponse} where you need to return EXACT\_ANS to indicate when customhint criteria are met.
1.1 bowersj2 32: \end{itemize}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>