Overview
Comment:Cosmetic changes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 18cea456003d11f70450aa3b1817630bc7d79be3e7693933927709323425f1a4
User & Date: gawthrop@users.sourceforge.net on 1998-07-16 16:34:09
Other Links: branch diff | manifest | tags
Context
1998-07-16
20:16:30
Initial revision check-in: aacbeca0a0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
16:34:09
Cosmetic changes check-in: 18cea45600 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
16:31:47
Initial revision check-in: 49a8051b7d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/lbl_txt2tex from [a153338114] to [c262d7e45f].

10
11
12
13
14
15
16



17
18
19
20
21
22
23
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



###############################################################


# Inform user
echo Creating $1_lbl.tex

#Create the alias file complete with headers.







>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  1998/07/16 16:31:47  peterg
## Initial revision
##
###############################################################


# Inform user
echo Creating $1_lbl.tex

#Create the alias file complete with headers.
34
35
36
37
38
39
40

41
42
43
44
45
46
47
    grep '[%|#]DESCRIPTION' $1_lbl.txt | sed 's/_/\\_/g'  |\
    awk '{
           for (i=2;i<=NF;i++) print $i " ";
         }' >> $1_lbl.tex

#Write out the aliases
cat <<EOF >> $1_lbl.tex

\begin{description}
EOF
    grep '[%|#]ALIAS' $1_lbl.txt | sed 's/_/\\_/g' |\
    awk '{
      if (match($2,"\\$")>0){
        print "\\item [Parameter \\" $2 "] represents " $3
      }







>







37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
    grep '[%|#]DESCRIPTION' $1_lbl.txt | sed 's/_/\\_/g'  |\
    awk '{
           for (i=2;i<=NF;i++) print $i " ";
         }' >> $1_lbl.tex

#Write out the aliases
cat <<EOF >> $1_lbl.tex
\paragraph{Interface information}
\begin{description}
EOF
    grep '[%|#]ALIAS' $1_lbl.txt | sed 's/_/\\_/g' |\
    awk '{
      if (match($2,"\\$")>0){
        print "\\item [Parameter \\" $2 "] represents " $3
      }


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