1 #ifndef _INCLUDED_XREFS_H
2 #define _INCLUDED_XREFS_H   1
3 
4 #define FOOTNOTE            1
5 #define FOOTNOTE_TEXT       2
6 #define FOOTNOTE_THANKS     3
7 #define ENDNOTE             4
8 #define ENDNOTE_TEXT        5
9 
10 #define LABEL_LABEL         1
11 #define LABEL_HYPERREF      2
12 #define LABEL_REF           3
13 #define LABEL_HYPERCITE     4
14 #define LABEL_CITE          5
15 #define LABEL_HYPERPAGEREF  6
16 #define LABEL_PAGEREF       7
17 #define LABEL_HTMLADDNORMALREF 8
18 #define LABEL_HTMLREF       9
19 #define LABEL_EQREF         10
20 #define LABEL_VREF          11
21 #define LABEL_HREF          12
22 #define LABEL_URL           13
23 #define LABEL_NO_LINK_URL   14
24 #define LABEL_BASE_URL      15
25 #define LABEL_URLSTYLE      16
26 #define LABEL_NAMEREF       17
27 #define LABEL_URL_HYPER     18
28 
29 #define BIBSTYLE_STANDARD   1
30 #define BIBSTYLE_APALIKE    2
31 #define BIBSTYLE_APACITE    3
32 #define BIBSTYLE_NATBIB     4
33 #define BIBSTYLE_AUTHORDATE 5
34 #define BIBSTYLE_HARVARD    6
35 
36 #define CITE_CITE           1
37 #define CITE_FULL           2
38 #define CITE_SHORT          3
39 #define CITE_CITE_NP        4
40 #define CITE_FULL_NP        5
41 #define CITE_SHORT_NP       6
42 #define CITE_CITE_A         7
43 #define CITE_FULL_A         8
44 #define CITE_SHORT_A        9
45 #define CITE_CITE_AUTHOR   10
46 #define CITE_FULL_AUTHOR   11
47 #define CITE_SHORT_AUTHOR  12
48 #define CITE_YEAR          13
49 #define CITE_YEAR_NP       14
50 
51 #define CITE_APA_CITE_YEAR     201
52 #define CITE_APA_CITE_METASTAR 202
53 #define CITE_APA_CITE_A_TITLE  203
54 #define CITE_APA_CITE_B_TITLE  204
55 #define CITE_APA_CITE_INSERT   205
56 #define CITE_APA_YMD           206
57 #define CITE_APA_REF_A_TITLE   207
58 #define CITE_APA_REF_B_TITLE   208
59 #define CITE_APA_JVNP          209
60 #define CITE_APA_REF_YEAR      210
61 #define CITE_APA_ADD_PUB       211
62 #define CITE_PRINT_CARDINAL    212
63 #define CITE_PRINT_BACK_REFS   213
64 #define CITE_APA_ADD_PUB_EQ_AUTHOR 214
65 #define CITE_APA_REF_A_E_TITLE 215
66 #define CITE_APA_MONTH         216
67 #define CITE_APA_B_VOL_ED_TR   217
68 #define CITE_APA_ADD_INST      218
69 #define CITE_APA_HOW           219
70 #define CITE_APA_ORIG_YEAR_NOTE   220
71 #define CITE_APA_REF_NOTE      221
72 #define CITE_APA_REF_B_E_TITLE 223
73 #define CITE_APA_ORIG_JOUR     224
74 #define CITE_APA_B_VOL_ED_TR_PGS 225
75 #define CITE_APA_UNSKIP        226
76 #define CITE_PRINT_ORDINAL     227
77 
78 #define CITE_T             16
79 #define CITE_T_STAR        17
80 #define CITE_P             18
81 #define CITE_P_STAR        19
82 #define CITE_ALT           20
83 #define CITE_ALP           21
84 #define CITE_ALT_STAR      22
85 #define CITE_ALP_STAR      23
86 #define CITE_TEXT          24
87 #define CITE_AUTHOR        25
88 #define CITE_AUTHOR_STAR   26
89 #define CITE_YEAR_P        27
90 
91 #define CITE_T_CAP         128
92 #define CITE_P_CAP         129
93 #define CITE_ALT_CAP       130
94 #define CITE_ALP_CAP       131
95 #define CITE_AUTHOR_CAP    132
96 
97 #define CITE_AS_NOUN            28
98 #define CITE_POSSESSIVE         29
99 #define CITE_AFFIXED            30
100 #define CITE_YEAR_STAR          31
101 #define CITE_HARVARD_ITEM       32
102 #define CITE_HARVARD_YEAR_LEFT  33
103 #define CITE_HARVARD_YEAR_RIGHT 34
104 #define CITE_NAME               35
105 #define CITE_HARVARD_AND        36
106 
107 #define LIST_OF_FIGURES     1
108 #define LIST_OF_TABLES      2
109 #define TABLE_OF_CONTENTS   3
110 
111 void InitializeBibliography(void);
112 void CmdTheEndNotes(int code);
113 void CmdFootNote(int code);
114 void CmdLabel(int code);
115 void CmdNoCite(int code);
116 void CmdBibliographyStyle(int code);
117 void CmdBibStyle(int code);
118 void CmdBibliography(int code);
119 void CmdThebibliography(int code);
120 void CmdBibitem(int code);
121 void CmdNewblock(int code);
122 void CmdIndex(int code);
123 void CmdPrintIndex(int code);
124 void CmdHtml(int code);
125 void InsertBookmark(char *name, char *text);
126 void InsertContentMark(char marker, char *s1, char *s2, char *s3);
127 void CmdCite(int code);
128 void CmdHarvardCite(int code);
129 void CmdBCAY(int code);
130 void CmdApaCite(int code);
131 void set_longnamesfirst(void);
132 
133 void set_bibpunct_style_super(void);
134 void set_bibpunct_style_number(void);
135 void set_bibpunct_style_separator(char *s);
136 void set_bibpunct_style_paren(char *open, char *close);
137 void set_sorted_citations(void);
138 void set_compressed_citations(void);
139 
140 void CmdCiteName(int code);
141 void CmdNumberLine(int code);
142 void CmdContentsLine(int code);
143 void CmdListOf(int code);
144 void CmdHarvard(int code);
145 void CmdNatbibCite(int code);
146 void CmdBibpunct(int code);
147 void CmdBibEntry(int code);
148 void CmdNatexlab(int code);
149 
150 enum {
151     BIBCITE_TOKEN = 0,
152     NEWLABEL_TOKEN
153 };
154 
155 enum {
156     SCANAUX_NUMBER = 0,
157     SCANAUX_SECT
158 };
159 
160 #endif
161