Index: mttroot/mtt/bin/trans/txt2m ================================================================== --- mttroot/mtt/bin/trans/txt2m +++ mttroot/mtt/bin/trans/txt2m @@ -13,10 +13,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.14 1999/02/16 04:38:22 peterg +# %% Now forces creation of _smx file if METHOD=IMPLICIT in simpar.txt +# %% # %% Revision 1.13 1998/08/31 11:43:37 peterg # %% Now lower cases globals in numpar files # %% # %% Revision 1.12 1998/08/14 10:47:31 peterg # %% Put ImplicitS sub before Implicit!! @@ -78,10 +81,15 @@ if [ "$representation" = "simpar" ]; then # Check if implicit method and generate xmx.m if implicit=`grep -i METHOD $1_simpar.txt | grep -i -c IMPLICIT` if [ "$implicit" = "1" ]; then mtt -q $1 smx m + else +echo Creating dummy $1_smx.m +cat< $1_smx.m +%% No code as implicit method not used here %% +EOF fi fi # Inform user echo Creating $1_$2.m