X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2FapplyTransformation.mli;h=b5b5969277ae3810c4b0ed6960e5d7d654af5d50;hb=907f919aba0f21b18acff8a8e1c266ab92d10baf;hp=dbd0343ff600d4bdd3e09e62963c340e5adcacdb;hpb=2c01ff6094173915e7023076ea48b5804dca7778;p=helm.git diff --git a/matita/matita/applyTransformation.mli b/matita/matita/applyTransformation.mli index dbd0343ff..b5b596927 100644 --- a/matita/matita/applyTransformation.mli +++ b/matita/matita/applyTransformation.mli @@ -50,6 +50,13 @@ val nmml_of_cic_sequent: int * NCic.conjecture -> (* sequent *) Gdome.document (* Math ML *) +val ntxt_of_cic_sequent: + map_unicode_to_tex:bool -> int -> + #NCicCoercion.status -> + NCic.metasenv -> NCic.substitution -> (* metasenv, substitution *) + int * NCic.conjecture -> (* sequent *) + string (* text *) + val mml_of_cic_object: Cic.obj -> (* object *) Gdome.document * (* Math ML *) @@ -63,6 +70,21 @@ val mml_of_cic_object: val nmml_of_cic_object: #NCicCoercion.status -> NCic.obj -> Gdome.document +val ntxt_of_cic_object: + map_unicode_to_tex:bool -> int -> #NCicCoercion.status -> NCic.obj -> string + +val txt_of_cic_sequent_all: + map_unicode_to_tex:bool -> int -> + Cic.metasenv -> (* metasenv *) + Cic.conjecture -> (* sequent *) + string * (* text *) + Cic.conjecture * (* unshared sequent *) + (Cic.annconjecture * (* annsequent *) + ((Cic.id, Cic.term) Hashtbl.t * (* id -> term *) + (Cic.id, Cic.id option) Hashtbl.t * (* id -> father id *) + (Cic.id, Cic.hypothesis) Hashtbl.t * (* id -> hypothesis *) + (Cic.id, Cic2acic.sort_kind) Hashtbl.t)) (* ids_to_inner_sorts *) + val txt_of_cic_term: map_unicode_to_tex:bool -> int -> Cic.metasenv -> Cic.context -> Cic.term -> string @@ -79,19 +101,21 @@ val txt_of_cic_object: int -> GrafiteAst.inline_param list -> Cic.obj -> string -(* params, uri or baseuri *) -val txt_of_inline_macro: - map_unicode_to_tex:bool -> GrafiteAst.inline_param list -> string -> - string +val txt_of_cic_object_all: + map_unicode_to_tex:bool -> + ?skip_thm_and_qed:bool -> ?skip_initial_lambdas:int -> + int -> GrafiteAst.inline_param list -> Cic.obj -> + string * (* text *) + (Cic.annobj * (* annobj *) + ((Cic.id, Cic.term) Hashtbl.t * (* id -> term *) + (Cic.id, Cic.id option) Hashtbl.t * (* id -> father id *) + (Cic.id, Cic.conjecture) Hashtbl.t * (* id -> conjecture *) + (Cic.id, Cic.hypothesis) Hashtbl.t * (* id -> hypothesis *) + (Cic.id, Cic2acic.sort_kind) Hashtbl.t * (* ids_to_inner_sorts *) + (Cic.id, Cic2acic.anntypes) Hashtbl.t)) (* ids_to_inner_types *) val txt_of_macro: map_unicode_to_tex:bool -> Cic.metasenv -> Cic.context -> (Cic.term, Cic.lazy_term) GrafiteAst.macro -> string - -(* columns, rendering depth, context, term *) -val procedural_txt_of_cic_term: - map_unicode_to_tex:bool -> int -> GrafiteAst.inline_param list -> - Cic.context -> Cic.term -> - string