removed obsolete present_html -- now part of regular theory presentation;
authorwenzelm
Wed, 13 Aug 2008 20:57:40 +0200
changeset 27863 a084895d8b91
parent 27862 8f727f7c8c1d
child 27864 827730aea9e8
removed obsolete present_html -- now part of regular theory presentation;
src/Pure/Thy/thy_edit.ML
--- a/src/Pure/Thy/thy_edit.ML	Wed Aug 13 20:57:39 2008 +0200
+++ b/src/Pure/Thy/thy_edit.ML	Wed Aug 13 20:57:40 2008 +0200
@@ -23,7 +23,6 @@
   val parse_spans: Scan.lexicon * Scan.lexicon -> Position.T -> string -> span list
   val present_span: span -> output
   val report_span: span -> unit
-  val present_html: Path.T -> Path.T -> unit
 end;
 
 structure ThyEdit: THY_EDIT =
@@ -149,15 +148,4 @@
 
 end;
 
-
-(* HTML presentation -- example *)
-
-fun present_html inpath outpath =
-  parse_spans (OuterKeyword.get_lexicons ()) (Path.position inpath) (File.read inpath)
-  |> HTML.html_mode (implode o map present_span)
-  |> enclose
-    (HTML.begin_document (Path.implode (Path.base inpath)) ^ "<div class=\"source\"><pre>")
-    ("</pre></div>" ^ HTML.end_document)
-  |> File.write outpath;
-
 end;