doc-src/IsarRef/showsymbols
author ballarin
Tue, 29 Sep 2009 22:15:54 +0200
changeset 32804 ca430e6aee1c
parent 32088 2110fcd86efb
permissions -rwxr-xr-x
Propagation of mixins for interpretation; reactivated diagnostic command print_interps.

#!/usr/bin/env perl

print "\\begin{supertabular}{ll\@{\\qquad}ll}\n";

$eol = "&";

while (<ARGV>) {
    if (m/^\\newcommand\{\\isasym([A-Za-z]+)\}/) {
       print "\\verb,\\<$1>, & {\\isasym$1} $eol\n";
#       print "\\verb,\\<$1>, & \\isactrlbold{\\isasym$1}~{\\isasym$1} $eol\n";
#       print "\\verb,\\<$1>, & B\\isactrlsup{\\isasym$1} $eol\n";
#       print "\\verb,\\<$1>, & B\\isactrlsub{\\isasym$1} $eol\n";
        if ("$eol" eq "&") {
            $eol = "\\\\";
        } else {
            $eol = "&";
        }
    }
}

if ("$eol" eq "\\\\") {
    print "$eol\n";
}

print "\\end{supertabular}\n";