1 /* insertion.h -- declarations for insertion.c.
2 $Id: insertion.h,v 1.15 2008/01/31 18:33:27 karl Exp $
4 Copyright (C) 1998, 1999, 2001, 2002, 2003, 2007, 2008
5 Free Software Foundation, Inc.
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
23 /* Must match list in insertion.c. */
26 cartouche, copying, defcv, deffn, defivar, defmac, defmethod, defop,
27 defopt, defspec, deftp, deftypecv, deftypefn, deftypefun, deftypeivar,
28 deftypemethod, deftypeop, deftypevar, deftypevr, defun, defvar, defvr,
29 detailmenu, direntry, display, documentdescription, enumerate,
30 example, floatenv, flushleft, flushright, format, ftable, group,
31 ifclear, ifdocbook, ifhtml, ifinfo, ifnotdocbook, ifnothtml, ifnotinfo,
32 ifnotplaintext, ifnottex, ifnotxml, ifplaintext, ifset, iftex, ifxml,
33 itemize, lisp, menu, multitable, quotation, rawdocbook, rawhtml, rawtex,
34 rawxml, smalldisplay, smallexample, smallformat, smalllisp, verbatim,
35 table, tex, vtable, titlepage, bad_type
38 extern const char default_item_function[];
40 typedef struct istack_elt
42 struct istack_elt *next;
50 int in_fixed_width_font;
53 extern int insertion_level;
54 extern INSERTION_ELT *insertion_stack;
56 extern int in_detailmenu;
57 extern int had_menu_commentary;
58 extern int in_paragraph;
60 extern int headitem_flag;
61 extern int after_headitem;
63 extern void init_insertion_stack (void);
64 extern void command_name_condition (void);
65 extern void cm_ifdocbook (void), cm_ifnotdocbook(void), cm_docbook (int arg);
66 extern void cm_ifhtml (void), cm_ifnothtml(void), cm_html (int arg);
67 extern void cm_ifinfo (void), cm_ifnotinfo (void);
68 extern void cm_ifplaintext (void), cm_ifnotplaintext(void);
69 extern void cm_iftex (void), cm_ifnottex (void), cm_tex (void);
70 extern void cm_ifxml (void), cm_ifnotxml (void), cm_xml (int arg);
71 extern void handle_verbatim_environment (int find_end_verbatim);
72 extern void begin_insertion (enum insertion_type type);
73 extern void pop_insertion (void);
74 extern void discard_insertions (int specials_ok);
76 extern int is_in_insertion_of_type (int type);
77 extern int command_needs_braces (char *cmd);
79 extern enum insertion_type find_type_from_name (char *name);
81 extern char *get_item_function (void);
82 #endif /* !INSERTION_H */