Back to index

tetex-bin  3.0
footnotes.h
Go to the documentation of this file.
00001 /* footnotes.h -- Some functions for manipulating footnotes.
00002    $Id: footnotes.h,v 1.3 2004/04/11 17:56:45 karl Exp $
00003 
00004    Copyright (C) 1993, 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2, or (at your option)
00009    any later version.
00010 
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015 
00016    You should have received a copy of the GNU General Public License
00017    along with this program; if not, write to the Free Software
00018    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00019 
00020    Written by Brian Fox (bfox@ai.mit.edu). */
00021 
00022 #ifndef INFO_FOOTNOTES_H
00023 #define INFO_FOOTNOTES_H
00024 
00025 /* Magic string which indicates following text is footnotes. */
00026 #define FOOTNOTE_LABEL N_("---------- Footnotes ----------")
00027 
00028 #define FN_FOUND   0
00029 #define FN_UNFOUND 1
00030 #define FN_UNABLE  2
00031 
00032 
00033 /* Create or delete the footnotes window depending on whether footnotes
00034    exist in WINDOW's node or not.  Returns FN_FOUND if footnotes were found
00035    and displayed.  Returns FN_UNFOUND if there were no footnotes found
00036    in WINDOW's node.  Returns FN_UNABLE if there were footnotes, but the
00037    window to show them couldn't be made. */
00038 extern int info_get_or_remove_footnotes (WINDOW *window);
00039 
00040 /* Non-zero means attempt to show footnotes when displaying a new window. */
00041 extern int auto_footnotes_p;
00042 
00043 #endif /* not INFO_FOOTNOTES_H */