#CLIP+2000_01_14+TEXT+1+2000/01/15 00:01:37+79.0+# Found the BibTex docs in /usr/lib/texmf/texmf/doc/bibtex/base; need to print those out, so that I can do hackery in an intelligent fashion. Hmmmm. article req author title journal year opt volume number pages month note book req {author or editor} title publisher year opt volume number series address edition month note booklet req title opt author howpublished address month year note conference -- same as inproceedings inbook req author title {chapter and/or pages} publisher year opt volume number series type address edition month note incollection req author title booktitle publisher year opt editor {volume or number} series type chapter pages address edition month note inproceedings req author title booktitle year opt editor volume number series pages address month organization publisher note manual req title opt author organization address edition month year note mastersthesis req author title school year opt type address month note misc req opt author title howpublished month year note phdthesis req author title school year opt type address month note proceedings req title year opt editor volume number series address month organization publisher note techreport req author title institution year opt type number address month note unpublished req author title note opt month year ---------------- Ok, here's the plan. There's a main window that lists all the current cite keys, and an edit window, in which we automagically enter new ones (this is by default closed), --- Midnight. Ok, hacked into "test" an automagic window creator, and that seems to work like a champ. Need to glue that into the current tkbib, and I think I'll have something. Fcns that are needed: Static uneditable window for browsing Window to accumulate citations, with various sort options --> by index value, name, year, .... Editing window: buttons along the top for new entries of various types, with a "done" button at the bottom. Save: if a field contains spaces/CR, hyphens... put quotes around it. #CLIP+2000_01_15+TEXT+80+2000/01/15 15:57:57+16.0+# 3pm Ok, most of the code is working. Seem to load in and save w/o too much problem. Should streamline the code a bit, and add some comments. -- Ok, hacked a very simple bibfile stripper, which cvts multi-line entries into single line entries. Seems to work, and not have too many problems. Much less grief now. Need to add an AutoRevise switch, and next/previous buttons for the edit window. The search window should be easy to do.... ---- 4pm Search window is going. Need to build a list for the entries that I find, and allow a revision.... I'm getting crosseyed, though... #CLIP+2000_01_21+TEXT+96+2000/01/21 12:46:19+8.0+# 12:45pm Hacked in some checking so that duplicate cite keys are skipped, and the search window has a lot more cool features (search/filter/merge, and we can save the entries listed in the search window). Fixed up the GFX for the about window; now to pepper the code with a little more explanation of what's going on, clean up, and ship.... #CLIP+2000_01_29+TEXT+104+2000/01/29 20:46:31+15.0+# Added in a bracket counter from Peter Baum (had to tweak it a little bit; not sure if it was a change in the Wish fcns, or a bug in the code). The main tkBib window looks a bit nicer, too... --- Also added in code to block deletes of the terminal and search window, and to do a dismiss on close for the edit window. ---- 8:45pm Added in double quotes to most entries; for page numbers where I have a letter (and not just a number), it was screwing things up. The only things that get passed through now without quotes are the month and booktitle (which I almost always abbreviate, using something out of the terms). #CLIP+2000_02_18+TEXT+118+2000/02/18 19:49:56+5.0+# Set things up so that it opens the bib provided on the cmd line.... Need to hack in editing of the keyword expansions, and some sort of ability to delete keys. #CLIP+pre+TEXT+1+#