source: trunk/third/texinfo/makeinfo/xml.h @ 18945

Revision 18945, 2.8 KB checked in by amb, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18944, which included commits to RCS files with non-trunk default branches.
Line 
1/* xml.h -- xml output declarations.
2   $Id: xml.h,v 1.1.1.2 2003-02-28 17:44:40 amb Exp $
3
4   Copyright (C) 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
18   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20   Written by Philippe Martin <feloy@free.fr>.  */
21
22#ifndef XML_H
23#define XML_H
24
25/* Options. */
26
27/* Separate index entries into divisions for each letters. */
28extern int xml_index_divisions;
29extern int xml_sort_index;
30
31extern int xml_node_open;
32extern int xml_no_para;
33extern char *xml_node_id;
34extern int xml_last_section_output_position;
35
36extern int xml_in_xref_token;
37extern int xml_in_bookinfo;
38extern int xml_in_book_title;
39extern int xml_in_abstract;
40
41enum xml_element
42{
43  TEXINFO=0, SETFILENAME, TITLEFONT, SETTITLE,
44  /* Node */
45  NODE /* 4 */, NODENEXT, NODEPREV, NODEUP,
46  /* Structuring */
47  CHAPTER /* 8 */, SECTION, SUBSECTION, SUBSUBSECTION,
48  TOP /* 12 */, UNNUMBERED, UNNUMBEREDSEC, UNNUMBEREDSUBSEC,
49    UNNUMBEREDSUBSUBSEC, 
50  APPENDIX /* 17 */, APPENDIXSEC, APPENDIXSUBSEC, APPENDIXSUBSUBSEC,
51  MAJORHEADING /* 21 */, CHAPHEADING, HEADING, SUBHEADING, SUBSUBHEADING,
52  /* Menu */
53  MENU /* 26 */, MENUENTRY, MENUTITLE, MENUCOMMENT, MENUNODE, NODENAME,
54  /* -- */
55  ACRONYM/* 32 */, TT, CODE, KBD, URL, KEY, VAR, SC, DFN, EMPH, STRONG,
56    CITE, NOTFIXEDWIDTH, I, B, R, 
57  TITLE,
58  IFINFO,
59  SP, CENTER,
60  DIRCATEGORY,
61  QUOTATION, EXAMPLE, SMALLEXAMPLE, LISP, SMALLLISP, CARTOUCHE,
62    COPYING, FORMAT, SMALLFORMAT, DISPLAY, SMALLDISPLAY,
63  FOOTNOTE,
64  ITEMIZE, ITEMFUNCTION, ITEM, ENUMERATE, TABLE, TABLEITEM, TABLETERM,
65  INDEXTERM,
66  XREF, XREFNODENAME, XREFINFONAME, XREFPRINTEDDESC, XREFINFOFILE,
67    XREFPRINTEDNAME,
68  INFOREF, INFOREFNODENAME, INFOREFREFNAME, INFOREFINFONAME,
69  UREF, UREFURL, UREFDESC, UREFREPLACEMENT,
70  EMAIL, EMAILADDRESS, EMAILNAME,
71  GROUP,
72  PRINTINDEX,
73  ANCHOR,
74  IMAGE,
75  PRIMARY, SECONDARY, INFORMALFIGURE, MEDIAOBJECT, IMAGEOBJECT,
76    IMAGEDATA, TEXTOBJECT, 
77  INDEXENTRY, PRIMARYIE, SECONDARYIE, INDEXDIV,
78  MULTITABLE, TGROUP, COLSPEC, TBODY, ENTRY, ROW,
79  BOOKINFO, ABSTRACT, REPLACEABLE, ENVAR, COMMENT, FUNCTION, LEGALNOTICE,
80  PARA
81};
82
83extern void xml_insert_element (/* int name, int arg */);
84extern char *xml_id (/* char *id */);
85
86#endif /* XML_H */
Note: See TracBrowser for help on using the repository browser.