yymao/adstex

bib file not being updated

Closed this issue · 1 comments

Hmm adstex appears to run fine, but new entries are not showing up in the .bib file.

$ adstex --no-update ms.tex -o ms.bib
Overwriting existing string for key: june.
conroy2010: EXISTING
stsci2020: EXISTING
harris2016: EXISTING
bradley2021: EXISTING
foreman-mackey2013: EXISTING
harris2018: EXISTING
astropy:2018: EXISTING
aguerri2020: EXISTING
lim2020: EXISTING
simionescu2011: EXISTING
janssens2019: EXISTING
harris1981: EXISTING
vandokkum2015: EXISTING
schlafly2011: EXISTING
deustua2018: EXISTING
stetson1987: EXISTING
harris2020: EXISTING
bertin1996: EXISTING
conroy2009: EXISTING
sirianni2005: EXISTING
saha2011: EXISTING
astropy:2013: EXISTING
vanderburg2016: EXISTING

------------------------------------------------------------
Resolving keys that do not contain identifiers...
------------------------------------------------------------

------------------------------------------------------------
Choose one entry from below for <erwin2015> (most cited at the end)
------------------------------------------------------------
[5] 2015AAS...22544505E (cited 0 times)
    Erwin, Peter; Saglia, Roberto; Thomas, Jens; Opitsch, Michael et al.
    SMBH Measurements and Host-Galaxy Correlations: Ellipticals, Bulges, Pseud

[4] 2015DPS....4721017E (cited 0 times)
    Erwin, Justin; Koskinen, Tommi T.; Yelle, Roger V.
    Radiative equilibrium and escape of Pluto's atmosphere

[3] 2015IAUS..309..359E (cited 2 times)
    Erwin, Peter; Saglia, Roberto; Thomas, Jens; Fabricius, Maximilian et al.
    Using 3D Spectroscopy to Probe the Orbital Structure of Composite Bulges

[2] 2015MNRAS.446.4039E (cited 104 times)
    Erwin, Peter; Saglia, Roberto P.; Fabricius, Maximilian et al.
    Composite bulges: the coexistence of classical bulges and discy pseudo-bul

[1] 2015ApJ...799..226E (cited 208 times)
    Erwin, Peter
    IMFIT: A Fast, Flexible New Program for Astronomical Image Fitting
------------------------------------------------------------
Choose one entry from above for <erwin2015>
------------------------------------------------------------
ENTER choice (if no matches, ENTER 0 to skip or ENTER an identifier): 1
erwin2015: NEW ENTRY => 2015ApJ...799..226E

------------------------------------------------------------
Building new bibtex file, please wait...
------------------------------------------------------------

------------------------------------------------------------
Done!
------------------------------------------------------------

adstex is definitely writing a new bib file as the timestamp is updated, but it does not contain the new entry.

$ grep -i erwin2015 ms.bib
$

Recently upgraded to macOS Sonoma in case that's a clue. It also means that prior to this I was likely running the version of adstex that was available in Dec 2022.

yymao commented

Thanks for reporting the bug. This bug comes from the adstex code not being compatible with a recent update of bibtexparser. I have updated adstex in #39 and it'll be published soon.