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

bisitz bisitz at source.lon-capa.org
Wed May 28 14:38:48 EDT 2014


bisitz		Wed May 28 18:38:48 2014 EDT

  Modified files:              
    /loncom/html/adm/help/tex	Authoring_Output_Tags.tex 
  Log:
  - Formulas within an <m> tag must be within $...$ or $$...$$. Without, printing (PDF creation) would fail.
  - Remove backslashes and square brackets from $eqn example (don't appear to make any sense here)
  
  
Index: loncom/html/adm/help/tex/Authoring_Output_Tags.tex
diff -u loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.18 loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.19
--- loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.18	Tue Jul 23 03:06:00 2013
+++ loncom/html/adm/help/tex/Authoring_Output_Tags.tex	Wed May 28 18:38:48 2014
@@ -152,7 +152,7 @@
 
 If you want variables inside of this tag to be evaluated before the
 tex gets converted, then use eval=``on'' \index{eval=on}. For
-example,  $<$m eval=``on''$>$\textbackslash{}[\$eqn\textbackslash{}]$<$/m$>$,
+example,  $<$m eval=``on''$>$\$ \$eqn \$$<$/m$>$,
 will evaluate the variable \$eqn first and then run it through the
 TTH\index{TTH} converter.  Anytime you use a variable inside of the m tag,
 you will want to set eval to on.
@@ -165,7 +165,7 @@
 
 and in a text area, you can type:
 
-\texttt{<m eval=``on''>\$eqn</m>}
+\texttt{$<$m eval=``on''$>$\$ \$eqn \$$<$/m$>$}
 
 You will get the equation rendered with no +-, no matter what value
 \$b may take on.




More information about the LON-CAPA-cvs mailing list