equal
deleted
inserted
replaced
41 Outer_Syntax.command ("txt", @{here}) "formal comment (secondary style)" |
41 Outer_Syntax.command ("txt", @{here}) "formal comment (secondary style)" |
42 (Parse.opt_target -- Parse.document_source >> Thy_Output.document_command); |
42 (Parse.opt_target -- Parse.document_source >> Thy_Output.document_command); |
43 |
43 |
44 val _ = |
44 val _ = |
45 Outer_Syntax.command ("text_raw", @{here}) "raw LaTeX text" |
45 Outer_Syntax.command ("text_raw", @{here}) "raw LaTeX text" |
46 (Parse.document_source >> K (Toplevel.keep (fn _ => ()))); |
46 (Parse.document_source >> (fn s => Toplevel.keep (fn _ => Thy_Output.report_text s))); |
47 |
47 |
48 val _ = |
48 val _ = |
49 Outer_Syntax.command ("theory", @{here}) "begin theory" |
49 Outer_Syntax.command ("theory", @{here}) "begin theory" |
50 (Thy_Header.args >> |
50 (Thy_Header.args >> |
51 (fn _ => Toplevel.init_theory (fn () => error "Missing theory initialization"))); |
51 (fn _ => Toplevel.init_theory (fn () => error "Missing theory initialization"))); |