From 3ef7797ef6fc605dfafb32523261fe1b023aeecb Mon Sep 17 00:00:00 2001 From: Samuel Mimram Date: Fri, 28 Apr 2006 14:59:16 +0000 Subject: Imported Upstream version 8.0pl3+8.1alpha --- tools/coqdoc/cdglobals.ml | 72 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 tools/coqdoc/cdglobals.ml (limited to 'tools/coqdoc/cdglobals.ml') diff --git a/tools/coqdoc/cdglobals.ml b/tools/coqdoc/cdglobals.ml new file mode 100644 index 00000000..b5a4cb22 --- /dev/null +++ b/tools/coqdoc/cdglobals.ml @@ -0,0 +1,72 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* "" then Filename.concat !output_dir f else f in + out_channel := open_out f + +let close_out_file () = close_out !out_channel + + +let header_trailer = ref true +let quiet = ref false +let light = ref false +let gallina = ref false +let short = ref false +let index = ref true +let multi_index = ref false +let toc = ref false +let page_title = ref "" +let title = ref "" +let externals = ref true +let coqlib = ref "http://coq.inria.fr/library/" +let raw_comments = ref false + +let charset = ref "iso-8859-1" +let inputenc = ref "" +let latin1 = ref false +let utf8 = ref false + +let set_latin1 () = + charset := "iso-8859-1"; + inputenc := "latin1"; + latin1 := true + +let set_utf8 () = + charset := "utf-8"; + inputenc := "utf8"; + utf8 := true + +(* Parsing options *) + +type coq_module = string + +type file = + | Vernac_file of string * coq_module + | Latex_file of string + + -- cgit v1.2.3