Apologies in advance if I have come to the wrong place. I noticed an issue with the astropy.org
web site and have no idea at all where to report it.
The astropy.org
web site has a very useful page explaining proper acknowledgments here:
On that page, there is a very handy button labeled “Copy all BibTeX to clipboard” which loads up the reference information for pasting into a .bib file for LaTeX. I noticed today that many of the names do not display correctly when using the copy/pasted content. This is an extremely useful feature and I’d like to offer up a couple of suggestions to ensure the copied BibTeX data works properly.
I see two different issues (there may be more):
- The accents on names in the 2022 paper are ~all broken.
- Jake VanderPlas has a spurious newline in his name in the 2018 paper author list.
The accents in the 2022 paper are not working because the backslashes are getting removed before they reach the clipboard. For example, the name {N\"o}the}
from the ADS entry gets onto my clipboard as {N{"o}the}
. Looking at the page source, I think the issue is that the javascript bibtex2022 variable needs double backslashes (“\\
”) instead of single backslashes. This is needed for macros as well (e.g., {\apj}
needs to be {\\apj}
) .
In the 2018 paper author list, Jake VanderPlas has a newline in the middle of his name. It appears that this data may have been line-wrapped by replacing “and” with “and\n”, which unfortunately also matched one of the authors. That newline is interpreted as whitespace in the name.
The issues noted above probably go unnoticed most of the time because author lists are typically truncated after a few entries. However, if the full list is ever shown, the difference is pretty clear. I compiled examples using the ADS-provided entries and the copy/pasted content from astropy.org
to illustrate.
Hopefully this is an extremely quick fix for someone with access to the astropy.org
source. I would do it myself if I had access. If this is the wrong forum and someone can point me in the right direction, I would greatly appreciate it.