(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* <O___,, * (see version control and CREDITS file for authors & dates) *) (* \VV/ **************************************************************) (* // * This file is distributed under the terms of the *) (* * GNU Lesser General Public License Version 2.1 *) (* * (see LICENSE file for the text of the license) *) (************************************************************************)
(* Misc types **********************************************************************) type target_language = LaTeX | HTML | TeXmacs | Raw type output_t = StdOut | MultFiles | File ofstring type coq_module = string type file_t = Vernac_file ofstring * coq_module | Latex_file ofstring type glob_source_t = NoGlob | DotGlob | GlobFile ofstring type encoding_t = {
charset : string;
inputenc : string;
latin1 : bool;
utf8 : bool;
} type otype = Dvi | Ps | Pdf (* End misc types ******************************************************************)
(* Globals *************************************************************************) let page_title = ref"" let out_channel = ref stdout (* End globals *********************************************************************)
(* Little helpers ******************************************************************) let (/) = Filename.concat
let coqdoc_out f = if !prefs.output_dir <> "" && Filename.is_relative f then ifnot (Sys.file_exists !prefs.output_dir) then
(Printf.eprintf "No such directory: %s\n" !prefs.output_dir; exit 1) else
!prefs.output_dir / f else
f
let open_out_file f =
out_channel := try open_out (coqdoc_out f) with Sys_error s -> Printf.eprintf "%s\n" s; exit 1
let close_out_file () = close_out !out_channel (* End little helpers **************************************************************)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.