Recipes for bibtex with ADS

Perhaps the most useful trick I have on offer is my combination of automated ADS database info collection with bibtex to generate references in manuscripts fully automatically.  For example, simply copying the ADS bibcode into the manuscript latex file as
         \citepads{1991A&A...252..203R} %% Rutten++ basal flux
generates both the appropriate in-text citation and the appropriate reference list entry of this well-cited Rutten et al. article in the format desired by the particular publisher.  Without any further action on my side.

Better yet, in on-screen inspection of the output (dvi, pdf, or html) the in-text citation is a clicker that opens the corresponding ADS abstract page in the browser for perusal and article download (if Adobe Reader (acroread) has green light for website opening, defined under Edit > Preferences > Trust Manager > Change Settings).  In this manner one gets the cited abstract or full article side-by-side on the screen without an excursion to the reference list of the inspected text.  These ADS citation clickers survive the article production of arXiv and A&A and are recommended by A&A.  The \citeads latex macros are specified and demonstrated in my latex example for students.  They are also given in the A&A readme.txt for authors.  They were improved by the A&A publisher in December 2012 to work also for pdflatex.

Better yet again, I also add clickers to specified figures, tables, equations etc in cited publications so that clicking on Fig. 1 in "See Fig. 1 of Rutten et al. 1991" opens that cited figure besides the pdf viewer in which the reader reads the publication.  This trick works for all public-access publications on ADS and for those with an F clicker on ADS for journals that the reader has access to.  This macro is also in my latex example for students.

In my own bibtex usage I do not collect bibtex information needed for a particular manuscript in a corresponding specific "ms.bib" bibdata file.  Instead, I let bibtex search my full solar-physicist ADS bibfile collection for the pertinent bibliographic information.  The large number of bibfiles in this collection exceeds the bibtex file limit, so my bibtex script first concatenates them all into a large file.  Also, I usually find the pertinent ADS bibcode not by clicking on ADS but by searching in my parallel solar-physicist ADS abstract collection.

Wherever I am I get any article that is available as pdf file on or via ADS directly on my screen by simply copying the corresponding ADS bibcode from my solar-physicist ADS abstract collection into a command as
         > acads "1991A&A...252..203R"
in which script acads either finds the article in my laptop if I had it already, or downloads it from ADS using remote wrapper script "getads" through remote server script "adscode2tmp".  The remote server has library licenses for A&A, ApJ, etc.  If there is no pdf or pdf link on ADS a browser window comes up instead with the ADS abstract page for clicking on an ArXiv preprint or publisher website when available.  This way I don't need to start vpn for the publisher licensing for any article with a pdf clicker on ADS.  If I add an optional author name as in
         > acads "1991A&A...252..203R" rutten-rene
then acads calls getadsperauthor to put the article into a subdir authorname instead of /tmp.  For non-ADS-pdf publications with an "eprint" entry in my authorname.txt files I use script getastrophperauthor.

I use similar linux scripts getapj and getaa to download new ApJ and A&A articles as specified in the ApJ and A& new-issue emails wherever I happen to be.  Script aa2bibcode renames the downloaded A&A file to ADS bibcode.  Such scripts don't work for silly publishers as Springer, but if you download articles from the Springer website script springer2bibcode converts the filename from DOI to ADS bibcode.

You may define similar unix/linux/MacOS scripts addressing and running via your own server, using my scripts as guide.

The astronomy publishers should wake up and supply ADS bibitems themselves so that we can simply cite ADS bibcodes without having to generate bbl files or pull over the corresponding bibitems.  Especially when ADS starts providing better ones for conference articles.  And I feel that the publishers should apply my \citeads ADS-linkage trick retro-actively to all astronomy pdf's they have ever produced, so that also in these the in-text citations become linked to the corresponding ADS abstract pages.

Many publishers should wake up anyhow:  the ones that do not supply direct pdf links on ADS with silent IP subscription verification as ApJ and A&A do (the F linkage symbol in the ADS article lists).   These silly publishers include Springer (e.g. Solar Physics), SPIE, Nature, Science, etc.  They are so proud of their own websites that they supply only html links to ADS and want you to get their recent articles through these.  Endless browser clicking instead of one-stop shopping.  I almost never take the trouble.  Worse, I usually work at home where a silly-publisher IP check doesn't work whereas my script acads still opens any pdf-link-on-ADS article browser-free on my screen.  I might instead use VPN or hunt silly-publisher articles through a licensed portal, but I find the tedious extra page opening and non-ADS article searching nearly always too much work and will rather use the "eprint" ArXiv code in my authorname.txt file to instead get the preprint, if it exists on ArXiv, with script getastrophperauthor.  Upshot:  I download and read ApJ and A&A articles nearly daily via their silent-check pdf links on ADS, but recent silly-publisher html-only-on-ADS articles only when desperately urgent.  ADS is the greatest blessing to astronomers since the godsent pocket calculator, but many astronomy publishers seem not aware of its impact on their impact.  No pdf link on ADS effectively means non-published.

My ADS scripts are available here.

Rob Rutten 2018-07-18