#! /bin/csh -f # Last modified on Tue Mar 10 00:45:59 1987 by stolfi #================================================ # Usage: bibtex [-crunch] [-remarks] [-topics] [-numorder] [-date] file... # # Prints the selected entries from the computational geometry catalog. # Option -crunch supresses line breaks between author, title, publication,etc. # Option -remarks prints also review comments. # Option -topics prints also the keyword list. # Option -numorder causes the entries to be sorted by tag key and number # (default is to list entries in given order) # Option -date prints last edit date of each entry. #================================================ cat > catalog.tex < 0 ) && ( "$1" =~ -* ) ) if ( "$1" == "-numorder" ) then set listopt= ($listopt $1) endif echo "\bib"$1"true" | sed 's/-//' >> catalog.tex shift end biblist $listopt $* > ,entries cat `cat ,entries` >> catalog.tex echo "\vfill\bye" >> catalog.tex egrep '\\re[fx]' catalog.tex texprint -fontsize 10 catalog mv catalog.tex ,catalog.tex