diff options
Diffstat (limited to 'math/texvc_tex.ml')
-rw-r--r-- | math/texvc_tex.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/math/texvc_tex.ml b/math/texvc_tex.ml new file mode 100644 index 00000000..30c0f671 --- /dev/null +++ b/math/texvc_tex.ml @@ -0,0 +1,3 @@ +Texutil.set_encoding (try Sys.argv.(2) with _ -> "UTF-8"); +try print_string (Util.mapjoin Texutil.render_tex (Parser.tex_expr Lexer.token (Lexing.from_string Sys.argv.(1)))) +with _ -> () |