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