author | wenzelm |
Wed, 12 Nov 1997 16:21:26 +0100 | |
changeset 4211 | 6ae637493076 |
parent 4210 | abce78c8a931 |
child 4212 | 68c7b37f8721 |
src/Pure/goals.ML | file | annotate | diff | comparison | revisions |
--- a/src/Pure/goals.ML Wed Nov 12 16:21:15 1997 +0100 +++ b/src/Pure/goals.ML Wed Nov 12 16:21:26 1997 +0100 @@ -447,6 +447,12 @@ fun pprint_typ T = Sign.pprint_typ (top_sg()) T; +(* FIXME !? *) +(* output to LaTeX / xdvi *) +fun latex s = + execute ("( cd /tmp ; echo \"" ^ s ^ + "\" | isa2latex -s > $$.tex ; latex $$.tex ; xdvi $$.dvi ; rm $$.* ) > /dev/null &"); + (* Redirect output of function f:unit->unit to LaTeX *) fun redirect_to_latex f = let