142660Smarkm/* footnotes.h -- Some functions for manipulating footnotes. 2146515Sru $Id: footnotes.h,v 1.3 2004/04/11 17:56:45 karl Exp $ 321495Sjmacd 4146515Sru Copyright (C) 1993, 1997, 1998, 2002, 2004 Free Software Foundation, Inc. 521495Sjmacd 621495Sjmacd This program is free software; you can redistribute it and/or modify 721495Sjmacd it under the terms of the GNU General Public License as published by 821495Sjmacd the Free Software Foundation; either version 2, or (at your option) 921495Sjmacd any later version. 1021495Sjmacd 1121495Sjmacd This program is distributed in the hope that it will be useful, 1221495Sjmacd but WITHOUT ANY WARRANTY; without even the implied warranty of 1321495Sjmacd MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1421495Sjmacd GNU General Public License for more details. 1521495Sjmacd 1621495Sjmacd You should have received a copy of the GNU General Public License 1721495Sjmacd along with this program; if not, write to the Free Software 1821495Sjmacd Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 1921495Sjmacd 2021495Sjmacd Written by Brian Fox (bfox@ai.mit.edu). */ 2121495Sjmacd 2242660Smarkm#ifndef INFO_FOOTNOTES_H 2342660Smarkm#define INFO_FOOTNOTES_H 2421495Sjmacd 2521495Sjmacd/* Magic string which indicates following text is footnotes. */ 2656160Sru#define FOOTNOTE_LABEL N_("---------- Footnotes ----------") 2721495Sjmacd 2821495Sjmacd#define FN_FOUND 0 2921495Sjmacd#define FN_UNFOUND 1 3021495Sjmacd#define FN_UNABLE 2 3121495Sjmacd 3221495Sjmacd 3321495Sjmacd/* Create or delete the footnotes window depending on whether footnotes 3421495Sjmacd exist in WINDOW's node or not. Returns FN_FOUND if footnotes were found 3521495Sjmacd and displayed. Returns FN_UNFOUND if there were no footnotes found 3621495Sjmacd in WINDOW's node. Returns FN_UNABLE if there were footnotes, but the 3721495Sjmacd window to show them couldn't be made. */ 38146515Sruextern int info_get_or_remove_footnotes (WINDOW *window); 3921495Sjmacd 4021495Sjmacd/* Non-zero means attempt to show footnotes when displaying a new window. */ 4121495Sjmacdextern int auto_footnotes_p; 4221495Sjmacd 4342660Smarkm#endif /* not INFO_FOOTNOTES_H */ 44