footnotes.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* footnotes.h -- Some functions for manipulating footnotes.
  2. $Id$
  3. Copyright 1993, 1997, 1998, 2002, 2004, 2007, 2013
  4. Free Software Foundation, Inc.
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. Originally written by Brian Fox. */
  16. #ifndef INFO_FOOTNOTES_H
  17. #define INFO_FOOTNOTES_H
  18. /* Magic string which indicates following text is footnotes. */
  19. #define FOOTNOTE_LABEL N_("---------- Footnotes ----------")
  20. #define FN_FOUND 0
  21. #define FN_UNFOUND 1
  22. #define FN_UNABLE 2
  23. /* Create or delete the footnotes window depending on whether footnotes
  24. exist in WINDOW's node or not. Returns FN_FOUND if footnotes were found
  25. and displayed. Returns FN_UNFOUND if there were no footnotes found
  26. in WINDOW's node. Returns FN_UNABLE if there were footnotes, but the
  27. window to show them couldn't be made. */
  28. extern int info_get_or_remove_footnotes (WINDOW *window);
  29. /* Non-zero means attempt to show footnotes when displaying a new window. */
  30. extern int auto_footnotes_p;
  31. #endif /* not INFO_FOOTNOTES_H */