[LON-CAPA-cvs] cvs: loncom /xml/algebra algebra2tex.pl

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 09 Jun 2005 02:13:07 -0000


albertel		Wed Jun  8 22:13:07 2005 EDT

  Modified files:              
    /loncom/xml/algebra	algebra2tex.pl 
  Log:
  - printing out intermediates views
  
  
Index: loncom/xml/algebra/algebra2tex.pl
diff -u loncom/xml/algebra/algebra2tex.pl:1.2 loncom/xml/algebra/algebra2tex.pl:1.3
--- loncom/xml/algebra/algebra2tex.pl:1.2	Thu Feb 24 03:24:40 2005
+++ loncom/xml/algebra/algebra2tex.pl	Wed Jun  8 22:13:07 2005
@@ -9,9 +9,9 @@
 foreach $str (@ARGV) {
 $ret = $parser -> parse($str);
 if ( ref($ret) ) {
-    $parser -> tostring();
-    $parser -> normalize();
-    print $parser -> tolatex();
+    print $parser -> tostring().$/;
+    print $parser -> normalize().$/;
+    print $parser -> tolatex().$/;
 } else {
     print $parser->{htmlerror};
 }