# HG changeset patch # User wenzelm # Date 1384629609 -3600 # Node ID 1d977436c1bf051a90bc25c78004a4a6118adf39 # Parent 044faa8a80801881358d722b0de9c73ebdce55b9 removed remains of HTML presentation of auxiliary files -- inactive since Isabelle2013; diff -r 044faa8a8080 -r 1d977436c1bf src/Pure/Thy/html.ML --- a/src/Pure/Thy/html.ML Sat Nov 16 19:23:16 2013 +0100 +++ b/src/Pure/Thy/html.ML Sat Nov 16 20:20:09 2013 +0100 @@ -12,8 +12,6 @@ val name: string -> text val keyword: string -> text val command: string -> text - val file_name: string -> text - val file_path: Url.T -> text val href_name: string -> text -> text val href_path: Url.T -> text -> text val href_opt_path: Url.T option -> text -> text @@ -26,9 +24,7 @@ val applet_pages: string -> Url.T * string -> (string * string) list val theory_entry: Url.T * string -> text val theory_source: text -> text - val begin_theory: string -> (Url.T option * string) list -> - (Url.T * Url.T * bool) list -> text -> text - val external_file: Url.T -> string -> text + val begin_theory: string -> (Url.T option * string) list -> text -> text end; structure HTML: HTML = @@ -246,8 +242,6 @@ val name = enclose "" "" o output; val keyword = enclose "" "" o output; val command = enclose "" "" o output; -val file_name = enclose "" "" o output; -val file_path = file_name o Url.implode; (* misc *) @@ -330,36 +324,9 @@ "\n\n
" "\n"; - -local - fun file (href, path, loadit) = - href_path href (if loadit then file_path path else enclose "(" ")" (file_path path)); - - fun theory A = - begin_document ("Theory " ^ A) ^ "\n" ^ command "theory" ^ " " ^ name A; - - fun imports Bs = - keyword "imports" ^ " " ^ space_implode " " (map (uncurry href_opt_path o apsnd name) Bs); - - fun uses Ps = keyword "uses" ^ " " ^ space_implode " " (map file Ps) ^ "