src/Pure/Thy/present.ML
changeset 52551 f4fe75218cec
parent 52549 802576856527
child 52743 a7d69a11f395
equal deleted inserted replaced
52550:09e52d4a850a 52551:f4fe75218cec
     2     Author:     Markus Wenzel and Stefan Berghofer, TU Muenchen
     2     Author:     Markus Wenzel and Stefan Berghofer, TU Muenchen
     3 
     3 
     4 Theory presentation: HTML, graph files, (PDF)LaTeX documents.
     4 Theory presentation: HTML, graph files, (PDF)LaTeX documents.
     5 *)
     5 *)
     6 
     6 
     7 signature BASIC_PRESENT =
       
     8 sig
       
     9   val no_document: ('a -> 'b) -> 'a -> 'b  (*not thread-safe!*)
       
    10 end;
       
    11 
       
    12 signature PRESENT =
     7 signature PRESENT =
    13 sig
     8 sig
    14   include BASIC_PRESENT
       
    15   val session_name: theory -> string
     9   val session_name: theory -> string
       
    10   val no_document: ('a -> 'b) -> 'a -> 'b  (*not thread-safe!*)
    16   val read_variant: string -> string * string
    11   val read_variant: string -> string * string
    17   val init: bool -> bool -> Path.T -> string -> bool -> string -> (string * string) list ->
    12   val init: bool -> bool -> Path.T -> string -> bool -> string -> (string * string) list ->
    18     string * string -> bool * string -> bool -> theory list -> unit  (*not thread-safe!*)
    13     string * string -> bool * string -> bool -> theory list -> unit  (*not thread-safe!*)
    19   val finish: unit -> unit  (*not thread-safe!*)
    14   val finish: unit -> unit  (*not thread-safe!*)
    20   val init_theory: string -> unit
    15   val init_theory: string -> unit
   495     Isabelle_System.isabelle_tool "display" ("-c " ^ File.shell_path detachable_result ^ " &")
   490     Isabelle_System.isabelle_tool "display" ("-c " ^ File.shell_path detachable_result ^ " &")
   496   end);
   491   end);
   497 
   492 
   498 end;
   493 end;
   499 
   494 
   500 structure Basic_Present: BASIC_PRESENT = Present;
       
   501 open Basic_Present;