| author | wenzelm |
| Sun, 27 Jan 2008 22:21:39 +0100 | |
| changeset 25995 | 21b51f748daf |
| 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;