Annotation of doc/homework/homework2.html, revision 1.1

1.1     ! albertel    1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
        !             2: <html>
        !             3:   <head>
        !             4:     <title>LON-CAPA Homework System</title>
        !             5:   </head>
        !             6: 
        !             7:   <body>
        !             8:     <h1>LON-CAPA Homework System</h1>
        !             9: 
        !            10:     <h2>Tags</h2>
        !            11:     <ul>
        !            12: 	<li>
        !            13: 	Output Tags
        !            14: 
        !            15: 	<p>
        !            16: 	  This set of tags control how and when data gets sent to the
        !            17: 	  student, it also provides hints to the data's markup and when
        !            18: 	  it should be autoconverted, and when it should be ignored. All
        !            19: 	  of these tags except \tag{outtext} are valid and parsed by  
        !            20: 	  \&parsed() inside a \tag{script}.
        !            21: 
        !            22: 	Additionaly any perl style variables are replaced with the values
        !            23: 	of the variable in the problem namespace.
        !            24: 
        !            25: 	\begin{itemize}
        !            26: 
        !            27: 	\item \tag{outtext} all data inside is assumed to be valid
        !            28: 	html, the handler will attempt to autoconvert to the output
        !            29: 	type. The only thing tags allowed inside are the ones listed
        !            30: 	below.
        !            31: 
        !            32: 	\item \tag{target} This tag specifies data that is not in HTMl
        !            33: 	format inside an \tag{outtext}. Takes a required argument
        !            34: 	\arg{type} and an optional argument \arg{dest}. \arg{type}
        !            35: 	specifies a known valid output target which is the format of
        !            36: 	the data. \arg{dest} specifies a list of possible output
        !            37: 	targets that the data should be autoconverted for. The
        !            38: 	\arg{type} of the data is assumed to be a \arg{dest}. If the
        !            39: 	current target is not a \arg{dest} then the data is ignored.
        !            40: 
        !            41: 	\item \tag{tex} shorthand for $<$target type=``tex''$>$
        !            42: 	\arg{dest} is a valid argument.
        !            43: 
        !            44: 	\item \tag{ascii} shorthand for $<$target type=``ascii''$>$
        !            45: 	\arg{dest} is a valid argument.
        !            46: 
        !            47: 	\item \tag{web} shorthand for $<$target type=``web''$>$
        !            48: 	\arg{dest} is a valid argument.
        !            49: 
        !            50: 	\item \tag{mathml} shorthand for $<$target type=``mathml''$>$
        !            51: 	\arg{dest} is a valid argument, mathml may be passed along
        !            52: 	unconverted in a web output target.
        !            53: 
        !            54: 	\end{itemize}
        !            55: \item Form Elements:
        !            56: 
        !            57: 	This set of tags soley generate a representation of the proper
        !            58: 	form element on the output device. Need to look at what should
        !            59: 	be provided when an exam is wanted.
        !            60: 
        !            61: 	\begin{itemize}
        !            62: 	\item \tag{radio} 
        !            63: 	
        !            64: 	web - provides a single button to check on and off, when checked on
        !            65: 	all other radio buttons in the current \tag{answergroup} level
        !            66: 	will be set to off.
        !            67: 	
        !            68: 	tex - generates a circle before the data inside
        !            69: 
        !            70: 	\item \tag{list}
        !            71: 	
        !            72: 	web - provides a drop down box of all the possible options
        !            73: 
        !            74: 	tex - the list is displayed an students can select the correct option
        !            75: 
        !            76: 	\item \tag{textline}
        !            77: 	
        !            78: 	web - a single line of reponse is provided to type into.
        !            79: 
        !            80: 	tex - a line is provided.
        !            81: 
        !            82: 	\item \tag{textarea}
        !            83: 
        !            84: 	web - a textarea form is provided allowing multiples lines of response
        !            85: 
        !            86:  	tex - a configureable number of lines is provided, configured through 
        !            87: 	      the argument numlines, defaults to 10
        !            88: 
        !            89: 	\item \tag{check}
        !            90: 	
        !            91: 	web - either a checkbutton, or two radio buttons are provided
        !            92: 
        !            93: 	tex - a small box that can be checked is provided.
        !            94: 
        !            95: 	\item \tag{button} -  Not sure this is useful
        !            96: 
        !            97: 	\end{itemize}
        !            98: \item Randomiztion
        !            99: 	\begin{itemize}
        !           100: 	\item \tag{randomlist} this tag will cause the parser to randomly select the order that it parses the next level of tags, tags another leveldown will be done in order though.Example
        !           101: \tag{randomlist}\\
        !           102: \hspace5pt \tag{tag1}\\
        !           103: 		\tag{subtag1}\\
        !           104: 		\tag{/subtag1}\\
        !           105: 		\tag{subtag2}\\
        !           106: 		\tag{/subtag2}\\
        !           107: 	\tag{/tag1}\\
        !           108: 	\tag{tag2}\\
        !           109: 		\tag{subtag1}\\
        !           110: 		\tag{/subtag1}\\
        !           111: 		\tag{subtag2}\\
        !           112: 		\tag{/subtag2}\\
        !           113: 	\tag{/tag2}\\
        !           114: \tag{/randomlist}\\
        !           115: In this example, \tag{tag1} or \tag{tag2} will be done first, but \tag{subtag1} will always happen before \tag{subtag2}.
        !           116: 
        !           117: 	\item \tag{foil}
        !           118: 	\item \tag{showfoil}
        !           119: 	\item \tag{showrandomfoil}
        !           120: 	\end{itemize}
        !           121: \item Answer Section
        !           122: 	\begin{itemize}
        !           123: 	\item \tag{answergroup}
        !           124: 	\item \tag{*response}
        !           125: 	\end{itemize}
        !           126: \item Problem Contruction
        !           127: 	\begin{itemize}
        !           128: 	\item \tag{block}
        !           129: 	\item \tag{part}
        !           130: 	\item \tag{include}
        !           131: 	\item \tag{script}
        !           132: 	\item \tag{problem}
        !           133: 	\item \tag{entryform}
        !           134: 	\item \tag{survey}
        !           135: 	\item \tag{graded}
        !           136: 	\item \tag{while}
        !           137: 	\end{itemize}
        !           138: \item Libraries
        !           139: 	\begin{itemize}
        !           140: 	\item \tag{scriptlib}
        !           141: 	\item \tag{parserlib}
        !           142: 	\end{itemize}
        !           143: \end{itemize}
        !           144: 
        !           145: \section{CAPA compatability function Calls}
        !           146: \begin{itemize}
        !           147: \item random
        !           148: \item random\_normal
        !           149: \item random\_beta
        !           150: \item random\_gamma
        !           151: \item random\_poisson
        !           152: \item random\_exponential
        !           153: \item random\_chi
        !           154: \item random\_noncentral\_chi
        !           155: \item choose
        !           156: \item var\_in\_tex
        !           157: \item capa\_id
        !           158: \item class, section, set, problem, name, student\_number
        !           159: \item due\_date, open\_date, answer\_date
        !           160: \item to\_string
        !           161: \item sub\_string
        !           162: \item strlen
        !           163: \item get\_seed
        !           164: \item set\_seed
        !           165: \item init\_array
        !           166: \item array\_max, array\_min
        !           167: \item array\_moments
        !           168: \item to\_int
        !           169: \item format
        !           170: \item pick
        !           171: \item sin, cos, tan, asin, acos, atan, atan2
        !           172: \item sinh, cosh, tanh, asinh, acosh, atanh
        !           173: \item j0, j1, jn, y0, y1, yn
        !           174: \item log, log10
        !           175: \item exp, pow
        !           176: \item erf, erfc
        !           177: \item sqrt
        !           178: \item min, max
        !           179: \item abs, floor, ceil, sgn, mod, remainder
        !           180: \item factorial
        !           181: \item roundto
        !           182: \item eval\_formula
        !           183: \item capa\_id\_plus
        !           184: \item seat\_number
        !           185: \item duration
        !           186: \item is\_open, is\_due, is\_answer
        !           187: \item managermode
        !           188: \end{itemize}
        !           189: \end{document}
        !           190: 
        !           191:     <hr>
        !           192:     <address><a href="mailto:albertel@marvin.lite.msu.edu">Guy Albertelli</a></address>
        !           193: <!-- Created: Mon Mar 27 16:14:28 EST 2000 -->
        !           194: <!-- hhmts start -->
        !           195: Last modified: Mon Mar 27 16:46:32 EST 2000
        !           196: <!-- hhmts end -->
        !           197:   </body>
        !           198: </html>

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