equal
deleted
inserted
replaced
64 let |
64 let |
65 val latex = Latex.isabelle_body (Context.theory_name thy) body; |
65 val latex = Latex.isabelle_body (Context.theory_name thy) body; |
66 val output = [Latex.output_text latex, Latex.output_positions file_pos latex]; |
66 val output = [Latex.output_text latex, Latex.output_positions file_pos latex]; |
67 val _ = |
67 val _ = |
68 if Options.bool options "export_document" |
68 if Options.bool options "export_document" |
69 then Export.export thy "document.tex" output else (); |
69 then Export.export thy (Path.explode "document.tex") output else (); |
70 val _ = if #enabled option then Present.theory_output thy output else (); |
70 val _ = if #enabled option then Present.theory_output thy output else (); |
71 in () end |
71 in () end |
72 end)); |
72 end)); |
73 |
73 |
74 |
74 |