X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FcicNotationPres.ml;h=395cab6c29927e01cc1760ec1ac6ccc28e6fd87f;hb=1bcad789810fd37d346e690f18557aeedc6fe08c;hp=4b47b9014807f37596ff164727f193983e35f2d1;hpb=7df7f06d2bc2a3fe1fe95aab957cef480d27eb86;p=helm.git diff --git a/helm/ocaml/cic_notation/cicNotationPres.ml b/helm/ocaml/cic_notation/cicNotationPres.ml index 4b47b9014..395cab6c2 100644 --- a/helm/ocaml/cic_notation/cicNotationPres.ml +++ b/helm/ocaml/cic_notation/cicNotationPres.ml @@ -33,10 +33,6 @@ let binder_attributes = [None, "mathcolor", "blue"] let indent_attributes = [None, "indent", "1em"] let keyword_attributes = [None, "mathcolor", "blue"] -let mpres_arrow = Mpresentation.Mo (binder_attributes, "->") - (* TODO unicode symbol "to" *) -let mpres_implicit = Mpresentation.Mtext ([], "?") - let to_unicode s = try if s.[0] = '\\' then @@ -212,7 +208,8 @@ let render ids_to_uris = assert false and aux_attribute xmlattrs mathonly xref pos prec uris t = function - | `Loc _ -> aux xmlattrs mathonly xref pos prec uris t + | `Loc _ + | `Raw _ -> aux xmlattrs mathonly xref pos prec uris t | `Level (child_prec, child_assoc) -> let t' = aux xmlattrs mathonly xref pos child_prec uris t in add_parens child_prec child_assoc pos prec t'