[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Variables_in_the_Text_Block.tex

raeburn raeburn at source.lon-capa.org
Tue Aug 27 23:21:36 EDT 2013


raeburn		Wed Aug 28 03:21:36 2013 EDT

  Modified files:              
    /loncom/html/adm/help/tex	Variables_in_the_Text_Block.tex 
  Log:
  - replace lyxcode with verbatim to eliminate error messages seen in online 
    help pages rendered using lontexconvert::tth_converted().
  
  
Index: loncom/html/adm/help/tex/Variables_in_the_Text_Block.tex
diff -u loncom/html/adm/help/tex/Variables_in_the_Text_Block.tex:1.5 loncom/html/adm/help/tex/Variables_in_the_Text_Block.tex:1.6
--- loncom/html/adm/help/tex/Variables_in_the_Text_Block.tex:1.5	Fri Jul  5 18:30:40 2013
+++ loncom/html/adm/help/tex/Variables_in_the_Text_Block.tex	Wed Aug 28 03:21:36 2013
@@ -5,10 +5,10 @@
 the \textbf{Text Block}. For example, using the previous three-line script
 we've created so far, you can place the following in the \textbf{Text Block}:
 
-\begin{lyxcode}
-See~the~3:~\$variable<br~/>\\
-See~the~string:~<b>\$stringVar</b><br~/>
-\end{lyxcode}
+\begin{verbatim}
+See the 3: $variable<br />
+See the string: <b>$stringVar</b><br />
+\end{verbatim}
 %
 \begin{figure}
 \begin{center}\includegraphics{numericalResponseVarInText}\end{center}
@@ -21,8 +21,8 @@
 was turned into a 3, and the {}``\$stringVar'' was turned into {}``I have
 a variable with the value 3.''
 
-If you a generating numbers by a formula by division, you will want to format your output.
+If you are generating numbers using a formula which includes a division operation, it is advisable to format your output.
 For example, if \$variable=1/3, it will display with too many digits. You can adjust the format
 using the \texttt{num} output tag \index{num output tag} \index{format numbers in text block} 
-described in the section \ref{Authoring_Output_Tags}
+described in the Output Tags section \ref{Authoring_Output_Tags}
 




More information about the LON-CAPA-cvs mailing list