Bibfast

Latest version 0.1 (19 May 2006) | Download: bibfast.py

Usage example

$ grep cite test.tex
\cite{c+bennett/etal:2003:basic+results}

$ ./bibfast.py test.tex
Bibfast v0.1
Looking up citations from test.tex in ADS...

--- cite key c+bennett/etal:2003:basic+results ---
searching ADS AST for bennett,c;etal (2003)
found it!

[1] "First-Year Wilkinson Microwave Anisotropy Probe (WMAP)
        Observations: Preliminary Maps and Basic Results"
    Bennett, C. L.; Halpern, M.; Hinshaw, G.; Jarosik, N.; Kogut, A.;
        Limon, M.; Meyer, S. S.; Page, L.; Spergel, D. N.; Tucker, G.
        S.; Wollack, E.; Wright, E. L.; Barnes, C.; Greason, M. R.;
        Hill, R. S.; Komatsu, E.; Nolta, M. R.; Odegard, N.; Peiris, H.
        V.; Verde, L.; Weiland, J. L.
    The Astrophysical Journal Supplement Series, Volume 148, Issue 1,
        pp. 1-27.

retrieving bibtex from ADS

Done looking up citations
Writing bibtex file test-bibfast.bib

$ cat test-bibfast.bib
@ARTICLE{c+bennett/etal:2003:basic+results,
   author = {{Bennett}, C.~L. and {Halpern}, M. and {Hinshaw}, G. and {Jarosik}, N. and 
        {Kogut}, A. and {Limon}, M. and {Meyer}, S.~S. and {Page}, L. and 
        {Spergel}, D.~N. and {Tucker}, G.~S. and {Wollack}, E. and {Wright}, E.~L. and 
        {Barnes}, C. and {Greason}, M.~R. and {Hill}, R.~S. and {Komatsu}, E. and 
        {Nolta}, M.~R. and {Odegard}, N. and {Peiris}, H.~V. and {Verde}, L. and 
        {Weiland}, J.~L.},
    title = "{First-Year Wilkinson Microwave Anisotropy Probe (WMAP) Observations: Preliminary Maps and Basic Results}",
  journal = {\apjs},
     year = 2003,
    month = sep,
   volume = 148,
    pages = {1-27},
      doi = {10.1086/377253},
   adsurl = {http://adsabs.harvard.edu/cgi-bin/nph-bib_query?bibcode=2003ApJS..148....1B&db_key=AST},
  adsnote = {Provided by the Smithsonian/NASA Astrophysics Data System}
}

Cite key format

cite-key := author[/author]*[/etal]:year[:title]
author := last-name | first-initial+last-name