equal
deleted
inserted
replaced
8 sig |
8 sig |
9 val output_document: Proof.context -> {markdown: bool} -> Input.source -> Latex.text list |
9 val output_document: Proof.context -> {markdown: bool} -> Input.source -> Latex.text list |
10 val check_comments: Proof.context -> Symbol_Pos.T list -> unit |
10 val check_comments: Proof.context -> Symbol_Pos.T list -> unit |
11 val output_token: Proof.context -> Token.T -> Latex.text list |
11 val output_token: Proof.context -> Token.T -> Latex.text list |
12 val output_source: Proof.context -> string -> Latex.text list |
12 val output_source: Proof.context -> string -> Latex.text list |
13 type segment = {span: Command_Span.span, command: Toplevel.transition, state: Toplevel.state} |
13 type segment = |
|
14 {span: Command_Span.span, command: Toplevel.transition, |
|
15 prev_state: Toplevel.state, state: Toplevel.state} |
14 val present_thy: Options.T -> theory -> segment list -> Latex.text list |
16 val present_thy: Options.T -> theory -> segment list -> Latex.text list |
15 val pretty_term: Proof.context -> term -> Pretty.T |
17 val pretty_term: Proof.context -> term -> Pretty.T |
16 val pretty_thm: Proof.context -> thm -> Pretty.T |
18 val pretty_thm: Proof.context -> thm -> Pretty.T |
17 val lines: Latex.text list -> Latex.text list |
19 val lines: Latex.text list -> Latex.text list |
18 val items: Latex.text list -> Latex.text list |
20 val items: Latex.text list -> Latex.text list |
355 Parse.!!! |
357 Parse.!!! |
356 (Document_Source.improper |-- Parse.name --| (Document_Source.improper -- Parse.$$$ ")"))); |
358 (Document_Source.improper |-- Parse.name --| (Document_Source.improper -- Parse.$$$ ")"))); |
357 |
359 |
358 in |
360 in |
359 |
361 |
360 type segment = {span: Command_Span.span, command: Toplevel.transition, state: Toplevel.state}; |
362 type segment = |
|
363 {span: Command_Span.span, command: Toplevel.transition, |
|
364 prev_state: Toplevel.state, state: Toplevel.state}; |
361 |
365 |
362 fun present_thy options thy (segments: segment list) = |
366 fun present_thy options thy (segments: segment list) = |
363 let |
367 let |
364 val keywords = Thy_Header.get_keywords thy; |
368 val keywords = Thy_Header.get_keywords thy; |
365 |
369 |