Debian Codegraph @

ToDo

raw
1 ##=============================================================================
2 ##
3 ## This file is part of BibTool.
4 ## It is distributed under the GNU General Public License.
5 ## See the file COPYING for details.
6 ##
7 ## (c) 1996-2020 Gerd Neugebauer
8 ##
9 ## Net: [email protected]
10 ##
11 ##*****************************************************************************
12
13
14 This file contains ideas for improvements.
15
16 Most of the items are mere key words and may not be meaningful for
17 others. I try to keep the items in a order form highest to lowest
18 priority. However, I change the order from time to time and hopefully
19 items will disappear at some time.
20
21
22 General ideas:
23
24 * Use Unicode UTF8 as internal character set. This goes beyond
25 BibTeX and brings in a new quality.
26
27 This requires that reading and writing are aware of the
28 character encoding. Additionally the regex processing needs to
29 be replaced by something which is Unicode-aware.
30
31 ICU seems to be the way to go. But it appears to be a pretty
32 large beast.
33
34 * Make a C library of routines for manipulating BibTeX files.
35 (partially done. The main emphasis went into the documentation.
36 Additional cleaning needed)
37
38 - Use the lib and provide a interface to various programming
39 languages. The first candidate would be C. Other candidates
40 are C++, Tcl, Perl, Guile.
41 - Use the lib and provide an SQL interface (see below).
42 - Use the lib to write a better BibTeX.
43
44 * Add a SQL like extraction language (partially exists).
45 Maybe this is the time to completely redesign the resource
46 language. I think I will make a major revision or a separate
47 program/library for this.
48
49 Special ideas:
50
51 * Provide a better installation routine. Especially for BibTcl a
52 wish script might be the best solution since wish has to be
53 installed before BibTcl can be made.
54
55 * The different keys: Sortkey/OldKey deserve a clearer handling.
56 Maybe some bugs are hidden here.
57
58 * Maybe an index/several indices should be used to speed up
59 access to records. Maybe a real database engine should be used for
60 the underlying mechanism.
61
62 * Support for the extended key notation file::key. This is said
63 to be used in BibTeX1.0.
64
65 * Support the special fields @ALIAS and @MODIFY as described by
66 Oren Patashnik in TUGboat. (partially done) Each function has
67 to be checked to decide if a refinement of the specification
68 is necessary
69
70 * Implement a garbage collector for the symbol table to avoid
71 memory leaks when used from C/C++/Tcl/Perl/...
72
73 * An escape character in strings might be missing.
74
75 * Integrate field rewriting into the key generation algorithm.
76 Allow arbitrary fields to be constructed like keys.
77 Maybe this is a step towards a general manipulation language.
78 I should keep this in mind for major revision 3.
79 (The reverse is done. Key formats are evaluated when rewriting)
80
81 * General formatting language (Maybe a replacement for BibTeX)
82 Other applications: extract all keys, pretty-print entries in
83 pure ASCII (HTML), etc.
84 The main problem is to make a decision for the scripting language.
85 I think I should use something existing and not roll a new one.
86 (Tcl, Perl, or Guile are likely candidates)
87
88 * Use a tree representation in field rewriting instead of parsing and
89 evaluating the format each time (speed issue).
90
91 * Do a better job when sorting. Especially for international
92 bibliographies the sorting may not be adequate. Learn something from
93 xindy?
94
95 * Analyze bst files to find record types and entries used.
96 (partially exists but is not integrated yet)
97
98 * Provide a specification for the statistics function. Maybe SQL
99 serves for this purpose.
100
101 * Use the kpathsea library to find files.
102 It has been done for Unix-like operating systems. For others it's
103 still missing.
104
105 * Selection of items according to regexp match on fields.
106 This has to be generalized to allow full power of a
107 first order language.
108
109 * Make the program 16-bit clean. This means UniCode!
110
111 * Eliminate compiled in defaults completely.
112 Use a library directory to load initializations.
113
114 * Integrate add/delete.field into the rewriting mechanism.
115
116 * Automatic string detection.
117 The reverse of string expansion. Replace common values by new strings.
118 This can partially be done with field rewriting!
119
120 * Respect crossref at selection
121
122 * Support \cite in fields.
123
124 * Documentation: improve tutorial part. (Maybe a book?)
125
126 * Documentation in texinfo format?
127
128 * Documentation in HTML format?
129
130 * UN*X man pages?
131
132
133 *** Write a graphical front end for BibTool
134
135 - Maybe not a simple task. BibTool is already too powerful.
136 (first experiments are not very promising)
137
138 *** Write a replacement for BibTeX :-)
139 Maybe I will wait until BibTeX 1.0 is out.
140
141 - Better styles
142 in a readable programming language.
143 This is a major problem. Which language should I use?
144 I am working towards making a library. Thus it should be easy to
145 integrate BibTool into any language.
146 - Object oriented approach.
147 e.g. for proceedings containing articles.
148 @proceeding{abc,
149 editor = "...",
150 booktitle = "...",
151 title = "...",
152 @inprocedings{1,
153 author = "...",
154 title = "..."
155 }
156 }
157
158 - Drop limitations. E.g.
159 - size of a field.
160 - order of crossreferenced records
161
162 - Support multi-language bibliographies.
163
164 - Backward compatibility: It should be possible to use the new program
165 as a replacement for the existing BibTeX without modification of the
166 BibTeX database.
167 The styles should be usable or an automatic translation into a new
168 format should be provided.
169
170
171
172 If you have read until here and you want to take one of the tasks then
173 contact me.
174
175 Gerd Neugebauer
176 [email protected]
177