diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 18:12:39 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 18:12:39 +0000 |
commit | 183851b06bd6c52f3cae5375f433da720d410447 (patch) | |
tree | a477257decbf3360127f6739c2f9d0ec57a03d39 /math/texvc_tex.ml |
MediaWiki 1.7.1 wiederhergestellt
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 _ -> () |