Overview
Comment: | Many changes to get rep.html mode working properly. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
59517f7fd36121ca54aa05015c27ffab |
User & Date: | gawthrop@users.sourceforge.net on 1997-05-19 16:44:12 |
Other Links: | branch diff | manifest | tags |
Context
1997-05-19
| ||
16:45:56 | Fixed ISW bug -- deleted spurious ISW_eqn.m file check-in: c4196a2fcf user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
16:44:12 | Many changes to get rep.html mode working properly. check-in: 59517f7fd3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
16:43:34 | Explicit include of tex files 'cos latex2html prefers this! check-in: 7ecc19cbc5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt from [8737e729f5] to [d737720e40].
︙ | ︙ | |||
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.77 1997/05/19 11:29:37 peterg # Added desc.tex and abg.tex descriptions. # # Revision 1.76 1997/05/15 09:43:46 peterg # New version of _input.txt for -s option # # Revision 1.75 1997/05/15 09:15:54 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.78 1997/05/19 13:17:50 peterg # Explicit inclusion of mtt.sty in .doc files -- latex2html prefers this # # Revision 1.77 1997/05/19 11:29:37 peterg # Added desc.tex and abg.tex descriptions. # # Revision 1.76 1997/05/15 09:43:46 peterg # New version of _input.txt for -s option # # Revision 1.75 1997/05/15 09:15:54 peterg |
︙ | ︙ | |||
285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | computation=octave #By default, the dae and ode representations are different dae_is_ode=0 # By default, don't look for BG switches switches=0 #Look for a command line argument while [ -n "`echo $1 | grep '-'`" ]; do case $1 in -q ) quiet=quiet ;; -c ) computation=c ;; -o ) dae_is_ode=1 ;; -s ) switches=1 ;; -l ) level=$2; shift ;; *) echo "$1 is an invalid argument - ignoring" ;; esac shift done #Print header if not in quiet (-q) mode. if [ "$quiet" != "quiet" ]; then echo echo 'MTT (Model Transformation Tools) version 2.3++' echo 'This is free software with ABSOLUTELY NO WARRANTY.' echo 'Type `mtt warranty'\' 'for details.' | > > > > | 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 | computation=octave #By default, the dae and ode representations are different dae_is_ode=0 # By default, don't look for BG switches switches=0 mtt_switches=''; #Look for a command line argument while [ -n "`echo $1 | grep '-'`" ]; do mtt_switches="$mtt_switches $1" case $1 in -q ) quiet=quiet ;; -c ) computation=c ;; -o ) dae_is_ode=1 ;; -s ) switches=1 ;; -l ) level=$2; shift ;; *) echo "$1 is an invalid argument - ignoring" ;; esac shift done #Print header if not in quiet (-q) mode. if [ "$quiet" != "quiet" ]; then echo echo 'MTT (Model Transformation Tools) version 2.3++' echo 'This is free software with ABSOLUTELY NO WARRANTY.' echo 'Type `mtt warranty'\' 'for details.' |
︙ | ︙ | |||
383 384 385 386 387 388 389 | exit fi # Clean up if [ "$1" = "clean" ] && [ "$2" = "" ]; then echo 'Removing all generated files for all systems' rm -f *.log mtt_info.txt warning.txt | | | | | | | 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 | exit fi # Clean up if [ "$1" = "clean" ] && [ "$2" = "" ]; then echo 'Removing all generated files for all systems' rm -f *.log mtt_info.txt warning.txt rm -f *_abg.m *_abg.ps *_args.* *_cr.r *_cr.txt *_abg.tex rm -f *_sabg.fig *_sabg.ps *_head.fig *_bnd.fig rm -f *_sympar.r *_sympar.c *_sympar.h *_sympar.txt rm -f *_rbg.* *_cmp.* *_fig.fig *_*cbg.* *_ese.* *_def.* rm -f *_sub.* *_type.sh rm -f *_dae*.* *_cse.* *_ode.* rm -f *_obs.* *_rfe.* *_ss.* rm -f *_dm.* *_csm.* *_sm.* *_tf.* *_sr*.* *_ir*.* *_*fr.* rm -f *_numpar.m *_numpar.c rm -f *_sm*.* rm -f *_struc.* rm -f *_unique_raw_list *_raw_list rm -f mtt_error.txt mtt_info.txt a.out exit fi # Clean up named system if [ "$2" = "clean" ] && [ "$3" = "" ]; then echo 'Removing all generated files for system ' $1 rm -f *.log mtt_info.txt warning.txt rm -f $1_abg.m $1_abg.ps $1_args.* $1_cr.r $1_cr.txt $1_abg.tex rm -f $1_sabg.fig $1_sabg.ps $1_head.fig $1_bnd.fig rm -f $1_sympar.r $1_sympar.c $1_sympar.h $1_sympar.txt rm -f $1_rbg.* $1_cmp.* $1_fig.fig $1*_*cbg.* $1*_ese.* $1_def.* rm -f $1_sub.* $1_type.sh rm -f $1_dae*.* $1_cse.* $1_ode.* $1_obs.* $1_rfe.* $1_ss.* rm -f $1_dm.* $1_csm.* $1_sm.* $1_tf.* $1_sr*.* $1_ir*.* $1_*fr.* rm -f $1_numpar.m $1_numpar.c rm -f $1_sm*.* rm -f $1_struc.* rm -f $1_unique_raw_list $1_raw_list rm -f mtt_error.txt mtt_info.txt a.out |
︙ | ︙ | |||
1156 1157 1158 1159 1160 1161 1162 | cp $MTTPATH/trans/mtt.sty . $1_$2.doc: $1_$2.tex makedoc $1 $2 #Generic conversion of LaTeX doc to dvi $1_$2.dvi: $1_$2.doc echo Creating $1_$2.dvi | | > > | 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 | cp $MTTPATH/trans/mtt.sty . $1_$2.doc: $1_$2.tex makedoc $1 $2 #Generic conversion of LaTeX doc to dvi $1_$2.dvi: $1_$2.doc echo Creating $1_$2.dvi latex $1_$2.doc > /dev/null makeindex $1_$2.idx > /dev/null latex $1_$2.doc > /dev/null #Create PostScript version of fig files ifeq ($REPTYPE,bg) $1_$2.ps : $1_$2.fig echo Creating $1_$2.ps multi_command2 'fig2dev -Lps' $1 $2.fig $2.ps | sh |
︙ | ︙ | |||
1183 1184 1185 1186 1187 1188 1189 | dvips -o $1_$2.ps $1_$2 endif ifeq ($REPTYPE,tex) #Create html version of dvi file $1_$2.html: $1_$2.dvi $1_$2.doc echo Creating $1_$2/$1_$2.html | | > > > > | 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 | dvips -o $1_$2.ps $1_$2 endif ifeq ($REPTYPE,tex) #Create html version of dvi file $1_$2.html: $1_$2.dvi $1_$2.doc echo Creating $1_$2/$1_$2.html latex2html \ -contents_in_navigation \ -index_in_navigation \ -auto_navigation \ $1_$2.doc endif #Default view ifeq ($REPTYPE,bg) $1_$2.view : $1_$2.pview endif |
︙ | ︙ | |||
1221 1222 1223 1224 1225 1226 1227 | #View a tex file $1_$2.tview: $1_$2.dvi echo Creating view of $1_$2 $DVIVIEW $1_$2.dvi& #Report generation $1_rep.make: $1_rep.txt $1_args.m | | | 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 | #View a tex file $1_$2.tview: $1_$2.dvi echo Creating view of $1_$2 $DVIVIEW $1_$2.dvi& #Report generation $1_rep.make: $1_rep.txt $1_args.m rep_txt2make $1 "$mtt_switches" $1_rep.tex: $1_rep.make cat $1_rep.make | sh rep_txt2tex $1; #SUMMARY abg Acausal bond graph report (tex) $1_abg.tex: $1_sub.sh |
︙ | ︙ |