raeburn raeburn at source.lon-capa.org
Mon Aug 5 11:24:47 EDT 2013

raeburn		Mon Aug  5 15:24:47 2013 EDT

Modified files:
Custom_Response_Problem_Creation.tex
Resource_Types.tex
Log:
- Replace \textless and \textgreater which are not supported by
lontexconvert::tth_converted().

--- loncom/html/adm/help/tex/Course_Prefs_Display.tex:1.3	Tue Jul 23 03:06:00 2013
+++ loncom/html/adm/help/tex/Course_Prefs_Display.tex	Mon Aug  5 15:24:47 2013
@@ -6,7 +6,7 @@
\item Visibly Separate Items on a Page
\item Disable Display of Problem Receipts
\item Force use of a specific math rendering engine
-	\item Set default options for \textless m\textgreater tags when
+	\item Set default options for $<$m$>$ tags when
converting \LaTeX{} to html.

The
For a single textfield, the student's answer will be in a variable \$submission. If the Custom Response has multiple textfields, the answers will be in an array reference, and can be accessed as \$\$submission[0], \$\$submission[1], etc. -The student answer needs to be evaluated by Perl code inside the \texttt{\textless answer\textgreater}-tag. Custom Response needs to include an algorithm that determines and returns a standard LON-CAPA response. The most common LON-CAPA responses are: +The student answer needs to be evaluated by Perl code inside the \texttt{$<$answer$>$}-tag. Custom Response needs to include an algorithm that determines and returns a standard LON-CAPA response. The most common LON-CAPA responses are: \begin{itemize} \item EXACT\_ANS: return if solved exactly correctly \item APPROX\_ANS: return if solved approximately Index: loncom/html/adm/help/tex/Metadata_Description.tex diff -u loncom/html/adm/help/tex/Metadata_Description.tex:1.5 loncom/html/adm/help/tex/Metadata_Description.tex:1.6 --- loncom/html/adm/help/tex/Metadata_Description.tex:1.5 Fri Jul 5 18:30:40 2013 +++ loncom/html/adm/help/tex/Metadata_Description.tex Mon Aug 5 15:24:47 2013 @@ -17,7 +17,7 @@ a title. A computer trying to do the same thing would be out of luck; it is too stupid to understand the problem statement at all. -Another example of metadata is the \texttt{\textless title\textgreater} tag of a web page, which usually shows +Another example of metadata is the \texttt{$<$title$>$} tag of a web page, which usually shows up in the title bar of the browser. That is information about the web page itself and is not actually part of the web page. People use the title information when they bookmark a page. Search engines Index: loncom/html/adm/help/tex/Print_Tricks.tex diff -u loncom/html/adm/help/tex/Print_Tricks.tex:1.8 loncom/html/adm/help/tex/Print_Tricks.tex:1.9 --- loncom/html/adm/help/tex/Print_Tricks.tex:1.8 Thu Jul 25 03:29:50 2013 +++ loncom/html/adm/help/tex/Print_Tricks.tex Mon Aug 5 15:24:47 2013 @@ -27,7 +27,7 @@ To make these two functions work correctly within the print translator, it is -necessary to wrap them within a \texttt{\textless display\textgreater} tag. For example: +necessary to wrap them within a \texttt{$<$display$>$} tag. For example: \begin{verbatim} <p> @@ -64,7 +64,7 @@ in the <img> tag. In some limited casese this gives a better result. -Other print specific \textless img\textgreater tag attributes are available (see section \ref{Print_Options}). +Other print specific$<$img$>$tag attributes are available (see section \ref{Print_Options}). \null \noindent\textbf{Variables with tags don't print correctly} Index: loncom/html/adm/help/tex/Resource_Types.tex diff -u loncom/html/adm/help/tex/Resource_Types.tex:1.4 loncom/html/adm/help/tex/Resource_Types.tex:1.5 --- loncom/html/adm/help/tex/Resource_Types.tex:1.4 Mon Jul 8 18:15:17 2013 +++ loncom/html/adm/help/tex/Resource_Types.tex Mon Aug 5 15:24:47 2013 @@ -11,8 +11,8 @@ Use of a specific CSS style within a resource can be set using an html tag within a text block that refers to a class by name, where the class is included in the published css file. You would specify use -of the css file with a \textless link\textgreater tag, and indicate a file dependency with -an allow tag (if the \textless allow\textgreater tag is not specified LON-CAPA should add it +of the css file with a$<$link$>$tag, and indicate a file dependency with +an allow tag (if the$<$allow$>$tag is not specified LON-CAPA should add it at the first publication step). \begin{verbatim} @@ -146,8 +146,8 @@ Style files can contain different instructions for different targets (e.g., web or tex). For example, the following style file would replace -the \textless h1\textgreater-tag in all -incorporated pages by the annoying \textless blink\textgreater-tag: +the$<$h1$>$-tag in all +incorporated pages by the annoying$<$blink$>$-tag: \begin{verbatim} <definetag name = "h1"> @@ -174,7 +174,7 @@ you can specify a style file for your course under "Default XML Style File". When printing, LON-CAPA will use the tex \textbackslash section as -\textless h1\textgreater-rendering. +$<$h1$>\$-rendering.