Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!cs.tamu.edu From: skdutta@cs.tamu.edu (Saumen K Dutta) Newsgroups: comp.text.tex Subject: Re: addbib for bibtex Message-ID: <7513@helios.TAMU.EDU> Date: 17 Aug 90 19:21:52 GMT Sender: usenet@helios.TAMU.EDU Organization: Computer Science Department, Texas A&M University Lines: 90 Hi ! Sometime back I posted an article on this net <7342@helios.TAMU.EDU> -> I am writing a program which works like addbib (in refer) to -> insert bibliography for bibtex. I am writing it in the -> shell language of UNIX. I am interested to know if there is -> any program already available to do the same. I got the following responses from various people: ------------------------------------------------------------- From John Eaton (jwe@emx.utexas.edu) About a year ago I picked up a set of programs to do this. They are written in C and include a library of routines meant to read, write, and search BibTeX database files. Here's part of the man page: NAME bibtools bibc - Create BibTeX and scribe style bibliographies bibv - Verify a series of BibTeX style bibliographies for citation conflicts shbib - Display one or more records from the specified bib files rmbib - Delete one or more records from the specified bib files DESCRIPTION bibc (mnemonic for BIB-Creator) is a prompt based tool for creating bibliographies in the BibTeX format. bibc first queries the user for the kind of record they wish to create. bibc understands the various fields required for the kind of record specified, and will query the user for the values for each of these fields. bibc can distinguish between required and optional fields, and will, by default insist once on the user specifying the required fields. AUTHOR Kannan Varadhan - kannan@osc.edu -------------------------------------------------------------------- From Lucien Van Elsen (lwvanels@mit.edu) There's already a set of programs that do that already, with some added functionality. They were posted to comp.sources.misc a while back: comp.sources.misc:bibtools v09i046: bibtools: tools for BibTeX They're written in C, and available for anonymous ftp from uunet.uu.net and other archive sites. --------------------------------------------------------------------- From B. A. Lotto (lotto@bosco.berkeley.edu) There is a bibtex mode for emacs which I use and like. It does all the things you seem to want such an object to do, but it requires emacs. ------------------------------------------------------------------ From Sanjiv K. Bhatia (sanjiv@fergvax.unl.edu) Here is a shellscript. It uses another file called bibtypes that contains the definitions of fields. bibtypes is appended after the first file. TOO BIG TO INCLUDE HERE. THOSE WHO ARE INTERESTED WRITE TO SANJIV AT THE ADDRESS GIVEN ABOVE. IT WORKS, IT DOES NOT LET YOU TO EDIT THE DATABASE WITHIN THE PROGRAM AND DOES NOT CHECK FOR DUPLICATE KEY REFERENCES. ----------------------------------------------------------------------- FEW MORE REPLIES ........ BUT THEY DID NOT SAY ANYTHING DIFFERENT. --------------------------------------------------------------------- Finally I rewrote my shell script and added few more functions to it. I think it is complete now . If you like to give it a try please copy it from my next posting. -- _ ||Internet: skdutta@cssun.tamu.edu ( /_ _ / --/-/- _ ||Bitnet : skd8107@tamvenus.bitnet __)_/(_____(_/_(_/_(_(__(_/_______ ||Uucp : uunet!cssun.tamu.edu!skdutta .. ||Yellnet: (409) 846-8803