[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex CAPA_LON-CAPA_function_diffs.tex all_functions_table.tex

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 18 Feb 2004 23:00:20 -0000


albertel		Wed Feb 18 18:00:20 2004 EDT

  Modified files:              
    /loncom/html/adm/help/tex	CAPA_LON-CAPA_function_diffs.tex 
                             	all_functions_table.tex 
  Log:
  - documenting the new optional target parameter to prettyprint/dollarformat
  
  
Index: loncom/html/adm/help/tex/CAPA_LON-CAPA_function_diffs.tex
diff -u loncom/html/adm/help/tex/CAPA_LON-CAPA_function_diffs.tex:1.3 loncom/html/adm/help/tex/CAPA_LON-CAPA_function_diffs.tex:1.4
--- loncom/html/adm/help/tex/CAPA_LON-CAPA_function_diffs.tex:1.3	Fri Jun 27 10:20:01 2003
+++ loncom/html/adm/help/tex/CAPA_LON-CAPA_function_diffs.tex	Wed Feb 18 18:00:20 2004
@@ -46,10 +46,10 @@
 /DIS(\$x,''nn'')  & \&format(\$x,'nn')  &  The difference is obvious. \\ 
 
  \hline 
-Not in CAPA  & \&prettyprint(\$x,'nn')  &   \\ 
+Not in CAPA  & \&prettyprint(\$x,'nn','optional target')  &   \\ 
 
  \hline 
-Not in CAPA  & \&dollarformat(\$x)  &   \\ 
+Not in CAPA  & \&dollarformat(\$x,'optional target')  &   \\ 
 
  \hline 
 roundto(x,n)  & \&roundto(\$x,\$n)  &   \\ 
Index: loncom/html/adm/help/tex/all_functions_table.tex
diff -u loncom/html/adm/help/tex/all_functions_table.tex:1.2 loncom/html/adm/help/tex/all_functions_table.tex:1.3
--- loncom/html/adm/help/tex/all_functions_table.tex:1.2	Fri Jun 27 10:20:01 2003
+++ loncom/html/adm/help/tex/all_functions_table.tex	Wed Feb 18 18:00:20 2004
@@ -36,9 +36,9 @@
  \hline 
 /DIS(\$x,''nn'') &\&format(\$x,'nn') &Display or format \$x as nn where nn is nF or nE and n is an integer. Also supports the first character being a \$, it thjen will format the result with a call to \&dollarformat() described below. & The difference is obvious. \\
  \hline 
-Not in CAPA &\&prettyprint(\$x,'nn') &Display or format \$x as nn where nn is nF or nE and n is an integer. Also supports the first character being a \$, it then will format the result with a a call to \&dollarformat() described below. In E mode it will attempt to generate a pretty x10\^{}3 rather than a E3 following the number &  \\
+Not in CAPA &\&prettyprint(\$x,'nn','optional target') &Display or format \$x as nn where nn is nF or nE and n is an integer. Also supports the first character being a \$, it then will format the result with a a call to \&dollarformat() described below. In E mode it will attempt to generate a pretty x10\^{}3 rather than a E3 following the number, the 'optional target' argument is optional but can be used to force \&prettyprint to generate either 'tex' output, or 'web' output, most people do not need to specify this argument and can leave it blank. &  \\
  \hline 
-Not in CAPA &\&dollarformat(\$x) &Reformats \$x to have a \$ (or $\backslash$\$ if in tex mode) and to have , grouping thousands. &  \\
+Not in CAPA &\&dollarformat(\$x,'optional target') &Reformats \$x to have a \$ (or $\backslash$\$ if in tex mode) and to have , grouping thousands. The 'optional target' argument is optional but can be used to force \&prettyprint to generate either 'tex' output, or 'web' output, most people do not need to specify this argument and can leave it blank. &  \\
  \hline 
 roundto(x,n) &\&roundto(\$x,\$n) &Rounds a real number to n decimal points. \$x and \$n can be pure numbers &  \\
  \hline