File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_Structure_Tags.tex
Revision 1.3: download - view: text, annotated - select for diffs
Thu Jan 19 21:12:45 2017 UTC (7 years, 5 months ago) by damieng
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, HEAD
edited sections about XML, comments, algebra, chem, m, script, startouttext, reformatted problem examples, added &input

    1: \label{Authoring_Structure_Tags}
    2: 
    3: These tags give the problem a structure and take care of the recording
    4: of data and giving the student messages. 
    5: 
    6: \begin{itemize}
    7: \item \textbf{problem}\index{problem}: This must be the first tag in the file.
    8: This tag sets up the header of the webpage and generates the submit
    9: buttons. It also handles due dates properly.
   10: \item \textbf{part}\index{part}: This must be below \textbf{problem} if it is
   11: going to be used. It does many of the same tasks as \textbf{problem},
   12: but allows multiple separate problems to exist in a single file. 
   13: \item \textbf{startouttext\index{startouttext}} and \textbf{endouttext}\index{endouttext}:
   14: These tags are somewhat special. They must have no internal text and
   15: occur in pairs. Their use is to mark up the problem so the colorful editor
   16: knows what sections should be edited in a text block. They are only
   17: used by the colorful editor.
   18: \item \textbf{comment}\index{comment}: This tag allows one to comment out sections
   19: of code in a balanced manner, or to provide a comment description
   20: of how a problem works. It only shows up for the edit target, stripped
   21: out for all other targets.
   22: \end{itemize}

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