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
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################
BEGIN {
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 ;
print "\\begin{document}";
print " \\maketitle";
printf(" \\input{%s_%s}\n", system_name, representation);
print "\\end{document}"
}
|
>
>
>
|
|
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
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# 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);
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";
printf(" \\input{%s_%s}\n", system_name, representation);
print "\\end{document}"
}
|