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, 1 month 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.
\label{Authoring_Hint_Tags}
All of these tags must appear inside a \textbf{}response tag:
\begin{itemize}
\item \textbf{hintgroup}\index{hintgroup}: tag that surrounds all of a
hint.
\item \textbf{hintpart}\index{hintpart}: required. Tag to implement conditional
hints. It has a required argument \textbf{on}. When a hint tag named
the same as the \textbf{on} attribute evaluates to be correct, the
\textbf{hintpart} will show. If no other \textbf{hintpart} is to
show then all hintparts with an \textbf{on} value set to {}``\textbf{default}''
will show.
\item \textbf{numericalhint}\index{numericalhint}: It has all the arguments
that \textbf{numericalresponse} does, and the required attribute \textbf{name}
which should be set to the value of which \textbf{hintpart} will be
shown.
\item \textbf{stringhint}\index{stringhint}: It has all the arguments that
\textbf{stringresponse} does, and the required attribute \textbf{name}
which should be set to the value of which hintpart will be shown.
\item \textbf{formulahint}\index{formulahint}: It has all the arguments that
\textbf{formularesponse} does, and the required attribute \textbf{name} which
should be set to the value of which hintpart will be shown.
\item \textbf{optionhint}\index{optionhint}: The required attribute \textbf{name}
should be set to the value of which \textbf{hintpart} will be shown.
\item \textbf{radiobuttonhint}\index{radiobuttonhint}: The required attribute
\textbf{name} should be set to the value of which \textbf{hintpart}
will be shown, and the attribute \textbf{answer} should be a two element
list, first the type (\textbf{foil} or \textbf{concept}) and then
either the foil's name or the concept's string.
\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.
\end{itemize}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>