Overview
| Comment: | Creates postscript files of either dia or fig bond graphs. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
c25f0b6d554fd6bbf5f3774acd722777 |
| User & Date: | geraint@users.sourceforge.net on 2004-08-26 16:20:17.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2004-08-26
| ||
| 16:24:40 | Function is no longer used (replaced by bg2eps). check-in: e757642f83 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
| 16:20:17 | Creates postscript files of either dia or fig bond graphs. check-in: c25f0b6d55 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
| 16:19:30 | Converts dia and fig bond graphs to postscript format. check-in: 75c1ec2585 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 | # Copyright (C) 2001 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## 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 | > > > > | 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 |
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
$1_abg.fig:
mtt -q -u $mtt_switches compcopy $1
else
$1_abg.fig:
endif
endif
# Create an arg file if it doesn't exist
$1_args.m:
touch $1_args.m
| > > | 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 | 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" | | | | < < < | > | < | 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 dia and fig files
ifeq ($REPTYPE,bg)
ifeq ("\$(wildcard $1_abg.dia)","$1_abg.dia")
$1_$2.$ps : $1_$2.dia
else
$1_$2.$ps : $1_$2.fig
endif
echo Creating $1_$2.$ps
bg2eps $1 $2 $ps $eps
endif
ifeq ($REPTYPE,tex)
#Generic conversion of LaTeX doc to dvi or pdf
$1_$2.$ps: $1_$2.doc
doc2$ps $1_$2 "$documenttype"
|
| ︙ | ︙ |