equal
deleted
inserted
replaced
653 fun idvalue strings = |
653 fun idvalue strings = |
654 issue_pgip (Idvalue { thyname=thyname, objtype=objtype, name=name, |
654 issue_pgip (Idvalue { thyname=thyname, objtype=objtype, name=name, |
655 text=[XML.Elem("pgml",[], |
655 text=[XML.Elem("pgml",[], |
656 maps YXML.parse_body strings)] }) |
656 maps YXML.parse_body strings)] }) |
657 |
657 |
658 fun string_of_thm th = Pretty.string_of (Display.pretty_thm_aux |
658 fun string_of_thm th = Pretty.string_of (Display.pretty_thm_raw |
659 (Syntax.pp_global (Thm.theory_of_thm th)) |
659 (Syntax.pp_global (Thm.theory_of_thm th)) |
660 {quote = false, show_hyps = false, show_status = true} [] th) |
660 {quote = false, show_hyps = false, show_status = true} [] th) |
661 |
661 |
662 fun strings_of_thm (thy, name) = map string_of_thm (PureThy.get_thms thy name) |
662 fun strings_of_thm (thy, name) = map string_of_thm (PureThy.get_thms thy name) |
663 |
663 |