2 * Copyright (c) 2014 - 2015 Steffen (Daode) Nurpmeso <sdaoden@users.sf.net>.
4 * Copyright (C) 1989 - 1992, 2001, 2007
5 * Free Software Foundation, Inc.
6 * Written by James Clark (jjc@jclark.com)
8 * This is free software; you can redistribute it and/or modify it under
9 * the terms of the GNU General Public License as published by the Free
10 * Software Foundation; either version 2, or (at your option) any later
13 * This is distributed in the hope that it will be useful, but WITHOUT ANY
14 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 * You should have received a copy of the GNU General Public License along
19 * with groff; see the file COPYING. If not, write to the Free Software
20 * Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
24 #include "eqn-config.h"
37 typedef enum {troff
, mathml
} eqnmode_t
;
39 extern char start_delim
;
40 extern char end_delim
;
41 extern int non_empty_flag
;
42 extern int inline_flag
;
44 extern int one_size_reduction_flag
;
45 extern int compatible_flag
;
47 extern eqnmode_t output_format
;
50 void init_lex(const char *str
, const char *filename
, int lineno
);
51 void lex_error(const char *message
,
52 const errarg
&arg1
= empty_errarg
,
53 const errarg
&arg2
= empty_errarg
,
54 const errarg
&arg3
= empty_errarg
);
56 void init_table(const char *device
);