1 (* Copyright (C) 2000, HELM Team.
3 * This file is part of HELM, an Hypertextual, Electronic
4 * Library of Mathematics, developed at the Computer Science
5 * Department, University of Bologna, Italy.
7 * HELM is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
12 * HELM is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with HELM; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 * For details, see the HELM World-Wide-Web page,
23 * http://cs.unibo.it/helm/.
26 (*************************************************************************)
30 (* Andrea Asperti <asperti@cs.unibo.it> *)
33 (*************************************************************************)
40 | H of attr * ('expr box) list
41 | V of attr * ('expr box) list
42 | HV of attr * ('expr box) list
43 | HOV of attr * ('expr box) list
44 | Object of attr * 'expr
45 | Action of attr * ('expr box) list
47 and attr = (string option * string * string) list
49 val smallskip : 'expr box
51 val indent : 'expr box -> 'expr box
54 obj2xml:('a -> Xml.token Stream.t) -> 'a box ->
57 val map: ('a -> 'b) -> 'a box -> 'b box
61 ~obj2xml:('a -> Xml.token Stream.t) -> 'a box -> Xml.token Stream.t
64 val b_h: attr -> 'expr box list -> 'expr box
65 val b_v: attr -> 'expr box list -> 'expr box
66 val b_text: attr -> string -> 'expr box
67 val b_object: 'expr -> 'expr box
68 val b_indent: 'expr box -> 'expr box
69 val b_space: 'expr box
70 val b_kw: string -> 'expr box