Skip to content

[BUG] Bad spacing in author-year inline text when no first name (i.e., organizational author; collaborations) #12

@timj

Description

@timj

Describe the bug

We have references where there is no first name, just a collaboration name. Now that in AASTeX7 the initials are included in the inline author-year text you end up with an extra space in the text.

For example a normal entry looks like:

Image

but a badly formatted one looks like:

Image

You can see the problem in the bbl file:

% type= misc
\bibitem[{ {NSF-DOE Vera C. Rubin Observatory}(2025{\natexlab{d}}){NSF-DOE Vera
  C. Rubin Observatory}}]{10.71929/rubin/2570314}
{NSF-DOE Vera C. Rubin Observatory}. 2025{\natexlab{d}}, {Legacy Survey of
  Space and Time Data Preview 1: template\_coadd dataset type [Data set]},
  NSF-DOE Vera C. Rubin Observatory, \dodoi{10.71929/RUBIN/2570314}

from a bib entry such as:

@misc{10.71929/rubin/2570314,
    author = "{NSF-DOE Vera C. Rubin Observatory}",
    doi = "10.71929/RUBIN/2570314",
    url = "https://www.osti.gov//servlets/purl/2570314",
    keywords = "79 ASTRONOMY AND ASTROPHYSICS",
    title = "{Legacy Survey of Space and Time Data Preview 1: template\_coadd dataset type [Data set]}",
    publisher = "NSF-DOE Vera C. Rubin Observatory",
    year = "2025"
}

Expected behavior

No leading space in the text.

LaTeX configuration (please complete the following information):

  • aastex7 2025/02/06 Version 7/AAS markup document class
  • macOS 15.5
  • XeTeX 3.141592653-2.6-0.999996 (TeX Live 2024)
    *aasjournalv7.bst March 4, 2025

Metadata

Metadata

Assignees

No one assigned

    Labels

    bibtexof or relating to bibtex stylebugSomething isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions