The simple shell script, findbib, gets a latex source file and finds the needed bibtex records in the physics archive at WWW-SPIRES.SLAC.STANFORD.EDU. References must be in one of the following forms: - A SPIRES key: eg. \cite{Witten:1996ep} - A new arXiv number: eg. \cite{0704.0001} - An old arXiv number: eg. \cite{hep-th/9703030} or \cite{9703030}. SPIRES has provided a unique "two letter label" attached to each paper following the Author:Year identification. For example, "ep" in Witten:1997ep. Of course, one has to look on SPIRES to know them. However, eprint numbers, like hep-th/yymmxxx, yymmxxx and yymm.xxxx, are also supported labels. This allows you to retrieve the full record from just the arxiv numbers. If no arxiv name is specified, the scripts will search hep-th by default. This behaviour can be changed by editing the script. The scripts use awk, sed, lynx, bibtex and sometimes latex to generate the aux file. (Note that this shell script runs only under *nix.) Further details inside the files. Let me know of suggestions, improvements at: billnaai[~at~]gmail{-dot-}com 1) Useage findbib [-a] filename.tex If the option -a is selected, the script will only add new citations. The default be- haviour is to create a new bibliography with all the citations. 2) Installation After you untar it: tar xzvf findbib.tar.gz, just put findbib on your path and render it executable: chmod u+x findbib You also need to install awk, sed, lynx and ofcourse latex. (There is also a file, example.tex, that you can test the script on). 3) Acknowledgements This script is a modified version of the script originally by Fabrizio Nesti. From the original script by Fabrizio Nesti: And thanks to Hrvoje 'Harv' Galic at SPIRES for collaboration! ---------------------------------- ####################################################################### # # Findbib is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation (version 2) # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # #######################################################################