src/Doc/antiquote_setup.ML
changeset 67468 aa8c25c528c0
parent 67463 a5ca98950a91
child 68823 5e7b1ae10eb8
equal deleted inserted replaced
67467:482b62d694ca 67468:aa8c25c528c0
   125     (fn ctxt =>
   125     (fn ctxt =>
   126       map (fn (thm, name) =>
   126       map (fn (thm, name) =>
   127         Output.output
   127         Output.output
   128           (Document_Antiquotation.format ctxt
   128           (Document_Antiquotation.format ctxt
   129             (Document_Antiquotation.quote ctxt (Thy_Output.pretty_thm ctxt thm))) ^
   129             (Document_Antiquotation.quote ctxt (Thy_Output.pretty_thm ctxt thm))) ^
   130         enclose "\\rulename{" "}"
   130         enclose "\\rulename{" "}" (Output.output name))
   131           (Output.output (Pretty.unformatted_string_of (Thy_Output.pretty_text ctxt name))))
       
   132       #> space_implode "\\par\\smallskip%\n"
   131       #> space_implode "\\par\\smallskip%\n"
   133       #> Latex.string #> single
   132       #> Latex.string #> single
   134       #> Thy_Output.isabelle ctxt));
   133       #> Thy_Output.isabelle ctxt));
   135 
   134 
   136 
   135