| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
type target_language = LaTeX | HTML | TeXmacs | Raw |
| 13 |
type output_t = StdOut | MultFiles | File of string |
| 14 |
type coq_module = string |
| 15 |
type file_t = Vernac_file of string * coq_module | Latex_file of string |
| 16 |
type glob_source_t = NoGlob | DotGlob | GlobFile of string |
| 17 |
type encoding_t = { |
| 18 |
charset : string; |
| 19 |
inputenc : string; |
| 20 |
latin1 : bool; |
| 21 |
utf8 : bool; |
| 22 |
} |
| 23 |
type otype = Dvi | Ps | Pdf |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
val page_title : string ref |
| 28 |
val out_channel : out_channel ref |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
type t = { |
| 33 |
targetlang : target_language; |
| 34 |
coqlib : string option; |
| 35 |
compile_targets : otype list; |
| 36 |
out_to : output_t; |
| 37 |
output_dir : string; |
| 38 |
gallina : bool; |
| 39 |
short : bool; |
| 40 |
light : bool; |
| 41 |
title : string; |
| 42 |
header_trailer : bool; |
| 43 |
header_file : string option; |
| 44 |
footer_file : string option; |
| 45 |
index : bool; |
| 46 |
binder_index : bool; |
| 47 |
multi_index : bool; |
| 48 |
index_name : string; |
| 49 |
toc : bool; |
| 50 |
files : file_t list; |
| 51 |
glob_source : glob_source_t; |
| 52 |
quiet : bool; |
| 53 |
externals : bool; |
| 54 |
coqlib_url : string; |
| 55 |
paths : (string * string) list; |
| 56 |
encoding : encoding_t; |
| 57 |
interpolate : bool; |
| 58 |
raw_comments : bool; |
| 59 |
parse_comments : bool; |
| 60 |
plain_comments : bool; |
| 61 |
toc_depth : int option; |
| 62 |
lib_name : string; |
| 63 |
lib_subtitles : bool; |
| 64 |
inline_notmono : bool; |
| 65 |
} |
| 66 |
|
| 67 |
|
| 68 |
val prefs : t ref |
| 69 |
|
| 70 |
|
| 71 |
val (/) : string -> string -> string |
| 72 |
val coqdoc_out : string -> string |
| 73 |
val open_out_file : string -> unit |
| 74 |
val close_out_file : unit -> unit |
| 75 |
|