File:
[LON-CAPA] /
loncom /
html /
adm /
help /
tex /
Authoring_Hint_Tags.tex
Revision
1.3:
download - view:
text,
annotated -
select for diffs
Fri Aug 21 14:15:45 2009 UTC (15 years ago) by
felicia
Branches:
MAIN
CVS tags:
version_2_9_X,
version_2_9_99_0,
version_2_9_1,
version_2_9_0,
version_2_8_99_1,
version_2_8_99_0,
version_2_10_0_RC2,
version_2_10_0_RC1,
version_2_10_0,
bz6209-base,
bz6209,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE,
HEAD,
GCI_3,
GCI_2
added bullet point about adaptive custom response hints.
1: \label{Authoring_Hint_Tags}
2:
3: All of these tags must appear inside a \textbf{}response tag:
4:
5: \begin{itemize}
6: \item \textbf{hintgroup}\index{hintgroup}: tag that surrounds all of a
7: hint.
8: \item \textbf{hintpart}\index{hintpart}: required. Tag to implement conditional
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
11: \textbf{hintpart} will show. If no other \textbf{hintpart} is to
12: show then all hintparts with an \textbf{on} value set to {}``\textbf{default}''
13: will show.
14: \item \textbf{numericalhint}\index{numericalhint}: It has all the arguments
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.
18: \item \textbf{stringhint}\index{stringhint}: It has all the arguments that
19: \textbf{stringresponse} does, and the required attribute \textbf{name}
20: which should be set to the value of which hintpart will be shown.
21: \item \textbf{formulahint}\index{formulahint}: It has all the arguments that
22: \textbf{formularesponse} does, and the required attribute \textbf{name} which
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}
28: will be shown, and the attribute \textbf{answer} should be a two element
29: list, first the type (\textbf{foil} or \textbf{concept}) and then
30: either the foil's name or the concept's string.
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.
32: \end{itemize}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>