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_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

\label{Authoring_Structure_Tags}

These tags give the problem a structure and take care of the recording
of data and giving the student messages. 

\begin{itemize}
\item \textbf{problem}\index{problem}: This must be the first tag in the file.
This tag sets up the header of the webpage and generates the submit
buttons. It also handles due dates properly.
\item \textbf{part}\index{part}: This must be below \textbf{problem} if it is
going to be used. It does many of the same tasks as \textbf{problem},
but allows multiple separate problems to exist in a single file. 
\item \textbf{startouttext\index{startouttext}} and \textbf{endouttext}\index{endouttext}:
These tags are somewhat special. They must have no internal text and
occur in pairs. Their use is to mark up the problem so the colorful editor
knows what sections should be edited in a text block. They are only
used by the colorful editor.
\item \textbf{comment}\index{comment}: This tag allows one to comment out sections
of code in a balanced manner, or to provide a comment description
of how a problem works. It only shows up for the edit target, stripped
out for all other targets.
\end{itemize}

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