citation-grabber
Automatically download your bookmarked citations from Google Scholar in BibTex format.
Prerequisites
Installation
- Download or clone this repo
- navigate to its folder in a terminal
-
run:
npm install
Configuration
Duplicate the file config.js.sample, remove the .sample
suffix and configure the parameters for your needs.
Usage
In a terminal
npm start
In TexStudio
- Create a new macro (“macros” > “edit macros…”)
- Click on “Add”
- Name it
- At “Type” select “Script”
-
Latex Content: Fill in this script:
Windows:
%SCRIPT system("npm.cmd start", workingDirectory="[path-to-citation-grabber]")
(Example:)
%SCRIPT system("npm.cmd start", workingDirectory="C:/Users/morge/projects/citation-grabber/")
Linux:
%SCRIPT system("npm start", workingDirectory="/home/dmstern/projects/citation-grabber")
Now you can pull the your newest Google Scholar catations right from TeXStudio by pressing Shift+F[NumberOfMacro].
Troubleshooting
- Sometimes you have to run the script several times until it works.
-
If you want to see what citation-grabber is actually doing, run
npm run start:dev
- Alternatively (or additionally), you can run citation-grabber in debug mode by setting
debugMode: true
in yourconfig.js
file. This will take screenshots from every step of citation grabbing process.
If this does not solve the problem, please file a bug at GitHub issues.