Skip to content

Instantly share code, notes, and snippets.

@mardukbp
Created September 16, 2013 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mardukbp/6576427 to your computer and use it in GitHub Desktop.
Save mardukbp/6576427 to your computer and use it in GitHub Desktop.
Export citation in bibtex format from Conkeror to ebib
function ebib_import_bibtex (url) {
var cmd_str = 'emacsclient -ne \'(ebib-import-bibtex \"' + url + '\")\'';
shell_command_blind(cmd_str);
}
interactive("bibtex2ebib", "Download PDF and add bibtex entry for current preprint to ebib",
function (I) {
ebib_import_bibtex(I.buffer.display_uri_string);
});
define_key(content_buffer_normal_keymap, "C-c f", "bibtex2ebib");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment