Overview
Comment: | Includes a _pic.fig file (schematic) if such exists |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b08d59c51d20ee1497267885eb555717 |
User & Date: | gawthrop@users.sourceforge.net on 2004-02-11 10:10:14 |
Other Links: | branch diff | manifest | tags |
Context
2004-02-11
| ||
10:22:35 | Don't write out the detailed description check-in: 5af6e3bde2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
10:10:14 | Includes a _pic.fig file (schematic) if such exists check-in: b08d59c51d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2004-02-10
| ||
16:12:21 | Don't give details of Se De Sf Df INTF check-in: a45d53f113 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/abg2tex from [1c0dfa10eb] to [19df832014].
︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | + + + | # Copyright (c) P.J.Gawthrop, 1997. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.5 2004/02/10 16:12:21 gawthrop ## Don't give details of Se De Sf Df INTF ## ## Revision 1.4 2002/04/28 18:41:26 geraint ## Fixed [ 549658 ] awk should be gawk. ## Replaced calls to awk with call to gawk. ## ## Revision 1.3 2001/07/12 04:02:53 gawthrop ## Now fixes multiports for input and output as well as state ## |
︙ | |||
111 112 113 114 115 116 117 118 119 120 121 122 123 124 | 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | + + + + + + + + + + + | ##echo mtt -q -u $pdf $1 abg ps mtt -q -u $pdf $1 abg ps cat <<EOF >> $filename \fig{`pwd`/$1_abg}{$1_abg.ps}{0.9}{System \textbf{$1}: acausal bond graph} EOF ## Put a schematic if exists (_pic.fig) if [ -e "$1_pic.fig" ]; then echo Inserting $1_pic.fig fig2dev -L eps $1_pic.fig > $1_pic.ps cat <<EOF >> $filename \fig{`pwd`/$1_pic}{$1_pic.ps}{0.9}{System \textbf{$1}: schematic diagram} EOF fi # Description mtt -q -u $1 desc tex # Put in absolute pathnames in figures -- and fix bug in old desc files sed "s;fig{;fig{`pwd`/;g" < $1_desc.tex |\ sed "s/Ref{$1_abg}/Ref{fig:$1_abg.ps}/" >> $filename |
︙ |
Modified mttroot/mtt/bin/trans/makedesc from [57b7600dfe] to [3172bb98c8].
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 11 12 13 14 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 50 51 52 53 54 55 | + + + - - - - + + + + + - + + + + - - + + + + + + | # Copyright (c) P.J.Gawthrop, 1997. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.4 1999/03/03 01:07:27 peterg ## Label the figure correctely, ## ## Revision 1.3 1998/07/22 08:58:51 peterg ## Corrected spelling. ## ## Revision 1.2 1997/05/21 10:00:51 peterg ## Tidied up. ## ## Revision 1.1 1997/05/21 09:19:27 peterg ## Initial revision ## ############################################################### #Inform user echo Creating $1_desc.tex echo '% -*-latex-*- Put EMACS into LaTeX-mode' > $1_desc.tex echo "% Verbal description for system $1 ($1_desc.tex)" >> $1_desc.tex echo "% Generated by MTT on" `date`. >> $1_desc.tex cat $MTTPATH/trans/m/rcs_header.txt >> $1_desc.tex |