src/Pure/Thy/thy_info.ML
changeset 69784 24bbc4e30e5b
parent 68839 d8251a61cce8
child 69877 45b2e784350a
equal deleted inserted replaced
69783:dde776d1defa 69784:24bbc4e30e5b
    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