File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_Internal_Tags.tex
Revision 1.2: download - view: text, annotated - select for diffs
Thu Feb 24 22:26:25 2005 UTC (19 years, 4 months ago) by vandui11
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, HEAD, GCI_3, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
formatted for consistency with punctuation updated

    1: \label{Authoring_Internal_Tags}
    2: 
    3: 
    4: \begin{itemize}
    5: \item \textbf{labelgroup}\index{labelgroup}: One is required, but multiple are allowed.
    6: This declares a group of locations and labels associated with them. Possible
    7: attributes are:
    8: 
    9: \begin{itemize}
   10: \item \textbf{name}\index{name}: This is the name of the group. A hash
   11: with this name will be generated holding the mappings for later use
   12: in the problem. For each location a value will be set for which label
   13: is there (EX. \$hash\{'1'\}=''TEXT-2''). For locations with values,
   14: the hash will contain 2 items, a location to value mapping (\$hash\{'value\_1'\}=10),
   15: and a label to value mapping (\$hash\{'labelvalue\_2'\}=10). For all
   16: image style of labels there will also be a label description to label
   17: URL mapping (\$hash\{'image\_2'\}=IMG-URL). The entry \textbf{numlocations}
   18: will also be set to the total number of locations that exist (Note: locations and labels start counting from one.) 
   19: \item \textbf{type}\index{type}: the type of labels in this group, either
   20: '\textbf{image}' or '\textbf{text}'
   21: \item \textbf{location}\index{location}: declares a location on the image
   22: that a label should appear at. Possible attributes are:
   23: 
   24: \begin{itemize}
   25: \item \textbf{x}\index{x}: The x value of the location in pixels.
   26: \item \textbf{y}\index{y}: The y value of the location in pixels.
   27: \item \textbf{value}\index{value}: An optional scalar value to associate
   28: at this location.
   29: \item \textbf{label}\index{label}: Declaration of a label. If this is a
   30: \textbf{text} type label, the internal text should be the text of
   31: the label (HTML is not currently supported); if this is an \textbf{image}
   32: type of label, the internal text must be a LON-CAPA resource specification,
   33: and the description filed must be set. Possible attributes are:
   34: 
   35: \begin{itemize}
   36: \item \textbf{description}\index{description}: Required field for image
   37: labels. It will be used when setting values in the hash.
   38: \end{itemize}
   39: \end{itemize}
   40: \end{itemize}
   41: \end{itemize}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>