equal
deleted
inserted
replaced
62 if #disabled option then () |
62 if #disabled option then () |
63 else |
63 else |
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 _ = Export.export thy "document.tex" output; |
67 val _ = |
|
68 if Options.bool options "export_document" |
|
69 then Export.export thy "document.tex" output else (); |
68 val _ = if #enabled option then Present.theory_output thy output else (); |
70 val _ = if #enabled option then Present.theory_output thy output else (); |
69 in () end |
71 in () end |
70 end)); |
72 end)); |
71 |
73 |
72 |
74 |