Overview
Comment: | Moved tidy stuff to end of preamble -- needed to make muti-plot copy correctely Now copies ps file with arguments to WD |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d623c38254607297188aafce82a45607 |
User & Date: | gawthrop@users.sourceforge.net on 1998-07-01 10:22:11 |
Other Links: | branch diff | manifest | tags |
Context
1998-07-01
| ||
17:34:43 | No change check-in: e11a55f23d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
10:22:11 |
Moved tidy stuff to end of preamble -- needed to make muti-plot copy correctely Now copies ps file with arguments to WD check-in: d623c38254 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1998-06-30
| ||
12:46:49 | Changed CT2 to CU check-in: 8f67a80b63 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt from [b296d0eb44] to [77281f1c3c].
︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.155 1998/06/24 07:43:42 peterg ## Version 2.91 -- includes implicit integration (octave) ## ## Revision 1.154 1998/06/17 14:14:09 peterg ## Removed struc.txt prerequisite for simpar.txt - switch version ## ## Revision 1.153 1998/05/28 09:36:38 peterg | > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.156 1998/06/26 14:19:43 peterg ## Copy hidden files (eg .octaverc) in tidy mode ## ## Revision 1.155 1998/06/24 07:43:42 peterg ## Version 2.91 -- includes implicit integration (octave) ## ## Revision 1.154 1998/06/17 14:14:09 peterg ## Removed struc.txt prerequisite for simpar.txt - switch version ## ## Revision 1.153 1998/05/28 09:36:38 peterg |
︙ | ︙ | |||
943 944 945 946 947 948 949 | VCext='r' ;; *) echo Version control is not appropriate for representation $2 exit ;; esac fi | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 946 947 948 949 950 951 952 953 954 955 956 957 958 959 | VCext='r' ;; *) echo Version control is not appropriate for representation $2 exit ;; esac fi # Classify the representation - needed for conversion route to postscript PLOTTYPE='single'; case $2 in abg ) REPTYPE='bg' ;; sabg ) REPTYPE='bg' ;; |
︙ | ︙ | |||
1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 | nyfr) REPTYPE='data' ;; nifr) REPTYPE='data' ;; *) REPTYPE='tex' ;; esac ################################ # This is the main mtt programme ################################ | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 | nyfr) REPTYPE='data' ;; nifr) REPTYPE='data' ;; *) REPTYPE='tex' ;; esac # Save up the argument list in a file; but only if argument has changed ARGS=$4; _ARGS=-$4; __ARGS=`echo $_ARGS | tr ',' '-'` #DIFF doesn't like empty files - so put a blank if empty if [ -z "$ARGS" ]; then ARGS=' '; _ARGS=''; fi cat > $1_args.new <<EOF $ARGS EOF DIFF=`diff -bq $1_args.m $1_args.new 2>/dev/null` if [ -n "$DIFF" ]; then mv $1_args.new $1_args.m fi # Tidy mode - operate in the directory MTT-work if [ "$tidy" = "tidy" ]; then mkdir -p MTT_work cp -u -p Makefile *.* .* MTT_work 2>/dev/null cd MTT_work if [ -z "$directory" ]; then Directory='' else Directory=$directory/MTT_work fi mtt -u -q $mtt_switches -S "$Directory" $1 $2 $3 $4 if [ "$3" != "view" ]; then if [ "$3" != "hview" ]; then echo Copying $1_$2.$3 cp -u -p $1_$2.$3 .. if [ "$PLOTTYPE" = "multiple" ]; then echo Copying $1_$2$__ARGS.ps cp $1_$2$__ARGS.ps .. fi fi fi # Remove the MTT_work directory if very tidy if [ "$verytidy" = "verytidy" ]; then echo Removing all working files rm -rf ../MTT_work fi exit fi ################################ # This is the main mtt programme ################################ |
︙ | ︙ |