1 | /* insertion.h -- declarations for insertion.c. |
---|
2 | $Id: insertion.h,v 1.1.1.2 2003-02-28 17:44:19 amb Exp $ |
---|
3 | |
---|
4 | Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. |
---|
5 | |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2, or (at your option) |
---|
9 | any later version. |
---|
10 | |
---|
11 | This program is distributed in the hope that it will be useful, |
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | GNU General Public License for more details. |
---|
15 | |
---|
16 | You should have received a copy of the GNU General Public License |
---|
17 | along with this program; if not, write to the Free Software Foundation, |
---|
18 | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
---|
19 | |
---|
20 | #ifndef INSERTION_H |
---|
21 | #define INSERTION_H |
---|
22 | |
---|
23 | /* Must match list in insertion.c. */ |
---|
24 | enum insertion_type |
---|
25 | { |
---|
26 | cartouche, copying, defcv, deffn, defivar, defmac, defmethod, defop, |
---|
27 | defopt, defspec, deftp, deftypefn, deftypefun, deftypeivar, |
---|
28 | deftypemethod, deftypeop, deftypevar, deftypevr, defun, defvar, defvr, |
---|
29 | detailmenu, direntry, display, documentdescription, enumerate, |
---|
30 | example, flushleft, flushright, format, ftable, group, ifclear, |
---|
31 | ifhtml, ifinfo, ifnothtml, ifnotinfo, ifnotplaintext, ifnottex, ifnotxml, |
---|
32 | ifplaintext, ifset, iftex, ifxml, itemize, lisp, menu, multitable, quotation, |
---|
33 | rawhtml, rawtex, smalldisplay, smallexample, smallformat, smalllisp, |
---|
34 | verbatim, table, tex, vtable, bad_type |
---|
35 | }; |
---|
36 | |
---|
37 | typedef struct istack_elt |
---|
38 | { |
---|
39 | struct istack_elt *next; |
---|
40 | char *item_function; |
---|
41 | char *filename; |
---|
42 | int line_number; |
---|
43 | int filling_enabled; |
---|
44 | int indented_fill; |
---|
45 | enum insertion_type insertion; |
---|
46 | int inhibited; |
---|
47 | int in_fixed_width_font; |
---|
48 | } INSERTION_ELT; |
---|
49 | |
---|
50 | |
---|
51 | extern int insertion_level; |
---|
52 | extern INSERTION_ELT *insertion_stack; |
---|
53 | extern int in_menu; |
---|
54 | extern int in_detailmenu; |
---|
55 | extern int had_menu_commentary; |
---|
56 | extern int in_paragraph; |
---|
57 | |
---|
58 | extern void command_name_condition (); |
---|
59 | extern void cm_ifhtml (), cm_ifnothtml(), cm_html (); |
---|
60 | extern void cm_ifinfo (), cm_ifnotinfo (); |
---|
61 | extern void cm_ifplaintext (), cm_ifnotplaintext(); |
---|
62 | extern void cm_iftex (), cm_ifnottex (), cm_tex (); |
---|
63 | extern void cm_ifxml (), cm_ifnotxml (); |
---|
64 | #endif /* !INSERTION_H */ |
---|