Index: mttroot/mtt/bin/trans/cse_r2tex ================================================================== --- mttroot/mtt/bin/trans/cse_r2tex +++ mttroot/mtt/bin/trans/cse_r2tex @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.4 1999/11/22 23:04:08 peterg +## *** empty log message *** +## # Revision 1.3 1996/11/12 09:53:59 peterg # Reads in the params.r file now. # # Revision 1.2 1996/11/12 09:11:20 peterg # Removed all the hoorrible name changes @@ -24,11 +27,11 @@ # Initial revision # ############################################################### #Inform user -echo Creating $1_cse.tex +echo Creating $1_$2.tex # Remove the old log file rm -f cse_r2tex.log # Use reduce to accomplish the transformation @@ -42,11 +45,11 @@ %Read the simplification file in "$1_simp.r"; %Read the constrained-state equations file -in "$1_cse.r"; +in "$1_$2.r"; OFF Echo; OFF Nat; %%%%OFF Exp; ON GCD; @@ -55,15 +58,15 @@ %ON Rounded; %Precision 5; -OUT "$1_cse.tex"; +OUT "$1_$2.tex"; %Write out the constrained-state equations. -write "%File: $1_cse.tex"; +write "%File: $1_$2.tex"; write "%constrained-state equations"; IF MTTNx>0 THEN FOR Row := 1:MTTNx DO BEGIN @@ -121,8 +124,8 @@ % END; % END; %write "\end{eqnarray}"; -SHUT "$1_cse.tex"; +SHUT "$1_$2.tex"; quit; EOF