diff -r 57923fdab83b -r 1757a6e049f4 doc-src/antiquote_setup.ML --- 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) ^