mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-30 18:35:12 +00:00
4 lines
187 B
OCaml
4 lines
187 B
OCaml
|
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 _ -> ()
|