Index: mttroot/mtt/bin/trans/latex_matrix.r ================================================================== --- mttroot/mtt/bin/trans/latex_matrix.r +++ mttroot/mtt/bin/trans/latex_matrix.r @@ -9,10 +9,13 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Version control history %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% $Id$ %% $Log$ +%% Revision 1.5 2000/08/09 10:41:39 peterg +%% Changed criterion form 3 to 5 +%% %% Revision 1.4 1998/11/10 14:15:36 peterg %% Now does matrix style for m<3 %% %% Revision 1.3 1998/03/14 11:07:09 peterg %% Removed comma from array subscript @@ -26,11 +29,11 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PROCEDURE Latex_Matrix; BEGIN -IF MTT_Matrix_m<5 THEN %% Do matrix style version +IF MTT_Matrix_m<6 THEN %% Do matrix style version BEGIN IF MTT_Matrix_n>0 THEN IF MTT_Matrix_m>0 THEN BEGIN write "\begin{equation}"; Index: mttroot/mtt/bin/trans/latex_tidy ================================================================== --- mttroot/mtt/bin/trans/latex_tidy +++ mttroot/mtt/bin/trans/latex_tidy @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.15 1998/04/07 08:44:11 peterg +## zapped eta - it messes up theta +## ## Revision 1.14 1998/02/25 22:12:07 peterg ## Added , to regexp for subscripts ## ## Revision 1.13 1998/02/18 09:06:07 peterg ## Added dX0 @@ -89,10 +92,11 @@ -e "s/mttg/G/g" \ -e "s/mtti/I/g" \ -e "s/mttk/K/g" \ -e "s/mttl/L/g" \ -e "s/mttm/M/g" \ + -e "s/mtttheta/\\\Theta/g" \ -e "s/mtto/O/g" \ -e "s/mttv/V/g" \ -e "s/mtty0/y_0/g" \ -e "s/mttu0/u_0/g" \ -e "s/mttx/x/g" \ @@ -115,10 +119,11 @@ -e "s/alpha/\\\alpha/g" \ -e "s/beta/\\\beta/g" \ -e "s/gamma/\\\gamma/g" \ -e "s/delta/\\\delta/g" \ -e "s/epsilon/\\\epsilon/g" \ + -e "s/kappa/\\\kappa/g" \ -e "s/lambd/\\lambda/g" \ -e "s/lambda/\\\lambda/g" \ -e "s/mu/\\\mu/g" \ -e "s/phi/\\\phi/g" \ -e "s/pi/\\\pi/g" \ Index: mttroot/mtt/bin/trans/struc2state_txt2txt ================================================================== --- mttroot/mtt/bin/trans/struc2state_txt2txt +++ mttroot/mtt/bin/trans/struc2state_txt2txt @@ -13,10 +13,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.8 1998/08/10 13:57:33 peterg +# %% Removed debugging lines +# %% # %% Revision 1.7 1998/08/10 13:55:11 peterg # %% Added option of computing from ss values # %% # %% Revision 1.6 1998/07/27 20:32:11 peterg # %% Octave mode forced @@ -37,13 +40,21 @@ # %% Initial revision # %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +while [ -n "`echo $1 | grep '-'`" ]; do + case $1 in + -ss ) + steadystate_computation=yes ;; + *) + echo "$1 is an invalid argument - ignoring" ;; + esac + shift +done -# Switches -steadystate_computation="$2" + #Create the state file complete with headers. echo '# -*-octave-*- Put Emacs into octave-mode' > $1_state.txt echo "# Initial state file ($1_state.txt)" >> $1_state.txt echo "# Generated by MTT at `date`" >> $1_state.txt