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