Created
March 23, 2022 15:17
-
-
Save alanocallaghan/65811de1dc062388dd12fbb5055c30bd to your computer and use it in GitHub Desktop.
Exporting references from a central to local bib file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## using natbib | |
## when finished adding refs, run | |
bibexport --nosave -o [LOCAL_BIB_FILE] main.aux | |
## then switch the \bibliography command from the central file to the local one, ie change | |
# % \bibliography{[CENTRAL_BIB_FILE]} | |
# % \bibliography{[LOCAL_BIB_FILE]} | |
# % with biblatex you would run something like | |
jabref -n --aux main.aux,[LOCAL_BIB_FILE] [CENTRAL_BIB_FILE] | |
## and again switch which bib file you're working with | |
# % \addbibresource{[CENTRAL_BIB_FILE]} | |
# % \addbibresource{[LOCAL_BIB_FILE]} |
I use the Zotero + Better Bibtex to keep the library in automatically sync with a bibtex file
That's different than pulling cited references for a book or paper from one or more master .bib files, whether you use Zotero or not
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Arghh, I've also done this many times, but I have several separate central bib files to pull from. I use an aux2bib perl script
together with