2002-03-25 13:08:32 +00:00
|
|
|
/* xml.h -- xml output declarations.
|
2003-05-02 00:48:41 +00:00
|
|
|
$Id: xml.h,v 1.6 2002/11/11 12:37:34 feloy Exp $
|
2002-03-25 13:08:32 +00:00
|
|
|
|
2003-05-02 00:48:41 +00:00
|
|
|
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
|
2002-03-25 13:08:32 +00:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
Written by Philippe Martin <feloy@free.fr>. */
|
|
|
|
|
|
|
|
#ifndef XML_H
|
|
|
|
#define XML_H
|
|
|
|
|
|
|
|
/* Options. */
|
|
|
|
|
|
|
|
/* Separate index entries into divisions for each letters. */
|
|
|
|
extern int xml_index_divisions;
|
|
|
|
extern int xml_sort_index;
|
|
|
|
|
|
|
|
extern int xml_node_open;
|
|
|
|
extern int xml_no_para;
|
|
|
|
extern char *xml_node_id;
|
|
|
|
extern int xml_last_section_output_position;
|
|
|
|
|
2003-05-02 00:48:41 +00:00
|
|
|
extern int xml_in_xref_token;
|
|
|
|
extern int xml_in_bookinfo;
|
|
|
|
extern int xml_in_book_title;
|
|
|
|
extern int xml_in_abstract;
|
|
|
|
|
2002-03-25 13:08:32 +00:00
|
|
|
enum xml_element
|
|
|
|
{
|
|
|
|
TEXINFO=0, SETFILENAME, TITLEFONT, SETTITLE,
|
|
|
|
/* Node */
|
|
|
|
NODE /* 4 */, NODENEXT, NODEPREV, NODEUP,
|
|
|
|
/* Structuring */
|
|
|
|
CHAPTER /* 8 */, SECTION, SUBSECTION, SUBSUBSECTION,
|
2002-07-22 16:52:57 +00:00
|
|
|
TOP /* 12 */, UNNUMBERED, UNNUMBEREDSEC, UNNUMBEREDSUBSEC,
|
|
|
|
UNNUMBEREDSUBSUBSEC,
|
2002-03-25 13:08:32 +00:00
|
|
|
APPENDIX /* 17 */, APPENDIXSEC, APPENDIXSUBSEC, APPENDIXSUBSUBSEC,
|
|
|
|
MAJORHEADING /* 21 */, CHAPHEADING, HEADING, SUBHEADING, SUBSUBHEADING,
|
|
|
|
/* Menu */
|
|
|
|
MENU /* 26 */, MENUENTRY, MENUTITLE, MENUCOMMENT, MENUNODE, NODENAME,
|
|
|
|
/* -- */
|
2002-07-22 16:52:57 +00:00
|
|
|
ACRONYM/* 32 */, TT, CODE, KBD, URL, KEY, VAR, SC, DFN, EMPH, STRONG,
|
|
|
|
CITE, NOTFIXEDWIDTH, I, B, R,
|
2002-03-25 13:08:32 +00:00
|
|
|
TITLE,
|
|
|
|
IFINFO,
|
|
|
|
SP, CENTER,
|
|
|
|
DIRCATEGORY,
|
2002-07-22 16:52:57 +00:00
|
|
|
QUOTATION, EXAMPLE, SMALLEXAMPLE, LISP, SMALLLISP, CARTOUCHE,
|
|
|
|
COPYING, FORMAT, SMALLFORMAT, DISPLAY, SMALLDISPLAY,
|
2002-03-25 13:08:32 +00:00
|
|
|
FOOTNOTE,
|
|
|
|
ITEMIZE, ITEMFUNCTION, ITEM, ENUMERATE, TABLE, TABLEITEM, TABLETERM,
|
|
|
|
INDEXTERM,
|
2002-07-22 16:52:57 +00:00
|
|
|
XREF, XREFNODENAME, XREFINFONAME, XREFPRINTEDDESC, XREFINFOFILE,
|
|
|
|
XREFPRINTEDNAME,
|
2002-03-25 13:08:32 +00:00
|
|
|
INFOREF, INFOREFNODENAME, INFOREFREFNAME, INFOREFINFONAME,
|
|
|
|
UREF, UREFURL, UREFDESC, UREFREPLACEMENT,
|
|
|
|
EMAIL, EMAILADDRESS, EMAILNAME,
|
|
|
|
GROUP,
|
|
|
|
PRINTINDEX,
|
|
|
|
ANCHOR,
|
|
|
|
IMAGE,
|
2002-07-22 16:52:57 +00:00
|
|
|
PRIMARY, SECONDARY, INFORMALFIGURE, MEDIAOBJECT, IMAGEOBJECT,
|
|
|
|
IMAGEDATA, TEXTOBJECT,
|
2002-03-25 13:08:32 +00:00
|
|
|
INDEXENTRY, PRIMARYIE, SECONDARYIE, INDEXDIV,
|
|
|
|
MULTITABLE, TGROUP, COLSPEC, TBODY, ENTRY, ROW,
|
2003-05-02 00:48:41 +00:00
|
|
|
BOOKINFO, ABSTRACT, REPLACEABLE, ENVAR, COMMENT, FUNCTION, LEGALNOTICE,
|
2002-03-25 13:08:32 +00:00
|
|
|
PARA
|
|
|
|
};
|
|
|
|
|
|
|
|
extern void xml_insert_element (/* int name, int arg */);
|
|
|
|
extern char *xml_id (/* char *id */);
|
|
|
|
|
|
|
|
#endif /* XML_H */
|