1inline references
2
3Some sort of macro/subroutine that can cover several references.
4
5move-punctuation should ignore multiple punctuation characters.
6
7Make the index files machine independent.
8
9Allow search keys to be negated (with !) to indicate that the
10reference should not contain the key.  Ignore negated keys during
11indexed searching.
12
13Provide an option with lkbib and lookbib that prints the location
14(filename, position) of each reference.  Need to map filename_id's
15back to filenames.
16
17Rename join-authors to join-fields.  Have a separate label-join-fields
18command used by @ and #.
19
20Have some sort of quantifier: e.g., $.n#A means execute '$.n' for each
21instance of an A field, setting $ to that field, and then join the
22results using the join-authors command.
23
24no-text-in-bracket command which says not to allow post_text and
25pre_text when the [] flags has been given. Useful for superscripted
26footnotes.
27
28Make it possible to translate - to \(en in page ranges.
29
30Trim eign a bit.
31
32In indexed searching discard all numeric keys except dates.
33
34Allow '\ ' to separate article from first word.
35
36%also
37
38Option automatically to supply [] flags in every reference.
39
40See if we can avoid requiring a comma before jr. and so on
41in find_last_name().
42
43Cache sortified authors in authors string during tentative evaluation of
44label specification.
45
46Possibly don't allow * and % expressions in the first part of ?:, | or
47& expressions.
48
49Handle better the case where <> occurs inside functions and in the
50first operand of ~. Or perhaps implement <> using some magic character
51in the string.
52
53Should special treatment be given to lines beginning with . in
54references?  (Unix refer seems to treat them like '%').
55
56Add global flag to control whether all files should be stat-ed after
57loading, and whether they should be stat-ed before each search.
58Perhaps make this dependent on the number of files there are.
59
60Option to truncate keys to truncate_len in linear searching.
61
62Allow multiple -f options in indxbib.
63
64In indxbib, possibly store common words rather than common words
65filename.  In this case store only words that are actually present in
66the file.
67
68Perhaps we should put out an obnoxious copyright message when lookbib
69starts up.
70
71Provide an option that writes a file containing just the references
72actually used.  Useful if you want to distribute a document.
73
74Have a magic token such that
75%A <sort stuff><magic token><print stuff>
76will print as though it were
77%A <print stuff>
78but sort as though it were
79%A <sort stuff>
80Do we need this if we can specify author alternatives for sorting?
81No, provided we have separate alternatives for @.
82
83In consider_authors when last names are ambiguous we might be able to
84use just the first name and not Jr. bit. Or we might be able to
85abbreviate the author.
86
87It ought to be possible to specify an alternative field to sort on
88instead of date. (ie if there's a field giving the type of document --
89these references should sort after any years)
90
91Provide a way to execute a command using a command-line option.
92
93Option to set the label-spec as a command-line option (-L).
94
95Command to specify which fields can occur multiple times:
96multiple AE
97
98Command to specify how various fields sort:
99aort-as-name A
100sort-as-date D
101sort-as-title T
102sort-as-other O
103
104Command to specify which fields are author fields:
105# if we don't have A use field Q
106author-fields AQ
107
108Commands to set properties of tokens.
109sortify-token \(ae ae
110uppercase-token \[ae] \[AE]
111
112Command to set the names of months:
113months january february march april may ...
114
115Perhaps provide some sort of macro capability:
116# perhaps a macro capability
117defmacro foo
118annotation-field $1
119endef
120
121Command to control strings used in capitalization
122capitalize-start \s+2
123capitalize-end \s-2
124(perhaps make these arguments to the capitalize command.)
125