Sync-to-go: update copyright for 2015
[s-roff.git] / src / pre-eqn / eqn.h
bloba859583cc8b5a0b9f281963cd1333ebf8abee7f7
1 /*@
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
11 * version.
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
16 * for more details.
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.
23 #include "config.h"
24 #include "eqn-config.h"
26 #include <assert.h>
27 #include <errno.h>
28 #include <stdlib.h>
30 #include "errarg.h"
31 #include "error.h"
32 #include "cset.h"
33 #include "lib.h"
35 #include "box.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;
43 extern int draw_flag;
44 extern int one_size_reduction_flag;
45 extern int compatible_flag;
46 extern int nroff;
47 extern eqnmode_t output_format;
48 extern int xhtml;
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);
58 // s-it2-mode