\label{Authoring_Output_Tags}
This group of tags generates useful output.
\begin{itemize}
\item \textbf{standalone}\index{standalone}: Everything inbetween the
start and end tag is shown only on the web and only if the resource
is not part of a course.
\item \textbf{displayduedate}\index{displayduedate}: This will insert the
current due date if one is set in the document. It is generated to
be inside a table of 1x1 elements.
\item \textbf{displaytitle}\index{displaytitle}: This will insert the title
of the problem from the metadata of the problem. Only the first \textbf{displaytitle}
in a problem will show the title; this allows clean usage of \textbf{displaytitle}
in stylesheets.
\item \textbf{window}\index{window}: The text inbetween is put in a pop-up
javascript window.
\item \textbf{m}\index{m}: The inside text is \LaTeX{}, and is converted
to HTML (or MathML) on the fly. If the attribute \textbf{eval} is
set to {}``\textbf{on}'' the intervening text will have a perl variable
expansion done to it before being converted.
\item \textbf{randomlabel}\index{randomlabel}: This shows a specified image
with images or text labels randomly assigned to a set of specific
locations. Those locations may also have values assigned to them.
A hash is generated that contains the mapping of labels to locations,
labels to values, and locations to values. Example: \begin{verbatim}
<randomlabel bgimg="URL" width="12" height="45" texwidth="50">
<labelgroup name="GroupOne" type="image">
<location x="123" y="456" value="10" />
<location x="321" y="654" value="20" />
<location x="213" y="546" value="13" />
<label description="TEXT-1">IMG-URL</label>
<label description="TEXT-2">IMG-URL</label>
<label description="TEXT-3">IMG-URL</label>
</labelgroup>
<labelgroup name="GroupTwo" type="text">
<location x="12" y="45" />
<location x="32" y="65" />
<location x="21" y="54" />
<label>TEXT-1</label>
<label>TEXT-2</label>
<label>TEXT-3</label>
</labelgroup>
</randomlabel>
\end{verbatim} Possible attributes are:
\begin{itemize}
\item \textbf{bgimg}\index{bgimg}: Either a fully qualified URL for an
external image or a LON-CAPA resource. It supports relative references
(../images/apicture.gif). The image must either be a GIF or JPEG.
\item \textbf{width}\index{width}: The width of the image in pixels.
\item \textbf{height}\index{height}: The height of the image in pixels.
\item \textbf{texwidth}\index{texwidth}: The width of the image in millimeters.
\end{itemize}
\end{itemize}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>