Just FYI, I too get most of my refs from NASA-ADS and use BiBDesk and I don’t
change any of the macros.
If you go into the preferences to the TeX Typeset Preview you can edit the TeX
template and just copy/paste all those macros from the AASTeX class file into
the preamble of your template.
\makeatletter
\let\jnl@style=\rmfamily
\def\ref@jnl#1{{\jnl@style#1}}%
\newcommand\aj{\ref@jnl{AJ}}%
% Astronomical Journal
%%% all the rest of them..
\makeatother
--
Dr. David R. Klassen, Chair (he/him/his)
Department of Physics & Astronomy
Rowan University
201 Mullica Hill Road
Glassboro, NJ 08028
SCI 130E
856-256-4391
On Feb 24, 2022, at 6:41 AM, David Nicholls via Bibdesk-users
<[email protected]<mailto:[email protected]>>
wrote:
On 24 Feb 2022, at 8:32 pm, Christiaan Hofman
<[email protected]<mailto:[email protected]>> wrote:
On 24 Feb 2022, at 02:54, David Nicholls via Bibdesk-users
<[email protected]<mailto:[email protected]>>
wrote:
For various reasons it has been a while since I added anything to my Bibdesk
collection. I have the latest version of Bibdesk (1.8.8) on Mac OS 10.14.6
(need 32 bit apps).
I found today (though the problem is probably not new) that when I select Tex
Preview, on nearly all journal entries, the Tex preview fails, but on book
articles, it works. Also, AstroPh/ArXiv entries render Tex previews OK.
The problem appears to be with the shorthand journal ID used by NASA/ADS. For
example, Astrophysical Journal is entered via NASA/ADS as "\apj". In journals
where there isn't a shorthand name, the Tex preview works. So I edited a record
and replaced "\apj" with "Astrophysical Journal", and the preview works
All of my Bibdesk entries (books and journal papers) are taken from the
NASA/ADS database/website, which I load and search via a Bibdesk bookmark. I've
been doing this for over a decade with few problems.
My Tex Preview settings preferences are as per the Bibdesk manual on
Sourceforge.
Apparently the journal abbreviation in the bibtex entry for journals from NASA
ADS is incompatible with Bibdesk.
Is there a way to fix this? I suspect not.
DN
David C Nicholls
Post-doctoral Research Fellow
Research School of Astronomy & Astrophysics
Australian National University
This is not really a question about BibDesk, but rather about tex. \apj is a
tex command, which is certainly not a standard command. So it won’t be defined,
and tex generation will fail. So BibDesk works exactly as expected. Realize
that the tex preview feature is primarily a tool to preview the tex generation,
so it can be used to check whether your data is correct for your tex setup. And
this seems to work flawlessly for your case. If you want it to work in the
sense that it generates the tex preview, y0ou should either change the data by
replacing the tex command, or change the tex preview by defining the tex
command. You could do the latter by editing the tex preview template. BTW, I
find it a bit weird that they use non standard tex commands in their
bibliographic bibtex data.
Christiaan
Thanks, Christiaan,
Yes, I agree. I think the reason the NASA/ADS astronomy++ paper database uses
the abbreviations is that most astronomy papers use the AASTex package (or
similar), which has the "\apj" etc commands built in. I just thought someone
might have found a quick fix. However, it is not important in the scheme of
things.
Regards
DN
_______________________________________________
Bibdesk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/bibdesk-users
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users