src/Doc/Prog_Prove/LaTeXsugar.thy
changeset 73761 ef1a18e20ace
parent 69082 0405d06f08f3
child 74563 042041c0ebeb
--- a/src/Doc/Prog_Prove/LaTeXsugar.thy	Fri May 21 11:19:53 2021 +0200
+++ b/src/Doc/Prog_Prove/LaTeXsugar.thy	Fri May 21 12:29:29 2021 +0200
@@ -44,10 +44,11 @@
   "_asm" :: "prop \<Rightarrow> asms" ("_")
 
 setup \<open>
-  Thy_Output.antiquotation_pretty_source \<^binding>\<open>const_typ\<close> (Scan.lift Args.embedded_inner_syntax)
+  Document_Output.antiquotation_pretty_source \<^binding>\<open>const_typ\<close>
+    (Scan.lift Args.embedded_inner_syntax)
     (fn ctxt => fn c =>
       let val tc = Proof_Context.read_const {proper = false, strict = false} ctxt c in
-        Pretty.block [Thy_Output.pretty_term ctxt tc, Pretty.str " ::",
+        Pretty.block [Document_Output.pretty_term ctxt tc, Pretty.str " ::",
           Pretty.brk 1, Syntax.pretty_typ ctxt (fastype_of tc)]
       end)
 \<close>