~ubuntu-branches/ubuntu/wily/coq-doc/wily

« back to all changes in this revision

Viewing changes to tools/coqdoc/cdglobals.ml

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu, Stéphane Glondu, Samuel Mimram
  • Date: 2010-01-07 22:50:39 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107225039-n3cq82589u0qt0s2
Tags: 8.2pl1-1
[ Stéphane Glondu ]
* New upstream release (Closes: #563669)
  - remove patches
* Packaging overhaul:
  - use git, advertise it in Vcs-* fields of debian/control
  - use debhelper 7 and dh with override
  - use source format 3.0 (quilt)
* debian/control:
  - set Maintainer to d-o-m, set Uploaders to Sam and myself
  - add Homepage field
  - bump Standards-Version to 3.8.3
* Register PDF documentation into doc-base
* Add debian/watch
* Update debian/copyright

[ Samuel Mimram ]
* Change coq-doc's description to mention that it provides documentation in
  pdf format, not postscript, closes: #543545.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(************************************************************************)
 
2
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
 
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
 
4
(*   \VV/  **************************************************************)
 
5
(*    //   *      This file is distributed under the terms of the       *)
 
6
(*         *       GNU Lesser General Public License Version 2.1        *)
 
7
(************************************************************************)
 
8
 
 
9
 
 
10
 
 
11
(*s Output options *)
 
12
 
 
13
type target_language = LaTeX | HTML | TeXmacs | Raw
 
14
 
 
15
let target_language = ref HTML
 
16
 
 
17
type output_t =
 
18
  | StdOut
 
19
  | MultFiles
 
20
  | File of string
 
21
 
 
22
let output_dir = ref ""
 
23
 
 
24
let out_to = ref MultFiles
 
25
 
 
26
let out_channel = ref stdout
 
27
 
 
28
let open_out_file f =
 
29
  let f = if !output_dir <> "" && Filename.is_relative f then Filename.concat !output_dir f else f in
 
30
    out_channel := open_out f
 
31
 
 
32
let close_out_file () = close_out !out_channel
 
33
 
 
34
 
 
35
type glob_source_t =
 
36
    | NoGlob
 
37
    | DotGlob
 
38
    | GlobFile of string
 
39
 
 
40
let glob_source = ref DotGlob 
 
41
 
 
42
let header_trailer = ref true
 
43
let header_file = ref ""
 
44
let header_file_spec = ref false
 
45
let footer_file = ref ""
 
46
let footer_file_spec = ref false
 
47
let quiet = ref true
 
48
let light = ref false
 
49
let gallina = ref false
 
50
let short = ref false
 
51
let index = ref true
 
52
let multi_index = ref false
 
53
let toc = ref false
 
54
let page_title = ref ""
 
55
let title = ref ""
 
56
let externals = ref true
 
57
let coqlib = ref Coq_config.wwwstdlib
 
58
let coqlib_path = ref Coq_config.coqlib
 
59
let raw_comments = ref false
 
60
let parse_comments = ref false
 
61
let interpolate = ref false
 
62
 
 
63
let charset = ref "iso-8859-1"
 
64
let inputenc = ref ""
 
65
let latin1 = ref false
 
66
let utf8 = ref false
 
67
 
 
68
let set_latin1 () =
 
69
  charset := "iso-8859-1";
 
70
  inputenc := "latin1";
 
71
  latin1 := true
 
72
 
 
73
let set_utf8 () =
 
74
  charset := "utf-8";
 
75
  inputenc := "utf8";
 
76
  utf8 := true
 
77
 
 
78
(* Parsing options *)
 
79
 
 
80
type coq_module = string
 
81
 
 
82
type file =
 
83
  | Vernac_file of string * coq_module
 
84
  | Latex_file of string
 
85