2 /* Copyright (C) 1989, 1990, 1991, 1992, 2001 Free Software Foundation, Inc.
3 Written by James Clark (jjc@jclark.com)
5 This file is part of groff.
7 groff is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2, or (at your option) any later
12 groff is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 You should have received a copy of the GNU General Public License along
18 with groff; see the file COPYING. If not, write to the Free Software
19 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
29 #include "stringclass.h"
35 unsigned hash_string(const char *, int);
38 extern string capitalize_fields;
39 extern string reverse_fields;
40 extern string abbreviate_fields;
41 extern string period_before_last_name;
42 extern string period_before_initial;
43 extern string period_before_hyphen;
44 extern string period_before_other;
45 extern string sort_fields;
46 extern int annotation_field;
47 extern string annotation_macro;
48 extern string discard_fields;
49 extern string articles;
50 extern int abbreviate_label_ranges;
51 extern string label_range_indicator;
52 extern int date_as_label;
53 extern string join_authors_exactly_two;
54 extern string join_authors_last_two;
55 extern string join_authors_default;
56 extern string separate_label_second_parts;
58 extern int et_al_min_elide;
59 extern int et_al_min_total;
61 extern int compatible_flag;
63 extern int set_label_spec(const char *);
64 extern int set_date_label_spec(const char *);
65 extern int set_short_label_spec(const char *);
67 extern int short_label_flag;
70 void command_error(const char *,
71 const errarg &arg1 = empty_errarg,
72 const errarg &arg2 = empty_errarg,
73 const errarg &arg3 = empty_errarg);
77 void compute_labels(reference **, int);