equal
deleted
inserted
replaced
25 val begin_theory: string -> string list -> (Path.T * bool) list -> theory -> theory |
25 val begin_theory: string -> string list -> (Path.T * bool) list -> theory -> theory |
26 val result: string -> string -> thm -> unit |
26 val result: string -> string -> thm -> unit |
27 val results: string -> string -> thm list -> unit |
27 val results: string -> string -> thm list -> unit |
28 val theorem: string -> thm -> unit |
28 val theorem: string -> thm -> unit |
29 val theorems: string -> thm list -> unit |
29 val theorems: string -> thm list -> unit |
|
30 val chapter: string -> unit |
30 val subsection: string -> unit |
31 val subsection: string -> unit |
31 val subsubsection: string -> unit |
32 val subsubsection: string -> unit |
32 val setup: (theory -> theory) list |
33 val setup: (theory -> theory) list |
33 val get_info: theory -> {session: string list, is_local: bool} |
34 val get_info: theory -> {session: string list, is_local: bool} |
34 end; |
35 end; |
425 |
426 |
426 fun result k a thm = with_session () (fn _ => with_context add_html (HTML.result k a thm)); |
427 fun result k a thm = with_session () (fn _ => with_context add_html (HTML.result k a thm)); |
427 fun results k a thms = with_session () (fn _ => with_context add_html (HTML.results k a thms)); |
428 fun results k a thms = with_session () (fn _ => with_context add_html (HTML.results k a thms)); |
428 fun theorem a thm = with_session () (fn _ => with_context add_html (HTML.theorem a thm)); |
429 fun theorem a thm = with_session () (fn _ => with_context add_html (HTML.theorem a thm)); |
429 fun theorems a thms = with_session () (fn _ => with_context add_html (HTML.theorems a thms)); |
430 fun theorems a thms = with_session () (fn _ => with_context add_html (HTML.theorems a thms)); |
|
431 fun chapter s = with_session () (fn _ => with_context add_html (HTML.chapter s)); |
430 fun section s = with_session () (fn _ => with_context add_html (HTML.section s)); |
432 fun section s = with_session () (fn _ => with_context add_html (HTML.section s)); |
431 fun subsection s = with_session () (fn _ => with_context add_html (HTML.subsection s)); |
433 fun subsection s = with_session () (fn _ => with_context add_html (HTML.subsection s)); |
432 fun subsubsection s = with_session () (fn _ => with_context add_html (HTML.subsubsection s)); |
434 fun subsubsection s = with_session () (fn _ => with_context add_html (HTML.subsubsection s)); |
433 |
435 |
434 |
436 |