doc-src/antiquote_setup.ML
changeset 26455 1757a6e049f4
parent 26385 ae7564661e76
child 26461 da989545e59c
--- a/doc-src/antiquote_setup.ML	Thu Mar 27 21:49:10 2008 +0100
+++ b/doc-src/antiquote_setup.ML	Fri Mar 28 00:02:54 2008 +0100
@@ -36,7 +36,7 @@
       else txt1 ^ ": " ^ txt2;
     val txt' = if kind = "" then txt else kind ^ " " ^ txt;
     val _ = writeln (ml (txt1, txt2));
-    val _ = ML_Context.use_mltext false Position.none (ml (txt1, txt2)) (SOME (Context.Proof ctxt));
+    val _ = ML_Context.eval_in (SOME (Context.Proof ctxt)) false Position.none (ml (txt1, txt2));
   in
     "\\indexml" ^ kind ^ enclose "{" "}"
       (translate_string (fn "_" => "-" | ">" => "$>$" | "#" => "\\#" | c => c) txt1) ^