Overview
Comment:Generic viewing of any representation via ps files implemented.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e7d7faba50c0d5840a9e6081bdc7276a33bd4683997b35237062cfa483603162
User & Date: gawthrop@users.sourceforge.net on 1996-08-09 15:13:13.000
Other Links: branch diff | manifest | tags
Context
1996-08-10
09:19:48
Put in help, info and warranty stuff. check-in: 23d5f81efa user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1996-08-09
15:13:13
Generic viewing of any representation via ps files implemented. check-in: e7d7faba50 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:08:04
Empty effort and flow attributes replaced by 'external'. check-in: 99e1c2ba5b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes
15
16
17
18
19
20
21



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$



## Revision 1.1  1996/08/04 17:29:42  peter
## Initial revision
##
###############################################################


echo "     ###################################################"
echo "     ###### MTT (Model Transformation Tools) V2.0 ######"
echo "     ###################################################"

make  -s -f -  $1_$2.$3 << EOF

#Create PostScript version of abg fig file
$1_abg.ps: $1_abg.fig
	echo Creating $1_abg.ps
	fig2dev -Lps $1_abg.fig >$1_abg.ps

#Create PostScript version of cbg fig file
$1_cbg.ps: $1_cbg.fig
	echo Creating $1_cbg.ps
	fig2dev -Lps $1_cbg.fig >$1_cbg.ps

#Create empty files (with titles) if not already there
$1_lbl.txt:
	echo Creating $1_lbl.txt
	( \
	echo "%% Label file ($1_lbl.txt)"; \
	echo "%% Each line should be of one of the following forms:"; \







>
>
>












|
|
<
|
<
<
<
<
<







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

39





40
41
42
43
44
45
46
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.2  1996/08/05 19:50:55  peter
## Put in fig.fig target.
##
## Revision 1.1  1996/08/04 17:29:42  peter
## Initial revision
##
###############################################################


echo "     ###################################################"
echo "     ###### MTT (Model Transformation Tools) V2.0 ######"
echo "     ###################################################"

make  -s -f -  $1_$2.$3 << EOF

#Create acausal bond graph figure using xfig 
$1_abg.fig:

	$FIG $1_abg.fig &






#Create empty files (with titles) if not already there
$1_lbl.txt:
	echo Creating $1_lbl.txt
	( \
	echo "%% Label file ($1_lbl.txt)"; \
	echo "%% Each line should be of one of the following forms:"; \
191
192
193
194
195
196
197
198
199




200
201
202






203






204








205



206

207
208
209
210
211
212
213
#Partially-known system indentification structure matrices
$1_pkim.r: $1_tf.r $1_sympar.r 
	tf2pkim_r $1; tidy $1_pki.r
$1_pkim.tex: $1_def.r $1_pkim.r $1_sympar.r
	pkim_r2tex $1; latex_tidy $1_pkim.tex


#Generic conversion of Latex to visual image
$1_$2.view: $1_$2.tex




	echo Creating view of $1_$2 
	showtex $1 $2>$1_$2_view.log














#Report generation














$1_rep.tex: $1_sum.tex $1_dae.tex $1_lbl.txt $1_sympar.r $1_cr.r \
            $1_abg.ps
	echo Creating $1_rep.tex 
	make_report $1 > $1_rep.tex


$1_rep.dvi: $1_rep.tex 	







|
|
>
>
>
>
|
|

>
>
>
>
>
>

>
>
>
>
>
>
|
>
>
>
>
>
>
>
>

>
>
>

>







188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
#Partially-known system indentification structure matrices
$1_pkim.r: $1_tf.r $1_sympar.r 
	tf2pkim_r $1; tidy $1_pki.r
$1_pkim.tex: $1_def.r $1_pkim.r $1_sympar.r
	pkim_r2tex $1; latex_tidy $1_pkim.tex


#Generic conversion of Latex to latex document
$1_$2.doc: $1_$2.tex
	showtex $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

#Create PostScript version of abg fig file
ifeq ('$2','abg')
$1_abg.ps: $1_abg.fig
	echo Creating $1_abg.ps
	fig2dev -Lps $1_abg.fig >$1_abg.ps
endif

#Create PostScript version of cbg fig file
ifeq ('$2','cbg')
$1_cbg.ps: $1_cbg.fig
	echo Creating $1_cbg.ps
	fig2dev -Lps $1_cbg.fig >$1_cbg.ps
endif

#Generic conversion of dvi to ps
ifneq ('$2','abg')
ifneq ('$2','cbg')
$1_$2.ps: $1_$2.dvi
	echo Creating $1_$2.ps
	dvips -o $1_$2.ps $1_$2.dvi 2> /dev/null
endif
endif

#View a ps file
$1_$2.view: $1_$2.ps
	ghostview $1_$2.ps&

#Report generation
$1_rep.tex: $1_sum.tex $1_dae.tex $1_lbl.txt $1_sympar.r $1_cr.r \
            $1_abg.ps
	echo Creating $1_rep.tex 
	make_report $1 > $1_rep.tex


$1_rep.dvi: $1_rep.tex 	

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]