Skip to main content

Crate bibsync

Crate bibsync 

Source
Expand description

Synchronize BibTeX files from citation keys in TeX sources.

The library scans TeX files for citation keys, resolves identifier-like keys through NASA ADS and/or InspireHEP, and merges the resulting BibTeX entries into a target bibliography.

Modules§

cli
Shared command-line runner for the native binary and Python entry point.

Structs§

AdsProvider
NASA ADS bibliography provider.
InspireProvider
InspireHEP bibliography provider.
ResolvedEntry
A resolved BibTeX entry.
SyncOptions
Options controlling a synchronization run.
SyncReport
Outcome of a synchronization run.
UnresolvedCitation
Diagnostic for one citekey that could not be resolved.

Enums§

BibsyncError
Errors returned by the sync library.
ProviderChoice
Provider selection for identifier resolution.
UnresolvedReason
Reason a citekey could not be resolved.
UpdateMode
Controls how existing bibliography entries are handled during synchronization.

Traits§

BibliographyProvider
Interface implemented by bibliography providers.

Functions§

citation_keys
Return citation keys referenced by TeX files.
pre_commit_hook_manifest
Return a pre-commit hook manifest snippet for this repository.
sync_files
Synchronize a bibliography from TeX or BibTeX input files.
sync_files_with_provider
Synchronize using a caller-provided provider implementation.

Type Aliases§

Result
Result alias used by bibsync.