author | wenzelm |
Fri, 15 Aug 2008 15:50:52 +0200 | |
changeset 27885 | 76b51cd0a37c |
parent 25273 | 189db9ef803f |
permissions | -rw-r--r-- |
(* Title: Pure/ProofGeneral/pgml_isabelle.ML ID: $Id$ Author: David Aspinall PGML print mode for common Isabelle markup. *) signature PGML_ISABELLE = sig val pgml_mode: ('a -> 'b) -> 'a -> 'b end structure PgmlIsabelle : PGML_ISABELLE = struct (** print mode **) val pgmlN = "PGML"; fun pgml_mode f x = PrintMode.with_modes [pgmlN] f x; val _ = Output.add_mode pgmlN Output.default_output Output.default_escape; val _ = Markup.add_mode pgmlN (fn markup as (name, _) => ("", "")); end;