Subversion Repositories wimsdev

Rev

Rev 5690 | Rev 11717 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5690 Rev 5691
Line 24... Line 24...
24
    </head>
24
    </head>
25
    <body>
25
    <body>
26
    <table summary=\"latex commands\" style=\"font-size:8px\"><tr>" > $htmlfile
26
    <table summary=\"latex commands\" style=\"font-size:8px\"><tr>" > $htmlfile
27
firstletter="a"
27
firstletter="a"
28
Tr=4;
28
Tr=4;
29
# 5 collumns... !
29
# 5 columns... !
30
echo  "         <th>Environments</td><th>\begin{env}&sdot;&sdot;&sdot;\end{env}</th>" >> $htmlfile
30
echo  "         <th>Environments</td><th>\begin{env}&sdot;&sdot;&sdot;\end{env}</th>" >> $htmlfile
31
p=0
31
p=0
32
e=$(($Tr - 2))
32
e=$(($Tr - 2))
33
while [ $p -le $e ] ;do
33
while [ $p -le $e ] ;do
34
    echo "<td>&nbsp;</td>" >> $htmlfile
34
    echo "<td>&nbsp;</td>" >> $htmlfile
Line 80... Line 80...
80
            echo  "</tr><tr>" >> $htmlfile
80
            echo  "</tr><tr>" >> $htmlfile
81
            p=0
81
            p=0
82
        fi
82
        fi
83
        chk=`echo $line | wc -c | tr -d '[:blank:]'`
83
        chk=`echo $line | wc -c | tr -d '[:blank:]'`
84
        if [ $chk -gt 1 ] ; then
84
        if [ $chk -gt 1 ] ; then
85
            echo "<td>\\$line\c</td>" >> $htmlfile
85
            echo "<td>\\\\$line\c</td>" >> $htmlfile
86
            echo "<tr><td>&bsol;$line</td><td>:</td><td>\( \\$line \)</td></tr>" >> $oeffile
86
            echo "<tr><td>&bsol;$line</td><td>:</td><td>\( \\$line \)</td></tr>" >> $oeffile
87
            echo "<tr><td>&bsol;$line</td><td>:</td><td>
87
            echo "<tr><td>&bsol;$line</td><td>:</td><td>
88
!insmath \\$line
88
!insmath \\$line
89
</td></tr>" >> $phtmlfile
89
</td></tr>" >> $phtmlfile
90
            p=$((p+1))
90
            p=$((p+1))