Overview
Comment:Creates postscript files of either dia or fig bond graphs.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: c2de89e17450347e2635379961f9d57c645bbfb1e889dac3250cf7512589b7d7
User & Date: geraint@users.sourceforge.net on 2004-08-26 16:20:17
Other Links: branch diff | manifest | tags
Context
2004-08-26
16:24:40
Function is no longer used (replaced by bg2eps). check-in: ff646ac610 user: geraint@users.sourceforge.net tags: origin/master, trunk
16:20:17
Creates postscript files of either dia or fig bond graphs. check-in: c2de89e174 user: geraint@users.sourceforge.net tags: origin/master, trunk
16:19:30
Converts dia and fig bond graphs to postscript format. check-in: dceda22412 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [8688124203] to [fcf91494aa].

13
14
15
16
17
18
19




20
21
22
23
24
25
26
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30







+
+
+
+







# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.392  2004/08/26 12:50:12  geraint
## Replaced some implicit rules with explicit tests and patterns.
## Better than having make search through every possible implicit rule.
##
## Revision 1.391  2004/08/26 00:07:06  geraint
## Added rule to create cbg.dia.
##
## Revision 1.390  2004/08/13 09:49:13  geraint
## Only use one level of MTT_work to prevent MTT from repeatedly copying or creating the same files.
##
## Revision 1.389  2004/08/13 01:32:03  geraint
2449
2450
2451
2452
2453
2454
2455

2456
2457
2458
2459
2460

2461
2462
2463
2464
2465
2466
2467
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473







+





+







	mtt -q -u $mtt_switches compcopy $1 || abg2sensitivity_fig $sys_s
endif
endif

ifneq ("$sensitivity","sensitivity")
ifneq ("$level","0")
# If level>0, try and get subsystem files; creating if necessary
ifneq ("\$(wildcard $1_abg.dia)","$1_abg.dia")
$1_abg.fig:
	mtt -q -u $mtt_switches compcopy $1
else
$1_abg.fig:
	
endif
endif
endif

# Create an arg file if it doesn't exist
$1_args.m:
	touch $1_args.m

3665
3666
3667
3668
3669
3670
3671
3672

3673
3674
3675


3676
3677
3678
3679

3680

3681
3682

3683
3684
3685
3686
3687
3688
3689
3690
3671
3672
3673
3674
3675
3676
3677

3678
3679


3680
3681




3682
3683
3684
3685

3686

3687
3688
3689
3690
3691
3692
3693







-
+

-
-
+
+
-
-
-
-
+

+

-
+
-







mtt.sty:
	echo Copying mtt.sty to here
	cp $MTTPATH/trans/mtt.sty .
$1_$2.doc: $1_$2.tex
	makedoc "$mtt_switches" "$1" "$2" "$3" "$4" "$documenttype" "$ps"


#Create PostScript version of fig files
#Create PostScript version of dia and fig files
ifeq ($REPTYPE,bg)
#ifeq ("\$(wildcard $1_abg.dia)","$1_abg.dia")
#$1_$2.$ps : $1_$2.dia
ifeq ("\$(wildcard $1_abg.dia)","$1_abg.dia")
$1_$2.$ps : $1_$2.dia
#	echo Creating $1_$2.$ps
#	dia --no-splash --export-to-format=eps $1_$2.dia
#	mv $1_$2.eps $1_$2.$ps
#else
else
$1_$2.$ps : $1_$2.fig
endif
	echo Creating $1_$2.$ps
	multi_command2 "fig2dev -L$eps" $1 $2.fig $2.$ps | sh
	bg2eps $1 $2 $ps $eps
#endif
endif


ifeq ($REPTYPE,tex)
#Generic conversion of LaTeX doc to dvi or pdf
$1_$2.$ps: $1_$2.doc
	doc2$ps $1_$2 "$documenttype"


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