1 /* sectioning.h -- all related stuff @chapter, @section... @contents
2 $Id: sectioning.h,v 1.2 1999/03/09 22:48:15 karl Exp $
4 Copyright (C) 1999 Free Software Foundation, Inc.
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)
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.
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
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 Written by Karl Heinz Marbaise <kama@hippo.fido.de>. */
27 cm_chapter (), cm_unnumbered (), cm_appendix (), cm_top (),
28 cm_section (), cm_unnumberedsec (), cm_appendixsec (),
29 cm_subsection (), cm_unnumberedsubsec (), cm_appendixsubsec (),
30 cm_subsubsection (), cm_unnumberedsubsubsec (), cm_appendixsubsubsec (),
31 cm_heading (), cm_chapheading (), cm_subheading (), cm_subsubheading (),
32 cm_majorheading (), cm_raisesections (), cm_lowersections (),
37 sectioning_underscore (), insert_and_underscore ();
39 extern int what_section ();
43 /* is needed in node.c */
44 extern int set_top_section_level ();
46 extern void sectioning_html ();
47 extern int what_section ();
49 /* The argument of @settitle, used for HTML. */
53 /* Here is a structure which associates sectioning commands with
54 an integer that reflects the depth of the current section. */
58 int level; /* I can't replace the levels with defines
59 because it is changed during run */
60 int num; /* ENUM_SECT_NO means no enumeration...
61 ENUM_SECT_YES means enumerated version
62 ENUM_SECT_APP appendix (Character enumerated
64 int toc; /* TOC_NO means do not enter in toc;
65 TOC_YES means enter it in toc */
68 extern section_alist_type section_alist[];
70 /* enumerate sections */
71 #define ENUM_SECT_NO 0
72 #define ENUM_SECT_YES 1
73 #define ENUM_SECT_APP 2
75 /* make entries into toc no/yes */
80 #endif /* not SECTIONING_H */