29 lines
413 B
C
29 lines
413 B
C
#ifndef _TEX_PARSER_H
|
|
#define _TEX_PARSER_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include "zerror.h"
|
|
#include "tex_parser_table.h"
|
|
#include "tex_parser_graphics.h"
|
|
|
|
|
|
//~
|
|
//~ struct node_s {
|
|
//~ enum {
|
|
//~ TEXOBJ_UNDEF = 0,
|
|
//~ TEXOBJ_TABLE,
|
|
//~ TEXOBJ_IMAGE,
|
|
//~ } type;
|
|
//~ };
|
|
//~
|
|
//~ struct tex_tree_s {
|
|
//~
|
|
//~ };
|
|
|
|
/* LaTeX parser
|
|
*/
|
|
int tex_parse(const char *source, size_t len, struct zerror_s *error);
|
|
|
|
#endif
|