Merge from vendor branch BIND:
[dragonfly.git] / contrib / texinfo / makeinfo / docbook.h
1 /* docbook.h -- docbook declarations.
2    $Id: docbook.h,v 1.2 2001/12/31 16:51:32 karl Exp $
3
4    Copyright (C) 2001 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 DOCBOOK_H
21 #define DOCBOOK_H
22
23 #define DB_B "emphasis role=\"bold\""
24 #define DB_CITE "citetitle"
25 #define DB_CODE "literal"
26 #define DB_COMMAND "command"
27 #define DB_DFN  "firstterm"
28 #define DB_EMPH "emphasis"
29 #define DB_ENV "envar"
30 #define DB_FILE "filename"
31 #define DB_FUNCTION "function"
32 #define DB_I "emphasis"
33 #define DB_KBD  "userinput"
34 #define DB_KEY  "keycap"
35 #define DB_OPTION "option"
36 #define DB_STRONG "emphasis role=\"bold\""
37 #define DB_TT "literal"
38 #define DB_URL "systemitem role=\"sitename\""
39 #define DB_VAR "replaceable"
40
41 extern int docbook_version_inserted;
42 extern int docbook_begin_book_p;
43 extern int docbook_first_chapter_found;
44 extern int docbook_must_insert_node_anchor;
45 extern int docbook_no_new_paragraph;
46
47 void docbook_begin_section ();
48 void docbook_begin_paragraph ();
49 void docbook_begin_book ();
50 void docbook_end_book ();
51
52 void docbook_insert_tag ();
53
54 void docbook_xref1 ();
55 void docbook_xref2 ();
56
57 int docbook_quote ();
58
59 int docbook_is_punctuation ();
60 void docbook_punctuation ();
61
62 void docbook_begin_itemize ();
63 void docbook_end_itemize ();
64 void docbook_begin_enumerate ();
65 void docbook_end_enumerate ();
66
67 void docbook_begin_table ();
68 void docbook_end_table ();
69 void docbook_add_item ();
70 void docbook_add_table_item ();
71 void docbook_close_table_item ();
72 void docbook_add_anchor ();
73
74 void docbook_footnote ();
75
76 void docbook_begin_index ();
77
78 void docbook_begin_example ();
79 void docbook_end_example ();
80
81 #endif /* DOCBOOK_H */