joriswitstok/ADS citations sync
Scan LaTeX file(s) for ADS bibcodes, add them to an ADS library, and export an up-to-date BibTeX .bib file.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | ADS API token (store as a repository secret) | yes | — |
| tex_files | Space-separated list of .tex files or glob patterns to scan. Defaults to all *.tex files in the repository root. | no | *.tex |
| library | Name of the ADS library to add bibcodes to (created automatically if it does not exist) | no | Manuscript citations |
| description | Description to use if the ADS library needs to be created | no | Bibcodes cited in a LaTeX manuscript |
| public | Make a newly created library public (true/false) | no | false |
| bib_file | Path to write the exported BibTeX .bib file to. Defaults to refs.bib in the directory of the first matched .tex file. | no | "" |
| no_bib | Skip BibTeX export entirely (true/false) | no | false |
| add_macros | Expand on AASTeX macros for journal abbreviations, e.g. OJAp (true/false) | no | false |
| commit_bib | Commit and push the updated .bib file back to the repository (true/false). Only has an effect when no_bib is false. | no | true |
| commit_message | Commit message to use when committing the updated .bib file | no | chore: update BibTeX references [skip ci] |
Outputs
no outputs