Sha256: be56c4a6a0c185934fc65b7626965927266d11b60ff1856c97593c77b25366a5
Contents?: true
Size: 468 Bytes
Versions: 18
Compression:
Stored size: 468 Bytes
Contents
#include "../deps/file2str/file2str.h" #include "../../src/mtex2MML.h" int main (int argc, char ** argv) { char *buffer = file2str("file.test"); long length = strlen(buffer); char * mathml = mtex2MML_parse (buffer, length); if (mathml) { fputs (mathml, stdout); fputs ("\n", stdout); mtex2MML_free_string (mathml); mathml = 0; } else { fputs ("mtex2MML: mtex parser failed to generate MathML from mtex!\n", stderr); } return 0; }
Version data entries
18 entries across 18 versions & 1 rubygems