Overview
Comment:Fixed bugs with reprots and distinguish between book, article and
section reports.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 0c32a773fd332e89134434eb074ce0086a34afc6433555e9164a101b5b2735de
User & Date: gawthrop@users.sourceforge.net on 1997-12-07 20:10:36
Other Links: branch diff | manifest | tags
Context
1997-12-07
20:29:56
Initial revision check-in: d1d4bf348e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
20:10:36
Fixed bugs with reprots and distinguish between book, article and
section reports.
check-in: 0c32a773fd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:45:44
Set to monochrome (not colour). This gives clearer plots. check-in: 455803c9a5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [09096b479e] to [79fa6618da].

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.101  1997/12/06 18:54:53  peterg
## Now tidies up after itself.
## Major modifications to do a rep on a directory -- creates a book with
## each example as a chapter.
##
## Revision 1.100  1997/12/06 12:14:39  peterg
## Put a conditional around the PS data rep to check for set arguments.







>
>
>







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.102  1997/12/07 12:14:43  peterg
## Hnadles book, article and section reports seperately
##
## Revision 1.101  1997/12/06 18:54:53  peterg
## Now tidies up after itself.
## Major modifications to do a rep on a directory -- creates a book with
## each example as a chapter.
##
## Revision 1.100  1997/12/06 12:14:39  peterg
## Put a conditional around the PS data rep to check for set arguments.
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
     if [ -n "$isdirectory" ]; then
	documenttype=book
     fi
else
     documenttype=section
fi

echo documenttype $documenttype

################################
# This is the main mtt programme
################################

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








<







717
718
719
720
721
722
723

724
725
726
727
728
729
730
     if [ -n "$isdirectory" ]; then
	documenttype=book
     fi
else
     documenttype=section
fi



################################
# This is the main mtt programme
################################

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

1334
1335
1336
1337
1338
1339
1340

1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357

#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
endif


ifeq ($REPTYPE,data)
#Create PostScript version of dat file 
#  + another version with Args added to the name if its appropriate
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2 '$ARGS';echo $PLOTTYPE;

ifeq ($PLOTTYPE,multiple)
ifdef $ARGS
	cp  $1_$2.ps $1_$2$_ARGS.ps        
endif
endif

endif

ifeq ($REPTYPE,tex)
#Create PostScript version of dvi file







>





|


|
|







1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360

#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
endif


ifeq ($REPTYPE,data)
#Create PostScript version of dat file 
#  + another version with Args added to the name if its appropriate
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2 '$ARGS';echo $REPTYPE $ARGS $PLOTTYPE

ifeq ($PLOTTYPE,multiple)
ifneq ($ARGS,)
	cp  $1_$2.ps $1_$2$_ARGS.ps ; echo COPYING       
endif
endif

endif

ifeq ($REPTYPE,tex)
#Create PostScript version of dvi file


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