X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Futf8_macros%2Futf8Macro.ml;h=3d0b5bc4c8b26a888fed080c690afa3d3232e838;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=51465046bec635f52dcc9428dfa5e9f6103bb122;hpb=7b7e9b07ee3bb4d12d522b2deae3aa5b62df4793;p=helm.git diff --git a/helm/ocaml/utf8_macros/utf8Macro.ml b/helm/ocaml/utf8_macros/utf8Macro.ml index 51465046b..3d0b5bc4c 100644 --- a/helm/ocaml/utf8_macros/utf8Macro.ml +++ b/helm/ocaml/utf8_macros/utf8Macro.ml @@ -38,3 +38,8 @@ let unicode_of_tex s = else s with Macro_not_found _ -> s +let tex_of_unicode s = + try + "\\" ^ Hashtbl.find Utf8MacroTable.utf82macro s + with Not_found -> s +