Skip to content

whacked/zotero-query.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elisp wrappers for querying against zotero.sqlite

goal is to provide convenience functions / keys to query the zotero db + open files, without having to have a running zotero instance

current functionality

still in progress

  • M-x zotero-query to search against db; launches a hydra menu for further action
  • zotero:doi:10.9999/example style or zotero:Some Title Text org-mode links (export formatter is not yet implemented)
    • C-c C-c in org-mode on a zotero: link triggers the query action
  • insert org-pdfview link or other information from result selection
  • M-x pdf-annot-trigger on pdfview link
    • insert text extraction of annotations in pdf
    • select specific text annotation from helm menu + insert
  • interaction with pdf-tools to load annotations from zotero link

https://user-images.githubusercontent.com/33410/104944629-73853700-59f2-11eb-9a31-c6caebfa656e.gif

dependencies

Zotero database location

set / override using zotero-db var. On Windows, it will try to discover from the HOME path (i.e. C:\Users\youruser\Zotero)

development

Zotero data model

see userdata.sql for reference

see also