Differences From Artifact [49e98b86ec]:

To Artifact [a8fccd0d60]:


8
9
10
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
8
9
10
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







+
+
+






-
-
-
-
-
-
+
+
+
+
+
+








+
-
+


# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.2  1997/04/15  11:18:49  peterg
# Uses supertabular package
#
# Revision 1.1  1996/08/18  20:00:10  peter
# Initial revision
#
###############################################################


BEGIN {
  split(ARGV[1],a,"_");
  system_name = a[1];
  split(a[2],b,".");
  representation = b[1];
  makefile = sprintf("%s_rep.make", system_name, representation);
END{
#  split(ARGV[1],a,"_");
#  system_name = a[1];
#  split(a[2],b,".");
#  representation = b[1];
  makefile = sprintf("%s_rep.make", $system_name, $representation);
  print "\\documentclass[12pt,a4paper]{article}";
  printf("\\title{System %s, representation %s}\n", \
	 system_name, representation) 
  print "\\author{Generated by MTT}";
  print "  \\usepackage{epsfig}";
  print "  \\usepackage{supertabular}";
  print "\\begin{document}";
  print "  \\maketitle";
  print"  \\input{}", system_nam,e $representation;
  printf("  \\input{%s_%s}\n", system_name, representation);
  print $system_name $representation
  print "\\end{document}"
}

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